This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: B19.1:bind will not bind usinf the -f option.


Hello Alex, you wrote:
>Upon trying to use the new binding nothing happened.  Investigating the 
>binding for the function showed that the new binding was never made.
bind works quite perfect for me. If I create some file containing

"\e[120~":	beginning-of-line

(yes, I know, it's bogus :) and then run 'bind -f bindings-file' I get

michael@NARGOTHROND:/mnt/f/home/michael >bind -f bindings-file
michael@NARGOTHROND:/mnt/f/home/michael >bind -q beginning-of-line
beginning-of-line can be invoked via "\C-a", "\e[120~", "\e[1~".
michael@NARGOTHROND:/mnt/f/home/michael >

C-a and \e[1~ are predefined in my /etc/inputrc and automatically
bound on every start of bash. If you want to remove those already
existing definitions, you will have to use 'bind -r "\C-a"' for
example.

Hope that helps.
-- 
bye, Michael
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]