lkml.org 
[lkml]   [1999]   [Dec]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Bash Issues
From
Date

[Jeff V. Merkey <jmerkey@timpanogas.com>]
> Which alternate charater set supports standard 256 ASCII codes just
> like a PC, and is mappable to most of the planets terminals?

For the last time, you are *not* talking about ASCII. ASCII only
defines 95 printable characters (32-126). You are talking about IBM's
code page 437, used on some legacy systems because it matches the font
built into many CGA video cards.

You may have a look at existing library code (i.e. ncurses or newt), or
read "xterm.seq" from the rxvt source (in Debian see
/usr/doc/rxvt/xterm.seq.gz), which talks about switching character sets
using VT100 escape sequences. VT100 emulation, by the way, is almost
as ubiquitous in the Linux/Unix world as CP437 is in the MSDOS world.
Although you're still better off going through one of the termcap/info
libraries so you aren't assuming anything.

Peter

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.119 / U:0.652 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site