1822525 Members
2640 Online
109642 Solutions
New Discussion

Re: "£" symbol

 
SOLVED
Go to solution
Zeeshan Zafar
Occasional Advisor

"£" symbol

I'm connected to the hpux 11.11 through telnet but it cannot access the "£" symbol on my keyboard. It displays "#" instead of "£".

Is there a problem with key mapping ?

TERM set to vt220 and i'm using WRQ Reflection for unix.

Thanks,
Zeeshan.
8 REPLIES 8
Victor Fridyev
Honored Contributor

Re: "£" symbol

Hi,

It seems to me, your keybord is define as US and you need UK. Look for keybord configuration in Reflection.

HTH
Entities are not to be multiplied beyond necessity - RTFM
Peter Nikitka
Honored Contributor

Re: "£" symbol

Hi,

the answer is: that depends ...

If you are using latin1 character set and your tty setting are ok, that should print the pound symbol:
echo '\0243'

Check the output of 'stty' (istrip, cs8) and 'locale'.

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"
Zeeshan Zafar
Occasional Advisor

Re: "£" symbol

keyborad mapping Reflection is set to UK.

->locale
LANG=
LC_CTYPE="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_MESSAGES="C"
LC_ALL=

>stty
speed 9600 baud; evenp hupcl -cread
min = 1; intr = ^C; erase = ^H; kill = ^U;
swtch ;
brkint -inpck icrnl -ixany onlcr tab3
-iexten echo -echoe -echok
-echoctl -echoke
Peter Nikitka
Honored Contributor
Solution

Re: "£" symbol

Hi,

check with
locale -a

if there are locales available using charset iso8859-1 .
Then set in apropriate one, e.g.

export LC_CTYPE=C.iso88591

stty -a
gives more info about tty settings.

mfG Peter

The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"
Zeeshan Zafar
Occasional Advisor

Re: "£" symbol

sorry for late reply, i havent been managed to test it.

tried it today but it didnt work.
->export LC_CTYPE=en_GB.iso88591
->#
->stty -a
speed 9600 baud; line = 0;
rows = 24; columns = 140
min = 4; time = 0;
intr = ^C; quit = ^\; erase = ^H; kill = ^U
eof = ^D; eol = ^@; eol2 ; swtch
stop = ^S; start = ^Q; susp ; dsusp
werase ; lnext
parenb -parodd cs7 -cstopb hupcl -cread -clocal -loblk -crts
-ignbrk brkint ignpar -parmrk -inpck istrip -inlcr -igncr icrnl -iuclc
ixon -ixany -ixoff -imaxbel -rtsxoff -ctsxon -ienqak
isig icanon -iexten -xcase echo -echoe -echok -echonl -noflsh
-echoctl -echoprt -echoke -flusho -pendin
opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel -tostop tab3
->


Any suggestion please?
Peter Nikitka
Honored Contributor

Re: "£" symbol

Hi,

try again after setting

stty -istrip cs8

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"
Zeeshan Zafar
Occasional Advisor

Re: "£" symbol

Thanks Peter,

It works :)
Zeeshan Zafar
Occasional Advisor

Re: "£" symbol

Thank you all for your suggestions.