/netbsd/games/warp/ |
H A D | term.h | 219 #define raw() ((bizarre=1),_tty.sg_flags|=RAW, stty(_tty_ch,&_tty)) 220 #define noraw() ((bizarre=1),_tty.sg_flags&=~RAW,stty(_tty_ch,&_tty)) 221 #define crmode() ((bizarre=1),_tty.sg_flags |= CBREAK, stty(_tty_ch,&_tty)) 222 #define nocrmode() ((bizarre=1),_tty.sg_flags &= ~CBREAK,stty(_tty_ch,&_tty)) 223 #define echo() ((bizarre=1),_tty.sg_flags |= ECHO, stty(_tty_ch, &_tty)) 224 #define noecho() ((bizarre=1),_tty.sg_flags &= ~ECHO, stty(_tty_ch, &_tty)) 225 #define nl() ((bizarre=1),_tty.sg_flags |= CRMOD,stty(_tty_ch, &_tty)) 226 #define nonl() ((bizarre=1),_tty.sg_flags &= ~CRMOD, stty(_tty_ch, &_tty)) 227 #define savetty() (gtty(_tty_ch, &_tty), _res_flg = _tty.sg_flags) 228 #define resetty() ((bizarre=0),_tty.sg_flags = _res_flg, stty(_tty_ch, &_tty))
|
/netbsd/external/bsd/openldap/dist/include/ac/ |
H A D | termios.h | 47 #define GETFLAGS( tio ) ((tio).sg_flags) 48 #define SETFLAGS( tio, flags ) ((tio).sg_flags = (flags))
|
/netbsd/external/gpl3/gdb/dist/readline/readline/ |
H A D | rltty.c | 239 _rl_echoing_p = (oldtio.sgttyb.sg_flags & ECHO); in prepare_terminal_settings() 240 _rl_echoctl = (oldtio.sgttyb.sg_flags & ECHOCTL); in prepare_terminal_settings() 256 tiop->sgttyb.sg_flags &= ~(ECHO | CRMOD); in prepare_terminal_settings() 257 tiop->sgttyb.sg_flags |= CBREAK; in prepare_terminal_settings() 265 if (((oldtio.sgttyb.sg_flags & ANYP) == ANYP) || in prepare_terminal_settings() 266 ((oldtio.sgttyb.sg_flags & ANYP) == 0)) in prepare_terminal_settings() 268 tiop->sgttyb.sg_flags |= ANYP; in prepare_terminal_settings()
|
/netbsd/external/gpl3/gdb.old/dist/readline/readline/ |
H A D | rltty.c | 239 _rl_echoing_p = (oldtio.sgttyb.sg_flags & ECHO); in prepare_terminal_settings() 240 _rl_echoctl = (oldtio.sgttyb.sg_flags & ECHOCTL); in prepare_terminal_settings() 256 tiop->sgttyb.sg_flags &= ~(ECHO | CRMOD); in prepare_terminal_settings() 257 tiop->sgttyb.sg_flags |= CBREAK; in prepare_terminal_settings() 265 if (((oldtio.sgttyb.sg_flags & ANYP) == ANYP) || in prepare_terminal_settings() 266 ((oldtio.sgttyb.sg_flags & ANYP) == 0)) in prepare_terminal_settings() 268 tiop->sgttyb.sg_flags |= ANYP; in prepare_terminal_settings()
|
/netbsd/external/gpl2/texinfo/dist/info/ |
H A D | terminal.c | 769 original_tty_flags = ttybuff.sg_flags; in terminal_prep_terminal() 773 ttybuff.sg_flags |= PASS8; in terminal_prep_terminal() 826 ttybuff.sg_flags &= ~ECHO; in terminal_prep_terminal() 827 ttybuff.sg_flags |= CBREAK; in terminal_prep_terminal() 854 ttybuff.sg_flags = original_tty_flags; in terminal_unprep_terminal()
|
/netbsd/games/larn/ |
H A D | io.c | 116 #define doraw(_a) (_a.sg_flags |= CBREAK,_a.sg_flags &= ~ECHO) 117 #define unraw(_a) (_a.sg_flags &= ~CBREAK,_a.sg_flags |= ECHO)
|
/netbsd/external/bsd/top/dist/ |
H A D | screen.c | 373 new_settings.sg_flags |= CBREAK; in screen_init() 374 new_settings.sg_flags &= ~(ECHO|XTABS); in screen_init()
|
/netbsd/distrib/utils/more/ |
H A D | screen.c | 224 s.sg_flags |= CBREAK; 225 s.sg_flags &= ~(ECHO|XTABS);
|
/netbsd/sys/sys/ |
H A D | ioctl_compat.h | 74 short sg_flags; /* mode flags */ member
|
/netbsd/libexec/getty/ |
H A D | main.c | 369 tmode.sg_flags |= LCASE; in main() 371 tmode.sg_flags &= ~LCASE; in main()
|
/netbsd/usr.bin/resize/ |
H A D | resize.c | 470 sg.sg_flags |= RAW; in main() 471 UIntClr(sg.sg_flags, ECHO); in main()
|
/netbsd/sys/compat/common/ |
H A D | tty_43.c | 143 sg->sg_flags = ttcompatgetflags(tp); in compat_43_ttioctl() 166 tp->t_flags = (ttcompatgetflags(tp)&0xffff0000) | (sg->sg_flags&0xffff); in compat_43_ttioctl()
|
/netbsd/usr.sbin/sliplogin/ |
H A D | sliplogin.c | 312 tty.sg_flags = RAW | ANYP; in main()
|
/netbsd/crypto/external/bsd/openssl/lib/libdes/ |
H A D | oread_pwd.c | 153 #define TTY_FLAGS sg_flags
|
/netbsd/crypto/external/bsd/openssl.old/lib/libdes/ |
H A D | oread_pwd.c | 153 #define TTY_FLAGS sg_flags
|
/netbsd/bin/ksh/ |
H A D | edit.c | 255 cb.sgttyb.sg_flags &= ~ECHO; in x_mode() 256 cb.sgttyb.sg_flags |= CBREAK; in x_mode()
|
/netbsd/external/bsd/ntp/dist/ntpd/ |
H A D | refclock_leitch.c | 342 ttyb.sg_flags = EVENP|ODDP|CRMOD; in leitch_start()
|
H A D | ntp_refclock.c | 1126 ttyp->sg_flags = EVENP | ODDP | CRMOD; in refclock_setup()
|
/netbsd/crypto/external/bsd/openssl.old/dist/crypto/ui/ |
H A D | ui_openssl.c | 129 # define TTY_FLAGS sg_flags
|
/netbsd/crypto/external/bsd/openssl/dist/crypto/ui/ |
H A D | ui_openssl.c | 125 # define TTY_FLAGS sg_flags
|
/netbsd/external/bsd/ntp/dist/clockstuff/ |
H A D | chutest.c | 196 ttyb.sg_flags = EVENP|ODDP|RAW; in openterm()
|
/netbsd/sys/dev/pci/ |
H A D | mfii.c | 141 u_int8_t sg_flags; member 1254 sge->sg_flags = MFII_SGE_CHAIN_ELEMENT | MFII_SGE_ADDR_IOCPLBNTA; in mfii_dcmd_start() 1897 sge->sg_flags = MFII_SGE_CHAIN_ELEMENT | MFII_SGE_ADDR_IOCPLBNTA; in mfii_do_mgmt() 2602 ce->sg_flags = sc->sc_iop->sge_flag_chain; in mfii_load_ccb() 2615 sge->sg_flags = MFII_SGE_ADDR_SYSTEM; in mfii_load_ccb() 2619 sge->sg_flags |= sc->sc_iop->sge_flag_eol; in mfii_load_ccb()
|
H A D | mpii.c | 838 nsge->sg_flags = MPII_IEEE_SGE_END_OF_LIST; in mpii_load_xs_sas3() 855 csge->sg_flags = MPII_IEEE_SGE_CHAIN_ELEMENT | in mpii_load_xs_sas3() 865 sge->sg_flags = MPII_IEEE_SGE_ADDR_SYSTEM; in mpii_load_xs_sas3() 871 sge->sg_flags |= MPII_IEEE_SGE_END_OF_LIST; in mpii_load_xs_sas3()
|
H A D | mpiireg.h | 149 u_int8_t sg_flags; member
|
/netbsd/external/bsd/less/dist/ |
H A D | screen.c | 538 s.sg_flags |= CBREAK; 539 s.sg_flags &= ~(ECHO|XTABS);
|