25abb0665897486f4498299ccab1c790ca5475f6
[hdw-linux/hdw-linux.git] / packages / base / bash / vi_repeat.patch
1                              BASH PATCH REPORT
2                              =================
3
4 Bash-Release: 2.05b
5 Patch-ID: bash205b-002
6
7 Bug-Reported-by:  rwhron@earthlink.net
8 Bug-Reference-ID: <20020724000454.GA15210@rushmore> (bug-bash)
9 Bug-Reference-URL: http://mail.gnu.org/pipermail/bug-bash/2002-July/004856.html
10
11 Bug-Description:
12
13 Repeating an edit in vi-mode with `.' does not work.
14
15 Patch:
16
17 *** ./lib/readline/readline.c   Wed Mar 13 17:10:46 2002
18 --- ./lib/readline/readline.c   Tue Jul 30 17:46:44 2002
19 ***************
20 *** 685,688 ****
21 --- 685,689 ----
22   #if defined (VI_MODE)
23     if (rl_editing_mode == vi_mode && _rl_keymap == vi_movement_keymap &&
24 +       key != ANYOTHERKEY &&
25         _rl_vi_textmod_command (key))
26       _rl_vi_set_last (key, rl_numeric_arg, rl_arg_sign);
27