#2228: runghc screws up terminal buffering mode and doesn't reset it
--------------------+-------------------------------------------------------
Reporter: guest | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 6.8.3
Component: GHCi | Version: 6.8.2
Severity: major | Resolution:
Keywords: | Difficulty: Unknown
Testcase: | Architecture: Multiple
Os: Linux |
--------------------+-------------------------------------------------------
Changes (by andersk):
* architecture: x86_64 (amd64) => Multiple
Comment:
[I'm the original reporter.]
Are you sure they're the same? I've reproduced this on hardy's
6.8.2-2ubuntu1, sid's 6.8.2-4, and a hand-compiled 6.8.2 on etch and
RHEL4, on amd64 and i386, from both gnome-terminal and the Linux console,
and I've had friends reproduce it as well. After stopping runghc cat.hs
with ^C, the difference I see in the stty -a output is that icanon changes
to -icanon (which might be easy to miss visually?).
With 6.6.1, I see the same double echo, raw controls behavior while runghc
cat.hs is running, but everything is correctly reset when it is stopped.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2228#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs