Modify

Opened 11 years ago

Last modified 3 years ago

#1565 new enhancement

add /etc/inputrc

Reported by: anonymous Owned by: developers
Priority: lowest Milestone: Features Paradise
Component: base system Version: Kamikaze trunk
Keywords: Cc:

Description

add /etc/inputrc
to enable use of home/end/del/ins/pgup/pgdn keys in console

# Be 8 bit clean.
set input-meta on
set output-meta on


$if mode=emacs

# allow the use of the Home/End keys
"\e[1~": beginning-of-line
"\e[4~": end-of-line

# allow the use of the Delete/Insert keys
"\e[3~": delete-char
"\e[2~": quoted-insert

# mappings for "page up" and "page down" to step to the beginning/end
# of the history
"\e[5~": beginning-of-history
"\e[6~": end-of-history

$endif

Attachments (0)

Change History (2)

comment:1 Changed 8 years ago by thepeople

  • Milestone changed from Kamikaze to Kamikaze Features Paradize
  • Priority changed from normal to lowest
  • Version set to Kamikaze trunk

comment:2 Changed 3 years ago by Traumflug

I was in a mood to give this one a try :-)

The first four keys apparently work in a Barrier Breaker standard install which uses BusyBox/ash v1.22.1. Page up/down not, but rolling through history with arrow up/down works.

Regarding being 8-bit clean. Umlauts apparently work, too, but the file system is not up to it. The last of these four lines was created by typing b l and then using tab completion.

# touch blärch
xxx@yyy:/tmp/xxx# ls
bl??rch
xxx@yyy:/tmp/xxx# rm blärch

As about all of this stuff is solved (or obsoleted) I vote for closing this bug.

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.