Re: ksh history question

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: OpenBSD Questions <misc@...>
Cc: Denny White <dennyboy@...>
Date: Monday, January 28, 2008 - 7:32 pm

On Sun, Jan 27, 2008 at 05:27:26PM -0600, Denny White wrote:

notice that the variable is named "HISTSIZE", not "HISTFILESIZE" :)

HISTSIZE affects how many commands are kept in history (in memory - not
file). so, for example, if you set HISTSIZE=3 you'll only be able to
recall the past 3 commands in history. it does not turn over HISTFILE,
however.

i'm a bit confused by this myself, though - it does seem logical that
the HISTFILE not store more commands than history itself is able to
recall. i can;t tell by looking at the code what goes on in there -
maybe someone else can chip in...

jmc

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
ksh history question, Denny White, (Sun Jan 27, 7:27 pm)
Re: ksh history question, Steve Mayer, (Mon Jan 28, 7:26 pm)
Re: ksh history question, Denny White, (Tue Jan 29, 1:55 am)
Re: ksh history question, Jordi Espasa Clofent, (Mon Jan 28, 6:56 pm)
Re: ksh history question, Denny White, (Tue Jan 29, 1:49 am)
Re: ksh history question, Jason McIntyre, (Mon Jan 28, 7:32 pm)
Re: ksh history question, Denny White, (Mon Jan 28, 9:53 pm)