Home
last modified time | relevance | path

Searched refs:TTY (Results 1 – 25 of 39) sorted by relevance

12

/openbsd-src/usr.bin/tic/
H A Dreset_cmd.h50 extern bool send_init_strings(int /* fd */, TTY * /* old_settings */);
51 extern void print_tty_chars(TTY * /* old_settings */, TTY * /* new_settings */);
54 extern void reset_tty_settings(int /* fd */, TTY * /* tty_settings */, int /* noset */);
55 extern void set_control_chars(TTY * /* tty_settings */, int /* erase */, int /* intr */, int /* kil…
56 extern void set_conversions(TTY * /* tty_settings */);
H A Dtty_settings.c42 static TTY original_settings;
58 get_tty_settings(int fd, TTY * tty_settings) in get_tty_settings()
73 save_tty_settings(TTY * tty_settings, bool need_tty) in save_tty_settings()
102 update_tty_settings(TTY * old_settings, TTY * new_settings) in update_tty_settings()
104 if (memcmp(new_settings, old_settings, sizeof(TTY))) { in update_tty_settings()
H A Dtty_settings.h45 extern int save_tty_settings(TTY * /* tty_settings */, bool /* need_tty */ );
47 extern void update_tty_settings(TTY * /* old_settings */, TTY * /* new_settings */ );
H A Dreset_cmd.c196 reset_tty_settings(int fd, TTY * tty_settings, int noset) in reset_tty_settings()
369 set_control_chars(TTY * tty_settings, int my_erase, int my_intr, int my_kill) in set_control_chars()
403 set_conversions(TTY * tty_settings) in set_conversions()
490 send_init_strings(int fd GCC_UNUSED, TTY * old_settings) in send_init_strings()
565 show_tty_change(TTY * old_settings, in show_tty_change()
566 TTY * new_settings, in show_tty_change()
629 print_tty_chars(TTY * old_settings, TTY * new_settings) in print_tty_chars()
/openbsd-src/gnu/usr.bin/perl/ext/POSIX/t/
H A Dsysconf.t54 my $TTY = "/dev/tty";
112 -c $TTY
113 or skip("$TTY not a character file", $n);
114 open(my $LEXTTY, '<', $TTY)
115 or skip("failed to open $TTY: $!", $n);
117 or skip("$LEXTTY ($TTY) not a terminal file", $n);
124 "calling fpathconf($fd, $constant) ($TTY)");
130 _check_and_report(sub { pathconf($TTY, shift) }, $constant,
131 "calling pathconf($TTY, $constant)");
/openbsd-src/lib/libcurses/tinfo/
H A Dlib_ttyflags.c50 NCURSES_SP_NAME(_nc_get_tty_mode) (NCURSES_SP_DCLx TTY * buf) in NCURSES_EXPORT()
88 _nc_get_tty_mode(TTY * buf) in _nc_get_tty_mode()
95 NCURSES_SP_NAME(_nc_set_tty_mode) (NCURSES_SP_DCLx TTY * buf) in NCURSES_SP_NAME()
135 _nc_set_tty_mode(TTY * buf) in _nc_set_tty_mode()
283 static TTY *
286 TTY *result = 0; in saved_tty()
289 result = (TTY *) & (SP_PARM->_saved_tty); in saved_tty()
292 _nc_prescreen.saved_tty = typeCalloc(TTY, 1); in saved_tty()
H A Dlib_raw.c91 TTY buf; in NCURSES_EXPORT()
147 TTY buf; in NCURSES_SP_NAME()
196 TTY buf; in NCURSES_SP_NAME()
231 TTY buf; in NCURSES_SP_NAME()
286 TTY buf; in NCURSES_SP_NAME()
327 TTY buf; in NCURSES_SP_NAME()
372 TTY buf; in NCURSES_SP_NAME()
H A Dlib_win32con.c244 _nc_console_setmode(HANDLE hdl, const TTY * arg) in _nc_console_setmode()
252 TTY TRCTTY; in _nc_console_setmode()
302 _nc_console_getmode(HANDLE hdl, TTY * arg) in _nc_console_getmode()
/openbsd-src/gnu/usr.bin/perl/t/op/
H A Dstat.t371 my $TTY = "/dev/tty";
375 skip "No TTY to test -t with", 2 unless -e $TTY;
377 open(TTY, $TTY) ||
378 warn "Can't open $TTY--run t/TEST outside of make.\n";
379 ok(-t TTY, '-t');
380 ok(-c TTY, 'tty is -c');
381 close(TTY);
383 ok(! -t TTY, '!-t on closed TTY filehandle');
/openbsd-src/lib/libcurses/
H A Dterm.priv.h114 TTY Ottyb; /* original state of the terminal */
115 TTY Nttyb; /* current state of the terminal */
299 TTY * saved_tty; /* savetty/resetty information */
H A Dterm.h96 #undef TTY
108 #define TTY struct termios macro
119 #define TTY struct termio
126 #define TTY struct winconmode
129 #define TTY struct termios macro
135 #define TTY struct sgttyb macro
801 extern NCURSES_EXPORT(int) _nc_set_tty_mode (TTY *buf);
H A Dcurses.priv.h978 TTY _saved_tty; /* savetty/resetty information */
1708 extern NCURSES_EXPORT(char *) _nc_trace_ttymode(const TTY *tty);
2341 extern NCURSES_EXPORT(int) _nc_set_tty_mode(TTY *);
2342 extern NCURSES_EXPORT(int) _nc_get_tty_mode(TTY *);
2392 int (*td_sgmode)(struct DriverTCB*, int setFlag, TTY*);
2577 extern NCURSES_EXPORT(int) NCURSES_SP_NAME(_nc_get_tty_mode)(SCREEN*,TTY*);
2587 extern NCURSES_EXPORT(int) NCURSES_SP_NAME(_nc_set_tty_mode)(SCREEN*, TTY*);
/openbsd-src/usr.bin/tput/
H A Dtput.c157 tput_cmd(int fd, TTY * settings, int argc, char **argv, int *used) in tput_cmd()
169 TTY oldmode = *settings; in tput_cmd()
385 TTY old_settings; in main()
386 TTY tty_settings; in main()
/openbsd-src/etc/
H A Dksh.kshrc49 # $TTY is the tty we logged in on,
53 TTY=${TTY:-$tty}
/openbsd-src/regress/bin/ksh/
H A Dth1112 open(TTY, "> /dev/tty") || return 0;
1113 print TTY $msg;
1114 close(TTY);
/openbsd-src/gnu/usr.bin/binutils/gdb/po/
H A Dgdb.pot210 " --tty=TTY Use TTY for input/output by the program being "
/openbsd-src/lib/libcurses/base/
H A Dlib_getstr.c82 TTY buf; in wgetnstr_events()
H A Dlib_newterm.c84 TTY buf; in _nc_initscr()
H A Dlib_set_term.c324 static const TTY null_TTY; /* all zeros iff uninitialized */ in NCURSES_SP_NAME()
695 !memcmp(&cur_term->Ottyb, &null_TTY, sizeof(TTY))) in NCURSES_SP_NAME()
/openbsd-src/lib/libcurses/widechar/
H A Dlib_get_wstr.c92 TTY buf; in wgetn_wstr()
/openbsd-src/gnu/usr.bin/perl/pod/
H A Dperldebug.pod879 initialization options C<TTY>, C<noTTY>, C<ReadLine>, and C<NonStop>
892 =item C<TTY>
893 X<debugger option, TTY>
895 The TTY to use for debugging I/O.
900 If set, the debugger goes into C<NonStop> mode and will not connect to a TTY. If
902 $DB::signal or $DB::single from the Perl script), it connects to a TTY
903 specified in the C<TTY> option at startup, or to a tty found at
955 itself. Do not forget to detach your shell from the TTY in the window that
1121 You can mock TTY input to debugger by adding arbitrary commands to
H A Dperlunitut.pod191 Thanks to Gerard Goossen from TTY. His presentation "UTF-8 in the wild" (Dutch
/openbsd-src/usr.bin/tset/
H A Dtset.c782 TTY mode, oldmode; in main()
/openbsd-src/gnu/usr.bin/perl/lib/
H A Dperl5db.pl215 =item * TTY
217 the TTY to use for debugging i/o.
221 if set, goes in NonStop mode. On interrupt, if TTY is not set,
222 uses the value of noTTY or F<$HOME/.perldbtty$$> to find TTY using
223 Term::Rendezvous. Current variant is to have the name of TTY in this
283 Used to control when the debugger will attempt to acquire another TTY to be
952 AutoTrace TTY noTTY
1011 TTY => \&TTY,
1070 =item C<$CreateTTY> - whether or not to create a new TTY fo
7765 sub TTY { global() subroutine
[all...]
/openbsd-src/usr.bin/ssh/
H A DPROTOCOL.mux114 if remote TTY allocation was unsuccessful. The client may use this to

12