bug-bash
[Top][All Lists]
Advanced

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

bash-2.05b, vi mode.


From: Robin
Subject: bash-2.05b, vi mode.
Date: Thu, 29 Aug 2002 17:29:09 +0000 (UTC)

Configuration Information [Automatically generated, do not change]:
Machine: i386
OS: freebsd4.6
Compiler: cc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i386' 
-DCONF_OSTYPE='freebsd4.6' -DCONF_MACHTYPE='i386-portbld-freebsd4.6' 
-DCONF_VENDOR='portbld' -DSHELL  -DHAVE_CONFIG_H  -I.  -I. -I./include -I./lib  
-O -pipe -march=pentiumpro
uname output: FreeBSD quadric.iso 4.6-STABLE FreeBSD 4.6-STABLE #6: Wed Jul 31 
00:46:47 UTC 2002     root@quadric.iso:/usr/obj/usr/src/sys/QUADRIC  i386
Machine Type: i386-portbld-freebsd4.6

Bash Version: 2.05b
Patch Level: 0
Release Status: release

Description:
        I've recently upgraded to bash-2.05b on FreeBSD-STABLE, and spotted a 
quick, probably easy to fix, bug:
First of all, it now seems to default to a sort of hybrid insert mode, which I 
find particularly odd, but which in itself is fine I guess.  The problem is 
that when browsing the history with the arrow keys, you can't go past the last 
character, so although in most instances you can immediately insert, you cannot 
insert past the last character on the line without first going into command 
mode, <ESC>, and then 'a'.
        This seems somewhat unintuitive, so I thought I'd bring it to your 
attention.  I would personally prefer the old 2.05a behaviour of defaulting to 
command mode on history items, and having to explicitly enter insert mode in 
the normal vi way, but I guess you had a good reason (presumably popular 
demand) to change that behaviour.

Repeat-By:
        Go into vi mode (set -o vi) and browse the history.





reply via email to

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