Path: utzoo!attcan!uunet!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!pasteur!ames!ncar!tank!shamash!com50!mscunx!hawkmoon!det From: det@hawkmoon.MN.ORG (Derek E. Terveer) Newsgroups: comp.unix.microport Subject: Re: ksh-e SYSV/AT Slow Start Up Summary: ksh *should* be truncating the history file Message-ID: <1055@hawkmoon.MN.ORG> Date: 15 Jul 89 08:39:07 GMT References: <20569@bikini.cis.ufl.EDU> Organization: One of the Eternal Champions - Richfield, MN, 554232523, USA Lines: 14 In article , hedrick@geneva.rutgers.edu (Charles Hedrick) writes: > > Ksh keeps a history file. It keeps growing. As far as I can see, ksh > never truncates the file. It slows down linearly as the file grows. > You want to remove the file now and then. Ksh will allow the history file ($HISTFILE) to grow without bound *until you log out*, at which time, the history file is truncated to $HISTSIZE bytes. You should never have to truncate the file by hand unless you never logout. -- Derek Terveer det@hawkmoon.MN.ORG || ..!uunet!rosevax!elric!hawkmoon!det w(612)681-6986 h(612)789-8643 "A proper king is crowned" -- Thomas B. Costain