Re: How to make make shift tab == tab in BASH ??
Cameron Hutchison <camh+dl@xdna.net> wrote:
> Once upon a time Matt Perry said...
>> On Mon, 2004-07-12 at 12:35, Zenaan Harkness wrote:
>>
>> > Does anyone know how I can make SHIFT+TAB do the same thing in my bash
>> > shell as TAB does (ie. tab-complete)?
>>
>> Bash does that by default for me. Running Sarge here. I was able to do
>> it over an ssh session and from the console. Can you get it to work from
>> the console?
> It may be an xterm(1) thing. Xterm sends ESC [ Z to the terminal when
> you press shift-tab. You may be able to map this escape sequence to a
> tab in the readline configuration (which I dont know how to do), or put
> a translation in the X resources for xterm, which is what I did:
> XTerm.VT100*Translations: #override \n\
> Shift <Key>Tab: string(0x09)
> This goes in your .Xresources (or .Xdefaults) file.
That works, but I wouldn't recommend it.
--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
Reply to: