Operating System - HP-UX
1820260 Members
2778 Online
109622 Solutions
New Discussion юеВ

Bad characters with keyboard under console mode

 
Christophe MESTDACH
Occasional Advisor

Bad characters with keyboard under console mode

Hello,
Excuse-me for my English, but I'm French

I've developed a software which runs under HP-UX11.11 in mode console.

I installed HP-UX with this options :
- Keyboard = french
- Language = french

When I use the keyboard under the mode console, the character " appears on the screen when I use the keys | or - or ...

It's very strange, because my keyboard seems to be installed correctly (AZERTY).

What must I make to configure the keyboard correctly?

Thanks in advance

3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: Bad characters with keyboard under console mode

Your English is fine.

try stty -a

Lets see if there is some character assignment that is remapping those keys.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Victor BERRIDGE
Honored Contributor

Re: Bad characters with keyboard under console mode

I would try stty cs8 -istrip
Ans yes follow SEP advice: what is the output of stty -a?

All the best
Victor
(Im in a french speaking world too.. with a qwertzuiop keyboard...)
Christophe MESTDACH
Occasional Advisor

Re: Bad characters with keyboard under console mode

The result of the command "stty -a" is :

speed 9600 baud; line = 0;
rows = 0; columns = 0
min = 4; 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 tab3