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>
next in thread | previous in thread | raw e-mail | index | archive | help
--vtzGhvizbBRQ85DL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Feb 22, 2016 at 02:10:41AM -0800, Anton Shterenlikht wrote: > I noticed recently that my tcsh does not > define SHELL anymore: >=20 > > echo $SHELL > SHELL: Undefined variable. >=20 > There is XTERM_SHELL: >=20 > > setenv|grep SHELL > XTERM_SHELL=3D/bin/tcsh what version of xterm is this? xterm -v (In making changes for $SHELL, I broke it -- a year or two ago -- fixed sin= ce) > but that's it. >=20 > When I launch xterm from an existing shell, > it opens with /bin/sh and returns nothing at all for $SHELL: >=20 > $ echo $SHELL >=20 > $ >=20 > 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: >=20 > > grep `whoami` /etc/passwd > <username, uid, gid, comment, home dir>:/bin/tcsh >=20 > My .tcshrc: >=20 > set path=3D(/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=20 > setenv NNTPSERVER nntp.aioe.org=20 > alias su /usr/bin/su - >=20 > Please help >=20 > Anton >=20 >=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" --=20 Thomas E. Dickey <dickey@invisible-island.net> http://invisible-island.net ftp://invisible-island.net --vtzGhvizbBRQ85DL Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlbK4LEACgkQcCNT4Pfkjts39QCfRxpeUuNsk1IyaWRXdWk8vN5a xywAoLuuDKcGMzOOORoNM9CQYNpggC11 =eFZT -----END PGP SIGNATURE----- --vtzGhvizbBRQ85DL--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160222101929.GA6558>