Initial import of the CDE 2.1.30 sources from the Open Group.
This commit is contained in:
0
cde/programs/dtksh/ksh93/ship/ksh93/930519/UNCRATED
Normal file
0
cde/programs/dtksh/ksh93/ship/ksh93/930519/UNCRATED
Normal file
0
cde/programs/dtksh/ksh93/ship/ksh93/930519/base
Normal file
0
cde/programs/dtksh/ksh93/ship/ksh93/930519/base
Normal file
5
cde/programs/dtksh/ksh93/ship/ksh93/930519/copyright
Normal file
5
cde/programs/dtksh/ksh93/ship/ksh93/930519/copyright
Normal file
@@ -0,0 +1,5 @@
|
||||
AT&T Bell Laboratories
|
||||
Advanced Software Technology Department
|
||||
{ulysses,attmail}!dgk
|
||||
dgk@ulysses.att.com
|
||||
David Korn 908-582-7975
|
||||
1
cde/programs/dtksh/ksh93/ship/ksh93/930519/items
Normal file
1
cde/programs/dtksh/ksh93/ship/ksh93/930519/items
Normal file
@@ -0,0 +1 @@
|
||||
libcmd libast
|
||||
1
cde/programs/dtksh/ksh93/ship/ksh93/930519/owner
Normal file
1
cde/programs/dtksh/ksh93/ship/ksh93/930519/owner
Normal file
@@ -0,0 +1 @@
|
||||
liszt!easy!liszt!easy!usl!att!gryphon!dgk
|
||||
0
cde/programs/dtksh/ksh93/ship/ksh93/950619/UNCRATED
Normal file
0
cde/programs/dtksh/ksh93/ship/ksh93/950619/UNCRATED
Normal file
0
cde/programs/dtksh/ksh93/ship/ksh93/950619/base
Normal file
0
cde/programs/dtksh/ksh93/ship/ksh93/950619/base
Normal file
5
cde/programs/dtksh/ksh93/ship/ksh93/950619/copyright
Normal file
5
cde/programs/dtksh/ksh93/ship/ksh93/950619/copyright
Normal file
@@ -0,0 +1,5 @@
|
||||
AT&T Bell Laboratories
|
||||
Advanced Software Technology Department
|
||||
{ulysses,attmail}!dgk
|
||||
dgk@ulysses.att.com
|
||||
David Korn 908-582-7975
|
||||
1
cde/programs/dtksh/ksh93/ship/ksh93/950619/items
Normal file
1
cde/programs/dtksh/ksh93/ship/ksh93/950619/items
Normal file
@@ -0,0 +1 @@
|
||||
libcmd libast
|
||||
1
cde/programs/dtksh/ksh93/ship/ksh93/950619/owner
Normal file
1
cde/programs/dtksh/ksh93/ship/ksh93/950619/owner
Normal file
@@ -0,0 +1 @@
|
||||
liszt!easy!liszt!easy!usl!att!gryphon!dgk
|
||||
0
cde/programs/dtksh/ksh93/ship/ksh93/950807/UNCRATED
Normal file
0
cde/programs/dtksh/ksh93/ship/ksh93/950807/UNCRATED
Normal file
0
cde/programs/dtksh/ksh93/ship/ksh93/950807/base
Normal file
0
cde/programs/dtksh/ksh93/ship/ksh93/950807/base
Normal file
5
cde/programs/dtksh/ksh93/ship/ksh93/950807/copyright
Normal file
5
cde/programs/dtksh/ksh93/ship/ksh93/950807/copyright
Normal file
@@ -0,0 +1,5 @@
|
||||
AT&T Bell Laboratories
|
||||
Advanced Software Technology Department
|
||||
{research,attmail}!dgk
|
||||
dgk@research.att.com
|
||||
David Korn 908-582-7975
|
||||
1
cde/programs/dtksh/ksh93/ship/ksh93/950807/items
Normal file
1
cde/programs/dtksh/ksh93/ship/ksh93/950807/items
Normal file
@@ -0,0 +1 @@
|
||||
libcmd libast
|
||||
32
cde/programs/dtksh/ksh93/ship/ksh93/950807/message
Normal file
32
cde/programs/dtksh/ksh93/ship/ksh93/950807/message
Normal file
@@ -0,0 +1,32 @@
|
||||
The is the fourth point release for ksh-93. The RELEASEa
|
||||
file contains a list of changes since the first release for ksh-93.
|
||||
The file RELEASE lists the major changes since ksh-88. I have updated
|
||||
the man page, sh.1, and the introductory memo, sh.memo. I have also
|
||||
started to write a guideline for adding runtime builtins, builtins.mm.
|
||||
This release should correspond very closely to the information in the
|
||||
New KornShell Command and Programming Language book, by Bolsky
|
||||
and Korn.
|
||||
|
||||
This official release is being distributed and supported by the
|
||||
Software Technology Center. They are the distributor of
|
||||
ksh93 within AT&T and will provide support. I will only be
|
||||
supplying ksh93 for research needs and for machine architectures
|
||||
that are not supported by the Software Technology Center.
|
||||
You can contact the STC by sending mail to ksh@mozart.att.com.
|
||||
|
||||
I have fixed most of the bugs that have been reported in
|
||||
the previous release. Let me know about any remaining bugs.
|
||||
|
||||
There continues to be very few reports of compatibility
|
||||
problems. The file COMPATIBILITY lists the known incompatibilities.
|
||||
Please let me know about any script which runs under ksh-88 but
|
||||
does not run under ksh-93.
|
||||
|
||||
Please look at the man page (troff -man) and the sh.memo
|
||||
file (troff -mm) and let me know what problems you find.
|
||||
|
||||
I encourage you to run ksh -n script on each of your scripts
|
||||
since the -n option produces warning messages for obsolete
|
||||
features that you are using in the script. The file
|
||||
OBSOLETE, written by Kevin Wall, contains a list of
|
||||
obsolete features.
|
||||
1
cde/programs/dtksh/ksh93/ship/ksh93/950807/owner
Normal file
1
cde/programs/dtksh/ksh93/ship/ksh93/950807/owner
Normal file
@@ -0,0 +1 @@
|
||||
dgk
|
||||
146
cde/programs/dtksh/ksh93/ship/ksh93/950807/promo
Normal file
146
cde/programs/dtksh/ksh93/ship/ksh93/950807/promo
Normal file
@@ -0,0 +1,146 @@
|
||||
.SA 1
|
||||
.sp 2
|
||||
.H 1 "KSH-93 - The KornShell Command and Programming Language"
|
||||
.sp 2
|
||||
.al
|
||||
.P
|
||||
KSH-93 is the most recent version of the KornShell Language
|
||||
described in
|
||||
"The KornShell Command and Programming Language,"
|
||||
by Morris Bolsky and David Korn of AT&T Bell Laboratories.
|
||||
The KornShell is a shell programming language,
|
||||
which is upward compatible with "sh" (the Bourne Shell),
|
||||
and is intended to conform to the IEEE P1003.2/ISO 9945.2 Shell and
|
||||
Utilities standard.
|
||||
KSH-93 provides an enhanced programming environment in
|
||||
addition to the major command-entry features of the BSD
|
||||
shell "csh". With KSH-93, medium-sized programming tasks can be
|
||||
performed at shell-level without a significant loss in performance.
|
||||
In addition, "sh" scripts can be run on KSH-93 without modification.
|
||||
.P
|
||||
The code should conform to the IEEE POSIX 1003.1 standard and to the
|
||||
proposed ANSI-C standard so that it should be portable to all
|
||||
such systems. Like the previous version, KSH-88,
|
||||
it is designed to accept eight bit character sets
|
||||
transparently, thereby making it internationally compatible.
|
||||
It can support multi-byte characters sets with some characteristics
|
||||
of the character set given at run time.
|
||||
.P
|
||||
KSH-93 provides the following features, many of which were also inherent
|
||||
in KSH-88:
|
||||
.BL
|
||||
.LI
|
||||
Enhanced Command Re-entry Capability: The KSH-93 history
|
||||
function records commands entered at any shell level and stores
|
||||
them, up to a user-specified limit, even after you log off.
|
||||
This allows you to re-enter long commands with a few keystrokes
|
||||
- even those commands you entered yesterday.
|
||||
The history file allows for eight bit characters in
|
||||
commands and supports essentially unlimited size histories.
|
||||
.LI
|
||||
In-line Editing: In "sh", the only way to fix mistyped
|
||||
commands is to backspace or retype the line. KSH-93 allows you
|
||||
to edit a command line using a choice of EMACS-TC or "vi"
|
||||
functions.
|
||||
You can use the in-line editors to complete filenames as
|
||||
you type them.
|
||||
You may also use this editing feature when entering
|
||||
command lines from your history file.
|
||||
A user can capture keystrokes and rebind keys to customize the
|
||||
editing interface.
|
||||
.LI
|
||||
Extended I/O Capabilities: KSH-93 provides several I/O
|
||||
capabilities not available in "sh", including the ability to:
|
||||
.BL
|
||||
.LI
|
||||
specify a file descriptor for input and output
|
||||
.LI
|
||||
start up and run co-processes
|
||||
.LI
|
||||
produce a prompt at the terminal before a read
|
||||
.LI
|
||||
easily format and interpret responses to a menu
|
||||
.LI
|
||||
echo lines exactly as output without escape processing
|
||||
.LI
|
||||
format output using printf formats.
|
||||
.LI
|
||||
read and echo lines ending in "\e".
|
||||
.LE
|
||||
.LI
|
||||
Improved performance: KSH-93 executes many scripts faster
|
||||
than the System V Bourne shell. A major reason for this is
|
||||
that many of the standard utilities are built-in.
|
||||
To reduce the time to initiate a command, KSH-93 allows
|
||||
commands to be added as built-ins at run time
|
||||
on systems that support dynamic loading such as System V Release 4.
|
||||
.LI
|
||||
Arithmetic: KSH-93 allows you to do integer arithmetic in any
|
||||
base from two to sixty-four. You can also do double
|
||||
precision floating point arithmetic.
|
||||
Almost the complete set of C language operators are available
|
||||
with the same syntax and precedence.
|
||||
Arithmetic expressions can be used to as an argument expansion
|
||||
or as a separate command.
|
||||
In addition there is an arithmetic for command that works
|
||||
like the for statement in C.
|
||||
.LI
|
||||
Arrays: KSH-93 supports both indexed and associative arrays.
|
||||
The subscript for an indexed array is an arithmetic expression,
|
||||
whereas, the subscript for an associative array is a string.
|
||||
.LI
|
||||
Shell Functions and Aliases: Two mechanisms - functions and
|
||||
aliases - can be used to assign a user-selected identifier to
|
||||
an existing command or shell script.
|
||||
Functions allow local variables and provide scoping
|
||||
for exception handling.
|
||||
Functions can be searched for and loaded on first reference the
|
||||
way scripts are.
|
||||
.LI
|
||||
Substring Capabilities: KSH-93 allows you to create a
|
||||
substring of any given string either by specifying the starting
|
||||
offset and length, or by stripping off leading
|
||||
or trailing substrings during parameter substitution.
|
||||
You can also specify attributes, such as upper and lower case,
|
||||
field width, and justification to shell variables.
|
||||
.LI
|
||||
More pattern matching capabilities: KSH-93 allows you to specify
|
||||
extended regular expressions for file and string matches.
|
||||
.LI
|
||||
KSH-93 uses a hierarchal name space for variables.
|
||||
Compound variables can be defined and variables can
|
||||
be passed by reference. In addition, each variable
|
||||
can have one or more disciplines associated with
|
||||
it to intercept assignments and references.
|
||||
.LI
|
||||
Improved debugging: KSH-93 can generate line numbers on execution
|
||||
traces. Also, I/O redirections are now traced.
|
||||
There is a DEBUG trap that gets evaluated after each command
|
||||
so that errors can be localized.
|
||||
.LI
|
||||
Job Control: On systems that support job control, including
|
||||
System V Release 4, KSH-93
|
||||
provides a job-control mechanism almost identical to that of
|
||||
the BSD "csh", version 4.1.
|
||||
This feature allows you
|
||||
to stop and restart programs, and to move programs between the
|
||||
foreground and the background.
|
||||
.LI
|
||||
Added security:
|
||||
KSH-93 can execute scripts which do not have read permission
|
||||
and scripts which have the setuid and/or setgid set when
|
||||
invoked by name, rather than as an argument to the shell.
|
||||
It is possible to log or control the execution of setuid and/or
|
||||
setgid scripts.
|
||||
The noclobber option prevents you from accidentally erasing
|
||||
a file by redirecting to an existing file.
|
||||
.LI
|
||||
KSH-93 can be extended by adding built-in commands at run time.
|
||||
In addition, KSH-93 can be used as a library that can
|
||||
be embedded into an application to allow scripting.
|
||||
.LE
|
||||
Documentation for KSH-93 consists of an "Introduction to KSH-93",
|
||||
"Compatibility with the Bourne Shell" and a manual page and a
|
||||
README file. In addition, the "New KornShell Command and Programming
|
||||
Language," book is available from Prentice Hall.
|
||||
|
||||
5
cde/programs/dtksh/ksh93/ship/ksh93/950807/report
Normal file
5
cde/programs/dtksh/ksh93/ship/ksh93/950807/report
Normal file
@@ -0,0 +1,5 @@
|
||||
src/cmd/ksh93/FEATURE/options
|
||||
src/cmd/ksh93/FEATURE/ttys
|
||||
src/cmd/ksh93/FEATURE/dymamic
|
||||
src/cmd/ksh93/FEATURE/externs
|
||||
src/cmd/ksh93/FEATURE/poll
|
||||
Reference in New Issue
Block a user