home *** CD-ROM | disk | FTP | other *** search
Modula Definition | 1994-12-28 | 616 b | 20 lines |
- DEFINITION MODULE Raw ;
-
- (* Sets the CLI window to RAW/COOKED, note that the functions in the this *)
- (* module wont effect the buffering done by StdIO & FIO. *)
- (* Use the coresponding functions, StdIO.setvbuf & FIO.SetBuffer instead. *)
- (* Only use this module when doing Dos IO calls directly to "*". *)
-
- VAR
- done : BOOLEAN ;
-
- PROCEDURE SetConsoleRaw( ) ;
- (* Sets console to RAW, done=TRUE if operation succeeded, FALSE otherwise *)
-
- PROCEDURE SetConsoleCooked( ) ;
- (* Sets console to COOKED, done=TRUE if operation succeeded, FALSE otherwise *)
-
- (* Exit code always resets console to cooked *)
- END Raw.
-
-