Stig Thormodsrud wrote:
>>> #3 - I agree, please bring back my beloved ?! Its an automatic reflex
> to
>>> hit ? whenever I'm in a router. I end up hitting it 3 or 4 times
> before
>> I
>>> realize that its echoing the char to the screen rather than activating
>>> help.
>>>
>> Has anyone explored using ~/.inputrc to rebind the ? character to
>> something
>> for auto-completion?  It might be possible, to do
>>
>> $if Bash
>> "?": "C-IC-I"
>> $endif
> 
> Good call Stephen.  I just tried:
> 
> $if Bash
> "?": "\C-i"
> $endif
> 
> Maybe we won't have to give up the "?".
> 
> stig

That was the first thing I tried when we started implementing the help system. 
The problem is when the user actually wants to input a '?' character, how do we 
rebind the '?' key back to the actual character? I also tried to rebind the key 
after seeing a quote (assuming '?' characters can only appear in quotes), etc., 
etc. In the end, this is a limitation in the readline library (which is used by 
bash for command line input). We _could_ change readline, I suppose, somewhere 
down the road.

An-Cheng
_______________________________________________
Vyatta-users mailing list
Vyatta-users@mailman.vyatta.com
http://mailman.vyatta.com/mailman/listinfo/vyatta-users

Reply via email to