LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Other *NIX
User Name
Password
Other *NIX This forum is for the discussion of any UNIX platform that does not have its own forum. Examples would include HP-UX, IRIX, Darwin, Tru64 and OS X.

Notices


Reply
  Search this Thread
Old 05-17-2007, 12:58 PM   #1
jhwilliams
Senior Member
 
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Rep: Reputation: 211Reputation: 211Reputation: 211
Question IRIX64 Keymapping


Hi, we have a 16 proc IRIX here - I've never used this OS before. My backspace and delete keys are not working when I remote login -

The backspace goes to a fresh commanline, and the delete key puts in a ~. Is this is standard behaviour on IRIX, and is there anyway to change it so it acts your standard GNU/Linux system, where you can actually delete things if you make a mistake?

Thanks!
Jameson
 
Old 05-17-2007, 02:10 PM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
I think the problem is probably with the terminal emulator your are using.

These programs tends to remap backspace (Control-H, 0x08) and delete (0x7f) to something else.

Run also "stty -a" on the IRIX box to see what character is used to erase.
 
Old 05-17-2007, 02:20 PM   #3
jhwilliams
Senior Member
 
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Original Poster
Rep: Reputation: 211Reputation: 211Reputation: 211
Code:
octopus:/home/jameson% stty -a
speed 38400 baud; line = 1; 56 rows; 153 columns
intr = DEL; quit = ^\; erase = ^H; kill = ^U; eof = ^D; eol = ^@; old-swtch = ^Z; susp = ^Z
lnext = ^V; werase = ^W; rprnt = ^R; flush = ^O; stop = ^S; start = ^Q; dsusp = ^Y
-parenb -parodd cs8 -cstopb hupcl cread clocal -cnew_rtscts -loblk
-ignbrk brkint ignpar -parmrk -inpck istrip -inlcr -igncr icrnl -iuclc
ixon -ixany -ixoff -imaxbel
isig icanon iexten -xcase echo echoe echok echoke echoctl -echoprt -echonl -noflsh -flusho -pendin -tostop
opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel
Ctrl-H of course! Why not. I am rlogin from a tcsh shell on GNU/Linux. Any ideas for remapping ? Thanks
 
Old 05-17-2007, 02:49 PM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Quote:
Originally Posted by jhwilliams
Ctrl-H of course! Why not.
It could have been delete, which is the default on System-V UNIX.
Quote:
I am rlogin from a tcsh shell on GNU/Linux.
This doesn't answer the question about the terminal emulator used.
To make sure rlogin and tcsh aren't responsible of the issue, you can try login with telnet and running a bourne shell (sh/ksh/bash).
Quote:
Any ideas for remapping ?
That would depend on the terminal emulator settings.

When connected to the IRIX box, does a plain Control-H erase the last character and Control-W the last word ?
 
Old 05-18-2007, 02:15 PM   #5
jhwilliams
Senior Member
 
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Original Poster
Rep: Reputation: 211Reputation: 211Reputation: 211
Code:
% telnet octopus
Trying [xxx.xxx.xxx.xxx]...
Connected to octopus.company.com (xxx.xxx.xxx.xxx).
Escape character is '^]'.


IRIX (octopus)

login: jameson
Password:
IRIX Release 6.5 IP27 octopus
Copyright 1987-2004 Silicon Graphics, Inc. All Rights Reserved.
Last login: Fri May 18 14:57:26 EDT 2007 by jameson@whiteout.company.com
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

                                  Welcome to
                                   octopus

                          16 300 MHZ IP27 Processors
    Sysinfo:2952942888 Serial:K0025528 Sysinfo:2952942233 Serial:K0025299
                        Main memory size: 15360 Mbytes
                       IRIX64 6.5 6.5.23f 01080747 IP27

 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
octopus:/home/jameson% bash
bash-3.00$
bash-3.00$
bash-3.00$
bash-3.00$ \
bash-3.00$
-- yea, bash through telnet is the same deal. :-(
 
Old 05-18-2007, 03:30 PM   #6
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Can you answer my previous questions:

What is your terminal emulator: gnome-terminal ? xterm ? konsole ?

When connected to the IRIX box, does a Control-H erase the last character and Control-W the last word ?
 
Old 05-18-2007, 04:23 PM   #7
jhwilliams
Senior Member
 
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Original Poster
Rep: Reputation: 211Reputation: 211Reputation: 211
Ah yes! Sorry. I am using gnome-terminal. And yes, Control-H erases the last character, Control-W erases the last word. Thanks
 
Old 05-19-2007, 12:51 AM   #8
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Reset the backspace and delete keys to send what God intended, not these broken "compatibility values":
Code:
Edit -> Current Profile -> Compatibility ->
  Backspace key generates "Control-H"
  Delete key generates "ASCII DEL"
 
Old 05-21-2007, 09:26 AM   #9
jhwilliams
Senior Member
 
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Original Poster
Rep: Reputation: 211Reputation: 211Reputation: 211
Thanks! Well, the Backspace key now works, but the delete key is skipping to new lines. If I use "escape-sequence" I get a tilde. If I use ascii-del, I get the new command line skip. This is also happening on an AIX 43 machine, and a solaris64 machine. The functionality one would expect of the delete key appears not to be bound to any sequence now listed from
Code:
stty -a
on the IRIX machine (octopus).

Code:
octopus:/home/jameson% stty -a
speed 38400 baud; line = 1; 40 rows; 185 columns
intr = DEL; quit = ^\; erase = ^H; kill = ^U; eof = ^D; eol = ^@; old-swtch = ^Z; susp = ^Z
lnext = ^V; werase = ^W; rprnt = ^R; flush = ^O; stop = ^S; start = ^Q; dsusp = ^Y
-parenb -parodd cs8 -cstopb hupcl cread clocal -cnew_rtscts -loblk
-ignbrk brkint ignpar -parmrk -inpck istrip -inlcr -igncr icrnl -iuclc
ixon -ixany -ixoff -imaxbel
isig icanon iexten -xcase echo echoe echok echoke echoctl -echoprt -echonl -noflsh -flusho -pendin -tostop
opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel
And on the solaris:

Code:
hermes:/home/jameson% stty -a
speed 38400 baud;
rows = 40; columns = 185; ypixels = 0; xpixels = 0;
csdata ?
eucw 1:0:0:0, scrw 1:0:0:0
intr = ^c; quit = ^\; erase = ^?; kill = ^u;
eof = ^d; eol = <undef>; eol2 = <undef>; swtch = <undef>;
start = ^q; stop = ^s; susp = ^z; dsusp = ^y;
rprnt = ^r; flush = ^o; werase = ^w; lnext = ^v;
parenb -parodd cs7 -cstopb -hupcl cread -clocal -loblk -crtscts -crtsxoff -parext
-ignbrk brkint ignpar -parmrk -inpck istrip -inlcr -igncr icrnl -iuclc
ixon -ixany -ixoff imaxbel
isig icanon -xcase echo echoe echok -echonl -noflsh
-tostop echoctl -echoprt echoke -defecho -flusho -pendin iexten
opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel
And on the AIX:
Code:
delaware:/home/jameson% stty -a
speed 38400 baud; 40 rows; 185 columns;
eucw 1:1:0:0, scrw 1:1:0:0:
intr = ^C; quit = ^\; erase = ^H; kill = ^U; eof = ^D; eol = ^@
eol2 = ^@; start = ^Q; stop = ^S; susp = ^Z; dsusp = ^Y; reprint = ^R
discard = ^O; werase = ^W; lnext = ^V
-parenb -parodd cs8 -cstopb hupcl cread -clocal -parext
-ignbrk brkint ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl -iuclc
ixon -ixany ixoff imaxbel
isig icanon -xcase echo echoe echok -echonl -noflsh
-tostop echoctl -echoprt echoke -flusho -pending iexten
opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel
Thank you very much for your help so far! Achievement of the backspace key is a major advancement in the quality of my daily routine :-)

Last edited by jhwilliams; 05-21-2007 at 09:45 AM.
 
Old 05-22-2007, 03:51 PM   #10
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
The delete key is mapped to interrupt (usually Control-C on most platforms) on the IRIX machine, this is what you call "Command Line Skip".

On the Solaris box, delete is erasing the last character and backspace does nothing in particular.
 
  


Reply



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
Keymapping phantom_cyph General 2 05-07-2007 06:02 AM
special keymapping help! QuiB Linux - Laptop and Netbook 0 12-05-2005 11:14 AM
X, Keymapping and aterm... NonSumPisces Linux - General 2 06-15-2004 09:39 AM
console keymapping green_dragon37 Linux - General 3 07-04-2003 11:50 PM
ssh2, keymapping dave308 Linux - Networking 1 12-08-2001 01:37 AM

LinuxQuestions.org > Forums > Other *NIX Forums > Other *NIX

All times are GMT -5. The time now is 11:37 AM.

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
Open Source Consulting | Domain Registration