[GHC] #2027: ghc -e sometimes spills control characters into
its output
GHC
trac at galois.com
Tue Jan 8 15:22:50 EST 2008
#2027: ghc -e sometimes spills control characters into its output
--------------------+-------------------------------------------------------
Reporter: int-e | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: GHCi | Version: 6.8.2
Severity: minor | Resolution:
Keywords: | Difficulty: Easy (1 hr)
Testcase: | Architecture: Unknown
Os: Linux |
--------------------+-------------------------------------------------------
Comment (by int-e):
Replying to [comment:1 duncan]:
> I get this behavior with runghc too. It adds some control character to
the end of the output. This makes it unusable in many scripting
applications and breaks some testsuite tests. Again, setting TERM=vt100 or
similar rather than "xterm" fixes it.
Good point. I tried that with my patch and it fixes that case as well,
even when input is from a terminal.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2027#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list