Home
last modified time | relevance | path

Searched refs:ttyb (Results 1 – 25 of 103) sorted by relevance

12345

/dports/games/powwow/powwow-1.2.17/
H A Dfollow.c102 struct sgttyb ttyb; in set_terminal() local
107 ttyb = ttybsave; in set_terminal()
108 ttyb.sg_flags = (ttyb.sg_flags|O_CBREAK) & ~O_ECHO; in set_terminal()
114 termiostruct ttyb; in set_terminal()
116 tcgetattr(0, &ttyb); in set_terminal()
118 ioctl(0, TCGETS, &ttyb); in set_terminal()
120 ttybsave = ttyb; in set_terminal()
122 ttyb.c_cc[VTIME] = 0; in set_terminal()
123 ttyb.c_cc[VMIN] = 1; in set_terminal()
125 ttyb.c_cc[O_SUSP] = 0; in set_terminal()
[all …]
H A Dtty.c184 struct sgttyb ttyb; in __P0() local
189 ttyb = ttybsave; in __P0()
190 ttyb.sg_flags = (ttyb.sg_flags|O_CBREAK) & ~O_ECHO; in __P0()
196 termiostruct ttyb; in __P0()
202 ttybsave = ttyb; in __P0()
266 struct sgttyb ttyb; in __P0() local
270 ttyb.sg_flags |= RAW; in __P0()
276 ttyb.sg_flags &= ~RAW; in __P0()
283 termiostruct ttyb; in __P0()
292 ttyb.c_cc[i] = 0; in __P0()
[all …]
/dports/net/ntp/ntp-4.2.8p15/libntp/
H A Dicom.c144 TTY ttyb; in icom_init() local
153 rc = tcgetattr(fd, &ttyb); in icom_init()
160 ttyb.c_iflag = 0; /* input modes */ in icom_init()
161 ttyb.c_oflag = 0; /* output modes */ in icom_init()
162 ttyb.c_cflag = IBAUD|CS8|CLOCAL; /* control modes (no read) */ in icom_init()
163 ttyb.c_lflag = 0; /* local modes */ in icom_init()
164 ttyb.c_cc[VMIN] = 0; /* min chars */ in icom_init()
165 ttyb.c_cc[VTIME] = 5; /* receive timeout */ in icom_init()
166 cfsetispeed(&ttyb, (u_int)speed); in icom_init()
167 cfsetospeed(&ttyb, (u_int)speed); in icom_init()
[all …]
/dports/net/openldap24-server/openldap-2.4.59/libraries/liblutil/
H A Dgetpass.c77 TERMIO_TYPE ttyb; in lutil_getpass() local
95 if (GETATTR(fileno(fi), &ttyb) < 0) in lutil_getpass()
98 flags = GETFLAGS( ttyb ); in lutil_getpass()
99 SETFLAGS( ttyb, flags & ~ECHO ); in lutil_getpass()
100 if (SETATTR(fileno(fi), &ttyb) < 0) in lutil_getpass()
117 SETFLAGS( ttyb, flags ); in lutil_getpass()
118 if (SETATTR(fileno(fi), &ttyb) < 0) in lutil_getpass()
/dports/net/openldap24-client/openldap-2.4.59/libraries/liblutil/
H A Dgetpass.c77 TERMIO_TYPE ttyb; in lutil_getpass() local
95 if (GETATTR(fileno(fi), &ttyb) < 0) in lutil_getpass()
98 flags = GETFLAGS( ttyb ); in lutil_getpass()
99 SETFLAGS( ttyb, flags & ~ECHO ); in lutil_getpass()
100 if (SETATTR(fileno(fi), &ttyb) < 0) in lutil_getpass()
117 SETFLAGS( ttyb, flags ); in lutil_getpass()
118 if (SETATTR(fileno(fi), &ttyb) < 0) in lutil_getpass()
/dports/net/openldap25-client/openldap-2.5.9/libraries/liblutil/
H A Dgetpass.c77 TERMIO_TYPE ttyb; in lutil_getpass() local
95 if (GETATTR(fileno(fi), &ttyb) < 0) in lutil_getpass()
98 flags = GETFLAGS( ttyb ); in lutil_getpass()
99 SETFLAGS( ttyb, flags & ~ECHO ); in lutil_getpass()
100 if (SETATTR(fileno(fi), &ttyb) < 0) in lutil_getpass()
117 SETFLAGS( ttyb, flags ); in lutil_getpass()
118 if (SETATTR(fileno(fi), &ttyb) < 0) in lutil_getpass()
/dports/net/openldap25-server/openldap-2.5.9/libraries/liblutil/
H A Dgetpass.c77 TERMIO_TYPE ttyb; in lutil_getpass() local
95 if (GETATTR(fileno(fi), &ttyb) < 0) in lutil_getpass()
98 flags = GETFLAGS( ttyb ); in lutil_getpass()
99 SETFLAGS( ttyb, flags & ~ECHO ); in lutil_getpass()
100 if (SETATTR(fileno(fi), &ttyb) < 0) in lutil_getpass()
117 SETFLAGS( ttyb, flags ); in lutil_getpass()
118 if (SETATTR(fileno(fi), &ttyb) < 0) in lutil_getpass()
/dports/net/openldap26-client/openldap-2.6.0/libraries/liblutil/
H A Dgetpass.c77 TERMIO_TYPE ttyb; in lutil_getpass() local
95 if (GETATTR(fileno(fi), &ttyb) < 0) in lutil_getpass()
98 flags = GETFLAGS( ttyb ); in lutil_getpass()
99 SETFLAGS( ttyb, flags & ~ECHO ); in lutil_getpass()
100 if (SETATTR(fileno(fi), &ttyb) < 0) in lutil_getpass()
117 SETFLAGS( ttyb, flags ); in lutil_getpass()
118 if (SETATTR(fileno(fi), &ttyb) < 0) in lutil_getpass()
/dports/net/openldap26-server/openldap-2.6.0/libraries/liblutil/
H A Dgetpass.c77 TERMIO_TYPE ttyb; in lutil_getpass() local
95 if (GETATTR(fileno(fi), &ttyb) < 0) in lutil_getpass()
98 flags = GETFLAGS( ttyb ); in lutil_getpass()
99 SETFLAGS( ttyb, flags & ~ECHO ); in lutil_getpass()
100 if (SETATTR(fileno(fi), &ttyb) < 0) in lutil_getpass()
117 SETFLAGS( ttyb, flags ); in lutil_getpass()
118 if (SETATTR(fileno(fi), &ttyb) < 0) in lutil_getpass()
/dports/net/ntp/ntp-4.2.8p15/ntpd/
H A Drefclock_leitch.c279 { struct termio ttyb; in leitch_start() local
285 ttyb.c_iflag = IGNBRK|IGNPAR|ICRNL; in leitch_start()
286 ttyb.c_oflag = 0; in leitch_start()
288 ttyb.c_lflag = ICANON; in leitch_start()
289 ttyb.c_cc[VERASE] = ttyb.c_cc[VKILL] = '\0'; in leitch_start()
301 { struct termios ttyb, *ttyp; in leitch_start() local
303 ttyp = &ttyb; in leitch_start()
331 struct sgttyb ttyb; in leitch_start() local
338 ttyb.sg_ispeed = ttyb.sg_ospeed = SPEED232; in leitch_start()
339 ttyb.sg_erase = ttyb.sg_kill = '\0'; in leitch_start()
[all …]
/dports/mail/fetchmailconf/fetchmail-6.4.28/
H A Dgetpass.c53 static struct sgttyb ttyb; variable
149 gtty(ttyfd, &ttyb); in save_tty_state()
150 flags = ttyb.sg_flags; in save_tty_state()
166 ttyb.sg_flags &= ~ECHO; in disable_tty_echo()
167 stty(ttyfd, &ttyb); in disable_tty_echo()
183 ttyb.sg_flags = flags; in restore_tty_state()
184 stty(ttyfd, &ttyb); in restore_tty_state()
/dports/mail/fetchmail/fetchmail-6.4.28/
H A Dgetpass.c53 static struct sgttyb ttyb; variable
149 gtty(ttyfd, &ttyb); in save_tty_state()
150 flags = ttyb.sg_flags; in save_tty_state()
166 ttyb.sg_flags &= ~ECHO; in disable_tty_echo()
167 stty(ttyfd, &ttyb); in disable_tty_echo()
183 ttyb.sg_flags = flags; in restore_tty_state()
184 stty(ttyfd, &ttyb); in restore_tty_state()
/dports/www/cadaver/cadaver-0.23.3/lib/
H A Dgetpass.c55 static struct sgttyb ttyb; variable
158 gtty(ttyfd, &ttyb); in save_tty_state()
159 flags = ttyb.sg_flags; in save_tty_state()
175 ttyb.sg_flags &= ~ECHO; in disable_tty_echo()
176 stty(ttyfd, &ttyb); in disable_tty_echo()
192 ttyb.sg_flags = flags; in restore_tty_state()
193 stty(ttyfd, &ttyb); in restore_tty_state()
/dports/security/krb5-appl/krb5-appl-1.0.3/gssftp/ftp/
H A Dgetpass.c99 static struct termios ttyo, ttyb; variable
104 static struct sgttyb ttyo, ttyb; variable
134 (void) gtty(fileno(fi), &ttyb);
135 ttyo = ttyb;
137 ttyb.c_lflag &= ~ECHO;
139 ttyb.sg_flags &= ~ECHO;
141 (void) stty(fileno(fi), &ttyb);
/dports/www/litmus/litmus-0.13/lib/
H A Dgetpass.c55 static struct sgttyb ttyb; variable
158 gtty(ttyfd, &ttyb); in save_tty_state()
159 flags = ttyb.sg_flags; in save_tty_state()
175 ttyb.sg_flags &= ~ECHO; in disable_tty_echo()
176 stty(ttyfd, &ttyb); in disable_tty_echo()
192 ttyb.sg_flags = flags; in restore_tty_state()
193 stty(ttyfd, &ttyb); in restore_tty_state()
/dports/devel/kf5-kpty/kpty-5.89.0/src/
H A Dkgrantpty.c63 char ttyb[32]; in main() local
91 sprintf(ttyb, "/dev/pts/%d", ptyno); in main()
92 tty = ttyb; in main()
/dports/misc/rump/buildrump.sh-b914579/src/lib/libc/gen/
H A Dttyname.c63 struct termios ttyb; in __weak_alias() local
77 if (tcgetattr(fd, &ttyb) == -1) in __weak_alias()
/dports/net/ntp/ntp-4.2.8p15/clockstuff/
H A Dchutest.c176 struct sgttyb ttyb; in openterm() local
192 ttyb.sg_ispeed = ttyb.sg_ospeed = B300; in openterm()
193 ttyb.sg_erase = ttyb.sg_kill = 0; in openterm()
194 ttyb.sg_flags = EVENP|ODDP|RAW; in openterm()
197 if (ioctl(s, TIOCSETP, (char *)&ttyb) < 0) in openterm()
/dports/graphics/libgphoto2/libgphoto2-2.5.26/libgphoto2_port/serial/
H A Dunix.c805 struct sgttyb ttyb; in gp_port_serial_check_speed() local
903 if (ioctl (dev->pl->fd, TIOCGETP, &ttyb) < 0) { in gp_port_serial_check_speed()
907 ttyb.sg_ispeed = dev->settings.serial.speed; in gp_port_serial_check_speed()
908 ttyb.sg_ospeed = dev->settings.serial.speed; in gp_port_serial_check_speed()
909 ttyb.sg_flags = 0; in gp_port_serial_check_speed()
911 if (ioctl (dev->pl->fd, TIOCSETP, &ttyb) < 0) { in gp_port_serial_check_speed()
/dports/comms/qpage/qpage-3.3/
H A Dexample.cf71 modem=ttyb device=/dev/cua/b
74 device=ttya,ttyb
/dports/comms/conserver-com/conserver-8.2.4/conserver.cf/
H A Dtest.cf36 device /dev/ttyb;
/dports/security/krb5-appl/krb5-appl-1.0.3/bsd/
H A Dkrlogin.c349 struct termios ttyb; local
351 struct sgttyb ttyb; local
560 if (tcgetattr(0, &ttyb) == 0) {
561 speed_t ospeed = cfgetospeed (&ttyb);
580 if (ioctl(0, TIOCGETP, &ttyb) == 0) {
582 (void) strncat(term, speeds[ttyb.sg_ospeed], sizeof(term) - 1 - strlen(term));
/dports/sysutils/nut-devel/nut-9e6a5ab2/tests/
H A Dnut-driver-enumerator-test--ups.conf55 port = /dev/ttyb
/dports/net/ntpsec/ntpsec-NTPsec_1_2_1/ntpd/
H A Dntp_refclock.c737 TTY ttyb, *ttyp; in refclock_setup() local
747 ttyp = &ttyb; in refclock_setup()
772 cfsetispeed(&ttyb, speed); in refclock_setup()
773 cfsetospeed(&ttyb, speed); in refclock_setup()
/dports/devel/gdb/gdb-11.1/gdbserver/
H A DREADME66 a device name (usually a serial device, like `/dev/ttyb'), or a HOST:PORT
69 (gdb) target remote /dev/ttyb
71 communicates with the server via serial line /dev/ttyb, and:

12345