commandline-editing

jerry at assembly.state.ny.us jerry at assembly.state.ny.us
Wed Oct 11 05:32:33 PDT 2000


Including the following info in /etc/inputrc will help you with your command
line editing problem. I got this from my original Redhat system.

set meta-flag on
set input-meta on
set convert-meta off
set output-meta on

"\eOd": backward-word
"\eOc": forward-word

# for linux console
"\e[1~": beginning-of-line
"\e[4~": end-of-line
"\e[5~": beginning-of-history
"\e[6~": end-of-history
"\e[3~": delete-char
"\e[2~": quoted-insert

# for xterm
"\eOH": beginning-of-line
"\eOF": end-of-line

On Tue, Oct 10, 2000 at 05:49:00PM +0200, r.floers at web.de wrote:
> after downloading the linux-intel-2.4-book i now have installed all packages and the system works fine.
> 
> there is only one problem i cannot solve:
> 
> commandline-editing
> 
> when pressing del, pageup or pagedown bash just beeps and prints a tilde (~). but I want it e.g. to delete the letter right of the cursor when I press the del-key.  
> 
> under editors like joe all that editing functions are working just fine. I've already checked my keymap, /etc/inputrc, /etc/profile and /etc/termcap files and they seem to be ok.
> Also I've downloaded readline4-4.1 and installed it as shared and static.
> 
> Does anyone know the problem?
> 
> Thank you.
> 
> -- 
> Unsubscribe: send email to lfs-discuss-request at linuxfromscratch.org
> and put unsubscribe in the subject header of the message
> 

-- 
Unsubscribe: send email to lfs-discuss-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message




More information about the lfs-dev mailing list