Link to home
Start Free TrialLog in
Avatar of Mark Ebden
Mark Ebden

asked on

Solaris 5.8 - How to enable the Del button in bash


My computer:
SunOS solaris 5.8 sparc SUNW, Ultra-5_10
I'm using bash; echo $SHELL gives:
   usr/local/bin/bash
With echo $TERM, my computer replies with "xterm".

My question:
At the command shell, and in Xemacs 21.1 patch 7, the "Del" button is really a backspace button.  How do I fix its behaviour at the shell and within Xemacs?

What I've tried:
I tried stty erase '^?' and stty erase '^H' but neither worked.  So far playing around with xmodmap is not working either.  I think this question is more difficult than it looks, but I'd be happy if you could prove me wrong.


Thanks,

Mark

Avatar of billwcc
billwcc

Hey, Mark,

I have pretty much an identical setup as yours, exept it's a Sparc5.
My backspace keys and delete keys seem to work fine, tho I know
that's not much good to you.

The stty man page, at the bottom, suggests also to look at man pages
for tabs, ioctl, write, getwidth, attributes, environ, ldterm, termio, and
termiox.   Maybe one of these pages can help?

Good luck, mate.
Avatar of Mark Ebden

ASKER


Thank you, but to be honest I dislike man pages.  I know that sounds heretical and maybe even lazy, but I don't have a weekend to read technical jargon.  I'm not very good with unix I'm afraid, and man pages are never the answer for me.  (Probably one of those feeds the other.)
ASKER CERTIFIED SOLUTION
Avatar of billwcc
billwcc

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial

I didn't know Torvalds came from the same country as Ritchie....

I've visited the man pages - they have not helped.