Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!hao!oddjob!matt From: matt@oddjob.UChicago.EDU (D 1 4 U 2 C) Newsgroups: comp.emacs Subject: Re: Gnu Emacs ^Q & ^S problems Message-ID: <14064@oddjob.UChicago.EDU> Date: Tue, 10-Nov-87 12:07:24 EST Article-I.D.: oddjob.14064 Posted: Tue Nov 10 12:07:24 1987 Date-Received: Thu, 12-Nov-87 22:55:28 EST References: <20600002@silver> Organization: Audible Boy Birdwatcher Society Lines: 35 In article <20600002@silver> creps@silver.bacs.indiana.edu writes: ) I'm having a little trouble with using Gnu Emacs, in that the thing ) thinks that flow control characters (^Q ^S) are commands. This probably belongs in a "commonly asked questions" file. GNU emacs can handle these terminals. When using such a terminal you should execute (set-input-mode nil t). Type that expression, with the parens, after hitting ESCAPE twice, or put it into your ~/.emacs file if you want it to always be in effect. Documentation of set-input-mode: Set mode of reading keyboard input. First arg non-nil means use input interrupts; nil means use CBREAK mode. Second arg non-nil means use ^S/^Q flow control for output to terminal (no effect except in CBREAK mode). With this in effect, emacs will never see ^S and ^Q. You can go a step further and get back the functions of ^S and ^Q on some other keys without having to track down all the places they are referenced by doing: (setq keyboard-translate-table "\000\001\002\003\004\005\006\007\010\011\012\013\014\015\016 \017\020\021\022\023\024\025\026\027\030\031\032\033\023\035\021\037") (I have split the last line in two so it doesn't get munched on the way out. Splice it back together before using.) This maps the keys you type so that when you type ^\ or ^^, all parts of emacs except for the very lowest input processor think that you have actually typed ^S or ^Q respectively. ________________________________________________________ Matt University matt@oddjob.uchicago.edu Crawford of Chicago {astrovax,ihnp4}!oddjob!matt