> Right, with that I can reproduce it. I think itb> in mksh R40b:
> 
>      * [tg, Arkadiusz MiEkiewicz, Kacper Kornet] Fix mksh taking
>        down the entire terminal, hard, when scripts use $COLUMNS and
>        fork off utilities; regression introduced in mksh R37 (sorry,
>        no regression test possible)

In fact this seems to be the issue I hit. I downloaded the current stable 
source archive of MKSH (R40f) and built a new binary using the 'Build.sh' 
script provided. With this version there is problem with the terminal anymore. 
However, the affected code from R40f is somewhat different as the code you 
mentioned. Anyway, it seems to work now. :-)

Thank you very much for your support on this !
Carsten

Reply via email to