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
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
05-17-2007, 12:58 PM
#1
Senior Member
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,159
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
05-17-2007, 02:10 PM
#2
Moderator
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Ubuntu, OEL
Posts: 9,165
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.
05-17-2007, 02:20 PM
#3
Senior Member
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,159
Original Poster
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
05-17-2007, 02:49 PM
#4
Moderator
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Ubuntu, OEL
Posts: 9,165
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 ?
05-18-2007, 02:15 PM
#5
Senior Member
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,159
Original Poster
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. :-(
05-18-2007, 03:30 PM
#6
Moderator
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Ubuntu, OEL
Posts: 9,165
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 ?
05-18-2007, 04:23 PM
#7
Senior Member
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,159
Original Poster
Ah yes! Sorry. I am using gnome-terminal. And yes, Control-H erases the last character, Control-W erases the last word. Thanks
05-19-2007, 12:51 AM
#8
Moderator
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Ubuntu, OEL
Posts: 9,165
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"
05-21-2007, 09:26 AM
#9
Senior Member
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,159
Original Poster
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
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 .
05-22-2007, 03:51 PM
#10
Moderator
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Ubuntu, OEL
Posts: 9,165
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.
Thread Tools
Search this Thread
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
All times are GMT -5. The time now is 02:33 PM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News