Thread View: gnu.bash.bug
1 messages
1 total messages
Started by Martin Farach
Mon, 11 Sep 1989 17:48
Another key binding question
Author: Martin Farach
Date: Mon, 11 Sep 1989 17:48
Date: Mon, 11 Sep 1989 17:48
48 lines
2259 bytes
2259 bytes
I recently posted a question about binding the arrow keys to the
obvious functions. Thanks to all those who answered my question.
Now I have the following question.
I have the following in my .bash_profile:
foo () {
echo -n bar
}
And the line:
M-f: foo
in my .inputrc, I don't get M-f bound to foo. Instead I get a beep
from M-f. Is there any way to get this kind of behaviour?
Alternatively, can I bind a key to a *sequence* of command-line
editing commands, rather than a single command (a la cmu-shell
macros)?
Thanks again for your help.
Martin Farach
*******************************************************************************
* Martin Farach | *
* University of Maryland | *
* Department of Computer Science | *
* College Park, Maryland 20742 | *
* | *
* also know as: | *
* mpf@brillig.umd.edu | *
*******************************************************************************
--
*******************************************************************************
* Martin Farach | *
* University of Maryland | *
* Department of Computer Science | *
* College Park, Maryland 20742 | *
* | *
* also know as: | *
* mpf@brillig.umd.edu | *
*******************************************************************************
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads