Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Code Page 437

93 views
Skip to first unread message

J.P. Larocque

unread,
Aug 24, 2000, 3:00:00 AM8/24/00
to
Hello,

I'm trying to set up Falken, a BBS program for Linux. It excessively uses
"ANSI graphics," in other words, ASCII text graphics done with characters from
the Code Page 437 character set, with ANSI coloring. CP-437 is the same
character set DOS uses and sometimes known as the IBM PC character set.

My problem is Linux seems to use the Latin-1 character set, both on the
console, and in xterms. Therefore ANSI graphics look corrupted, in both
Falken, as well as viewing ANSI files (*.ans) and calling dial-up BBSs that
make use of CP-437 (as most do) from minicom. How can I either start an xterm
with the CP-437 character set, or set the console font for CP-437?

As for console fonts, I can't find anything suitable in
/usr/share/consolefonts/. Could anyone suggest a place to download CP-437
console fonts?

As for xterms, I know about the '-fn' option, but I don't know how to find
what fonts I have available in X. As I'm sure you all can tell, I don't know
much about X. =) I would certainly prefer finding a way to use CP-437 in
an xterm than in the console, as I mostly use X.

DOSEMU's 'xdos' uses the correct font but I don't know if the font is part of
X--and therefore accessible to xterm--or proprietary to xdos.

I should note that I still use slink. It's hard to upgrade when your Internet
connection is a 14.4kbps modem.

Thanks a lot in advance to anyone who can reply with information.

--
J.P. Larocque, known online as piranha
pir...@mindless.com


--
Unsubscribe? mail -s unsubscribe debian-us...@lists.debian.org < /dev/null

Damon Muller

unread,
Aug 24, 2000, 3:00:00 AM8/24/00
to
Hi JP,

I have a font that I think is what you are after, called VGA. It's
actually a lot more readable that a lot of the standard X fonts, IMHO,
but of course doesn't display all of the characters properly (I used to
use it as my font for mutt in an Eterm).

On my system, it's:

/usr/X11R6/lib/X11/fonts/misc/vga.pcf

if you do an xlsfonts|grep vga, you may already have it. I seem to
recall having found it on the net somewhere originally, so you could try
searching on google.

This is only an X font, I don't know of any equivalent for the console.

HTH,

damon

Quoth J.P. Larocque,

--
Damon Muller (dm-...@empire.net.au) / It's not a sense of humor.
* Criminologist / It's a sense of irony
* Webmeister / disguised as one.
* Linux Geek / - Bruce Sterling

- Running Debian GNU/Linux: Doing my bit for World Domination (tm) -

Shaul Karl

unread,
Aug 24, 2000, 3:00:00 AM8/24/00
to
I am not an expert but as a start point I would try (for bash)
export TERM=ansi
There also might be more appropriate entries, take a look at the terminfo docs.
Doesn't the kernel have some CODEPAGE_437 stuff?

--

-- Shaul Karl <sha...@israsrv.net.il>

Donate free food to the world's hungry: see http://www.thehungersite.com

0 new messages