Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!caen!umich!sharkey!ombrage!ddh From: ddh@ombrage.mi.org (Dave Hale) Newsgroups: comp.sys.next Subject: Re: tcsh Message-ID: <1991Mar17.065630.1904@ombrage.mi.org> Date: 17 Mar 91 06:56:30 GMT References: <1991Mar14.054625.3751@cs.umn.edu> <1991Mar14.123200.6143@ni.umd.edu> Organization: Ripley Computing Lines: 21 In article <1991Mar14.123200.6143@ni.umd.edu> louie@sayshell.umd.edu (Louis A. Mamakos) writes: >In article hardy@golem.ps.uci.edu (Meinhard E. Mayer (Hardy)) writes: >>One simple way around this (my X in HP-UX 7.0 doesn't like >>/bin/tcsh either)is to log in with csh and then start up >>tcsh from .login. >>Disadvantage: two-step logout. > >Alternatively, you can "exec tcsh" in your .login and not have the double >logout. > >What you really want to do is to look at /etc/shells, and perhaps add I have a show little C-program that will allow you to change your login shell to whatever you like and have the shell act just like it was the login shell. Basically all you have to do is have a program that does an exec on the shell with arg[0] as -shellname. (i.e. -tcsh) It's an easy program to write, but if there is enough interest I can post it to the net (5-10 lines). - Dave -- Dave Hale ddh@orage.mi.org - Can alse accept NeXT mail at this address. ddh@ombrage.mi.org - Regular mail only, please.