Home
last modified time | relevance | path

Searched refs:tty (Results 1 – 25 of 5769) sorted by relevance

12345678910>>...231

/dports/sysutils/tmux23/tmux-2.3/
H A Dtty.c86 memset(tty, 0, sizeof *tty); in tty_init()
108 tty_resize(struct tty *tty) in tty_resize() argument
157 tty->term = tty_term_find(tty->termname, tty->fd, cause); in tty_open()
179 struct tty *tty = data; in tty_read_callback() local
217 tty_start_tty(struct tty *tty) in tty_start_tty() argument
219 tty_init_termios(tty->fd, &tty->tio, tty->event); in tty_start_tty()
260 tty_stop_tty(struct tty *tty) in tty_stop_tty() argument
313 tty_close(struct tty *tty) in tty_close() argument
335 tty_free(struct tty *tty) in tty_free() argument
1144 tty->cy == tty->sy - 1 && tty->cx == tty->sx - 1) in tty_cell()
[all …]
/dports/sysutils/tmux/tmux-3.2a/
H A Dtty.c98 memset(tty, 0, sizeof *tty); in tty_init()
110 tty_resize(struct tty *tty) in tty_resize() argument
153 struct tty *tty = data; in tty_read_callback() local
178 struct tty *tty = data; in tty_timer_callback() local
223 struct tty *tty = data; in tty_write_callback() local
285 struct tty *tty = data; in tty_start_timer_callback() local
445 tty_free(struct tty *tty) in tty_free() argument
594 tty_putcode2(tty, TTYC_CUP, tty->cy, tty->cx); in tty_putc()
610 tty->cx = (tty->cx + width) - tty->sx; in tty_putn()
883 __func__, c->name, c->tty.oox, c->tty.ooy, c->tty.osx, c->tty.osy, in tty_update_client_offset()
[all …]
/dports/editors/emacs-devel/emacs-4d1968b/src/
H A Dcm.h104 #define curY(tty) (tty)->Wcm->cm_curY argument
105 #define curX(tty) (tty)->Wcm->cm_curX argument
106 #define Up(tty) (tty)->Wcm->cm_up argument
107 #define Down(tty) (tty)->Wcm->cm_down argument
108 #define Left(tty) (tty)->Wcm->cm_left argument
110 #define Tab(tty) (tty)->Wcm->cm_tab argument
113 #define CR(tty) (tty)->Wcm->cm_cr argument
147 #define cmat(tty,row,col) (curY(tty) = (row), curX(tty) = (col)) argument
150 if ((curX (tty) += (n)) >= FrameCols (tty) && !MagicWrap (tty)) \
153 else if (AutoWrap (tty)) curX (tty) = 0, curY (tty)++; \
[all …]
H A Dcm.c82 if (curX (tty) == tty->Wcm->cm_cols) {
114 if (curX (tty) == FrameCols (tty)) in cmcheckmagic()
116 if (!MagicWrap (tty) || curY (tty) >= FrameRows (tty) - 1) in cmcheckmagic()
195 if (curX (tty) == tty->Wcm->cm_cols) in calccost()
338 relcost = calccost (tty, curY (tty), curX (tty), row, col, 0); in cmgoto()
386 curY (tty) = row, curX (tty) = col; in cmgoto()
395 curY (tty) = 0, curX (tty) = 0; in cmgoto()
400 curY (tty) = tty->Wcm->cm_rows - 1, curX (tty) = 0; in cmgoto()
411 (void) calccost (tty, curY (tty), curX (tty), row, col, 1); in cmgoto()
412 curY (tty) = row, curX (tty) = col; in cmgoto()
[all …]
/dports/editors/emacs/emacs-27.2/src/
H A Dcm.h104 #define curY(tty) (tty)->Wcm->cm_curY argument
105 #define curX(tty) (tty)->Wcm->cm_curX argument
106 #define Up(tty) (tty)->Wcm->cm_up argument
107 #define Down(tty) (tty)->Wcm->cm_down argument
108 #define Left(tty) (tty)->Wcm->cm_left argument
110 #define Tab(tty) (tty)->Wcm->cm_tab argument
113 #define CR(tty) (tty)->Wcm->cm_cr argument
147 #define cmat(tty,row,col) (curY(tty) = (row), curX(tty) = (col)) argument
150 if ((curX (tty) += (n)) >= FrameCols (tty) && !MagicWrap (tty)) \
153 else if (AutoWrap (tty)) curX (tty) = 0, curY (tty)++; \
[all …]
H A Dcm.c82 if (curX (tty) == tty->Wcm->cm_cols) {
114 if (curX (tty) == FrameCols (tty)) in cmcheckmagic()
116 if (!MagicWrap (tty) || curY (tty) >= FrameRows (tty) - 1) in cmcheckmagic()
195 if (curX (tty) == tty->Wcm->cm_cols) in calccost()
338 relcost = calccost (tty, curY (tty), curX (tty), row, col, 0); in cmgoto()
386 curY (tty) = row, curX (tty) = col; in cmgoto()
395 curY (tty) = 0, curX (tty) = 0; in cmgoto()
400 curY (tty) = tty->Wcm->cm_rows - 1, curX (tty) = 0; in cmgoto()
411 (void) calccost (tty, curY (tty), curX (tty), row, col, 1); in cmgoto()
412 curY (tty) = row, curX (tty) = col; in cmgoto()
[all …]
/dports/sysutils/tmate-ssh-server/tmate-ssh-server-97d2024/
H A Dtty.c160 memset(tty, 0, sizeof *tty); in tty_init()
186 tty_resize(struct tty *tty) in tty_resize() argument
235 tty->term = tty_term_find(tty->termname, tty->fd, cause); in tty_open()
257 struct tty *tty = data; in tty_read_callback() local
297 tty_init_termios(tty->fd, &tty->tio, tty->event); in tty_start_tty()
338 tty_stop_tty(struct tty *tty) in tty_stop_tty() argument
391 tty_close(struct tty *tty) in tty_close() argument
413 tty_free(struct tty *tty) in tty_free() argument
1226 tty->cy == tty->sy - 1 && tty->cx == tty->sx - 1) in tty_cell()
1256 tty_reset(struct tty *tty) in tty_reset() argument
[all …]
/dports/sysutils/tmate/tmate-2.4.0/
H A Dtty.c159 memset(tty, 0, sizeof *tty); in tty_init()
181 tty_resize(struct tty *tty) in tty_resize() argument
230 tty->term = tty_term_find(tty->termname, tty->fd, cause); in tty_open()
252 struct tty *tty = data; in tty_read_callback() local
292 tty_init_termios(tty->fd, &tty->tio, tty->event); in tty_start_tty()
333 tty_stop_tty(struct tty *tty) in tty_stop_tty() argument
386 tty_close(struct tty *tty) in tty_close() argument
408 tty_free(struct tty *tty) in tty_free() argument
1221 tty->cy == tty->sy - 1 && tty->cx == tty->sx - 1) in tty_cell()
1251 tty_reset(struct tty *tty) in tty_reset() argument
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/include/linux/
H A Dtty.h109 #define I_INPCK(tty) _I_FLAG((tty), INPCK) argument
111 #define I_INLCR(tty) _I_FLAG((tty), INLCR) argument
112 #define I_IGNCR(tty) _I_FLAG((tty), IGNCR) argument
113 #define I_ICRNL(tty) _I_FLAG((tty), ICRNL) argument
114 #define I_IUCLC(tty) _I_FLAG((tty), IUCLC) argument
115 #define I_IXON(tty) _I_FLAG((tty), IXON) argument
116 #define I_IXANY(tty) _I_FLAG((tty), IXANY) argument
117 #define I_IXOFF(tty) _I_FLAG((tty), IXOFF) argument
136 #define C_BAUD(tty) _C_FLAG((tty), CBAUD) argument
148 #define L_ISIG(tty) _L_FLAG((tty), ISIG) argument
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/include/linux/
H A Dtty.h109 #define I_INPCK(tty) _I_FLAG((tty), INPCK) argument
111 #define I_INLCR(tty) _I_FLAG((tty), INLCR) argument
112 #define I_IGNCR(tty) _I_FLAG((tty), IGNCR) argument
113 #define I_ICRNL(tty) _I_FLAG((tty), ICRNL) argument
114 #define I_IUCLC(tty) _I_FLAG((tty), IUCLC) argument
115 #define I_IXON(tty) _I_FLAG((tty), IXON) argument
116 #define I_IXANY(tty) _I_FLAG((tty), IXANY) argument
117 #define I_IXOFF(tty) _I_FLAG((tty), IXOFF) argument
136 #define C_BAUD(tty) _C_FLAG((tty), CBAUD) argument
148 #define L_ISIG(tty) _L_FLAG((tty), ISIG) argument
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/include/linux/
H A Dtty.h109 #define I_INPCK(tty) _I_FLAG((tty), INPCK) argument
111 #define I_INLCR(tty) _I_FLAG((tty), INLCR) argument
112 #define I_IGNCR(tty) _I_FLAG((tty), IGNCR) argument
113 #define I_ICRNL(tty) _I_FLAG((tty), ICRNL) argument
114 #define I_IUCLC(tty) _I_FLAG((tty), IUCLC) argument
115 #define I_IXON(tty) _I_FLAG((tty), IXON) argument
116 #define I_IXANY(tty) _I_FLAG((tty), IXANY) argument
117 #define I_IXOFF(tty) _I_FLAG((tty), IXOFF) argument
136 #define C_BAUD(tty) _C_FLAG((tty), CBAUD) argument
148 #define L_ISIG(tty) _L_FLAG((tty), ISIG) argument
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/tty/
H A Dn_tty.c795 tty->ops->flush_chars(tty); in commit_echoes()
812 tty->ops->flush_chars(tty); in process_echoes()
997 if (!L_ECHOK(tty) || !L_ECHOKE(tty) || !L_ECHOE(tty)) { in eraser()
1297 if (tty->stopped && !tty->flow_stopped && I_IXON(tty) && I_IXANY(tty)) { in n_tty_receive_char_special()
1408 if (tty->stopped && !tty->flow_stopped && I_IXON(tty) && I_IXANY(tty)) { in n_tty_receive_char_inline()
1436 if (tty->stopped && !tty->flow_stopped && I_IXON(tty) && I_IXANY(tty)) { in n_tty_receive_char_fast()
1462 (tty->stopped && !tty->flow_stopped && I_IXANY(tty) && in n_tty_receive_char_closing()
1647 tty->ops->flush_chars(tty); in __receive_buf()
1815 if (I_ISTRIP(tty) || I_IUCLC(tty) || I_IGNCR(tty) || in n_tty_set_termios()
1816 I_ICRNL(tty) || I_INLCR(tty) || L_ICANON(tty) || in n_tty_set_termios()
[all …]
H A Dtty_ldisc.c27 #define tty_ldisc_debug(tty, f, args...) tty_debug(tty, f, ##args) argument
189 ld->tty = tty; in tty_ldisc_get()
603 tty->ops->set_ldisc(tty); in tty_set_ldisc()
644 tty_ldisc_close(tty, tty->ldisc); in tty_ldisc_kill()
660 tty->termios = tty->driver->init_termios; in tty_reset_termios()
694 tty_ldisc_close(tty, tty->ldisc); in tty_ldisc_reinit()
701 retval = tty_ldisc_open(tty, tty->ldisc); in tty_ldisc_reinit()
729 tty_ldisc_debug(tty, "%p: hangup\n", tty->ldisc); in tty_ldisc_hangup()
760 if (tty_ldisc_reinit(tty, tty->termios.c_line) < 0 && in tty_ldisc_hangup()
781 int retval = tty_ldisc_open(tty, tty->ldisc); in tty_ldisc_setup()
[all …]
H A Dtty_io.c201 priv->tty = tty; in tty_add_file()
256 if (!tty || !tty->driver) in tty_driver_name()
470 if (tty && tty->ops && tty->ops->show_fdinfo) in tty_show_fdinfo()
662 tty->ops->hangup(tty); in __tty_hangup()
790 tty->ops->stop(tty); in __stop_tty()
821 tty->ops->start(tty); in __start_tty()
1122 if (!tty || !tty->ops->write || tty_io_error(tty)) in file_tty_write()
1454 tty->port->itty = tty; in tty_init_dev()
1552 tty->ops->cleanup(tty); in release_one_tty()
1612 tty->ops->shutdown(tty); in release_tty()
[all …]
H A Dtty_ioctl.c60 return tty->ops->chars_in_buffer(tty); in tty_chars_in_buffer()
79 return tty->ops->write_room(tty); in tty_write_room()
95 tty->ops->flush_buffer(tty); in tty_driver_flush_buffer()
115 tty->ops->throttle(tty); in tty_throttle()
139 tty->ops->unthrottle(tty); in tty_unthrottle()
168 tty->ops->throttle(tty); in tty_throttle_safe()
199 tty->ops->unthrottle(tty); in tty_unthrottle_safe()
234 tty->ops->wait_until_sent(tty, timeout); in tty_wait_until_sent()
334 tty->ops->set_termios(tty, &old_termios); in tty_set_termios()
644 tty->ops->set_termios(tty, &old); in tty_change_softcar()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/tty/
H A Dn_tty.c795 tty->ops->flush_chars(tty); in commit_echoes()
812 tty->ops->flush_chars(tty); in process_echoes()
997 if (!L_ECHOK(tty) || !L_ECHOKE(tty) || !L_ECHOE(tty)) { in eraser()
1297 if (tty->stopped && !tty->flow_stopped && I_IXON(tty) && I_IXANY(tty)) { in n_tty_receive_char_special()
1408 if (tty->stopped && !tty->flow_stopped && I_IXON(tty) && I_IXANY(tty)) { in n_tty_receive_char_inline()
1436 if (tty->stopped && !tty->flow_stopped && I_IXON(tty) && I_IXANY(tty)) { in n_tty_receive_char_fast()
1462 (tty->stopped && !tty->flow_stopped && I_IXANY(tty) && in n_tty_receive_char_closing()
1647 tty->ops->flush_chars(tty); in __receive_buf()
1815 if (I_ISTRIP(tty) || I_IUCLC(tty) || I_IGNCR(tty) || in n_tty_set_termios()
1816 I_ICRNL(tty) || I_INLCR(tty) || L_ICANON(tty) || in n_tty_set_termios()
[all …]
H A Dtty_ldisc.c27 #define tty_ldisc_debug(tty, f, args...) tty_debug(tty, f, ##args) argument
189 ld->tty = tty; in tty_ldisc_get()
603 tty->ops->set_ldisc(tty); in tty_set_ldisc()
644 tty_ldisc_close(tty, tty->ldisc); in tty_ldisc_kill()
660 tty->termios = tty->driver->init_termios; in tty_reset_termios()
694 tty_ldisc_close(tty, tty->ldisc); in tty_ldisc_reinit()
701 retval = tty_ldisc_open(tty, tty->ldisc); in tty_ldisc_reinit()
729 tty_ldisc_debug(tty, "%p: hangup\n", tty->ldisc); in tty_ldisc_hangup()
760 if (tty_ldisc_reinit(tty, tty->termios.c_line) < 0 && in tty_ldisc_hangup()
781 int retval = tty_ldisc_open(tty, tty->ldisc); in tty_ldisc_setup()
[all …]
H A Dtty_io.c201 priv->tty = tty; in tty_add_file()
256 if (!tty || !tty->driver) in tty_driver_name()
470 if (tty && tty->ops && tty->ops->show_fdinfo) in tty_show_fdinfo()
662 tty->ops->hangup(tty); in __tty_hangup()
790 tty->ops->stop(tty); in __stop_tty()
821 tty->ops->start(tty); in __start_tty()
1122 if (!tty || !tty->ops->write || tty_io_error(tty)) in file_tty_write()
1454 tty->port->itty = tty; in tty_init_dev()
1552 tty->ops->cleanup(tty); in release_one_tty()
1612 tty->ops->shutdown(tty); in release_tty()
[all …]
H A Dtty_ioctl.c60 return tty->ops->chars_in_buffer(tty); in tty_chars_in_buffer()
79 return tty->ops->write_room(tty); in tty_write_room()
95 tty->ops->flush_buffer(tty); in tty_driver_flush_buffer()
115 tty->ops->throttle(tty); in tty_throttle()
139 tty->ops->unthrottle(tty); in tty_unthrottle()
168 tty->ops->throttle(tty); in tty_throttle_safe()
199 tty->ops->unthrottle(tty); in tty_unthrottle_safe()
234 tty->ops->wait_until_sent(tty, timeout); in tty_wait_until_sent()
334 tty->ops->set_termios(tty, &old_termios); in tty_set_termios()
644 tty->ops->set_termios(tty, &old); in tty_change_softcar()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/tty/
H A Dn_tty.c795 tty->ops->flush_chars(tty); in commit_echoes()
812 tty->ops->flush_chars(tty); in process_echoes()
997 if (!L_ECHOK(tty) || !L_ECHOKE(tty) || !L_ECHOE(tty)) { in eraser()
1297 if (tty->stopped && !tty->flow_stopped && I_IXON(tty) && I_IXANY(tty)) { in n_tty_receive_char_special()
1408 if (tty->stopped && !tty->flow_stopped && I_IXON(tty) && I_IXANY(tty)) { in n_tty_receive_char_inline()
1436 if (tty->stopped && !tty->flow_stopped && I_IXON(tty) && I_IXANY(tty)) { in n_tty_receive_char_fast()
1462 (tty->stopped && !tty->flow_stopped && I_IXANY(tty) && in n_tty_receive_char_closing()
1647 tty->ops->flush_chars(tty); in __receive_buf()
1815 if (I_ISTRIP(tty) || I_IUCLC(tty) || I_IGNCR(tty) || in n_tty_set_termios()
1816 I_ICRNL(tty) || I_INLCR(tty) || L_ICANON(tty) || in n_tty_set_termios()
[all …]
H A Dtty_ldisc.c27 #define tty_ldisc_debug(tty, f, args...) tty_debug(tty, f, ##args) argument
189 ld->tty = tty; in tty_ldisc_get()
603 tty->ops->set_ldisc(tty); in tty_set_ldisc()
644 tty_ldisc_close(tty, tty->ldisc); in tty_ldisc_kill()
660 tty->termios = tty->driver->init_termios; in tty_reset_termios()
694 tty_ldisc_close(tty, tty->ldisc); in tty_ldisc_reinit()
701 retval = tty_ldisc_open(tty, tty->ldisc); in tty_ldisc_reinit()
729 tty_ldisc_debug(tty, "%p: hangup\n", tty->ldisc); in tty_ldisc_hangup()
760 if (tty_ldisc_reinit(tty, tty->termios.c_line) < 0 && in tty_ldisc_hangup()
781 int retval = tty_ldisc_open(tty, tty->ldisc); in tty_ldisc_setup()
[all …]
H A Dtty_io.c201 priv->tty = tty; in tty_add_file()
256 if (!tty || !tty->driver) in tty_driver_name()
470 if (tty && tty->ops && tty->ops->show_fdinfo) in tty_show_fdinfo()
662 tty->ops->hangup(tty); in __tty_hangup()
790 tty->ops->stop(tty); in __stop_tty()
821 tty->ops->start(tty); in __start_tty()
1122 if (!tty || !tty->ops->write || tty_io_error(tty)) in file_tty_write()
1454 tty->port->itty = tty; in tty_init_dev()
1552 tty->ops->cleanup(tty); in release_one_tty()
1612 tty->ops->shutdown(tty); in release_tty()
[all …]
H A Dtty_ioctl.c60 return tty->ops->chars_in_buffer(tty); in tty_chars_in_buffer()
79 return tty->ops->write_room(tty); in tty_write_room()
95 tty->ops->flush_buffer(tty); in tty_driver_flush_buffer()
115 tty->ops->throttle(tty); in tty_throttle()
139 tty->ops->unthrottle(tty); in tty_unthrottle()
168 tty->ops->throttle(tty); in tty_throttle_safe()
199 tty->ops->unthrottle(tty); in tty_unthrottle_safe()
234 tty->ops->wait_until_sent(tty, timeout); in tty_wait_until_sent()
334 tty->ops->set_termios(tty, &old_termios); in tty_set_termios()
644 tty->ops->set_termios(tty, &old); in tty_change_softcar()
[all …]
/dports/textproc/fzy/fzy-1.0/src/
H A Dtty.c17 tcsetattr(tty->fdin, TCSANOW, &tty->original_termios); in tty_reset()
21 tty_reset(tty); in tty_close()
22 fclose(tty->fout); in tty_close()
23 close(tty->fdin); in tty_close()
32 if (tty->fdin < 0) { in tty_init()
38 if (!tty->fout) { in tty_init()
48 if (tcgetattr(tty->fdin, &tty->original_termios)) { in tty_init()
113 tty->fdin + 1, in tty_input_ready()
144 tty_sgr(tty, 7); in tty_setinvert()
148 tty_sgr(tty, 4); in tty_setunderline()
[all …]
/dports/misc/lf/lf-r26/vendor/github.com/gdamore/tcell/v2/
H A Dtty_unix.go57 tty.l.Lock()
73 tty.fd = int(tty.of.Fd())
87 tty.wg.Add(1)
103 }(tty.stopQ)
118 tty.l.Lock()
119 if err := term.Restore(tty.fd, tty.saved); err != nil {
129 tty.wg.Wait()
142 tty.l.Lock()
143 tty.cb = cb
155 tty.fd = int(tty.of.Fd())
[all …]

12345678910>>...231