From: wirzeniu@cs.Helsinki.FI (Lars Wirzenius) Subject: Re: [Q] special characters on Date: 1 Jul 1993 12:11:43 GMT
Enrico.Scotoni@purplet.demon.co.uk (Enrico Scotoni) writes:
> FC>2. If it is possible, what should I do while writing C programs to
> > display them ? (I want to port a program from DOS to Linux, but I get
> > in trouble with the graphic characters.) In addition, I have a program
To output a "graphic" character, you need to output a byte with the
correct code. ("Graphic" is not exactly the right term.) I don't
think there is anything special that needs to be done; I've never done
anything special to my knowlege.
> Here I think you will get into trouble. bear in mind that you have
> "IBM-ASCII" under MSLOSS and "ANSI-ASCII" under Linux. They are quite
> different in the 128-255 range (Complain at IBM).
The "ANSI-ASCII" used by Linux is usually called Latin-1, although I
think the official name is ISO 8849-1, for the international standard
for the character code (I could be wrong about that).
> > called atp which can display graphic characters under 80x25, but fail
> > to display them in XTerm. Why ? Do I have some settings wrong ?
Selecting the proper font might help. Or, if the atp program works by
mucking with the VGA fonts, then you can forget it, since xterm does
not use the VGA fonts.