Searched refs:tty (Results 76 - 100 of 171) sorted by relevance

1234567

/freebsd-current/contrib/nvi/cl/
H A Dcl_term.c304 * Turn the tty write permission on or off.
312 char *tty; local
314 /* Find the tty, get the current permissions. */
315 if ((tty = ttyname(STDERR_FILENO)) == NULL) {
320 if (stat(tty, &sb) < 0) {
322 msgq(sp, M_SYSERR, "%s", tty);
332 if (chmod(tty, sb.st_mode | S_IWGRP) < 0) {
335 "046|messages not turned on: %s", tty);
339 if (chmod(tty, sb.st_mode & ~S_IWGRP) < 0) {
342 "045|messages not turned off: %s", tty);
[all...]
/freebsd-current/sys/dev/syscons/
H A Dscterm-dumb.c112 dumb_ioctl(scr_stat *scp, struct tty *tp, u_long cmd, caddr_t data,
146 dumb_input(scr_stat *scp, int c, struct tty *tp)
H A Dscvesactl.c41 #include <sys/tty.h>
54 vesa_ioctl(struct tty *tp, u_long cmd, caddr_t data, struct thread *td)
H A Dsyscons.h177 struct tty;
218 struct tty **dev;
376 typedef int sc_term_ioctl_t(scr_stat *scp, struct tty *tp, u_long cmd,
386 typedef int sc_term_input_t(scr_stat *scp, int c, struct tty *tp);
546 extern int (*sc_user_ioctl)(struct tty *tp, u_long cmd, caddr_t data,
589 int sc_hist_ioctl(struct tty *tp, u_long cmd, caddr_t data,
614 int sc_mouse_ioctl(struct tty *tp, u_long cmd, caddr_t data,
619 int sc_set_text_mode(scr_stat *scp, struct tty *tp, int mode,
622 int sc_set_graphics_mode(scr_stat *scp, struct tty *tp, int mode);
623 int sc_set_pixel_mode(scr_stat *scp, struct tty *t
[all...]
/freebsd-current/crypto/heimdal/lib/roken/
H A Dget_window_size.c50 #include <sys/tty.h>
/freebsd-current/sys/contrib/openzfs/contrib/dracut/90zfs/
H A Dzfs-load-key.sh.in37 systemd-ask-password --timeout=0 --no-tty "Encrypted ZFS password for ${dataset}" | zfs load-key "${ENCRYPTIONROOT}" && break
/freebsd-current/crypto/openssh/openbsd-compat/
H A Dport-linux.c137 ssh_selinux_setup_pty(char *pwname, const char *tty) argument
145 debug3("%s: setting TTY context on %s", __func__, tty);
151 if (getfilecon(tty, &old_tty_ctx) == -1) {
166 if (setfilecon(tty, new_tty_ctx) != 0)
/freebsd-current/sys/dev/dcons/
H A Ddcons.h102 void *tty; member in struct:dcons_softc
/freebsd-current/usr.bin/finger/
H A Dlprint.c164 if ((len = strlen(w->tty)) > maxlen)
173 cpr = printf("On since %s on %s", t, w->tty);
183 maxlen - (int)strlen(w->tty) + 1, ",");
213 cpr = printf("Last login %s on %s", t, w->tty);
H A Dutil.c121 strcmp(w->tty, ut->ut_line) == 0)
127 strcpy(w->tty, ut->ut_line);
141 strcpy(w->tty, ut->ut_line);
288 (void)snprintf(tbuf, sizeof(tbuf), "%s/%s", _PATH_DEV, w->tty);
307 /* tty untouched since before login */
312 #define TALKABLE 0220 /* tty is writable if 220 mode */
/freebsd-current/usr.bin/mail/
H A DMakefile6 quit.c send.c strings.c temp.c tty.c util.c vars.c
/freebsd-current/libexec/talkd/
H A Dprocess.c177 find_user(const char *name, char *tty) argument
191 if (*tty == '\0' || best != 0) {
194 /* no particular tty was requested */
202 (void) strcpy(tty, ut->ut_line);
208 if (strcmp(ut->ut_line, tty) == 0) {
H A Dannounce.c85 print_mesg(const char *tty, CTL_MSG *request, argument
152 * stack up processes trying to write messages to a tty
155 if (ttymsg(&iovec, 1, tty, RING_WAIT - 5) != NULL)
/freebsd-current/sys/kern/
H A Dsubr_prf.c58 #include <sys/tty.h>
102 struct tty *tty; member in struct:putchar_arg
197 pca.tty = p->p_session->s_ttyp;
200 if (pca.tty == NULL) {
207 tty_lock(pca.tty);
210 tty_unlock(pca.tty);
232 struct tty *tp = NULL;
255 pca.tty = tp;
258 if (pca.tty !
[all...]
H A Dtty_info.c61 #include <sys/tty.h>
221 struct tty *tp;
272 "Adjust format of kernel stack(9) traces on ^T (tty info): "
280 tty_info(struct tty *tp)
331 * thread or proc since we hold the tty locked.
H A Dtty_outq.c37 #include <sys/tty.h>
92 ttyoutq_setsize(struct ttyoutq *to, struct tty *tp, size_t size)
201 ttyoutq_read_uio(struct ttyoutq *to, struct tty *tp, struct uio *uio)
H A Dkern_cons.c64 #include <sys/tty.h>
87 static MALLOC_DEFINE(M_TTYCONS, "tty console", "tty console handling");
112 struct msgbuf consmsgbuf; /* message buffer for console tty */
116 struct tty *constty; /* pointer to console "window" tty */
594 0, "Console tty buffer size");
597 * Redirect console output to a tty.
600 constty_set(struct tty *tp)
636 * Disable console redirection to a tty
[all...]
/freebsd-current/usr.sbin/bsdinstall/runconsoles/
H A Drunconsoles.c301 struct ttyent *tty; local
308 while ((tty = getttyent()) != NULL) {
309 if ((tty->ty_status & TTY_ON) == 0)
317 if (strncmp(tty->ty_name, "ttyv", 4) == 0 &&
318 strcmp(tty->ty_name + 4, "0") != 0)
325 asprintf(&dev, "/dev/%s", tty->ty_name);
/freebsd-current/lib/libkvm/
H A Dkvm_proc.c60 #include <sys/tty.h>
113 struct tty tty; local
278 if (KREAD(kd, (u_long)sess.s_ttyp, &tty)) {
280 "can't read tty at %p", sess.s_ttyp);
283 if (tty.t_dev != NULL) {
284 if (KREAD(kd, (u_long)tty.t_dev, &t_cdev)) {
287 tty.t_dev);
296 if (tty.t_pgrp != NULL) {
297 if (KREAD(kd, (u_long)tty
[all...]
/freebsd-current/sys/dev/usb/serial/
H A Dusb_serial.h64 #include <sys/tty.h>
166 struct tty *sc_tty;
/freebsd-current/sys/fs/procfs/
H A Dprocfs_status.c52 #include <sys/tty.h>
66 struct tty *tp;
83 /* comm pid ppid pgid sid tty ctty,sldr start ut st wmsg
/freebsd-current/sys/dev/altera/jtag_uart/
H A Daltera_jtag_uart.h52 struct tty *ajus_ttyp;
86 * Because tty-level use of the I/O ports completes with low-level console
/freebsd-current/usr.sbin/ppp/
H A DMakefile12 tcpmss.c throughput.c timer.c tty.c tun.c udp.c vjcomp.c
/freebsd-current/libexec/rpc.rusersd/
H A Drusers_proc.c105 getidle(const char *tty, const char *display __unused) argument
121 if (*tty == 'X') {
131 sprintf(ttyname, "%s/%s", _PATH_DEV, tty);
/freebsd-current/sys/powerpc/pseries/
H A Dphyp_console.c38 #include <sys/tty.h>
56 struct tty *tp;
123 static void uart_phyp_ttyoutwakeup(struct tty *tp);
430 uart_phyp_ttyoutwakeup(struct tty *tp)
446 struct tty *tp = sc->tp;

Completed in 327 milliseconds

1234567