On May 14, 2010, at 14:21 , Daniel Fischer wrote:
On Friday 14 May 2010 19:48:20, Scott N. Walck wrote:
shown below, the keyboard no longer echos my input to ghci. ghci will still do what I ask, as in computing 3+4 below, but I could not see the "3+4" until after I hit return.
This is gnuplot 0.3.4. Could anyone suggest an idea?
Sorry, no. Though it looks like a buffering problem.
To me it sounds like the terminal's been reset to line mode. Type "tty" to the shell before starting ghci (it will output something like /dev/pts/3 or /dev/ttys003 or /dev/ptyp3), then when the problem happens switch to another terminal and type "stty -a </dev/pts/3 | grep icanon" (substituting the output of the "tty" above). Look for "icanon" or "-icanon"; the former is line mode, the latter is character mode (ghci's readline requires the latter). This won't help you solve it but at least gives you some information to put in the bug report. -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH