spf@bonnie.ATT.COM (12/11/86)
Has anyone heard of a ksh port to XENIX System V? After wading through hierarchical make files and four different memory models (using bogus cc/ld scripts) and several bizarre incantations, I can't seem to get ksh to compile successfully on my AT&T 6300 running XENIX Sys V 2. Words of advice, or a reference to an already-ported version would be greatly appreciated. Steve Frysinger 201/386-7010 *** Time is a helix of precious laughs. -- Happy the Man
jrs2@ablnc.UUCP (12/12/86)
I have compiled KSH International under XENIX Sys V on my PC clone. There are a couple of undocumented tricks to getting the make to succeed. I don't recall right now what they all were but here's the ones I remember: 1. Edit the makefile and duplicate the Options= line and change to OPTIONS= followed by the options. The capitalization of the word OPTIONS makes the difference. 2. Make sure you use the small model. I think I'm having trouble with the medium model code generated by the compiler. 3. To make the code fit into the small model compile only with emacs editing mode and without "VIRAW" and without job control. If you wish send me a formatted 640Kb diskette and I'll make you a copy of the objects ksh and suid_exec. Also I have altered ksh-i for a 7 bit version which can tolerate the bug in the vi editor which sets the 8th bit when passing commands to the shell. Jim Smithson ablnc!jrs2 78L-4SC40 (305)660-6991 8,754-6991 "You can't be sure of anything, that's for sure!"
dyer@spdcc.UUCP (Steve Dyer) (12/16/86)
A company called "Aspen Technologies" in NJ sells the Korn shell for ATs running Xenix System V for $125. Their phone number is 201-316-0866. I don't know whether a 286 is required. -- Steve Dyer dyer@harvard.HARVARD.EDU {linus,wanginst,bbnccv,harvard,ima,ihnp4}!spdcc!dyer
dyer@spdcc.UUCP (Steve Dyer) (12/17/86)
I'm sure you can't redistribute "ksh" binaries without a proper binary redistribution license from AT&T. I had no trouble getting ksh to compile and work fine using medium model (-M2m flag to cc). -- Steve Dyer dyer@harvard.HARVARD.EDU {linus,wanginst,bbnccv,harvard,ima,ihnp4}!spdcc!dyer