[2760] in RedHat Linux List
Re: Keyboard
daemon@ATHENA.MIT.EDU (Joseph L. Hartmann, Jr.)
Tue Nov 5 11:13:13 1996
Date: Tue, 5 Nov 1996 10:58:11 -0500 (EST)
From: "Joseph L. Hartmann, Jr." <joeh@sugar-river.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
Reply-To: 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?
54. How do I set the Delete key to delete the char under the cursor in bash?
ANS:
Put the following into your ~/.inputrc file
"\e[1~":beginning-of-line [HOME KEY]
"\e[3~":delete-char [DELETE KEY]
"\e[4~":end-of-line [END KEY]
(ANS: from Chistopher Woods on the net)
No extra charge for the HOME and END keys!
This is for the text based bash (not an xterm).
Best Regards,
Joe Hartmann Tel: (603) 863 6073
K2AJV email: joeh@sugar-river.net
home-page: http://www.sugar-river.net/~joeh
-------------------------------------------------------------
First Student at the:
Linux Academy in the Sunshine Town of Newport, NH
Happy GPL and all that!
------------- I grant this to the public domain -------------
--
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