Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!purdue!ames!lll-winken!uunet!yale!spolsky-joel From: spolsky-joel@CS.YALE.EDU (Joel Spolsky) Newsgroups: comp.emacs Subject: Re: Visual searching Message-ID: <58989@yale-celray.yale.UUCP> Date: 30 Apr 89 06:06:52 GMT References: <192@dftsrv.gsfc.nasa.gov> Sender: root@yale.UUCP Reply-To: spolsky-joel@CS.YALE.EDU (Joel Spolsky) Distribution: na Organization: Yale University Computer Science Dept, New Haven CT 06520-2158 Lines: 37 In article <192@dftsrv.gsfc.nasa.gov> merritt@iris613.gsfc.nasa.gov (John H Merritt) writes: |We have some Visual Technology 603's, emulating a vt100, and |they don't seem to do very well with GNUemacs. Whenever I try |to scrolling, the scroll takes place and I am placed in |'I-search'. It seems to only happen when the cursor is on the top |or bottom line of the editing window. The status line at the bottom |of the screen reads: | |I-search: ^Q- The terminal is sending a ctrl-S (XOFF character) to pause incoming text while it tries to scroll. Emacs interprets ^S as i-search. Then it sends a ctrl-Q (XON) to resume incoming text. Emacs interprets this as quote-next-character. Indeed ^Q followed by a non-special character is ignored; that's what it means. |It definately is 'I-search' because any characters I type are found, if |they exist, meaning that ^Q- is ignored! Well, if, for example, you wanted to search for an escape character without confusing emacs, you would type ^S ^Q Escape. The ^Q isn't always ignored. |Other terminals, also emulating a vt100, seem to work fine. I think |something needs to be done with the Visual terminal, or the terminfo entry |to remedy this problem. I would appreciate any help in this matter. Look in the manual for a way to shut off XON/XOFF in the terminal's setup mode (or maybe dip switches?) Hopefully the terminfo entry should know how long to wait after sending a scroll command to avoid losing data. +----------------+----------------------------------------------------------+ | Joel Spolsky | bitnet: spolsky@yalecs.bitnet uucp: ...!yale!spolsky | | | internet: spolsky@cs.yale.edu voicenet: 203-436-1483 | +----------------+----------------------------------------------------------+ #include