This compile of pdksh passes all the tests except two, which are too
esotheric for me to understand what is going on.

One attached patch fixes the long-standing bug with read operator, which
would read garbage from text-mode files on the second read.  Another patch
stops ksh stealing characters from TTY when a child process is running.

The third patch implements the other changes in NEWS.os2.
These are the only changes w.r.t. the standard distribution of pdksh.

While 5.2.14 broke one feature of OS/2 interactive usage: not-waiting for PM
programs to finish, this version has this behaviour customizable (as well
as many others new customizations).

Ilya

==========================================================
Here is one part of Changelog which has relation to OS/2:

Tue Jan 12 12:28:41 NST 1999 Michael Rendell (michael@panda.cs.mun.ca)

	* emacs.c(x_defbindings[]): removed #else part of ifdef OS2.

	* shf.c(shf_getse): added code to strip \r for OS2.
	* lex.c(getsc_line): removed OS2 ifdefs

	* os2/misc.c(ksh_execve),sh.h: added flags argument; changed all calls.
	* exec.c(scriptexec): OS2: make copy of a0 before calling
	  search_access(X_OK).
	* sh.h: OS2: changed EXECSHELL, EXECSHELL_STR.
	* jobs.c(exchild): set XINTACT.
	* os2/config.h: added HAVE_TERMIOS_H.
	* os2/configure.cmd: changed test for existance of sed & gcc.

	Fixes from Ilya Zakharevich.

	* tests/th: added -C option, added "category" field.
	* tests/th(category_check): new function.
	* tests/*.t: added "category: !os:os2" to a few tests.

