[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: [PATCH] Konsole, changing history size.
From:       Guillaume Laurent <glaurent () telegraph-road ! org>
Date:       2001-07-23 22:54:22
[Download RAW message or body]

On Tuesday 24 July 2001 00:38, Waldo Bastian wrote:
> On Monday 23 July 2001 03:00 pm, Guillaume Laurent wrote:

> > I suggest we re-enable infinite, file-based history as an option along
> > with the memory-based one we have right now,
>
> Yes, we can let size=0 show "Unlimited" or something. Does that introduce a
> new string?

On one hand I like the idea of hiding the two implementations behind an 
identical configuration, but on the other since both have different 
implications (one will fill your hd), I'd rather make things really clear.

> Whether the file is pre-deleted or not doesn't make much difference.

It does, because then you have users which wonder why their df says their 
/tmp is full while neither ls or du report any file large enough to account 
for the lost space.

> When
> the user deletes the file nothing will happen as long as the file is still
> open. It only increases the chance that the file will not be deleted at
> all.

Yes, that is a problem. If konsole crashes or is killed, the history file 
will stay. So may be still pre-deleting the file but issuing a warning about 
this is the best solution ("if your /tmp is full, exit konsole or clear 
history").

-- 
					Guillaume.
					http://www.telegraph-road.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic