[ksh93-integration-discuss] Re: /etc/ksh.kshrc for ksh93 [PSARC/2006/587 Timeout: 10/24/2006]
Richard Lowe
richlowe at richlowe.net
Tue Oct 17 22:26:36 PDT 2006
Glenn Fowler wrote:
> On Tue, 17 Oct 2006 21:38:53 -0400 Richard Lowe wrote:
>> Don Cragun wrote:
>
>> [heavy snipping]
>
>>> ksh93 itself does not set a default editing mode; it would be a
>>> standards violation to do so. In an interactive shell, in-line editing
>>> will be disabled, unless an in-line editing option is set by one of the
>>> configuration files read when the shell is invoked, or is set
>>> explicitly by the user.
>
>> Using the ksh93 tarball provided by the ksh93-integration project, this
>> appears to not be true. Without the provided ksh.kshrc present, it
>> defaults to vi-style editing.
>
> with all of the
> { profile rc $ENV $EDITOR $HISTEDIT $VISUAL $FCEDIT }
> files/env-vars flying around one must be wary of absolutes
>
> try
> env - path-to-ksh93 --norc
> set -o
> and you should see all edit modes off
>
Ah ha!
So in some cases I didn't quite manage to make it stop guessing, my
apologies to all.
So, we're left with the absolute come what may default being 'none',
but in some cases a guess being made if there is no explicit
configuration which the proposed setting in ksh.kshrc would override?
-- Rich
More information about the ksh93-integration-discuss
mailing list