Monday, August 08, 2022

Re: "set -o multiline" in ksh?

Hello,

On Mon, Aug 08, 2022 at 03:21:34PM +0200, Federico Giannici wrote:
>I recently switched my shell from tcsh to the default OpenBSD shell (ksh).
>
>What I really miss is multiline editing of current (very long)
>commands (ksh simply horizontally "scrolls", showing only a part of
>the command line).
>
>I know that in standard ksh this functionality is activated with "set
>-o multiline", but under OpenBSD (7.1 amd64) it gives this error:
>
>ksh: set: multiline: bad option
>
>So, is there any way to activate the multiline option in ksh?

I'm not sure about multiline.

But have you tried set -o emacs ? I have used this to get tcsh-like
functionality.

hope this helps,

No comments:

Post a Comment