Date: Mon, 22 Feb 2016 05:19:29 -0500 From: Thomas Dickey <dickey@his.com> To: Anton Shterenlikht <mexas@bris.ac.uk> Cc: freebsd-questions@freebsd.org Subject: Re: tcsh - SHELL: Undefined variable. Message-ID: <20160222101929.GA6558@vmw-debian7-64.jexium-island.net> In-Reply-To: <201602221010.u1MAAe7J088587@mech-as222.men.bris.ac.uk> References: <201602221010.u1MAAe7J088587@mech-as222.men.bris.ac.uk>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On Mon, Feb 22, 2016 at 02:10:41AM -0800, Anton Shterenlikht wrote: > I noticed recently that my tcsh does not > define SHELL anymore: > > > echo $SHELL > SHELL: Undefined variable. > > There is XTERM_SHELL: > > > setenv|grep SHELL > XTERM_SHELL=/bin/tcsh what version of xterm is this? xterm -v (In making changes for $SHELL, I broke it -- a year or two ago -- fixed since) > but that's it. > > When I launch xterm from an existing shell, > it opens with /bin/sh and returns nothing at all for $SHELL: > > $ echo $SHELL > > $ > > This is weird because xterm manual says if shell > name is not given on the command line, it tries > to get it from /etc/passwd. My entry has /bin/tcsh: > > > grep `whoami` /etc/passwd > <username, uid, gid, comment, home dir>:/bin/tcsh > > My .tcshrc: > > set path=(/sbin /bin /usr/sbin /usr/bin /usr/local/sbin /usr/local/bin \ > /usr/X11R6/bin /home/mexas/bin /usr/local/kde4/bin/) > setenv EDITOR vi > setenv PAGER more > setenv LSCOLORS "ExFxCxDxBxegedabagacad" > setenv LYNX_CFG ~/.lynx.cfg > setenv LC_CTYPE en_US.UTF-8 > setenv NNTPSERVER nntp.aioe.org > alias su /usr/bin/su - > > Please help > > Anton > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Thomas E. Dickey <dickey@invisible-island.net> http://invisible-island.net ftp://invisible-island.net [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlbK4LEACgkQcCNT4Pfkjts39QCfRxpeUuNsk1IyaWRXdWk8vN5a xywAoLuuDKcGMzOOORoNM9CQYNpggC11 =eFZT -----END PGP SIGNATURE-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160222101929.GA6558>
