Package: bash
Version: 2.05b-26
Severity: wishlist

Hi there,

I found an interesting feature of readline library which can be of help
for many users.  You can search back and forth in the command history by
just adding the following lines to ~/.inputrc:

  # search back and forth in the history with up/down arrows
  "\e[A": history-search-backward
  "\e[B": history-search-forward

After you login again, you can simply type the first chars of previous
entered command and hit the up-arrow key to search back in the command
history.

Because it can be very useful, I thought to file a request as to add an 
.inputrc file under /etc/skel in the following release of the package.

I also attach my .inputrc which contains other interesting options.

Thanks.


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (900, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.11.4
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages bash depends on:
ii  base-files                  3.1.0        Debian base system miscellaneous f
ii  libc6                       2.3.2.ds1-21 GNU C Library: Shared libraries an
ii  libncurses5                 5.4-3        Shared libraries for terminal hand
ii  passwd                      1:4.0.3-17   Change and administer password and

-- no debconf information

-- 
Lorenzo Cappelletti
# .inputrc - libreadline configuration file
# See "man 3 readline" or "info rluserman"

# don't hit TAB twice
set show-all-if-ambiguous on

# behave like emacs
set editing-mode emacs

# allow Latin 1 character
set input-meta on

# search back and forth in the history with up/down arrows
"\e[A": history-search-backward
"\e[B": history-search-forward

Reply via email to