Home
last modified time | relevance | path

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

/titanic_50/usr/src/ucbhead/
H A Dcurses.h99 extern SGTTY _tty;
161 #define raw() (_tty.sg_flags |= RAW, _pfast = _rawmode = TRUE, \
162 (void) stty(_tty_ch, &_tty))
163 #define noraw() (_tty.sg_flags &= ~RAW, _rawmode = FALSE, \
164 _pfast = !(_tty.sg_flags & CRMOD), (void) stty(_tty_ch, &_tty))
165 #define cbreak() (_tty.sg_flags |= CBREAK, _rawmode = TRUE, \
166 (void) stty(_tty_ch, &_tty))
167 #define nocbreak() (_tty.sg_flags &= ~CBREAK, _rawmode = FALSE, \
168 (void) stty(_tty_ch, &_tty))
171 #define echo() (_tty.sg_flags |= ECHO, _echoit = TRUE, \
[all …]
/titanic_50/usr/src/ucblib/libcurses/
H A Dcr_tty.c71 if (gtty(_tty_ch, &_tty) < 0) in gettmode()
74 if (stty(_tty_ch, &_tty) < 0) in gettmode()
75 _tty.sg_flags = _res_flg; in gettmode()
76 ospeed = _tty.sg_ospeed; in gettmode()
77 _res_flg = _tty.sg_flags; in gettmode()
78 UPPERCASE = (_tty.sg_flags & LCASE) != 0; in gettmode()
79 GT = ((_tty.sg_flags & XTABS) == 0); in gettmode()
80 NONL = ((_tty.sg_flags & CRMOD) == 0); in gettmode()
81 _tty.sg_flags &= ~XTABS; in gettmode()
82 (void) stty(_tty_ch, &_tty); in gettmode()
H A Dtstp.c43 tty = _tty; in tstp()
53 _tty = tty; in tstp()
54 (void) stty(_tty_ch, &_tty); in tstp()
H A Dcurses.c49 SGTTY _tty; /* tty modes */ variable
H A Dcurses.ext34 extern SGTTY _tty;
H A Dmapfile-vers150 _tty;