📄 readme.sjg
字号:
Public Domain Korn Shell Version 4.9PD KSH:This is the latest version of the PD ksh (pdksh). It is not intendedto be the ultimate shell but rather a usable ksh work alike. Forthose of us who have to work on multiple systems it is nice to havethe same user interface on all. I resisted moving to the ksh on aSystem V machine where I worked, for nearly a year due to the lack ofa ksh on my Sun systems. When I first picked up the 3.2 PD KSH acouple of years ago, it took only a few minutes to convert a C-shellfan 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 themvirtually indistinguishable. With one exception - arrays! If someone feels like adding arrays, I for one would appreciate it :-)I only run this shell on sun's and BSD systems and only forinteractive use. I use it on sun4c, sun3, sun386 and 386bsd systems.The shell itself has been compiled on the sun's both with and withoutthe POSIX/ANSI compatability libraries in ./std. I do not use ./stdfor 386bsd and friends. See the file MACHINES for details of systemsthat the shell has been built on.I released version 4.0 of the shell (with the kind permission ofthe previous maintainers and major contributors) to ensure thatit is available from usenet archive sites. Of course it remainsin the Public Domain. Equally obviously neither myself nor anyother contributors make any claims of suitability etc. Ie. NOWARRANTY!!! If you make any changes and distribute them, pleaseleave your own finger prints in the source. Its bad enoughbeing flamed for my own bugs let alone anyone elses :-)HISTORY:This shell was written by Eric Gisin. It is based on CharlesForsyth's public domain V7 shell, which he later contributed toMinix. John R MacMillan picked up Eric Gisin's version afterEric 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 variousReadMe.xxx and Changes.xxx files reflect their input.This version is basically that known as Eric Gisin's version 3.3alpha which I obtained indirectly from John R MacMillan who isthe most recent maintainer. This version has much improvedemacs-mode command line editing (my main contribution) plusenough extra emacs-mode features to make it difficult todistinguish from ksh88. Bug fixes from various contributors arethe only other changes from John MacMillan's version.I have upped the version number for this release to distinguishit from the original 3.3 version. This version is much improveddespite the small number of new features.INSTALLATION:The file INSTALL contains intructions for building andinstalling the shell. The original instructions indicated that a POSIX compliantenvironment and possibly an ANSI compiler are required. I haveused both gcc and native Sun and the GreenHills ANSI compilerwithout problems.The POSIX/STDC compatability stuff in ./std seems to cause lotsof problems for some systems. This was at least in part becauseI distributed it with half the librraies disabled :-), in anycase the shell itself in ./sh can now be compiled without any ofthe ./std stuff which makes things much simpler on systems thathave a real POSIX environment.Porting to new environemnts can be a real pain. I don't reallyplan to make a huge effort in this area since I expect that thisshell will be mainly required on exotic or obscure systems (theones that the vendor does not provide a ksh for). Thus thesmall "market" does not warrant a C-news or X11 styleportability effort. Of course if people send patches forvarious systems I'm happy to try and integrate them.ENVIRONMENT:My main interest in this shell is for Sun workstations. Everyother UNIX system I use comes with a real ksh. Being a strictlyC-shell environment, some improved profile files are in order onSun's.The etc directory contains a set of useful environment files.These are the same files I use on several systems (many use areal ksh):./etc/profile./etc/sys_config.sh./etc/ksh.kshrc The first one is obvious. The second, sys_config.sh is sourcedby /etc/profile and several other scripts. It is used todetermine the system type so that scripts like profile can beused 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 bugfixes 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 theX11R5 mit tree], just fill in the blanks and mail topdksh-bug@zen.void.oz.au. I hope you find this shell as useful as I do...Simon J. Gerraty <sjg@zen.void.oz.au>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -