Re: KSH and Bash problem with long commands

2008-02-13 Thread Jon
hmm.. my ksh does not over write any thing.. . it just continues to write on the command and move every thing to the left. When the move happens, those charecter disappear behind the prompt... and "<" appear on the right hand side. Since I use VI as my shell editior (set -o vi OR ksh -o vi), I ca

Re: KSH and Bash problem with long commands

2008-02-12 Thread Christian Weisgerber
OBSD <[EMAIL PROTECTED]> wrote: > I have a small problem with the KSH and Bash on a OpenBSD 4.2. with very > long commands. > > and in my ~/.inputrc is > set horizontal-scroll-mode Off > > I found this setting in the man readline > http://www.openbsd.org/cgi-bin/man.cgi?query=readline&apropos=0&

Re: KSH and Bash problem with long commands

2008-02-12 Thread Andreas Kahari
In ksh, with Vi editing mode, press Esc to get into command mode, then press 'v' to edit the very long command line in vi(1). The command line will be executed by the shell when you save and quit the editor. Regards, Andreas On 12/02/2008, OBSD <[EMAIL PROTECTED]> wrote: > Hi All, > > I have a s

Re: KSH and Bash problem with long commands

2008-02-12 Thread Girish Venkatachalam
On 15:08:54 Feb 12, OBSD wrote: > Hi All, > > I have a small problem with the KSH and Bash on a OpenBSD 4.2. with very long > commands. > I have > echo $SHELL > /bin/ksh and > echo $KSH_VERSION > @(#)PD KSH v5.2.14 99/07/13.2 > and in my ~/.inputrc is > set horizontal-scroll-mode Off > > I found

KSH and Bash problem with long commands

2008-02-12 Thread OBSD
Hi All, I have a small problem with the KSH and Bash on a OpenBSD 4.2. with very long commands. I have echo $SHELL /bin/ksh and echo $KSH_VERSION @(#)PD KSH v5.2.14 99/07/13.2 and in my ~/.inputrc is set horizontal-scroll-mode Off I found this setting in the man readline http://www.openbsd.org/c