Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jun 2000 03:09:16 -0300
From:      Gustavo Vieira Goncalves Coelho Rios <kernel@tdnet.com.br>
To:        Francisco Reyes <fran@reyes.somos.net>
Cc:        "questions@FreeBSD.ORG" <questions@FreeBSD.ORG>
Subject:   Re: environment
Message-ID:  <39447E8C.27B6045E@tdnet.com.br>
References:  <200006120557.BAA03605@sanson.reyes.somos.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Francisco Reyes wrote:
> 
> On Mon, 12 Jun 2000 01:46:21 -0300, Gustavo Vieira Goncalves
> Coelho Rios wrote:
> 
> >When using xterm, my environment is different from that of the console.
> >Could some some explain me why ?
> 
> I believe it has to do with one been a login shell and the other
> not.
> Different set of startup files get executed based on whether the
> shell is a login shell. It depends on the shell. Check the man
> page for your shell.
> 
> To find out your shell echo $SHELL
> Search the man page for "startup" or "login shell"


Ok!
I am starting my xterm with -ls option, (xterm -ls). That means the
shell started will be a login shell, i.e., the first letter in argv[0]
is a '-'.

The problem still persists.

thanks

-- 
Your mouse has moved.
Windows NT must be restarted for the change to take effect!

Reboot now?   [ OK]


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39447E8C.27B6045E>