Lines Matching refs:_tty
97 extern SGTTY _tty;
159 #define raw() (_tty.sg_flags |= RAW, _pfast = _rawmode = TRUE, \
160 (void) stty(_tty_ch, &_tty))
161 #define noraw() (_tty.sg_flags &= ~RAW, _rawmode = FALSE, \
162 _pfast = !(_tty.sg_flags & CRMOD), (void) stty(_tty_ch, &_tty))
163 #define cbreak() (_tty.sg_flags |= CBREAK, _rawmode = TRUE, \
164 (void) stty(_tty_ch, &_tty))
165 #define nocbreak() (_tty.sg_flags &= ~CBREAK, _rawmode = FALSE, \
166 (void) stty(_tty_ch, &_tty))
169 #define echo() (_tty.sg_flags |= ECHO, _echoit = TRUE, \
170 (void) stty(_tty_ch, &_tty))
171 #define noecho() (_tty.sg_flags &= ~ECHO, _echoit = FALSE, \
172 (void) stty(_tty_ch, &_tty))
173 #define nl() (_tty.sg_flags |= CRMOD, _pfast = _rawmode, \
174 (void) stty(_tty_ch, &_tty))
175 #define nonl() (_tty.sg_flags &= ~CRMOD, _pfast = TRUE, \
176 (void) stty(_tty_ch, &_tty))
177 #define savetty() ((void) gtty(_tty_ch, &_tty), _res_flg = _tty.sg_flags)
178 #define resetty() (_tty.sg_flags = _res_flg, (void) stty(_tty_ch, &_tty))
180 #define erasechar() (_tty.sg_erase)
181 #define killchar() (_tty.sg_kill)
182 #define baudrate() (_tty.sg_ospeed)