mikem@TEMPER.STAT.CMU.EDU (Mike Meyer) (11/15/89)
GNU bash, version 1.04.1 Kudos on the improved keybinding code in readline. Keymaps are now generated as needed. Suggestions. 1) There is a stub in the code for an M-. command (grab the last commponent of the previous line). Is this going to be written? 2) How about a ksh-like C-J command. What I want is the ability to go back in the history, execute a command (by hitting C-J) and then find my cursor at the next history item. This makes redoing things like for loops much easier. Kudos and thanks, --Mike
jeff1@garfield.mun.edu (Jeff Sparkes) (11/15/89)
>>>>> On 14 Nov 89 16:26:13 GMT, mikem@TEMPER.STAT.CMU.EDU (Mike Meyer) said:
Mike> GNU bash, version 1.04.1
Mike> Suggestions. 1) There is a stub in the code for an M-. command (grab the
Mike> last commponent of the previous line). Is this going to be written?
It's available in vi mode, as "_". I've been thinking of adding it to
input mode as well. Does anyone have any opinions/thoughts about how
to do this? Right now I'm just using Control-blah to do stuff. For
example, I'm using C-f to complete, C-e to list completions and C-x to
do a vi-style * completion of the current word. I've been trying to
think of a good place to hang rl_re_read_init_file, since C-r is taken
for history searching.
(at least) Two choices:
1. Continue using up control chars. Is there much use for them
besides special chars?
2. Use another keymap, bound to C-x maybe. This will leave
most of the control chars free.
It's impossible to use M-blah since this is often emulated as ESC-blah
on terminals with not META key. 1.04 has gotten rid of the META
keymap associated with vi mode, which caused lots of problems among
diehard vi users.
--
Jeff Sparkes jeff1@garfield.mun.edu || uunet!garfield!jeff1
Humans couldn't have invented golf without alien intervention--Kids in the Hall