From owner-freebsd-questions Sun Jun 11 23:10: 4 2000 Delivered-To: freebsd-questions@freebsd.org Received: from vicosa.dpi.ufv.br (vicosa.dpi.ufv.br [200.17.74.1]) by hub.freebsd.org (Postfix) with ESMTP id EA04737B57D for ; Sun, 11 Jun 2000 23:09:58 -0700 (PDT) (envelope-from kernel@tdnet.com.br) Received: from tdnet.com.br (port12.tdnet.com.br [200.236.148.112]) by vicosa.dpi.ufv.br (AIX4.2/UCB 8.7/8.7) with ESMTP id DAA14686; Mon, 12 Jun 2000 03:08:51 -0200 (GRNLNDDT) Message-ID: <39447E8C.27B6045E@tdnet.com.br> Date: Mon, 12 Jun 2000 03:09:16 -0300 From: Gustavo Vieira Goncalves Coelho Rios Reply-To: grios@consultant.com X-Mailer: Mozilla 4.72 [en] (X11; I; FreeBSD 4.0-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: Francisco Reyes Cc: "questions@FreeBSD.ORG" Subject: Re: environment References: <200006120557.BAA03605@sanson.reyes.somos.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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