[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: differences between telnet and terminal window



On Fri, Sep 03, 2004 at 09:24:20AM -0700, SATISH RAMANATHAN wrote:
> Hi,
> 
> This might be a silly question, but how are environments of
> * a telnet session i.e. a remote login session created by running "telnet 
> <machine-name>" and
> * a terminal window i.e. obtained by right clicking on the desktop console 
> and choosing "New Terminal"
> different?  Aren't they supposed to be similar?  I am looking at 
> differences in behavior of my application depending on which mode is used 
> for login.
> 

Many terminals do not run as a 'login shell' unless specified. For
instance, my gnome-multi-terminal window has the option 'Run command as
a login shell' checked for the profile I launch by default. 

I'm not sure of the specifics, but one thing I noticed is that terms run
without this option seem not to source my .profile (I'm a ksh user).

A telnet session will log you in with your shell and source all your
initialization files (man your_shell for list of files read on login).

/W

-- 
/*
 * Wesley Wannemacher
 * eCommerce Development
 * America Online
 *
 * wesw aol net
 */
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]