cattelld@prlhp1.prl.philips.co.uk (cattelld) (07/13/88)
I have GNUemacs running on Apollo DN3000 and DN4000 machines. However, the grey keys ( cut,paste,mark,end-of-line etc ) on the low profile keyboard don't communicate their labelled functions to emacs at all. Some of the keys look like vt100 keys ( up-arrow,down-arrow etc )and hence loading vt100.elc makes the editor a little more useable. In order to really make emacs fly most of the grey keys could profitably talk to emacs. All the approaches I have tried have come up against brick walls. Either I program in lisp and force emacs to understand the Apollo keyboard or I use AEGIS commands to redefine the keyboard. Unfortunately emacs doesn't even receive some of the key input, AEGIS doesn't pass them on. Therefore I'm left with redefining the keyboard in AEGIS. Any definitions should only affect the window (pad) that emacs is actually running in. This rules out the use of DM command 'kd'. Wading through the manual produces the AEGIS system call 'pad_$def_pfk' which will redefine any key when used within a particular pad. I thus setup the keys as required and startup emacs in the same pad. Emacs however always receives the default key codes. It turns out that emacs uses the termcap routines to talk to the terminal correctly. However the first call to tgetent has peculiar effects on the pad, most of which put it into the mode emacs expects. A side effect (I presume) is to cause the grey keys to emit their default values. So, I tried using 'pad_$def_pfk' after the tgetent call. This causes the system to reply that the stream stdin is no longer a pad and the calls fail. Attempting to use the termcap lookalike library supplied with GNUemacs results in it only talking to the bottom line of the window. Does anyone already have a solution they could let me have, or are there any termcap/AEGIS gurus out there ? Any help in these matters would be appreciated. Please mail me direct and I'll summarise to the network. David Cattell cattelld@prl.philips.co.uk
srt@aero.ARPA (Scott R. Turner) (07/16/88)
Zubkoff has already done a fairly extensive port of GNU to the Apollos, interfacing with the mouse and the keypad. If you send me mail, I'll send you a shar file. -- Scott Turner