Path: utzoo!attcan!uunet!husc6!bloom-beacon!tut.cis.ohio-state.edu!mailrus!ncar!boulder!sunybcs!ugwiles@sybil From: ugwiles@sybil (Dale Wiles) Newsgroups: comp.emacs Subject: Re: ^S (search-forward) on vt100 Message-ID: <1672@cs.Buffalo.EDU> Date: 3 Oct 88 14:59:32 GMT References: <12278@steinmetz.ge.com> Sender: nobody@cs.Buffalo.EDU Reply-To: ugwiles@sybil (Dale Wiles) Organization: SUNY/Buffalo Computer Science Lines: 35 In-reply-to: nieh@geae2.steinmetz (nico nieh) In article <12278@steinmetz.ge.com>, nieh@geae2 (nico nieh) writes: > >I remembered people had trouble about ^S(search-forward) while >using emacs on vt100. Now I am having the same problem. > >Can someone out there give me some help. > The trouble we had with ^S with GNU-EMACS was that it locked up the screen. We also had Emacs sending the random ^S/^Q to the screen. If this is the same trouble your having, it isn't really Emacs's fault. ^S/^Q are standard flow control commands on some systems. ^S is the control command to tell the host computer to stop sending stuff to the screen. ^Q is the command to tell it to start again. Unfortunatly, Emacs also likes to use ^S and ^Q for it's own commands, hence the problem. The way we fixed it is to first tell Emacs to stop printing the ^S/^Q's to the screen, and start interpreting them like a good little editor, and then we told it to convert all of it's ^S/^Q commands to use other keys. Just add this to your .emacs file and ^] and ^\ will give you ^S and ^Q respectivly. (enable-flow-control) ; Under stand ^S/^Q protocal. ; void out the keys ^S and ^Q. ; Make ^] behave like ^S and make ^\ behave like ^\ (setq keyboard-translate-table "/C-@/C-A/C-B/C-C/C-D/C-E/C-F/C-G/C-H/C-I/C-J/C-K/C-L/C-M/C-N/C-O/C-P/C-@/C-R/C-@/C-T/C-U/C-V/C-W/C-X/C-Y/C-Z/C-[/C-Q/C-S/C-^/C-_" That should do it. >Thanks, Your welcome. -- **************************************************** * Dale * You can make me go to college, * * (ug) Wiles * but you can't make me think. * ****************************************************