Re: [Haskell-cafe] gbp sign showing as unknown character by GHC

2009/8/19 David Leimbach
Interesting... GHCI bug? Didn't the readline dependency go away not too long ago? Could it be related?
I just tried this Prelude> putStrLn "\£" ghc: panic! (the 'impossible' happened) (GHC version 6.10.4 for i386-unknown-linux): charType: '\163' Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug So perhaps I should put in a bug report, as that shouldn't happen (it doesn't with some other characters I tried), unless anyone has a different idea? I'm running Arch Linux with xmonad and using roxterm, so perhaps it's something to do with my setup? Iain

On Wed, Aug 19, 2009 at 11:08 AM, Iain Barnett
2009/8/19 David Leimbach
Interesting... GHCI bug? Didn't the readline dependency go away not too long ago? Could it be related?
I just tried this Prelude> putStrLn "\£" ghc: panic! (the 'impossible' happened) (GHC version 6.10.4 for i386-unknown-linux): charType: '\163' Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
So perhaps I should put in a bug report, as that shouldn't happen (it doesn't with some other characters I tried), unless anyone has a different idea? I'm running Arch Linux with xmonad and using roxterm, so perhaps it's something to do with my setup? Iain
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
I can reproduce the panic on both urxvt and uxterm. On urxvt, GHCi works correctly with putStrLn "£". On uxterm, it just prints a blank space. I can type the GBP sign into both terminals. Could it be a terminfo problem of some sort? It seems suspicious that there is a difference between terminals. Alex

Hello Alexander, Wednesday, August 19, 2009, 10:16:26 PM, you wrote:
Could it be a terminfo problem of some sort? It seems suspicious that there is a difference between terminals.
probably, terminals reports some unusual symbols. but any panic should be reported to GHC Trac - anyway -- Best regards, Bulat mailto:Bulat.Ziganshin@gmail.com

2009/8/19 Bulat Ziganshin
probably, terminals reports some unusual symbols. but any panic should be reported to GHC Trac - anyway
I've added a new ticket here, in case you feel you want to add to it (or not :) http://hackage.haskell.org/trac/ghc/ticket/3443 Iain

Both of these happen on Windows 7 64-bit for me too.
On Wed, Aug 19, 2009 at 7:08 PM, Iain Barnett
2009/8/19 David Leimbach
Interesting... GHCI bug? Didn't the readline dependency go away not too long ago? Could it be related?
I just tried this
Prelude> putStrLn "\£" ghc: panic! (the 'impossible' happened) (GHC version 6.10.4 for i386-unknown-linux): charType: '\163'
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
So perhaps I should put in a bug report, as that shouldn't happen (it doesn't with some other characters I tried), unless anyone has a different idea? I'm running Arch Linux with xmonad and using roxterm, so perhaps it's something to do with my setup?
Iain
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
-- Sebastian Sylvan
participants (4)
-
Alexander Dunlap
-
Bulat Ziganshin
-
Iain Barnett
-
Sebastian Sylvan