Path: utzoo!utgpu!water!watmath!clyde!bellcore!decvax!ucbvax!pasteur!ames!nrl-cmf!cmcl2!rna!dan From: dan@rna.UUCP (Dan Ts'o) Newsgroups: comp.unix.wizards Subject: Re: Ksh Breaks With Mt. Xinu Kernel Message-ID: <133@rna.UUCP> Date: 18 Feb 88 06:05:24 GMT References: <18@uvaarpa.virginia.edu> <7270@brl-smoke.ARPA> Reply-To: dan@rna.UUCP (Dan Ts'o) Organization: Rockefeller University Neurobiology Lines: 10 In article <18@uvaarpa.virginia.edu> mer6g@uvaarpa.Virginia.EDU (Marc E. Rouleau) writes: )-Recently we replaced the 4.3BSD kernel on a MicroVax with the enhanced )-4.3BSD kernel from Mt. Xinu. ... )-Anyway, ksh, which we ported over from our AT&T toolchest, no longer )-works very well. In particular, the ENV variable (ENV=.kshrc) is broken. )-Upon login, ksh executes the user's .profile, but not the .kshrc. )-Also, history doesn't work at all, even when you set the HISTFILE variable. Your copy of ksh could still be using dup(fd|DUPFLAG, fd1) rather than dup2(). Check for occurances of DUPFLAG and replace with dup2() calls.