Subject: ksh88g works with Linux
From: [email-masked]
Date: Mon, 26 Apr 1993 05:16:17 GMT
Newsgroups: comp.os.linux.announce

Reported from someone who knows, ksh88g from the AT&T Toolchest now works OK
with Linux, if the included patches are applied to the sources.  With libc
previous to 4.3.3 some of the tests failed, but they now pass 100%
successful.

The patches do four things:
1) fix a prototype problem if compiled with FLOAT=1 option (include/name.h)
2) change structure sockaddr_in to sockaddr to stop a warning message (sh/io.c)
3) fix gen_rdonly so it doesn't try to redefine const (install/gen_rdonly)
4) change $ENV to $ENVFILE (sh/msg.c)

This last change is needed because bash uses $ENV in non-interactive mode,
and this can cause confusion if you have ksh specifics in the $ENV file, and
run a bash script.

After applying the patch just type "makeshell" and everything should compile
cleanly.  NOTE: you *might* want to change /etc/profile to /etc/ksh_profile
in the sources so that ksh has its own system profile seperate from bash.