[177] in RedHat Linux List
Re: no delete key in RH 4.0
daemon@ATHENA.MIT.EDU (Joerg Mertin)
Mon Oct 21 18:37:31 1996
From: smurphy@stardust.bln.sub.org (Joerg Mertin)
To: redhat-list@redhat.com
Date: Sun, 20 Oct 1996 11:22:25 +0200 (MET DST)
Reply-To: smurphy@antares.zrz.TU-Berlin.DE
In-Reply-To: <m2g23a7nw6.fsf@hubert.wustl.edu> from Alan Shutko at "Oct 19, 96 02:30:17 pm"
Resent-From: redhat-list@redhat.com
According to Alan Shutko:
> >>>>> "JP" == Joachim Paulini <i2041101@ws.rz.tu-bs.de> writes:
>
> JP> Hi! I just installed RH 4.0. From the beginning I had the problem
> JP> that the Delete key is not working under X(Free86), it behaves
> JP> just like Backspace - well, except for Netscape which does it
> JP> right.
>
>
> Most programs do not differentiate between BackSpace and Delete. You
> can make xterm send ^D or whatever most of your apps use to
> delete-right using resources (can't help you here because I'm not at
> home right now). If you use Emacs under X, add
>
> (defun my-term-setup ()
> (define-key global-map [delete] 'delete-char))
> (add-hook 'term-setup-hook 'my-term-setup)
>
> to your .emacs to tell it to handle BackSpace and Delete differently.
> Similar options probably exist for other programs.
Try out this:
Create a file $HOME/.inputrc with the following Content:
# Costumize the different keys for Console or Xterm.
#
# We're on an xterm
$if term=xterm
DEL: delete-char
$else
# we're on a console
# Having Umlaute
set metaflag on
set convert-meta off
set output-meta on
# Do what it says to
"\e[1~": beginning-of-line
"\e[3~": delete-char
"\e[4~": end-of-line
DEL: backward-delete-char
$endif
You'll be also able to use the Pos1 and end Keys on the Console. In an
XTerm however, it only remaps the del and Backspace Keys, so that they
will work right.
cu
--
`*** Fatal Error: Found [MS-Windows] -> Repartitioning Disk for LiNUX...'
------------------------------------------------------------------------
| Joerg Mertin : smurphy@linux.de (Home) |
| in Berlin Spandau at : joerg@pc50.zrz.tu-berlin.de |
| Stardust's LiNUX System : Data, Fax & Voice 49 30 3627345 |
| PGP 2.6.2i Key on Demand : ZyXEL Link |
------------------------------------------------------------------------
PGP Key fingerprint = C6 3F A3 12 D7 EE 60 27 88 A0 01 E6 0B 11 45 67
--
PLEASE read the Red Hat FAQ, Tips, HOWTO and the MAILING LIST ARCHIVES!
________________________________________________________________________
http://www.redhat.com/RedHat-FAQ http://www.redhat.com/RedHat-HOWTO
http://www.redhat.com/RedHat-Tips http://www.redhat.com/mailing-lists
------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null