Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!limes From: limes@sun.uucp (Greg Limes) Newsgroups: comp.emacs Subject: Re: C-s and C-q Message-ID: <52336@sun.uucp> Date: 6 May 88 21:43:04 GMT References: <511@sdcc15.UUCP> <857@zippy.eecs.umich.edu> Reply-To: limes@sun.UUCP (Greg Limes) Organization: Sun Microsystems, Mountain View Lines: 24 In article <857@zippy.eecs.umich.edu> spencer@spline.eecs.umich.edu (Spencer W. Thomas) writes: >In article <511@sdcc15.UUCP> gp1631@sdcc15.UUCP (fetzer,michael eugen) writes: >>how do I teach emacs not to interpret C-s and C-q as XOFF and XON? >>Better yet, can someone give me a reasonable substitute for these >>and also show me how to get emacs to accept them? > >Here is my solution. I install this in "xon.el" (somewhere along your >loadpath). Then, when I'm on a braindamaged terminal (or using a >braindamaged terminal interconnect network), I just > M-x load-file xon.el > >; Map ^\ to ^S and ^^ to ^Q, and turn on flow control >(setq keyboard-translate-table > "\0\1\2\3\4\5\6\7\10\11\12\13\14\15\16\17\20\21\22\23\24\25\26\27\30\31\32\33\23\35\21") >(set-input-mode nil t) > >=Spencer (spencer@crim.eecs.umich.edu) Or, once you have set up this "xon.el" file (thanks spencer!), if you know that you are on a losing terminal, start up emacs with % emacs -l xon.el making this into an alias would save even more. -- Greg Limes [limes@sun.com] Illigitimi Non Carborundum