From: Charles Hedrick (hedrick@geneva.rutgers.edu)
Date: 10/05/92


From: hedrick@geneva.rutgers.edu (Charles Hedrick)
Subject: 8 bit console
Date: 5 Oct 1992 07:03:37 GMT

alawrenc@sobeco.com (a.lawrence) writes:

>From what I have seen so far, characters greater than 0x7F are rejected
>at the shell prompt. I don't know yet if this is bash, or the cooked
>I/O routines. I suspect the latter.

In 0.97pl4, I have no problem with 8 bit I/O. tcsh, bash, and emacs
all recognize meta commands, which are characters with the high order
bit. If you want to use these for national characters, presumably
you'll have to do something to disable the interpretation as
meta-characters. In order to get emacs to work I have to put

  (setq meta-flag t)

in .emacs. In order to generate meta characters under xterm, I have
to put

  xmodmap -e "keycode 64 = Alt_L Meta_L"
  xmodmap -e "keycode 113 = Alt_R Meta_R"
  xmodmap -e "add mod1 = Alt_R"

in .xinitrc. This is with the beta version of Xfree86 that has been
on tsx-11. (This is probably a bug. I think the default setup of the
server should allow the Alt keys to generate meta.) You may also
have to do "stty -istrip cs8", though cs8 doesn't seem to be critical.
Istrip controls whether the kernel strips the high-order bit.