*BSD News Article 40811


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!yarrina.connect.com.au!news.mira.net.au!news.netspace.net.au!serval.net.wsu.edu!netnews.nwnet.net!oracle.pnl.gov!osi-east2.es.net!lll-winken.llnl.gov!ames!usenet.hana.nm.kr!agate!howland.reston.ans.net!ix.netcom.com!netcom.com!kientzle
From: kientzle@netcom.com
Subject: FreeBSD 2.0: tcsh oddity.
Message-ID: <kientzleD2B2B7.841@netcom.com>
Organization: NETCOM On-line Communication Services (408 261-4700 guest)
Date: Thu, 12 Jan 1995 18:35:30 GMT
Lines: 28

I installed the tcsh package from the Walnut Creek CD-ROM, and happily
set my default shell to /usr/local/bin/tcsh.  Which was fine until I
started X or invoked Emacs' shell-mode.  In either case, I got `csh'
in my xterm or shell buffer instead of `tcsh'.  Here are some things I
checked:

1)  /usr/local/bin/tcsh is correctly entered in /etc/shells
2)  the entry in the password file is correct (as evidence, I _do_ get
tcsh when I log into those accounts that have tcsh as their default
shell)
3)  /usr/local/bin/tcsh has the same permissions/owner as /bin/csh.  Here
are some relevant results from ls -l.

   -rw-r--r--  1 root  wheel  161 Jan  1 06:49 /etc/shells
   -r-xr-xr-x  1 bin  bin  225280 Nov 22 04:00 /bin/csh
   -r-xr-xr-x  1 bin  bin  274432 Nov 22 04:00 /bin/sh
   -r-xr-xr-x  1 bin  bin  253952 Nov 22 17:57 /usr/local/bin/tcsh

I finally came up with a crude workaround (having .cshrc `exec tcsh' if
it's an interactive session), but that's not exactly a pleasant solution.
Any ideas welcome.
                                - Tim Kientzle

P.S.  Another head-scratcher that may be related:  xdm won't let me login
to any accounts that have empty passwords.  I press <ENTER> at the password
prompt and it announces `Incorrect password.'  I asked about this in
comp.windows.x.i386unix and noone seemed to have seen this problem.  Xdm
works okay with accounts that do have passwords.