2009/10/16 <vi...@selgrad.org>: > > Hitting return three times yields: > shellprompt ~ $ shellprompt ~ $ shellprompt ~ $
I didn't quite understand everything, but -- saying "stty sane" should fix this problem. I'm not sure what stty sane does, its some sequence of calls to tcsetattr I guess. strace reports that its opost isig icanon echo ... so you should use atexit, and have the atexit routine do the tcsetattr -- right? --linas