On 2008 Nov 8, at 22:13, Rohan Drape wrote:
Emacs sends text to processes in packets of at most 255 characters.
In between these ghci now gets a ^D character sequence inserted into
the text.  This did not happen previously (ie. with 6.8.2).

This sounds like a bug: either editline or ghci assumes that when it successfully reads data which lacks a line terminator than it has seen an EOF, so inserts a ^D. But if it received the data at the maximum tty buffer size (255) then there is no trigger character.

(This is easy enough to work around: special-case reads of length 255. But in reality, this means something is Doing It Wrong.)

--
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] [EMAIL PROTECTED]
system administrator [openafs,heimdal,too many hats] [EMAIL PROTECTED]
electrical and computer engineering, carnegie mellon university    KF8NH


_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to