[Haskell-beginners] gnuplot problem in ghci

Brandon S. Allbery KF8NH allbery at ece.cmu.edu
Fri May 14 17:16:14 EDT 2010


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 at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university    KF8NH


-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
Url : http://www.haskell.org/pipermail/beginners/attachments/20100514/e3497efd/PGP.bin


More information about the Beginners mailing list