[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
backwards menu-complete with shift+tab
From: |
gph9mail-bashbug |
Subject: |
backwards menu-complete with shift+tab |
Date: |
Mon, 14 May 2007 17:18:11 +0200 (CEST) |
Configuration Information [Automatically generated, do
not change]:
Machine: i586
OS: linux-gnu
Compiler: gcc -I/usr/src/packages/BUILD/bash-3.2
-L/usr/src/packages/BUILD/bash-3.2/../readline-5.2
Compilation CFLAGS: -DPROGRAM='bash'
-DCONF_HOSTTYPE='i586' -DCONF_OSTYPE='linux-gnu'
-DCONF_MACHTYPE='i586-suse-linux-gnu'
-DCONF_VENDOR='suse' -DLOCALEDIR='/usr/share/locale'
-DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H -I. -I.
-I./include -I./lib -O2 -g -m32 -march=i586
-mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2
-D_GNU_SOURCE -DRECYCLES_PIDS -Wall -pipe -g -fPIE
-fbranch-probabilities
uname output: Linux delta 2.6.18.2-34-default #1 SMP
Mon Nov 27 11:46:27 UTC 2006 i686 athlon i386
GNU/Linux
Machine Type: i586-suse-linux-gnu
Bash Version: 3.2
Patch Level: 9
Release Status: release
Description:
This is GNU bash, version 3.2.9(1)-release
(i586-suse-linux-gnu), using vendor supplied package
bash_3.2-7_i586.rpm.
With the documentation at hand, I cannot figure out
how to bind backwards menu-complete to shift+tab. The
manual says:
menu-complete
Similar to complete, but replaces the word to be
completed with a single
match from the list of possible completions.
Repeated execution of
menu-complete steps through the list of possible
completions, inserting each
match in turn. At the end of the list of
completions, the bell is rung
(subject to the setting of bell-style) and the
original text is restored.
An argument of n moves n positions forward in the
list of matches; a nega-
tive argument may be used to move backward through
the list. This command
is intended to be bound to TAB, but is unbound by
default.
The notation
bind "TAB":menu-complete
in my ~/.bashrc works as intended, this overrides the
default complete.
Repeat-By:
However,
bind "a":menu-complete -1
or
bind "a":"menu-complete -1"
work exactly the same as menu-complete, i.e. they go
forward when I press a.
Specifying the key combo shift+tab is not documented.
I guessed if M is meta and C is control, S should be
shift. I tried
bind "S-TAB":complete-username
but then pressing shift+tab has no effect, and tab
alone triggers complete-username.
__________________________________ Yahoo! Clever - Der einfachste Weg,
Fragen zu stellen und Wissenswertes mit Anderen zu teilen. www.yahoo.de/clever
- backwards menu-complete with shift+tab,
gph9mail-bashbug <=