Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: mbeattie@black.ox.ac.uk (Malcolm Beattie)
Subject: emacs C-g hangup with DEC LAT gateways
Date: 7 Dec 92 16:32:37 GMT	[thread overview]
Message-ID: <1992Dec7.163237.24396@black.ox.ac.uk> (raw)


A month or so ago I built epoch 4.0pl1 on our DEC 5500 under
Ultrix 4.2A and have run across a problem very similar to the
one referred to in the PROBLEMS files as follows:

------------- begin include -------------
* Keyboard input gets confused after a beep when using a DECserver
  as a concentrator.

This problem seems to be a matter of configuring the DECserver to use
7 bit characters rather than 8 bit characters.
------------- end include -------------

Many of our users use a terminal gateway to LAT from
a company called Gandalf which got its LAT software from
DEC when they opened up about the LAT protocol.
The default connection for them is 7-bit. The problem is
as described briefly above - when they use the emacs 18.58
that comes with the epoch distribution or when they use
epoch -nw, then hitting C-g as an interrupt hangs the terminal
completely. This does not happen when

(1) C-g is used to cancel a command rather than as an interrupt
  (hitting C-g with no other keys buffered, e.g. as the very
  key to be pressed after invocation does cause the problem.)
or (2) the connection is in 8-bit mode
or (3) a different terminal server is used (we tried an Emulex
server and the problem did not show.)
or (4) the Gandalf gateway is used to talk TCP/IP instead of LAT.

Before I continue, let me say that I do not consider this
problem to be a bug in epoch or emacs. Our best guess is
that it is a DECserver software bug which was inherited by
Gandalf. However the newsgroups gnu.emacs.bug and comp.sys.dec
do seem to be the most appropriate.

At the moment, we are running emacs 18.57, emacs 18.58 and
epoch in parallel because of user inertia and other problems
associated with moving everybody to 8-bit connections
(none of this applies to TCP/IP of course.) We are taking
the matter up with Gandalf. I would like to hear from
anyone else that has seen this problem or a similar one so that
I can point to a list of names and take things as high up
as possible.

I will finish with one detail about the problem in case
it is at all helpful in understanding what is going on.
The terminal hangup resembles flow control at a very low
level. For example, if one starts up emacs 18.58 or epoch -nw
in the problem environment (7-bit connection via LAT through
the Gandalf gateway) and then types

<Ctrl/G>echo foo<Return>ls<Return>

then, after the beep for <Ctrl/G> no other character appears
(and <Ctrl/Z>, <Ctrl/C> etc. have no effect.)

If one then kills the process from elsewhere, the commands
echo foo<Return>
ls<Return>

appear at the shell prompt and are executed immediately the
emacs/epoch process dies.

-- 
Malcolm Beattie <mbeattie@black.ox.ac.uk> | I'm not a kernel hacker
Oxford University Computing Services      | I'm a kernel hacker's mate
13 Banbury Road, Oxford, OX2 6NN (U.K.)   | And I'm only hacking kernels
Tel: +44 865 273232 Fax: +44 865 273275   | 'Cos the kernel hacker's late


                 reply	other threads:[~1992-12-07 16:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox