Solved

Solaris 5.8 - How to enable the Del button in bash

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Audit HISTFILE for all users on AIX 9 142
Invalid password trying to cannect to Unix server 2 85
Bash Script to Analyze Oracle Schemas 11 117
Shell Script on AIX 7 111
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 …
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
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.

792 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