> >Hal Daume III <[EMAIL PROTECTED]> writes:
> >
> >
> >
> >>Not for me, GHC 5.04.2 (Solaris).
> >>
> >>here it goes right the first time, but then i have to type two more
> >>letters (in this case 'b\n') to get it to respond to "hello".
> >>
> >>
> >
> >Solaris has a slightly bizarre buffer
Malcolm Wallace wrote:
Hal Daume III <[EMAIL PROTECTED]> writes:
Not for me, GHC 5.04.2 (Solaris).
here it goes right the first time, but then i have to type two more
letters (in this case 'b\n') to get it to respond to "hello".
Solaris has a slightly bizarre buffering scheme in "raw"
Hal Daume III <[EMAIL PROTECTED]> writes:
> Not for me, GHC 5.04.2 (Solaris).
>
> here it goes right the first time, but then i have to type two more
> letters (in this case 'b\n') to get it to respond to "hello".
Solaris has a slightly bizarre buffering scheme in "raw" terminal
mode, whereby it
Not for me, GHC 5.04.2 (Solaris).
Nor with the GHC from CVS:
10:13am moussor:JavaInterp/ ~/nlg/ghc-cvs/ghc/compiler/ghc-inplace Test.hs
-o test
150.50u 1.77s 2:48.29 90.4%
10:16am moussor:JavaInterp/ ./test
> foo^H^H^Ctest: interrupted
10:16am moussor:JavaInterp/ ./test
> foo
You said: foo
> hel
Hal Daume III <[EMAIL PROTECTED]> writes:
> I expect the following to work, but it doesn't.
Yes it does. :-) Even without the hSetBuffering lines.
GHC 5.04-1
Feri.
___
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
I expect the following to work, but it doesn't. Can someone help:
9:53am moussor:JavaInterp/ cat > Test.hs
import System.IO
main = do
hSetBuffering stdout NoBuffering
hSetBuffering stdin NoBuffering
loop
where loop = do
putStr "> "
s <- getLine
putS