Lines Matching refs:sg_flags
159 #define raw() (_tty.sg_flags |= RAW, _pfast = _rawmode = TRUE, \
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, \
165 #define nocbreak() (_tty.sg_flags &= ~CBREAK, _rawmode = FALSE, \
169 #define echo() (_tty.sg_flags |= ECHO, _echoit = TRUE, \
171 #define noecho() (_tty.sg_flags &= ~ECHO, _echoit = FALSE, \
173 #define nl() (_tty.sg_flags |= CRMOD, _pfast = _rawmode, \
175 #define nonl() (_tty.sg_flags &= ~CRMOD, _pfast = TRUE, \
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))