Path: utzoo!utgpu!watmath!uunet!ginosko!aplcen!uakari.primate.wisc.edu!ark1!dtix!mimsy!mimsy.umd.edu!mpf From: mpf@triplea.cs.umd.edu (Martin Farach) Newsgroups: gnu.bash.bug Subject: Another key binding question Message-ID: Date: 11 Sep 89 17:48:25 GMT Sender: nobody@mimsy.UUCP Distribution: gnu Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Lines: 48 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 | * *******************************************************************************