bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bash 3.x - vi repeat command broken after 4 lines


From: Tom Sorensen
Subject: Bash 3.x - vi repeat command broken after 4 lines
Date: Fri, 28 Apr 2006 12:20:27 -0400

Configuration Information [Automatically generated, do not change]:
Machine: i686
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i686'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-redhat-linux-gnu'
-DCONF_VENDOR='redhat' -DLOCALEDIR='/usr/share/locale'
-DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H  -I.  -I. -I./include -I./lib
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -m32 -march=i386
-mtune=pentium4
uname output: Linux musicbox 2.6.9-34.EL #1 Wed Mar 8 00:07:35 CST
2006 i686 athlon i386 GNU/Linux
Machine Type: i686-redhat-linux-gnu

Bash Version: 3.0
Patch Level: 15
Release Status: release

Description:
   In Bash 3.x (confirmed in 3.0 under variety of platforms and 3.1-6.2),
   when using vi-mode the repeat function (.) will stop working after a
   few lines of editing. Instead of repeating the previous command it will
   exhibit various bad behaviors (delete character under cursor or replace
   character under cursor with a different character)

Repeat-By:
   > bash
   >ls foo\ (bar)
   bash: syntax error near unexpected token `('
(type: <ESC>kwwwi\<ESC>ww.<ENTER>)
   >ls foo\ \(bar\)
   ls: foo (bar): No such file or directory
(type: <ESC>kk<ENTER>)
   >ls foo\ (bar)
   bash: syntax error near unexpected token `('
(type: <ESC>kwwwi\<ESC>ww.<ENTER>)
   >ls foo\ \(bar          <--- This is wrong!
   ls: foo (bar: No such file or directory



Tom Sorensen




reply via email to

[Prev in Thread] Current Thread [Next in Thread]