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&sektion=0&manpath=OpenBSD+Current&arch=i386&format=html

ksh doesn't use readline, so inputrc has no effect on it.

> 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.

ksh simply does not support what you are looking for.
For bash, it's already the default, so I don't understand why you
claim it doesn't work there.

> Strange enough if I start a csh it works but not with the other shells.

It doesn't.  Just try to backspace back over the line break.  csh
doesn't support any command line editing at all, beyond what the
termios(4) tty discipline offers in canonical mode.

-- 
Christian "naddy" Weisgerber                          [EMAIL PROTECTED]

Reply via email to