[comp.unix.ultrix] I fixed my emacs meta key problem

rudoff@MDI.COM (Doug Rudoff) (06/27/91)

The problem was that with emacs on Ultrix 4.1, the meta key was being
ignored (basically the 8th bit of input was stripped).

Note that this had nothing to do with my stty setup as other programs
on the same machine worked with the meta key. (But thanks to all those
people who gave me suggestions about this).

After much testing, I determined that if the ioctl() flag LLITOUT is
set, the 8th bit is stripped from input.

I built emacs version 18.57

To fix the problem, in sysdep.c add at line 119 (after the same thing
is done for BSD4_1):

/* Get rid of LLITOUT in Ultrix 4.1, since it is strips meta bits */
#ifdef ultrix
#undef LLITOUT
#define LLITOUT 0
#endif /* ultrix */

This I imagine is a bug in Ultrix 4.1 since emacs worked fine in the
3.x versions of Ultrix. (How do I report this to DEC?)

I'm not sure what the consequences of getting rid of LLITOUT are (I'm
not quite sure what LLITOUT is for!). I just learned all this ioctl()
stuff in the past few days.
-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Doug RUDOFF    Motorola Mobile Data    Bothell, WA    uunet!mdisea!rudoff
(206) 487-5937                                             rudoff@mdi.com
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=