Thorsten Glaser <[email protected]> wrote:
|Dixi quod…
|
|>I’ll change this to not abort for interactive shells then.
|
|Actually, I cannot reproduce that it causes an interactive
|shell to exit, neither like this…
|
|tg@blau:~ $ mksh -ic 'unset KSH_VERSION; echo $?,foo'; echo $?
|mksh: read-only: KSH_VERSION
|1,foo
|0
|tg@blau:~ $ mksh -lc 'unset KSH_VERSION; echo $?,foo'; echo $?
|Agent pid 30022
|mksh: read-only: KSH_VERSION
|1,foo
|0
|
|… nor by typing it.
|
|Are you on NetBSD and is this maybe related to the SIGINT issue?
No, the test was on emacs without e and s … aaand
@(#)MIRBSD KSH R43 2013/02/19
I'm currently building on brand new OpenBSD 5.3, please be
patient… oooops:
?1[steffen@obsd steffen]$ echo $KSH_VERSION
@(#)MIRBSD KSH R45 2013/04/26
?0[steffen@obsd steffen]$ unset KSH_VERSION
mksh: read-only: KSH_VERSION
?1[steffen@obsd steffen]$
Indeed it doesn't happen with R45.
May have something to do with my rebased amateurish CNTRL-C SIGINT
patch? Hmm, don't think so ,)
Sorry for the noise, then!
|bye,
|//mirabilos
Ciao! (mksh! mksh! ,)
--steffen