[comp.emacs] set-input-mode doesn't work?

mcdaniel@uicsrd.csrd.uiuc.edu (05/04/88)

I just got the following note from an irate user.  The "Sytek" is a
terminal concentrator which insists on sending ^S/^Q with no way to
disable it.  It also eats ^S/^Q typed at the keyboard, and (at this
site) delays sending ^P.  Of course, "4.3" and "4.2" refer to BSD
Unix.

% Ever since we converted to 4.3, I have had problems with getting ^S's
% sent to my terminal while I'm in emacs.  With 4.2, sytek.el fixed it,
% but that doesn't work with 4.3.  Lately it has been getting worse, and
% it is very annoying, and very hard to do useful work in emacs.  This
% only happens on sytek.  It happens on Esprits and Wyses.  Please help.

sytek.el is this:

% (defun sytek ()
% "Remap keys as appropriate for the Sytek terminal concentrator.
% All ^Ts input will be translated to ^S;
% all ^Os will be translated to ^P;
% all ^^s ('Home' on a Wyse 50) will be translated to ^Q."
%   (interactive)
%   (setq keyboard-translate-table (make-string 32 0))
%   (let ((i 0))
%     (while (< i 32)
%       (aset keyboard-translate-table i i)
%       (setq i (1+ i))
%       )
%     )
%   (aset keyboard-translate-table ?\^t ?\^s)
%   (aset keyboard-translate-table ?\^^ ?\^q)
%   (aset keyboard-translate-table ?\^o ?\^p)
%   (set-input-mode nil t)
%   )
% 
% (sytek)

I don't understand this behavior.  I thought that the "(set-input-mode
nil t)" line was supposed to handle this.  I have no Sytek manual, so
I don't know what padding is needed.  Does anyone have any idea what's
wrong?  We're running 18.49 on a Vax 11/785.

No, rms, I can't get the Sytek boxes replaced.  Most of our ports are
on Encore Annex boxes, so I don't want to add padding to the system
termcap entries.

-- 
Tim, the Bizarre and Oddly-Dressed Enchanter
Center for Supercomputing Research and Development
at the University of Illinois at Urbana-Champaign

Internet, BITNET:  mcdaniel@uicsrd.csrd.uiuc.edu
UUCP:    {ihnp4,uunet,convex}!uiucuxc!uicsrd!mcdaniel
ARPANET: mcdaniel%uicsrd@uxc.cso.uiuc.edu
CSNET:   mcdaniel%uicsrd@uiuc.csnet