Note also that if the '?' key is bound to auto-completion, the user can still 
input the '?' character using the readline escape sequence (i.e., in this case 
"Ctrl-v ?"). So basically it came down to a choice between these:

(1) Keep '?' key as help. To input a '?' character, prefix it with "Ctrl-v".
(2) Use some other key sequence for help. A '?' character can be entered 
directly.

At that time, (2) was deemed more acceptable than (1), so we currently have (2).

An-Cheng

An-Cheng Huang wrote:
> 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