nagy%bsndbg.hepnet@LBL.ARPA.UUCP (02/21/87)
The XON/XOFF characters are handled directly in the terminal driver, or directly in the hardware (DMF32s and DECServers for instance). Thus there is no possibility of getting ^C to behave like ^Q. In addition,. the ^C is passed by the terminal driver to higher level software. DCL interprets the ^C and you can write your own program to trap the ^C like MONITOR does (i.e., the ^C in MONITOR gets you to the MONITOR> prompt, not back to DCL). I'm not sure if the ^Z is caught in the terminal driver and turned into an end-of-file or not (I would not be surprised if it was). Note: All this can be disabled by setting your terminal to PASSALL (or PASSTHRU if you still want XON/XOFF), but then you lose nice things like command recall and line editing, etc.
ted@cgl.ucsf.edu@blia.UUCP (02/23/87)
In article <8702211604.AA08111@ucbvax.Berkeley.EDU>, nagy%bsndbg.hepnet@LBL.ARPA writes: > I'm not sure if the ^Z is caught in the terminal driver and turned into > an end-of-file or not (I would not be surprised if it was). The processing of ^Z as EOF is done by RMS. If you read from the terminal using QIO instead of GET, you get a character 1A hex as the terminator. =============================================================================== Ted Marshall Britton Lee, Inc. p-mail: 14600 Winchester Blvd, Los Gatos, Ca 95030 voice: (408)378-7000 uucp: ...!ucbvax!mtxinu!blia!ted ARPA: mtxinu!blia!ted@Berkeley.EDU disclaimer: These opinions are my own and may not reflect those of my employer; I leave them alone and they leave me alone.