MirBSD Korn Shell for Jehanne
Go to file
tg 1a183984c4 Replace fd_clexec() with calls to fcntl(fd, F_SETFD, FD_CLOEXEC)
From: Todd C. Miller <millert@cvs.openbsd.org>
2004-12-31 17:42:45 +00:00
tests millert@ says (but we've already got it all in, only update comments) 2004-12-14 15:54:26 +00:00
Build.sh unifdef: KSH 2004-12-18 18:58:32 +00:00
CONTRIBUTORS * reduce amount of empty lines 2004-12-13 18:53:25 +00:00
Makefile unifdef: KSH 2004-12-18 18:58:32 +00:00
NOTES * reduce amount of empty lines 2004-12-13 18:53:25 +00:00
README * reduce amount of empty lines 2004-12-13 18:53:25 +00:00
aclocal.m4 Use the BSD sig_t instead of homegrown handler_t 2004-12-31 17:29:28 +00:00
alloc.c bump to mksh R19 2004-12-10 18:12:32 +00:00
c_ksh.c Use the BSD sig_t instead of homegrown handler_t 2004-12-31 17:29:28 +00:00
c_sh.c Replace fd_clexec() with calls to fcntl(fd, F_SETFD, FD_CLOEXEC) 2004-12-31 17:42:45 +00:00
c_test.c Use stdbool.h instead of rolling our own bools. 2004-12-28 22:32:09 +00:00
c_test.h bump to mksh R19 2004-12-10 18:12:32 +00:00
c_ulimit.c bump to mksh R19 2004-12-10 18:12:32 +00:00
conf-end.h Use the BSD sig_t instead of homegrown handler_t 2004-12-31 17:29:28 +00:00
config.h Use the BSD sig_t instead of homegrown handler_t 2004-12-31 17:29:28 +00:00
configure regen 2004-12-28 22:44:55 +00:00
configure.in stdbool.h 2004-12-28 22:44:39 +00:00
edit.c Use struct termios instead of TTY_state typedef 2004-12-31 17:39:12 +00:00
edit.h Use stdbool.h instead of rolling our own bools. 2004-12-28 22:32:09 +00:00
emacs-gen.sh bump to mksh R19 2004-12-10 18:12:32 +00:00
emacs.c Replace home rolled unsigned char type with u_char. 2004-12-28 22:37:23 +00:00
eval.c catch up with diffs/fixed we already had 2004-12-28 22:40:40 +00:00
exec.c Replace fd_clexec() with calls to fcntl(fd, F_SETFD, FD_CLOEXEC) 2004-12-31 17:42:45 +00:00
expand.h bump to mksh R19 2004-12-10 18:12:32 +00:00
expr.c catch up with diffs/fixed we already had 2004-12-28 22:40:40 +00:00
history.c Use stdbool.h instead of rolling our own bools. 2004-12-28 22:32:09 +00:00
io.c Replace fd_clexec() with calls to fcntl(fd, F_SETFD, FD_CLOEXEC) 2004-12-31 17:42:45 +00:00
jobs.c Use struct termios instead of TTY_state typedef 2004-12-31 17:39:12 +00:00
ksh.1tbl optimise away 2004-12-18 19:02:29 +00:00
ksh_dir.h bump to mksh R19 2004-12-10 18:12:32 +00:00
ksh_limval.h bump to mksh R19 2004-12-10 18:12:32 +00:00
ksh_stat.h bump to mksh R19 2004-12-10 18:12:32 +00:00
ksh_time.h bump to mksh R19 2004-12-10 18:12:32 +00:00
ksh_times.h bump to mksh R19 2004-12-10 18:12:32 +00:00
ksh_wait.h (anything *)0 -> NULL 2004-12-18 19:22:30 +00:00
lex.c catch up with diffs/fixed we already had 2004-12-28 22:40:40 +00:00
lex.h * unifdef EDIT, VI, EMACS, HISTORY 2004-12-18 19:17:10 +00:00
main.c don't set KSH_VERSION if invoked as sh 2004-12-31 17:15:07 +00:00
misc.c unused 2004-12-28 22:33:21 +00:00
missing.c (anything *)0 -> NULL 2004-12-18 19:22:30 +00:00
path.c (anything *)0 -> NULL 2004-12-18 19:22:30 +00:00
proto.h Replace fd_clexec() with calls to fcntl(fd, F_SETFD, FD_CLOEXEC) 2004-12-31 17:42:45 +00:00
sh.1tbl don't set KSH_VERSION if invoked as sh 2004-12-31 17:15:07 +00:00
sh.h Use the BSD sig_t instead of homegrown handler_t 2004-12-31 17:29:28 +00:00
shf.c Replace fd_clexec() with calls to fcntl(fd, F_SETFD, FD_CLOEXEC) 2004-12-31 17:42:45 +00:00
shf.h bump to mksh R19 2004-12-10 18:12:32 +00:00
siglist.in bump to mksh R19 2004-12-10 18:12:32 +00:00
siglist.sh (anything *)0 -> NULL 2004-12-18 19:22:30 +00:00
syn.c Use stdbool.h instead of rolling our own bools. 2004-12-28 22:32:09 +00:00
table.c (anything *)0 -> NULL 2004-12-18 19:22:30 +00:00
table.h bump to mksh R19 2004-12-10 18:12:32 +00:00
trap.c Use the BSD sig_t instead of homegrown handler_t 2004-12-31 17:29:28 +00:00
tree.c (anything *)0 -> NULL 2004-12-18 19:22:30 +00:00
tree.h un-OS/2 (sorry) 2004-12-13 19:05:09 +00:00
tty.c Replace fd_clexec() with calls to fcntl(fd, F_SETFD, FD_CLOEXEC) 2004-12-31 17:42:45 +00:00
tty.h Use struct termios instead of TTY_state typedef 2004-12-31 17:39:12 +00:00
var.c Use stdbool.h instead of rolling our own bools. 2004-12-28 22:32:09 +00:00
vi.c Use stdbool.h instead of rolling our own bools. 2004-12-28 22:32:09 +00:00

README

$MirBSD: src/bin/ksh/README,v 2.3 2004/12/13 18:53:25 tg Exp $

This is the README for mirbsdksh, developed as part of the MirBSD
operating system at The MirOS Project, and produced portably.
Legal information is provided about a screenpage farther down.

To build mksh on MirOS, issue 'make obj && make depend && make'.

To build mksh on other operating systems, read Builsd.sh first
or consult http://wiki.mirbsd.de/MirbsdKsh for further infos.

Set the CC, CFLAGS, CPPFLAGS and LDFLAGS environment variables
to your likes. Don't complain if anything doesn't work.


LEGAL INFORMATION

This package as a whole is placed under the MirOS licence template
as contained in the "Build.sh" source file in this distribution,
by having the project leader asserting a collective copyright.

The files alloc.c (Marc Espie), ksh.1tbl and sh.1tbl (University of
California, Berkeley) are provided under a 2-clause or 3-clause BSD
licence, respectively.

All files from the original pdksh distribution which were not public
domain have been removed from the source tree, with the exception of
aclocal.m4, from which only the functions which required the file to
be under the GNU GPL have been removed.


The information below is mostly unmaintained.
________________________________________________________________________

$OpenBSD: README,v 1.10 2003/03/10 03:48:16 david Exp $

Last updated Jul '99 for pdksh-5.2.14.
	(check ftp://ftp.cs.mun.ca:/pub/pdksh/ or
	 http://www.cs.mun.ca/~michael/pdksh/ for new versions/patches)

PD-ksh is a mostly complete AT&T ksh look-alike (see NOTES file for a list
of things not supported).  Work is mostly finished to make it fully
compatible with both POSIX and AT&T ksh (when the two don't conflict).

Since pdksh is free and compiles and runs on most common unix systems, it
is very useful in creating a consistent user interface across multiple
machines.  For example, in the CS dept. of MUN, pdksh is installed on a
variety of machines including Suns, HPs, DecStations, pcs running Linux,
etc., and is the login shell of ~5200 users.

If you would like to be notified via email of new releases as they become
available, send mail to pdksh-request@cs.mun.ca with subject
"send release notifications" (or "don't send release notifications" to stop
them).

Newer versions of pdksh may be available from
	ftp://ftp.cs.mun.ca:/pub/pdksh/
[...]

You can send bug reports, fixes, and enhancements to pdksh@cs.mun.ca (please
don't assume I will see bug reports that are posted to some newsgroup or
mailing list - I probably won't).
If you are reporting a bug (with or without a fix), please include
	* the version of pdksh you are using (see version.c, or, if you are
	  running pdksh, try echo $KSH_VERSION),
	* the machine, operating system and compiler you are using,
	* and a description of how to repeat the bug (a small shell
	  script that demonstrates the bug is best).
as well as the following, if relevant (if you aren't sure, include them)
	* what options you are using (both configure options and set -o options)
	* the output of configure, with the verbose flag
	  (eg, make distclean; ./configure --verbose)
	* the contents of config.log (this is created by the configure script)
	* if you are using gcc (the GNU C compiler), which version it is.

BTW, THE MOST FREQUENTLY REPORTED BUG IS
	echo hi | read a; echo $a	# Does not print hi
I'm aware of this and there is no need to report it.

Michael Rendell, michael@cs.mun.ca