Missing Meta Key on Ultrix 4.1 (one more time)

Doug Rudoff rudoff at MDI.COM
Wed Jun 26 03:43:17 AEST 1991


I just debugged my new version of emacs on my 4.1 machine and the
problem is at a very low level: in the actual read() to stdin.

Why would read() strip the high order bit of an input character?

I know the machine can take input with the high order bit set (through
the meta key) because this simple program does the right thing:

#include <stdio.h>
main()
{
  int c;
  while (1)
    {
      printf("?");
      c = getchar();
      printf("%d\n\n", c);
    }
}

(e.g. entering a Meta-v prints out "246")

Any ideas?

Thanks.
-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Doug RUDOFF    Motorola Mobile Data    Bothell, WA    uunet!mdisea!rudoff
(206) 487-5937                                             rudoff at mdi.com
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=



More information about the Comp.unix.ultrix mailing list