On 6/13/14, 4:18 AM, Linda Walsh wrote: > I have my tab key set to generate a tab key instead of doing auto complete > and use ` for auto complete -- not ideal, but it works. > > I found a bug in this today. > > GNU bash, version 4.2.45(1)-release (x86_64-suse-linux-gnu) > > if I type in "set +o posix" > > to make sure posix mode is 'off', > then 'tab' is no longer allowed as input.
You're a vi-mode user. Posix specifies that tab is bound to self-insert when editing in vi mode, but that's not the bash default. So, bash changes the default binding for tab to self-insert when enabling posix mode (set -o posix), and inverts that, reverting to the default, when leaving posix mode (set +o posix). Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/