Solved

Solaris 5.8 - How to enable the Del button in bash

Posted on 2002-07-23
4
558 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

733 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