Re: Regression in history search in VI mode?

2007-09-21 Thread Chet Ramey
Uwe Doering wrote: > Hi there, > > I found what I think is a regression in Bash 3.2PL25 vs. 3.1PL17. In VI > mode, when I press ESC and '/' (or ESC and '?') in insert mode Bash is > supposed to switch to command mode and enter the history search > function. This works well if there is a pause be

Regression in history search in VI mode?

2007-09-21 Thread Uwe Doering
Hi there, I found what I think is a regression in Bash 3.2PL25 vs. 3.1PL17. In VI mode, when I press ESC and '/' (or ESC and '?') in insert mode Bash is supposed to switch to command mode and enter the history search function. This works well if there is a pause between ESC and the next key

Re: [EMAIL PROTECTED]

2007-09-21 Thread Chet Ramey
Karsten Sperling wrote: > Configuration Information [Automatically generated, do not change]: > Machine: i486 > OS: linux-gnu > Compiler: gcc > Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i486' > -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i486-pc-linux-gnu' > -DCONF_VENDOR='pc' -DLOCALED

Re: Missing character when using ${VAR:1} and length(VAR)==1

2007-09-21 Thread Chet Ramey
Stephane Chazelas wrote: > Same here. The character is DEL: > > ~$ bash -c 'TT="o"; echo "l${TT:1}l"' | od -c > 000 l 177 l \n > 004 > ~$ locale charmap > ISO-8859-15 > ~$ bash --version > GNU bash, version 3.1.17(1)-release (i486-pc-linux-gnu) > Copyright (C) 2005 Free Software Foun

Re: Bash Prompt location

2007-09-21 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Paul Jarc on 9/21/2007 8:53 AM: > hirochiamaru <[EMAIL PROTECTED]> wrote: >> I saw it on a screen shot once, but this gentlemen was able to put the bash >> prompt at the bottom of his xterm window with out fill the top portion the >> xterm

Re: Bash Prompt location

2007-09-21 Thread Paul Jarc
hirochiamaru <[EMAIL PROTECTED]> wrote: > I saw it on a screen shot once, but this gentlemen was able to put the bash > prompt at the bottom of his xterm window with out fill the top portion the > xterm window first. yes '' | head -n "$LINES" paul

Bash Prompt location

2007-09-21 Thread hirochiamaru
I saw it on a screen shot once, but this gentlemen was able to put the bash prompt at the bottom of his xterm window with out fill the top portion the xterm window first. I've been poking around google with no real solution. I was wonder if bash has the capability of doing this? would you need to