[GHC] #2027: ghc -e sometimes spills control characters into
its output
GHC
trac at galois.com
Tue Jan 8 14:14:21 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 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.
So when verifying the fix, test with runghc as well as ghc -e.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2027#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list