
18 Mar
2007
18 Mar
'07
1:50 a.m.
I was wondering if there are any applications that make use of System.Posix.Terminal? I'm trying to write some code to communicate over a serial port, and am trying to figure out how these functions are intended to be used. There are a bunch of 'with...' and 'without...' functions, but I'm not sure how to easily combine them to modify some terminal attributes. The best I've come up with is: flip withoutMode IgnoreBreak . flip withoutMode InterruptOnBreak . flip withMode LocalMode . flip withInputSpeed B9600 $ originalMode and so on. Am I missing something here? Thanks, David Brown