LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > AIX
User Name
Password
AIX This forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic.

Notices



Reply
 
Search this Thread
Old 05-31-2005, 02:03 AM   #1
fangorn
LQ Newbie
 
Registered: May 2005
Distribution: Gentoo/Debian/AIX
Posts: 9

Rep: Reputation: 0
Question Incompatible Keyboard Layouts????


Hi,

I try telnet or rlogin from Linux to AIX. And I don't get a working keyboard layout. The Right Control Key is not working and so are the Scroll Lock, Begin, End, Page-up, Page-down. Alt seems to work, but not correct. If I press Alt-d it prints .

Really ugly way of controlling ined

I use a "de" keyboard and local settings "english" in both.

I tried every setting of the TERM Variable (xterm, vt100, vt102, ...), I even copied the definition of the Linux vt100 (yes they are different) to AIX and compiled the terminfo to a new entry vt100_lin!!!
-> No Effect at all.

I set all the LC_xxx Variables in trial.





Anyone got any suggestions?

Thanks in advance,

fangorn

Last edited by fangorn; 05-31-2005 at 02:04 AM.
 
Old 05-31-2005, 03:41 PM   #2
zorba4
Member
 
Registered: Feb 2004
Location: Paris
Posts: 398

Rep: Reputation: 31
do all these strange keystokes work correctly when you telnet locally to your own linux bos ?
On my keyboard when I type Alt-d it opens the http://linusquestions.org/questions.... toolbar in selection mode ! is this what you expect on your own local or remote machine ?
By the way, I thint your problem is not a pure keyboard problem. i think you would have exactly the same problem with a french or a spanish keyboard!

Last edited by zorba4; 05-31-2005 at 03:42 PM.
 
Old 06-01-2005, 12:48 AM   #3
fangorn
LQ Newbie
 
Registered: May 2005
Distribution: Gentoo/Debian/AIX
Posts: 9

Original Poster
Rep: Reputation: 0
If I connect to my localhost the Alt and Ctrl keys work, as well as the Page-up, page-down, Begin End, and Arrow keys.

The strange thing is, if I connect to AIX (4.x and 5.x) and export the DISPLAY and then open an aixterm, the left ALT Key and the Left Ctrl Key work, but the other keys still don't. Ok, I found replacements for the most necessary keys in ined (Right Ctrl is Left_Ctrl-x, Alt-d is Left_Ctrl-y, Scroll-Lock is Left_Ctrl-n,Left_Ctrl-n), but we wanna replace some of our AIX machines (which are rather outdated) by new linux pc's and have to connect to the remaining AIX machines for compatibility reasons at least for half a year.

Are there any filters in rlogin/telnet or the shell (we use bash or ksh) that filter keystrokes (besides /etc/inputrc or ~/.inputrc which I generated with some entrys I found in the net, but it didn't change anything)?
 
Old 06-01-2005, 09:19 AM   #4
zorba4
Member
 
Registered: Feb 2004
Location: Paris
Posts: 398

Rep: Reputation: 31
I would do it the opposite way.
Your local Linux machine knows your keyboard, and knows how to send correct escape sequences.
So, I would say that you have to open an xterm window on your local system, and from this local system you must rlogin to the AIX system. Then, everything should work correctly.
 
Old 06-02-2005, 02:13 AM   #5
fangorn
LQ Newbie
 
Registered: May 2005
Distribution: Gentoo/Debian/AIX
Posts: 9

Original Poster
Rep: Reputation: 0
Sorry, that is what I do. I tried aterm, rxvt, Eterm, xterm. xterm works best. All the others don't even recognize the Backspace key if I rlogin or telnet to AIX. For xterm I tried all the TERM settings. As said before, no effect. If I in the rlogin in the exterm export DISPLAY and start aixterm in a new window, for this window it gets a little better. But just a little.

Is there a difference in the protocol when telnet/rlogin tunnel the input to a x application to when I input to the telnet/rlogin shell directly?
 
Old 06-02-2005, 04:27 AM   #6
zorba4
Member
 
Registered: Feb 2004
Location: Paris
Posts: 398

Rep: Reputation: 31
1) If you rlogin to a remote machine, and work on the remote machine, the local system is in charge of the keyboard keystokes.
2) If you rlogin and then DISPLAY=... and startup something, I think nobody is really in charge of knowing the escape sequences fired by your keyboard and interpreting them.
 
Old 06-02-2005, 05:26 AM   #7
fangorn
LQ Newbie
 
Registered: May 2005
Distribution: Gentoo/Debian/AIX
Posts: 9

Original Poster
Rep: Reputation: 0
to 1)
Still my linux knows my keyboard. But the escape sequences it sends over rlogin/telnet seem to not be recognized by the AIX machines. I read in the man rlogin of the switches -E -8 which should send unfiltered information to the remote machine, but that has no effect too.

Are there any Filter settings for rlogin or telnet deamons that missed me? Are the versions of telnet/rlogin linux incompatible with the AIX versions?

Under Linux I already installed the compatibility package for older Terminal types. As you can think, no effect at all.

I'm a little bit out of ideas right now!

to 2)
so the X applications have less problems with whatever causes these troubles. This is one more hint, that it isn't the keyboard. So maybe I should change the subject??
 
Old 06-02-2005, 08:57 AM   #8
zorba4
Member
 
Registered: Feb 2004
Location: Paris
Posts: 398

Rep: Reputation: 31
Quote:
Originally posted by fangorn
So maybe I should change the subject??
No need to change the subjet. Need to wait until somebody knowing these terminfo things comes around here.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
switching between keyboard layouts trawler Linux - Software 1 10-22-2005 07:51 AM
how can I toggle different keyboard layouts? kentri9 Linux - Newbie 14 10-09-2004 05:46 PM
keyboard layouts misulo Fedora 0 08-17-2004 02:29 PM
vanished keyboard layouts Castor Slackware 2 08-01-2004 06:58 PM
Shifting Keyboard Layouts! tolis Linux - General 1 12-12-2003 08:37 PM


All times are GMT -5. The time now is 09:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration