[Tcsh] History merging bug?

Kimmo Suominen kim at netbsd.org
Sun Apr 23 17:04:47 UTC 2023


Hi Eran,

Excellent — thank you for the reminder, and making the connection.
These do sound like the same issue, indeed. Now I know what to look at
when I next have some time.

Cheers,
+ Kimmo


On Sun, 23 Apr 2023 at 02:05, Eran Leshem <eran at leshem.life> wrote:
>
> Hi,
>
> I've reported this problem (or a very similar one) here: https://github.com/tcsh-org/tcsh/issues/41
>
> Eran
>
> -----Original Message-----
> From: Tcsh [mailto:tcsh-bounces at astron.com] On Behalf Of Kimmo Suominen
> Sent: Saturday, April 15, 2023 12:23 PM
> To: tcsh at astron.com
> Subject: [Tcsh] History merging bug?
>
> Hello,
>
> The manual says his about the savehist variable:
>
> > If the second word is set to ‘merge’, the history list is merged
> > with the existing history file instead of replacing it (if there is
> > one) and sorted by time stamp and the most recent events are retained.
>
> If I have:
>
>     set history=(1024) savehist=(1024 merge)
>
> then the most recent events always disappear (not saved in ~/.history).
>
> If I have:
>
>     set history=(1024) savehist(2048 merge)
>
> then the new events are getting added to ~/.history, although I wonder
> if it keeps working after ~/.history has reached 2048 entries in size.
>
> Anyone else having an issue with this?
>
> Cheers,
> + Kimmo
> --
> Tcsh mailing list
> Tcsh at astron.com
> https://mailman.astron.com/mailman/listinfo/tcsh
>


More information about the Tcsh mailing list