I had some alias problems when I tried to send this case out yesterday.
I think they are all fixed now.  For those of you who have seen this
before, the only changes are the timeout date and the corrected alias
for the community this proposal comes from...

Note that this is an open case and the e-mail discussion is being
distributed to addresses outside of Sun...

I am submitting this case for Roland Mainz (OpenSolaris contributor)
and April Chin (Sun sponsor).  This is a minor update to PSARC case
2006/550 (Korn Shell 93 Integration).  It adds delivery of
/etc/ksh.kshrc and, thereby, provides a default command line editing
mode for interactive invocations of ksh93.  As with 2006/550, this case
seeks a patch binding.  (The current plan is to integrate into ONNV,
but patches to a Solaris 10 Update and Solaris 9 are possible if there
is sufficient demand.)

This case times out Monday, October 24, 2006.

Sincerely,
Don

Template Version: @(#)sac_nextcase %I% %G% SMI
This information is Sun Proprietary: Need-to-Know
1. Introduction
    1.1. Project/Component Working Name:
         /etc/ksh.kshrc for ksh93
    1.2. Name of Document Author/Supplier:
         Author:  April Chin
    1.3  Date of This Document:
        16 October, 2006
4. Technical Description
Name of Major Document Customer(s)/Consumer(s)

The community this proposal comes from:
        ksh93-integration-discuss at opensolaris.org

The ARC(s) you expect to review your project:
        PSARC

Responsible Manager:
        tim.sparlin at sun.com

Responsible Engineers:
        roland.mainz at nrubsig.org
        april.chin at sun.com


Description and Justification:

This case proposes to introduce the new file /etc/ksh.kshrc to the
system, as a per-system configuration file for interactive ksh93 (Korn
Shell).  If an in-line editor has not already been set for this
invocation of ksh93, /etc/ksh.kshrc will enable gmacs editing mode.
Note that /etc/ksh.kshrc is only used in ksh93 initialization; it has
no effect on /usr/bin/ksh nor on /usr/xpg4/bin/sh.

This case is dependent upon and shall not integrate before
PSARC-EXT/2006/550 "Korn Shell 93 Integration".

See the updated ksh93 manpage, (materials/ksh93.1), for a description
of the /etc/ksh.kshrc file, which is only invoked for an interactive
ksh93 session (that is, it is not used by ksh93 scripts).  Updated
builtin.1 and disown.1 man pages are also in the materials directory.
Note that all of these changes only make editorial changes (missing
attributes tables, cross-references, a missing reference to
/etc/ksh.kshrc in the ksh93.1 man page's FILES section, and a reference
to largefile(5)).

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.

The inclusion of the /etc/ksh.kshrc file to set up a default editing
mode will enhance ksh93 usability in a Solaris environment, allowing
ease-of-use features such as working cursor keys and file/command name
completion, including an editing feature to display a selectable,
numbered list of matching names.

gmacs is considered an intuitive beginner's editing mode.  It is the
default editing mode in bash and more or less matches the common input
mode of various GUI toolkits and desktops, including Gnome/GTK+,
KDE/Qt, CDE/Motif, Mozilla/XULRunner/Gecko, JAVA, and Xaw/Xaw3D.

If gmacs mode is not desired as the default, the /etc/ksh.kshrc file
may be changed by the system administrator, or the user may turn off or
reset the editing mode in their per-user ~/.kshrc configuration file,
which is executed after /etc/ksh.kshrc.

Interfaces:

Interface       Stability       Description
=========       =========       ===========
/etc/ksh.kshrc  Uncommitted     Per-system configuration file for
                                interactive ksh93 sessions


References:

1) Korn Shell 93 Integration external PSARC case

        http://opensolaris.org/os/community/arc/caselog/2006/550/

2) Discussion on ksh93-integration-discuss at opensolaris.org mailing list
of why gmacs is good for default editor mode and some
standards concerns on setting a default editor within ksh93 itself:

        http://www.opensolaris.org/jive/thread.jspa?threadID=8948&tstart=195

3) Mailing list suggestion from David Korn for a default .profile

        http://www.opensolaris.org/jive/thread.jspa?threadID=9193&tstart=180


Reply via email to