Operating System - HP-UX
1826215 Members
2845 Online
109691 Solutions
New Discussion

Re: Using iso88591 characters??

 
Ryan_11
Advisor

Using iso88591 characters??

Hello,

I am trying to use the iso characters in a character based session (telnet). When I type the ALT+0246 sequence to get the ? character I get garbage.
I have already tried the following:
1) set stty -istrip -parenb cs8
2) export LANG=C (doesn't work)
3) export LANG=en_US.iso88591 (doesnt work)
4) localedef -vw -f /usr/lib/nls/loc/charmaps/iso88591.cm -i /usr/lib/nls/loc/src/en_US.iso1.src C
(Basically I recompiled the en_us.iso1.src to use the iso88591.cm and renamed it to the C locale, it still doesn't work. I also tried it using the en_US.iso88591 locale name, but still not)

I just can't see what I'm missing?

TIA
Ryan Odgers
1 REPLY 1
Ryan_11
Advisor

Re: Using iso88591 characters??

OK I got it. Thanks to Carlos for pointing out the missing link which is to use ksh and not sh. Just for info.
LANG=C
stty -istrip cs8

Then the alt key sequences work.