Solved

Solaris 5.8 - How to enable the Del button in bash

Posted on 2002-07-23
4
550 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
  • 2
  • 2
4 Comments
 
LVL 1

Expert Comment

by:billwcc
Comment Utility
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
Comment Utility

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
Comment Utility
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
Comment Utility

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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
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…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

728 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now