Home
last modified time | relevance | path

Searched refs:termmode (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/cmd/tput/
H A Dtput.c587 struct termio termmode; /* To hold terminal settings. */ in initterm() local
600 struct sgttyb termmode; /* To hold terminal settings. */ in initterm() local
618 if ((filedes = 1, GTTY(filedes, &termmode) == -1) || in initterm()
619 (filedes = 2, GTTY(filedes, &termmode) == -1) || in initterm()
620 (filedes = 0, GTTY(filedes, &termmode) == -1) || in initterm()
622 GTTY(filedes, &termmode) == -1)) { in initterm()
626 CurrentBaudRate = speeds[SPEED(termmode)]; in initterm()
628 termmodes.c_lflag = termmode.c_lflag; in initterm()
629 termmodes.c_oflag = termmode.c_oflag; in initterm()
630 termmodes.c_iflag = termmode.c_iflag; in initterm()
[all …]