Setting READLINE_POINT isn't always applied (4.0.24)

2009-07-15 Thread Henning Bekel
Hello, If I try to change READLINE_LINE and READLINE_POINT from a function bound via bind -x, then setting READLINE_POINT is not applied every second time I invoke the function. Instead, the cursor is placed at the end of the line. Simple test case: test_rl () { READLINE_LINE="$READLINE_LI

3-lines long segfault

2009-07-15 Thread Marc Herbert
The following script crashes bash versions 2.05, 3.2.25, 4.0.16,... trap "echo USR1caught" USR1 read -t 1 foo=$( kill -USR1 $$ ) echo 'Yeah! no Segmentation fault!' Cheers, Marc

Re: Pressing esc twice then left arrow deletes last character

2009-07-15 Thread Chet Ramey
James Rowell wrote: > Bash Version: 3.2 > Patch Level: 33 > Release Status: release > > Description: > There are several ways to get this bug to appear, but they all > involve being in vi-command-mode (set -o vi) after entering > some text to the command line, then pressing >