Path: utzoo!yunexus!maccs!dan From: dan@maccs.UUCP (Dan Trottier) Newsgroups: comp.unix.questions Subject: Re: read in to history list Message-ID: <1040@maccs.UUCP> Date: 4 Mar 88 02:29:12 GMT Article-I.D.: maccs.1040 Posted: Thu Mar 3 21:29:12 1988 References: <323@ivory.SanDiego.NCR.COM> Reply-To: dan@maccs.UUCP (Dan Trottier) Organization: McMaster U., Hamilton, Ont., Can. Lines: 17 In article <323@ivory.SanDiego.NCR.COM> mike@ivory.SanDiego.NCR.COM (Michael Lodman) writes: >Does someone know of a way to read commands into a history list >under csh? I have some commands that I would like read in at >login time. Set the csh variable savehist (i.e. savehist=50) in your .login file. Create a file say .preload with the history commands you want to preload. Add the following command to your .login file "mv .preload .history". Voila. You have whatever commands you need at login. The question is can you create a history list which does not change. It would be useful to have a set list of history commands to chose from. Yes you can alias these commands but it's not the same thing. -- A.I. - is a three toed sloth! | ...!uunet!mnetor!maccs!dan -- Official scrabble players dictionary -- | dan@mcmaster.BITNET