Home
last modified time | relevance | path

Searched refs:sg_flags (Results 1 – 25 of 31) sorted by relevance

12

/netbsd/games/warp/
H A Dterm.h219 #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 Dtermios.h47 #define GETFLAGS( tio ) ((tio).sg_flags)
48 #define SETFLAGS( tio, flags ) ((tio).sg_flags = (flags))
/netbsd/external/gpl3/gdb/dist/readline/readline/
H A Drltty.c239 _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 Drltty.c239 _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 Dterminal.c769 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 Dio.c116 #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 Dscreen.c373 new_settings.sg_flags |= CBREAK; in screen_init()
374 new_settings.sg_flags &= ~(ECHO|XTABS); in screen_init()
/netbsd/distrib/utils/more/
H A Dscreen.c224 s.sg_flags |= CBREAK;
225 s.sg_flags &= ~(ECHO|XTABS);
/netbsd/sys/sys/
H A Dioctl_compat.h74 short sg_flags; /* mode flags */ member
/netbsd/libexec/getty/
H A Dmain.c369 tmode.sg_flags |= LCASE; in main()
371 tmode.sg_flags &= ~LCASE; in main()
/netbsd/usr.bin/resize/
H A Dresize.c470 sg.sg_flags |= RAW; in main()
471 UIntClr(sg.sg_flags, ECHO); in main()
/netbsd/sys/compat/common/
H A Dtty_43.c143 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 Dsliplogin.c312 tty.sg_flags = RAW | ANYP; in main()
/netbsd/crypto/external/bsd/openssl/lib/libdes/
H A Doread_pwd.c153 #define TTY_FLAGS sg_flags
/netbsd/crypto/external/bsd/openssl.old/lib/libdes/
H A Doread_pwd.c153 #define TTY_FLAGS sg_flags
/netbsd/bin/ksh/
H A Dedit.c255 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 Drefclock_leitch.c342 ttyb.sg_flags = EVENP|ODDP|CRMOD; in leitch_start()
H A Dntp_refclock.c1126 ttyp->sg_flags = EVENP | ODDP | CRMOD; in refclock_setup()
/netbsd/crypto/external/bsd/openssl.old/dist/crypto/ui/
H A Dui_openssl.c129 # define TTY_FLAGS sg_flags
/netbsd/crypto/external/bsd/openssl/dist/crypto/ui/
H A Dui_openssl.c125 # define TTY_FLAGS sg_flags
/netbsd/external/bsd/ntp/dist/clockstuff/
H A Dchutest.c196 ttyb.sg_flags = EVENP|ODDP|RAW; in openterm()
/netbsd/sys/dev/pci/
H A Dmfii.c141 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 Dmpii.c838 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 Dmpiireg.h149 u_int8_t sg_flags; member
/netbsd/external/bsd/less/dist/
H A Dscreen.c538 s.sg_flags |= CBREAK;
539 s.sg_flags &= ~(ECHO|XTABS);

12