ksh history question

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: OpenBSD Questions <misc@...>
Date: Sunday, January 27, 2008 - 7:27 pm

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1

I've read the ksh man page, googled for days, & can't seem to come
up with the answer. Either I put no mention of HISTFILE and HISTSIZE
in $HOME/.profile and I don't have a lasting history file of previous
commands. Or, I put it in and I do have a history file, but the
HISTSIZE setting has no effect. It doesn't change and the file grows
and grows. Currently I have it set as shown below to save my command
line history:

HISTFILE=.ksh_history
HISTSIZE="50"

I've tried using .ksh_history$$ to have a different file each login,
and know I can run a cronjob nightly to clean them up if I want to,
but I can't figure out how to make the history turn over just like
it's supposed to with the HISTSIZE value without all that other mess.
Thanks for any help I can get on this.

--

Denny White

All messages scanned by ClamAssassin
http://jameslick.com/clamassassin/
===============================================================
GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net
Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A
===============================================================
iD8DBQFHnQ+ey0Ty5RZE55oRAm+IAJ4mFSIXHqORlxAmbuIu4VTOd7Z35QCgpwDP
X6R0e88UGv5D/5VGHG4rX6I=
=hMAH
-----END PGP SIGNATURE-----

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)