1856461 Members
3034 Online
104113 Solutions
New Discussion

Re: character mapping

 
Managed Services
Frequent Advisor

character mapping

pound sign (??) is appearing as (#). Anyone know how to rectify this?
7 REPLIES 7
U.SivaKumar_2
Honored Contributor

Re: character mapping

hi,
please give us more details. what terminal you
have set?. Are you using terminal or telnet
access ?.

regards,
U.SivaKumar
Innovations are made when conventions are broken
John Strang
Regular Advisor

Re: character mapping

Is this happening on all terminals, or just console?

Check file /etc/kbdlang
which gives the character set for the console

It may be that you can edit this file to change US to UK, which may solve the problem.

HTH

John
If you never make a mistake you'll never make anything.
Managed Services
Frequent Advisor

Re: character mapping

Telnet via dial-up networking, terminal type is vt100. Sorry about the lack of detail on the initial post.
U.SivaKumar_2
Honored Contributor

Re: character mapping

hi,
Have you tried setting other terminals ?.
ansi or vt220
Are you trying dialup from a windows 98 machine
?. Try getting latest version of hyperterminal
program ( windows second edition ) or try dial
up from a NT workstation.
if you plan for mapping that character. this will give you enough details
#man untic
#man tic


regards,
U.SivaKumar
Innovations are made when conventions are broken
Carlos Fernandez Riera
Honored Contributor

Re: character mapping

check stty setings:

stty -a


it must show cs8 -istrip


stty cs8 -istrip.

After this try it with vi or ksh; /sbin/sh seems dont work for me neither.
unsupported
Managed Services
Frequent Advisor

Re: character mapping

Thanks for all the replies but no luck as yet. I've tried different terminal settings, ie. vt220, ansi and I've run stty cs8 -istrip.
The problem exists not just on remote servers where dial-up access is required but on in-house servers also. We have a GUI which is accepting and displaying ?? signs, but when viewed via character sessions appear as #.
Graham Cameron_1
Honored Contributor

Re: character mapping

Both are correct, I will try to explain...

In 7 bit ascii, the same number is used to represent both ?? and #.
The number is \043 or \x23 or 35.
man ascii will show this.
Different terminals/settings display this according to their configuration, or what font-set you are using.
I Don't have a dumb terminal in front of me but I recall that HP terminals have configurable (US/UK) settings, where UK shows ??, US shows #.
Terminal emulators are also generally configurable, for example on my exceed telnet emulator, if I set NRC set = "ISO United Kingdom", then I see ?? signs. If I set it to "NONE", I see # signs.
Hope this helps

Graham


Computers make it easier to do a lot of things, but most of the things they make it easier to do don't need to be done.