Solved

Solaris 5.8 - How to enable the Del button in bash

Posted on 2002-07-23
4
559 Views
Last Modified: 2013-12-21

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

0
Comment
Question by:Mark Ebden
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 1

Expert Comment

by:billwcc
ID: 7175695
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.
0
 

Author Comment

by:Mark Ebden
ID: 7177884

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.)
0
 
LVL 1

Accepted Solution

by:
billwcc earned 100 total points
ID: 7179848
Dude!  Unix is written by smart people, for smart people.  If you want an OS written by idiots, for idiots, stick with microsoft.

The man pages are not merely technical jargon, but the actual writings of some of the greatest minds this country has ever produced:  Bill Joy, Linus Torvalds, Dennis Ritchie, Ted T'so, Brian Kernighan, to name just a few.

A mind stretched by a new idea never shrinks to its former size.
0
 

Author Comment

by:Mark Ebden
ID: 7268932

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

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

Featured Post

What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question