Dec 262017
 
Korn Shell for OS/2 2.0. Requires EMX.
File KSH48.ZIP from The Programmer’s Corner in
Category OS/2 Files
Korn Shell for OS/2 2.0. Requires EMX.
File Name File Size Zip Size Zip Type
BUG-REPORT 1087 637 deflated
BUGS.OS2 158 128 deflated
CHANGELOG 12879 5325 deflated
CHANGES 615 330 deflated
CHANGES.PC 1124 650 deflated
ETC 0 0 stored
KSH.KSHRC 2582 1288 deflated
PROFILE 6723 2794 deflated
PROFILE.KSH 770 356 deflated
SYS_CONFIG.SH 1478 815 deflated
GETOPTS.1 3578 1521 deflated
INSTALL 5061 2347 deflated
KSH.1 28591 9844 deflated
KSH.EXE 118818 57164 deflated
KSHRC.KSH 793 349 deflated
MACHINES 1685 871 deflated
MANIFEST 4323 1027 deflated
PATCHDATES 130 79 deflated
PATCHES.OS2 57366 13833 deflated
PROFILE.KSH 195 152 deflated
README 4992 2351 deflated
README.JRM 5069 2354 deflated
README.SH 1650 867 deflated
README.SJG 2827 1288 deflated
README.VIMODE 1353 718 deflated
SH 0 0 stored
ALLOC.C 5097 1723 deflated
ALLOC.H 130 101 deflated
CONFIG.H 1948 906 deflated
C_KSH.C 12727 3708 deflated
C_SH.C 9239 3198 deflated
C_TEST.C 7798 2390 deflated
DO_ULIMIT.C 3003 1257 deflated
EDIT.C 10197 3377 deflated
EDIT.H 2217 884 deflated
EMACS.C 39104 10281 deflated
EVAL.C 20286 6549 deflated
EXEC.C 21303 6745 deflated
EXPAND.H 2309 800 deflated
EXPR.C 5100 1450 deflated
GETOPTS.C 3747 1574 deflated
HISTORY.C 19019 6154 deflated
IO.C 3943 1554 deflated
JOBS.C 21833 6321 deflated
KSH.DEF 74 74 stored
LEX.C 13954 4341 deflated
LEX.H 3794 1482 deflated
MAIL.C 4462 1627 deflated
MAIN.C 11012 4002 deflated
MAKEFILE 3622 971 deflated
MISC.C 7726 2919 deflated
OS2.C 4132 1451 deflated
PATCHLEVEL.H 120 108 deflated
PROTO.H 8474 2136 deflated
SH.H 8372 3434 deflated
SIGACT.C 5973 2097 deflated
SIGACT.H 2058 847 deflated
STDH.H 1872 769 deflated
SYN.C 10719 2990 deflated
TABLE.C 4025 1362 deflated
TABLE.H 3792 1462 deflated
TRACE.C 3207 1304 deflated
TRACE.H 2255 1050 deflated
TRAP.C 4386 1574 deflated
TREE.C 10268 2769 deflated
TREE.H 3790 1506 deflated
TTY.H 791 389 deflated
VAR.C 12851 3741 deflated
VERSION.C 290 212 deflated
VI.C 33309 7557 deflated
TEST.1 2088 755 deflated

Download File KSH48.ZIP Here

Contents of the README file


Public Domain Korn Shell
Version 4.8

PD KSH:

This is the latest version of the PD ksh (pdksh). It is not
intended to be the ultimate shell but rather a usable ksh work
alike. For those of us who have to work on multiple systems it
is nice to have the same user interface on all. I resisted
moving to the ksh on a System V machine where I worked, for
nearly a year due to the lack of a ksh on my Sun systems. When
I first picked up the 3.2 PD KSH a couple of years ago, it took
only a few minutes to convert a C-shell fan to a ksh fan ๐Ÿ™‚
Pdksh is not 100% compatible with the ksh. Having said that, I
use it daily beside a real ksh88 and find them virtually
indistinguishable. With one exception - arrays! If some one
feels like adding arrays, I for one would appreciate it ๐Ÿ™‚

I only run this shell on sun's and only for interactive use. I
use it on sun4c, sun3 and sun386 systems. The shell itself has
been compiled on each of these both with and without the
POSIX/ANSI compatability libraries in ./std. See the file
MACHINES for details of systems that the shell has been built
on.

I released version 4.0 of the shell (with the kind permission of
the previous maintainers and major contributors) to ensure that
it is available from usenet archive sites. Of course it remains
in the Public Domain. Equally obviously neither myself nor any
other contributors make any claims of suitability etc. Ie. NO
WARRANTY!!! If you make any changes and distribute them, please
leave your own finger prints in the source. Its bad enough
being flamed for my own bugs let alone anyone elses ๐Ÿ™‚


HISTORY:

This shell was written by Eric Gisin. It is based on Charles
Forsyth's public domain V7 shell, which he later contributed to
Minix. John R MacMillan picked up Eric Gisin's version after
Eric moved on to other projects (see ReadMe.jrm).

Since then there have been many contributors to this shell.
Most have left their fingerprints within the source and various
ReadMe.xxx and Changes.xxx files reflect their input.

This version is basically that known as Eric Gisin's version 3.3
alpha which I obtained indirectly from John R MacMillan who is
the most recent maintainer. This version has much improved
emacs-mode command line editing (my main contribution) plus
enough extra emacs-mode features to make it difficult to
distinguish from ksh88. Bug fixes from various contributors are
the only other changes from John MacMillan's version.

I have upped the version number for this release to distinguish
it from the original 3.3 version. This version is much improved
despite the small number of new features.

INSTALLATION:

The file INSTALL contains intructions for building and
installing the shell.

The original instructions indicated that a POSIX compliant
environment and possibly an ANSI compiler are required. I have
used both gcc and native Sun and the GreenHills ANSI compiler
without problems.

The POSIX/STDC compatability stuff in ./std seems to cause lots
of problems for some systems. This was at least in part because
I distributed it with half the librraies disabled :-), in any
case the shell itself in ./sh can now be compiled without any of
the ./std stuff which makes things much simpler on systems that
have a real POSIX environment.

Porting to new environemnts can be a real pain. I don't really
plan to make a huge effort in this area since I expect that this
shell will be mainly required on exotic or obscure systems (the
ones that the vendor does not provide a ksh for). Thus the
small "market" does not warrant a C-news or X11 style
portability effort. Of course if people send patches for
various systems I'm happy to try and integrate them.

ENVIRONMENT:

My main interest in this shell is for Sun workstations. Every
other UNIX system I use comes with a real ksh. Being a strictly
C-shell environment, some improved profile files are in order on
Sun's.

The etc directory contains a set of useful environment files.
These are the same files I use on several systems (many use a
real ksh):
./etc/profile
./etc/sys_config.sh
./etc/ksh.kshrc

The first one is obvious. The second, sys_config.sh is sourced
by /etc/profile and several other scripts. It is used to
determine the system type so that scripts like profile can be
used on multiple platforms.
The third one is also quite useful, add
. /etc/ksh.kshrc
to user's ~/.kshrc to simplify alias management.

BUGS:

Many folk have contributed to this shell.
I have attempted to credit (in sh/ChangeLog) the authors of bug
fixes received since the previous release.
There are surely still plenty of bugs to be found/fixed.

There is a template bug report in bug-report [borrowed from the
X11R5 mit tree], just fill in the blanks and mail to
[email protected]

I hope you find this shell as useful as I do...

Simon J. Gerraty


 December 26, 2017  Add comments

Leave a Reply