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

> On Jan 27, 2008, at 3:27 PM, Denny White wrote:
> >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
> >
On Mon, Jan 28, 2008 at 03:26:20PM -0800, Steve Mayer sez:
> Have you tried it without the quotes?
> 
> HISTSIZE=50
> 
> Steve

Yeah, dumbass me, I just answered the same question in another reply.
Should've looked at the rest of the messages. ;) Anyway, yeah, I had
tried it both ways & it still didn't work. Like I said before, why
all of a sudden it started working, I don't know. But it now it works.
Each time I made changes, I tried various ways of getting it to take
effect. I did '. ./.profile' to get the system to reread it, exited
& logged back in, etc. Strange problem but now it's resolved. Thanks
for the help, Steve. 

-- 

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
===============================================================
iD8DBQFHnr+4y0Ty5RZE55oRAmM3AKDRVZQx0wLMBbpXVPRIi3oqaDdouACgjtIN
sUKw7wiPZednI/fZvRCT1bw=
=nwNv
-----END PGP SIGNATURE-----

Reply via email to