TCSH Version Still 6.06?

TCSH Version Still 6.06?

Post by Paul F. Sagas » Sun, 28 Jul 1996 04:00:00

Is the latest and greatest TCSH Shell version 6.06?

Paul F. Sagasta*club/pauls
Bangkok, Thailand


1. Tcsh 6.06: Ctrl-C does not exit login script


I have a login script that looks like this:

if ( `tty` == "/dev/console" ) then
  if ( $TERM == "sun" || $TERM == "AT386" ) then

    if ( ${?OPENWINHOME} == 0 ) then        
        setenv OPENWINHOME /usr/openwin

    echo ""
    echo -n "Starting OpenWindows in 5 seconds (type Control-C to interrupt)"
    sleep 5
    echo ""
    clear           # get rid of annoying cursor rectangle
    logout         # logout after leaving windows system

  cat /etc/motd

If I use the Sun-provided csh, hitting Crtl-C brings me to my prompt.  But
with tcsh 6.06, I get logged out of the system.  I think I have to hit the
Ctrl-C twice real fast for it to work.  If I comment out the "logout" command,
I can return to my prompt.

My question is, which behavior is correct, Sun's csh or tcsh?  I think csh is
behaving properly.  Can someone explain to me how I can get the same behavior
from tcsh?

Thank you for any/all reponses.

Laurent Duperval          | All opinions expressed herein are fictitious.
Analyste                  | Any resemblance to actual opinions, living or
                          | dead, is purely coincidental.

URL: http://www.Grafnetix.COM

    It's morally wrong to allow naive end users to keep their money.

2. Using wu-ftpd and ftpaccess to create multiple guestgroups?

3. tcsh 6.06 on solaris 2.5.1

4. Ghostview and Canon BJ-200

5. HELP! Where to get TCSH 6.06?

6. Anybody get Cabletron E22xx net card working????

7. Anyone got tcsh 6.06 working under HPUX 10.01 ?

8. Mouse not working in x

9. Compiling tcsh 6.06 on Solaris 2.6

10. Can't connect with ftp when using tcsh 6.06

11. tcsh 6.06

12. Compiling tcsh 6.06

13. Compiling tcsh 6.06 / 1.2.13 / gcc 2.7.0