[svlug] bash, tcsh, and (vi) readline modes
Rick Schultz
bloodyvikings at sbcglobal.net
Wed Sep 21 15:39:51 PDT 2005
I'd like to amend my previous post:
On Mon, Sep 19, 2005 at 06:01:16PM -0700, Rick Schultz wrote:
> The patch appears to have made it in, but it looks like a subsequent
> change undid its effect
This isn't true. I was using /bin/bash as a baseline for comparison,
but it seems I still run 2.05b.
The 3.0 behavior appears to be consistent: up/down while in insert mode
leaves you in insert mode, up/down while in movement mode stays in
movement mode and also moves the cursor to the beginning of the line.
Still, it looks like what you're looking for is something else; more of
a way to force movement mode when scrolling through history, regardless
of the starting mode. The final patch as well as the bindings hack
still seem to work for me (even when tested against the right shell
version...).
I take it you were hoping for something more along the lines of a shell
option or inputrc command. It doesn't look like it would be too hard to
add one in. If there were such a flag, what would you call it, and when
set, should the up arrow leave the cursor at the start or end of the
line?
-rick
More information about the svlug
mailing list