Newsgroups: comp.unix.ultrix Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!mdisea!rudoff From: rudoff@MDI.COM (Doug Rudoff) Subject: Re: Missing Meta Key on Ultrix 4.1 (one more time) Message-ID: <1991Jun25.174317.9673@MDI.COM> Sender: news@MDI.COM Organization: Motorola, Mobile Data Division - Seattle, WA References: <1991Jun24.214917.22181@MDI.COM> <1991Jun25.160755.8326@MDI.COM> Date: Tue, 25 Jun 1991 17:43:17 GMT Lines: 31 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 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@mdi.com -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=