Lines Matching refs:_tty
99 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, \
172 (void) stty(_tty_ch, &_tty))
173 #define noecho() (_tty.sg_flags &= ~ECHO, _echoit = FALSE, \
174 (void) stty(_tty_ch, &_tty))
175 #define nl() (_tty.sg_flags |= CRMOD, _pfast = _rawmode, \
176 (void) stty(_tty_ch, &_tty))
177 #define nonl() (_tty.sg_flags &= ~CRMOD, _pfast = TRUE, \
178 (void) stty(_tty_ch, &_tty))
179 #define savetty() ((void) gtty(_tty_ch, &_tty), _res_flg = _tty.sg_flags)
180 #define resetty() (_tty.sg_flags = _res_flg, (void) stty(_tty_ch, &_tty))
182 #define erasechar() (_tty.sg_erase)
183 #define killchar() (_tty.sg_kill)
184 #define baudrate() (_tty.sg_ospeed)