Path: utzoo!attcan!uunet!tektronix!reed!psu-cs!probinso From: probinso@psu-cs.UUCP (Pat Robinson) Newsgroups: comp.unix.questions Subject: Re: history/savehist variables in csh Message-ID: <1703@psu-cs.UUCP> Date: 28 Feb 89 19:12:00 GMT References: <345@shapetc.UUCP> Reply-To: probinso@psu-cs.UUCP (Pat Robinson) Organization: Dept. of Computer Science, Portland State University; Portland OR Lines: 22 In article <345@shapetc.UUCP> ec@shapetc.UUCP (Enrico Chiarucci) writes: > >In my .login file I have the following lines (in a more or less vanilla >Sun-2 flavour of unix): > > set history=128 > set savehist=16 > source -h ~/.history > >wishing to keep 128 commands in the history file, but to save only 16 of >them across login sessions. > Just put the set savehist=16 in your .logout not your .login. You should then only get 16 saved. Pat Robinson UUCP: {ucbvax, decvax, allegra, hplabs}!tektronix!psu-cs!probinso CSNET: probinso@cs.pdx.edu ARPANET: probinso%cs.pdx.edu@relay.cs.net