From:	CRDGW2::CRDGW2::MRGATE::"SMTP::CRVAX.SRI.COM::RELAY-INFO-VAX" 25-SEP-1989 19:00
To:	MRGATE::"ARISIA::EVERHART"
Subj:	Re: micro-emacs on VAX/VMS

Received: From UCBVAX.BERKELEY.EDU by GIZMO.SRI.COM with TCP; Mon, 25 SEP 89 13:42:40 PDT
Received: by ucbvax.Berkeley.EDU (5.61/1.37)
	id AA28511; Mon, 25 Sep 89 13:36:22 -0700
Received: from USENET by ucbvax.Berkeley.EDU with netnews
	for info-vax@kl.sri.com (info-vax@kl.sri.com)
	(contact usenet@ucbvax.Berkeley.EDU if you have questions)
Date: 25 Sep 89 18:50:12 GMT
From: gem.mps.ohio-state.edu!wuarchive!kuhub.cc.ukans.edu!sloane@tut.cis.ohio-state.edu
Organization: University of Kansas Academic Computing Services
Subject: Re: micro-emacs on VAX/VMS
Message-Id: <12568.251e2d14@kuhub.cc.ukans.edu>
References: <8909151216.AA06443@ucbvax.Berkeley.EDU>, <5517@tank.uchicago.edu>
Sender: info-vax-request@kl.sri.com
To: info-vax@kl.sri.com

In article <5517@tank.uchicago.edu>, shin@oddjob.uchicago.edu
 (Shin Kurokawa) writes:
> Well, I have a similar problem on one of my microvaxes that I
> manage. I've just installed the GNU Emacs, and everything works
> fine, except that everytime I try to scroll forward/backward
> half a screenful(i.e. ctrl-v and esc-v), I get a "I-Search"
> prompt at the bottom. This happens with the ctrl-l(refresh
> screen) also. Has anyone else seen the same problem? Help this
> poor soul! Thanks,

The problem is that the terminal you are using is trying to use XON/XOFF flow
control.  This means that when the terminal's buffer is full, it will send a
Control-S to the VAX, which emacs will intrepret as an I-Search command. There
are two possible solutions to this problem.  First, you can reconfigure the
terminal so that it doesn't use the XON/XOFF flow control.  You will have to
consult the manual on your individual terminal to find out how to do this.

Second, you can include the follow elisp code in you emacs initialization
file:

;; First make a translate table that does the identity translation.
(setq keyboard-translate-table (make-string 128 0))

(let ((i 0))
  (while (< i 128)
    (aset keyboard-translate-table i i)
    (setq i (1+ i))))

;; Now alter translations of some characters.
(aset keyboard-translate-table ?\^^ ?\^S)
(aset keyboard-translate-table ?\^\\ ?\^])
(aset keyboard-translate-table ?\^] ?\^Q)

This code will remap ^S to ^^, ^Q to ^] and ^] to ^\.  You will have to use
Control-^ to do an incremental search and Control-] to quote characters if you
choose this option.
-- 
USmail: Bob Sloane, University of Kansas Computer Center, Lawrence, KS, 66045
E-mail: sloane@kuhub.cc.ukans.edu, sloane@ukanvax.bitnet, AT&T: (913)864-0444 
 "The scientific theory I like best is that the rings of Saturn are composed 
             entirely of lost airline luggage." -- Mark Russell

