1 *** ../bash-3.0/lib/readline/vi_mode.c Tue Jul 13 14:08:27 2004
2 --- lib/readline/vi_mode.c Tue Aug 17 00:12:09 2004
8 + _rl_free_saved_history_line ();
9 rl_noninc_forward_search (count, key);
13 + _rl_free_saved_history_line ();
14 rl_noninc_reverse_search (count, key);
19 char mb[MB_LEN_MAX+1];
25 char mb[MB_LEN_MAX+1];
33 mblen = wcrtomb (mb, wc, &ps);
36 rl_begin_undo_group ();
44 mblen = wcrtomb (mb, wc, &ps);
47 rl_begin_undo_group ();
48 ! rl_vi_delete (1, 0);
49 ! if (rl_point < p) /* Did we retreat at EOL? */
50 ! rl_point++; /* XXX - should we advance more than 1 for mbchar? */
55 #if defined (HANDLE_MULTIBYTE)
56 if (MB_CUR_MAX > 1 && rl_byte_oriented == 0)
57 ! while (_rl_insert_char (1, c))
59 ! RL_SETSTATE (RL_STATE_MOREINPUT);
61 ! RL_UNSETSTATE (RL_STATE_MOREINPUT);
66 #if defined (HANDLE_MULTIBYTE)
67 if (MB_CUR_MAX > 1 && rl_byte_oriented == 0)
69 ! if (rl_point < p) /* Did we retreat at EOL? */
71 ! while (_rl_insert_char (1, c))
73 ! RL_SETSTATE (RL_STATE_MOREINPUT);
75 ! RL_UNSETSTATE (RL_STATE_MOREINPUT);