+ ioctl(fileno(f), TIOCSETN, &(t->sg));
+ ioctl(fileno(f), TIOCSETC, &(t->tc));
+ ioctl(fileno(f), TIOCSLTC, &(t->ltc));
+ ioctl(fileno(f), TIOCSETD, &(t->ldisc));
+ ioctl(fileno(f), TIOCLSET, &(t->local));
+ (void) fcntl(fileno(f), F_SETFL, t->fcflags);