Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site cbosgd.UUCP Path: utzoo!linus!decvax!harpo!floyd!clyde!ihnp4!houxm!mhuxl!cbosgd!mark From: mark@cbosgd.UUCP (Mark Horton) Newsgroups: net.dcom Subject: Re: Xon/Xoff and editors Message-ID: <572@cbosgd.UUCP> Date: Thu, 10-Nov-83 10:44:44 EST Article-I.D.: cbosgd.572 Posted: Thu Nov 10 10:44:44 1983 Date-Received: Fri, 11-Nov-83 06:29:44 EST References: <1380@rlgvax.UUCP> Organization: AT&T Bell Laboratories, Columbus Lines: 16 Actually, EMACS uses raw mode for two reasons. One is that xon and xoff are commands (search and quote). The other is that some terminals have meta keys and can send 8 bit characters. I understand that CCA EMACS runs in cbreak mode, sets the xon/xoff characters to two unused control chars (^^ and null or some such things), and runs with xon/xoff flow control. Of course, this works best on terminals like the Ambassador that allow you to ste the xon/xoff chars as well. vi runs in cbreak mode - it has since 1978. It's a little known fact that a very old version of vi (ex version 1.1 in visual mode) used ^S as a "print the name of the file and my position in it" command and ^Q as a quote (like EMACS) command. Since it ran in raw mode, xon/xoff was not an option. When V7 came out, the ^S command was moved to ^G, and ^Q was moved to ^V. A year later, nobody remembered that ^G and ^V used to be on other keys. However, EMACS stands by its ^S and ^Q commands.