On Tue, 31 Jul 2001, Philip S Tellis wrote:
Sometime Today, Manish Jethani assembled some asciibets to say:
BTW what are the chars with the 8th bit set (128-255) doing? Is that by any means standard? I've seen fonts having the (C) and (TM) symbols lurking somewhere in that range.
For the IBM PC, those are Extended ASCII, or something like that. Basically, anything with the 7th bit (there is no 8th bit) set is not portable across devices. Some terminals use 7 bit characters with one parity bit, others use the 7th bit as a stop bit. In general, the 7th bit is stripped from a character to get its ASCII code.
Three variables should be set on order to make bash understand the 8-bit characters. The best place is ~/.inputrc file. The following should be set:
set meta-flag on set convert-meta off set output-meta on
For terminal, set stty pass8 or stty -istrip cs8
- Keyur.