+++ /dev/null
-module Main(main) where
-
-import IO
-import IOExts
-import Char
-
-main = do
- isT <- hIsTerminalDevice stdin
- flg <- if not isT then return False else hGetEcho stdin
- print flg
- if not isT then hSetEcho stdin False else return ()
- hSetBuffering stdin NoBuffering
- interact (map toUpper)
-