Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!cs.utexas.edu!rutgers!uwvax!umn-d-ub!nic.MR.NET!shamash!nis!ems!srcsip!mingus!beede From: beede@mingus.SRC.Honeywell.COM (Michael Beede) Newsgroups: comp.emacs Subject: Re: ^S (search-forward) on vt100 Message-ID: <9680@srcsip.UUCP> Date: 5 Oct 88 15:19:37 GMT References: <12278@steinmetz.ge.com> <1672@cs.Buffalo.EDU> Sender: news@src.honeywell.COM Lines: 37 In-reply-to: ugwiles@sybil's message of 3 Oct 88 14:59:32 GMT >[...] > 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 protocol. >; 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. To save time for others, I will point out that not only is this incorrect, if executed it will essentially destroy your emacs session. The ``/'' characters should be ``\'' characters instead. The effect of executing this setq will be to change all control characters to /, C, -, or capital letters (along with a number of other non-control characters). Perhaps the news software somewhere along the way changed the backslashes to forward ones. If not, please remember to include code samples that really work by chopping them out of a tested file, instead of hammering something together on the fly. Not only is it more likely to be non-lethal (this is a the first time I've actually managed to croak my session trying something), it is less work. Lastly, thanks for the fix. After altering the string, it works like a charm! Mike Beede MN55-7282 Secure Computing Technology Center Honeywell Systems & Research Center (612) 782-7147 2855 Anthony Lane South - Suite 130 Minneapolis MN beede@src.honeywell.com