bug-bash
[Top][All Lists]
Advanced

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

The single-char replace in VI mode


From: Bill Duncan
Subject: The single-char replace in VI mode
Date: Mon, 31 Oct 2005 22:36:48 -0500

Configuration Information [Automatically generated, do not change]:
Machine: i586
OS: linux
Compiler: gcc -I/usr/src/packages/BUILD/bash-3.0 
-L/usr/src/packages/BUILD/bash-3.0/../readline-5.0
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i586' 
-DCONF_OSTYPE='linux' -DCONF_MACHTYPE='i586-suse-linux' -DCONF_VENDOR='suse' 
-DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H  -I.  
-I. -I./include -I./lib   -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -Wall 
-g -D_GNU_SOURCE -Wall -pipe -g -fbranch-probabilities
uname output: Linux marion 2.6.11.4-21.9-default #1 Fri Aug 19 11:58:59 UTC 
2005 i686 i686 i386 GNU/Linux
Machine Type: i586-suse-linux

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

Description:
  In VI mode the "r" command no longer keeps the cursor over the changed
  character; it moves the cursor to the right after the change.  This is
  different from previous versions I've used and no longer does what "vi"
  does.



Repeat-By:
  Cursor to a character to replace, do "r" and the character to replace with.
  Watch cursor move to the right one column from the change.


Fix:
  Go back to mimicking the real vi behaviour please!  Is there an environment
  variable or something I can change to get the old behaviour back?

Thanks!





reply via email to

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