Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!rutgers!cmcl2!yale!spolsky-joel From: spolsky-joel@CS.YALE.EDU (Joel Spolsky) Newsgroups: comp.unix.wizards Subject: Re: tcsh - some more questions Summary: some answers Message-ID: <53643@yale-celray.yale.UUCP> Date: 15 Mar 89 00:09:24 GMT References: <52992@yale-celray.yale.UUCP> <18686@srcsip.UUCP> Sender: root@yale.UUCP Reply-To: spolsky-joel@CS.YALE.EDU (Joel Spolsky) Organization: Yale University Computer Science Dept, New Haven CT 06520-2158 Lines: 28 In article <18686@srcsip.UUCP> rogers@falcon.UUCP (Brynn Rogers) writes: | 1) Where should I 'exec tcsh' or 'exec -tcsh'? | In my .cshrc file? with 'if (! $?tcsh) exec -tcsh' for example? | In my .login file? What you should do is change your default login shell to tcsh using the program "chsh", which has to be modified to allow changing your shell to something other than /bin/csh. If you don't have the source to chsh there is probably a file somewhere that lists "legal" shells - see your system documentation. It is a waste to load csh and then scrap it every time you log on. | | 2) should 'set history=100 ; set savehist=100' be done before | entry into tcsh or after? I can't get history to work anymore. | (when I invoked tcsh manually the history seemed to work fine.) This should be in your .cshrc file. | Brynn Rogers Honeywell S&RC rogers@src.honeywell.com | also try this new address -> nic.MR.net!srcsip!rogers +----------------+----------------------------------------------------------+ | Joel Spolsky | bitnet: spolsky@yalecs.bitnet uucp: ...!yale!spolsky | | | internet: spolsky@cs.yale.edu voicenet: 203-436-1483 | +----------------+----------------------------------------------------------+ #include