Hi all!

Our newsserver does not seem to have gnu.bash, I hope it's ok to post
this question here.

The following bash command used to bind Meta-p:

bind '"\M-p": history-search-backward'

but does not work anymore (I am assuming that our bash version was
updated recently), and it seems that in a bind command "\M-p" now
means some exotic character:

% ====================================================================
[EMAIL PROTECTED]:~/fs-home/tmp$ bash --version
GNU bash, version 3.1.7(1)-release (i386-redhat-linux-gnu)
Copyright (C) 2005 Free Software Foundation, Inc.

[EMAIL PROTECTED]:~/fs-home/tmp$ bind -u history-search-backward

[EMAIL PROTECTED]:~/fs-home/tmp$ bind -p | grep history-search-backward
# history-search-backward (not bound)

[EMAIL PROTECTED]:~/fs-home/tmp$ bind '"\M-p": history-search-backward'

[EMAIL PROTECTED]:~/fs-home/tmp$ bind -p | grep history-search-backward
"ð": history-search-backward
% ====================================================================

Can someone tell me how this binding can be done correctly now? Thanks
a bunch in advance.

-- 
Jarmo Hurri

Commercial email countermeasures included in header email
address. Remove all garbage from header email address when replying,
or just use [EMAIL PROTECTED] .
_______________________________________________
help-gnu-utils mailing list
help-gnu-utils@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-utils

Reply via email to