In UNIX 4.0USG, the dup2() system call should be replaced with the fcntl( fildes, F_DUPFD, arg ) system call if 4.0USG is anything like the released system III. Jim Reuter (decvax!cincy!jreuter)