linux-0.11调试教程,rl

/* What to do when a NEWLINE is pressed. We accept the whole line. KEY is the key that invoked this command. I guess it could have meaning in the future. */rl_newline (count, key) int count, key;{

rl_done = 1;

}

KEYMAP_ENTRY_ARRAY emacs_standard_keymap = { /* Control keys. */ { ISFUNC, (Function *)0x0 }, /* Control-@ */ { ISFUNC, rl_beg_of_line }, /* Control-a */ { ISFUNC, rl_backward }, /* Control-b */ { ISFUNC, (Function *)0x0 }, /* Control-c */ { ISFUNC, rl_delete }, /* Control-d */ { ISFUNC, rl_end_of_line }, /* Control-e */ { ISFUNC, rl_forward }, /* Control-f */ { ISFUNC, rl_abort }, /* Control-g */ { ISFUNC, rl_rubout }, /* Control-h */ { ISFUNC, rl_complete }, /* Control-i */ { ISFUNC, rl_newline }, /* Control-j */0xa 换行符LF { ISFUNC, rl_kill_line }, /* Control-k */ { ISFUNC, rl_clear_screen }, /* Control-l */

{ ISFUNC, rl_newline }, /* Control-m */0xd 回车符CR

char *readline_internal (){… while (!rl_done) { if (!rl_done) rl_redisplay (); }}

也站在未路让我牵挂的人。

linux-0.11调试教程,rl

相关文章:

你感兴趣的文章:

标签云: