From: Tomi Manninen (uwtmbkv@rdspt.ro)
Date: Mon Nov 05 2001 - 20:33:03 EET
On Mon, 5 Nov 2001, LETANG Eric USCE DEF wrote:
> I saw that file Ax25utils used the character map cp437 by default.
> In particular the listen command and the
> file/usr/local/src/ax25-apps-0.0.5/listen/utils.c.
> How can we do to have another character map like iso8859-1?
Err...? AX.25 utils do not use any specific character set. Most of the
utils simply show the characters as they are received.
On the other hand most packet radio traffic out there still uses IBM
character sets (either cp437 or cp850). That is really sad IMHO but
something we cannot do anything about.
It's true that listen has a hack that enables it to show a certain subset
of characters with a mapping from cp437 to iso latin1. Only the characters
with codes from 128 to 160 are mapped. These characters are defined
"illegal" in iso latin1 so they would be by default mapped to something
unprintable. As it happens the scandinavian special characters in cp437
are also in this area so I got the "bright" idea to add the special
mapping.
The hack is only enabled if the -8, -c and -i options are on (see the man
page). Also the mapped characters are shown highlighted so that they can
be distinguished those from the normal monitored characters.
Oh, yes, I think "call" also does some mappings. In my opinion that is a
bug and should be fixed.
> During the kernel compilation, I chose a default characters map
> iso-8859-1 + some other one in module (or build in).
> Why Ax25utils could not use the default kernel seting?
This has nothing to do with any kernel options.
-- Tomi Manninen Internet: terhi.victor@logonet.com OH2BNS AX.25: fwj@fej.udesc.br KP20ME04 Amprnet: fdmhj@fh-kl.de- To unsubscribe from this list: send the line "unsubscribe linux-hams" in the body of a message to uyl@netpci.com More majordomo info at http://vger.kernel.org/majordomo-info.html
This archive was generated by hypermail 2b30 : Mon Nov 05 2001 - 20:34:07 EET