From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,bd29c226ef08c237,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1992-12-07 09:40:06 PST Path: sparky!uunet!mcsun!uknet!comlab.ox.ac.uk!mbeattie From: mbeattie@black.ox.ac.uk (Malcolm Beattie) Newsgroups: comp.sys.dec Subject: emacs C-g hangup with DEC LAT gateways Keywords: emacs DECserver C-g terminal hangup Message-ID: <1992Dec7.163237.24396@black.ox.ac.uk> Date: 7 Dec 92 16:32:37 GMT Organization: Oxford University Computing Service, 13 Banbury Rd, Oxford, U Originator: mbeattie@black 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 echo fools then, after the beep for no other character appears (and , etc. have no effect.) If one then kills the process from elsewhere, the commands echo foo ls appear at the shell prompt and are executed immediately the emacs/epoch process dies. -- Malcolm Beattie | 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