[3537] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: Keyboard

daemon@ATHENA.MIT.EDU (Javier Hernandez)
Sat Nov 9 01:12:44 1996

Date: Sat, 9 Nov 1996 01:25:14 +0100 (MET)
From: Javier Hernandez <fjherna@ibm.net>
Reply-To: fjherna@ibm.net
To: "Khalid S. Al-Khater" <kskhater@qatar.net.qa>
cc: redhat Mailing List <redhat-list@redhat.com>
In-Reply-To: <199611052031.RAA22889@doha.net>
Resent-From: redhat-list@redhat.com

On Tue, 5 Nov 1996, Khalid S. Al-Khater wrote:

> Does any one know how to get the { Delete key } to work properly from the command line in bash?
 
Try this and see if it can help you:
---------------------[snip]------------------------
#~/.inputrc
# 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
        set metaflag on
        set convert-meta off
        set output-meta on
        "\e[1~": beginning-of-line
        "\e[3~": delete-char
        "\e[4~": end-of-line
        DEL: backward-delete-char
$endif
--------------------[snip]--------------------


I hope this can help you.



Javi,          _____            fjherna@ibm.net
                 |              fjherna@ctv.es  
      \_________(_)_________/  
 ____________!___!___!___________Valencia(Spain)


--
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-Errata
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post