FDBASE
if (fd < FDBASE) {
nfd = ksh_dupbase(fd, FDBASE);
if ((sflags & SHF_MAPHI) && fd < FDBASE) {
if ((tty_fd = ksh_dupbase(tfd, FDBASE)) < 0) {