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 can go to any part of the line by going to VI mode (ESC and j/k) and edit. I used to have your issue usually only when I resized my term.. Try to run "eval `resize`" at the prompt to let the shell readjust to the available coloumns. It works for me.. I have this aliased along with 'cd'. so as I cd into a long path, the shell always know the total coloumn lenght. On Feb 12, 2008 6:08 AM, OBSD <[EMAIL PROTECTED]> 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 this setting in the man readline > > http://www.openbsd.org/cgi-bin/man.cgi?query=readline&apropos=0&sektion=0&manpath=OpenBSD+Current&arch=i386&format=html > > But unfortunately it does not work. > It does not warp the line either in KSH or Bash. Instead it overwrites the > already written text > which is annoying if you have very long commands. > I have tried as well the /etc/inputrc with this entry but it does not work > again. > I read as well the man KSH but does not find any useable info there. > > Strange enough if I start a csh it works but not with the other shells. > > Has anybody maybe an fix or workaround how I can solve this? > Every hint is appreciated!! > > Regards > Stefan > --