1847663 Members
3157 Online
110265 Solutions
New Discussion

keyboard setting.

 
SOLVED
Go to solution
Jannik
Honored Contributor

keyboard setting.

If i connect with a normal telnet, some of the normal keysetting is incorrect. Characters as 'æøå' on a danish keybourd return wroung characters. I think that it was installed wroungly how can it be changed (and not itemap that is f
jaton
8 REPLIES 8
Mark Grant
Honored Contributor

Re: keyboard setting.

I think you are probably going to find that this is a setting on the client side, not the server.
Never preceed any demonstration with anything more predictive than "watch this"
john korterman
Honored Contributor
Solution

Re: keyboard setting.

Hi,
these settings work for me:

# stty -a
speed 9600 baud; line = 0;
rows = 0; columns = 0
min = 1; time = 0;
intr = ^C; quit = ^\; erase = ^H; kill = ^U
eof = ^D; eol = ^@; eol2 ; swtch
stop = ^S; start = ^Q; susp = ^Z; dsusp
werase ; lnext
-parenb -parodd cs8 -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
#

I do not know how these chars will appear, but you will probably guess what it is:
æøå

The problem is often caused by having istrip set; it should be -istrip. If it does not help, then show me your settings and I will check how they work over here.

regards,
J
it would be nice if you always got a second chance
Jannik
Honored Contributor

Re: keyboard setting.

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

changed to:
LANG=da_DK.iso88591
LC_CTYPE="da_DK.iso88591"
LC_COLLATE="da_DK.iso88591"
LC_MONETARY="da_DK.iso88591"
LC_NUMERIC="da_DK.iso88591"
LC_TIME="da_DK.iso88591"
LC_MESSAGES="da_DK.iso88591"
LC_ALL=

by doing # export LANG=da_DK.iso88591
But the characters still does not work.

I'm trying different clients reflextion and putty. They have the problem both.

jaton
Jannik
Honored Contributor

Re: keyboard setting.

my tty setting is :
intr = ^@; erase = DEL;
swtch ;
brkint -inpck icrnl onlcr tab3
-iexten echo -echoe echok
-echoctl -echoke
jaton
john korterman
Honored Contributor

Re: keyboard setting.

Hej igen,
I have tried your settings over here but the thre last national characters still appear. .
Does your posting of the tty settings show everything appearing at:
stty -a

hilsen,
John K.
it would be nice if you always got a second chance
john korterman
Honored Contributor

Re: keyboard setting.

Hej igen,
just forgot something important - and special to hpux 11.xx. The root shell, i.e. /sbin/sh, does NOT support our last three national characters; it is perfectly normal behaviour for /sbin/sh to display those characters as in your first posting. Try to change the shell to ksh and see if it helps.

hilsen,
John K.
it would be nice if you always got a second chance
Jannik
Honored Contributor

Re: keyboard setting.

Hej John

Her you have the output from stty -a
speed 300 baud; line = 0;
rows = 24; columns = 80
min = 4; time = 0;
intr = ^C; quit = ^\; erase = DEL; kill = @
eof = ^D; eol = ^@; eol2 ; swtch
stop = ^S; start = ^Q; susp ; dsusp
werase ; lnext
-parenb -parodd cs8 -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

as you can see i have a istrip on the machine, how do i remove it.

tnx
jaton
Jannik
Honored Contributor

Re: keyboard setting.

done it:
stty -istrip

TNX!
jaton