Markus Teich dixit:

>Unfortunately it did not work for me. I opened a new instance of st running 
>mksh
>and entered „echo hi there“, then opened another new instance of st running 
>mksh
>and I could not get the command from the history. Not by pressing the up-arrow,
>nor by invoking the „I-search“ with ctrl-r. Also this did not change after
>pressing return in both shells.
>
>I am using mksh 48b from the gentoo tree on a x86_64 3.12.7 kernel.

Eh… weird.

Do you have the build log?

How many lines does your history have? (fc -l 1 | wc)

>Will the shared history work, even if I disable the persistent history?

No, it uses the $HISTFILE as backing store.

>Could it be the case, that my history file is broken, because I think I removed
>some commands just be removing the string and the control characters around it,
>which I assumed to corellate to this entry?

Then you corrupted the whole history file, possibly to a point
where new entries made by subsequent shells corrupt even more
entries due to the already-existing corruption. This may explain
the misbehaviour you’re seeing, and is easily checked:

Try the multiple-terminals thing from above again, after moving
the history file to the side first.

bye,
//mirabilos
-- 
13:37⎜«Natureshadow» Deep inside, I hate mirabilos. I mean, he's a good
guy. But he's always right! In every fsckin' situation, he's right. Even
with his deeply perverted taste in software and borked ambition towards
broken OSes - in the end, he's damn right about it :(! […] works in mksh

Reply via email to