/freebsd/share/man/man4/ |
H A D | tty.4 | 33 .Nd general terminal interface 37 This section describes the interface to the terminal drivers 39 .Ss Terminal Special Files 40 Each hardware terminal port on the system usually has a terminal special device 44 the system on one of these hardware terminal ports, the system has already 48 There is also a special case of a terminal file that connects not to 49 a hardware terminal port, but to another program on the other side. 50 These special terminal devices are called 56 Even in these cases the details of how the terminal 64 these terminal special files (see [all …]
|
H A D | termios.4 | 33 .Nd general terminal line discipline 37 This describes a general terminal line discipline that is 39 .Ss Opening a Terminal Device File 40 When a terminal file is opened, it normally causes the process to wait 46 If the termios structure associated with the terminal file has the 77 terminal. 83 is created when a user logs in, and the login terminal is setup 84 to be the controlling terminal; all processes spawned from that 86 terminal. 89 operating interactively (that is, reading commands from a terminal) [all …]
|
H A D | pts.4 | 33 .Nd pseudo-terminal driver 38 .Em pseudo-terminal . 39 A pseudo-terminal is a pair of character devices, a 52 it through the master half of the pseudo-terminal. 69 When applied to the master side of a pseudo-terminal, each subsequent 71 from the terminal will return data written on the slave part of 72 the pseudo-terminal preceded by a zero byte (symbolically 81 whenever the read queue for the terminal is flushed. 83 whenever the write queue for the terminal is flushed. 85 whenever output to the terminal is stopped a la [all …]
|
/freebsd/contrib/ncurses/man/ |
H A D | tset.1 | 54 initialize or reset terminal state 56 …\fIch\fP] [\fB\-i\fP \fIch\fP] [\fB\-k\fP \fIch\fP] [\fB\-m\fP \fImapping\fP] [\fIterminal-type\fP] 58 …\fIch\fP] [\fB\-i\fP \fIch\fP] [\fB\-k\fP \fIch\fP] [\fB\-m\fP \fImapping\fP] [\fIterminal-type\fP] 63 First, \fB@TSET@\fP retrieves the current terminal mode settings 64 for your terminal. 75 to obtain terminal settings. 79 Next, \fB@TSET@\fP determines the type of terminal that you are using. 80 This determination is done as follows, using the first terminal type found. 82 1. The \fBterminal\fP argument specified on the command line. 86 3. (BSD systems only.) The terminal type associated with the standard [all …]
|
H A D | tput.1 | 51 initialize a terminal, exercise its capabilities, or query \fI\%term\%info\fP database 53 \fB@TPUT@\fP [\fB\-T\fP \fIterminal-type\fP] 56 \fB@TPUT@\fP [\fB\-T\fP \fIterminal-type\fP] [\fB\-x\fP] \fBclear\fP 58 \fB@TPUT@\fP [\fB\-T\fP \fIterminal-type\fP] \fBinit\fP 60 \fB@TPUT@\fP [\fB\-T\fP \fIterminal-type\fP] \fB\%reset\fP 62 \fB@TPUT@\fP [\fB\-T\fP \fIterminal-type\fP] \fB\%longname\fP 70 library and database to make terminal-specific capabilities and 72 to initialize or reset the terminal, 76 terminal type. 77 Terminal capabilities are accessed by [all …]
|
H A D | terminfo.tail | 81 described in the terminal database, in the section on 86 The following entry, describing an ANSI-standard terminal, is representative 87 of what a \fBterminfo\fP entry for a modern terminal typically looks like. 129 Boolean capabilities which indicate that the terminal has 132 numeric capabilities giving the size of the terminal 137 terminal operations. 148 Thus \fBcols\fP, which indicates the number of columns the terminal has, 249 Terminal descriptions in \fI\%ncurses\fP are stored in terminal 259 eliminating duplicates and pathnames where no terminal database is found. 264 a terminal database containing the terminal description. [all …]
|
H A D | curs_terminfo.3x | 74 \fBTERMINAL *cur_term; 87 \fBTERMINAL *set_curterm(TERMINAL *\fInterm\fP); 88 \fBint del_curterm(TERMINAL *\fIoterm\fP); 122 database to handle certain terminal capabilities, 142 initialize the low-level set of terminal-dependent variables listed in 145 Applications can use the terminal capabilities either directly 202 should be sent to the terminal device with \fB\%tputs\fP or 204 Call \fB\%reset_shell_mode\fP to restore the terminal modes before 236 is the terminal type, 246 is the file descriptor used for getting and setting terminal I/O modes. [all …]
|
H A D | infocmp.1m | 87 [\fIterminal-type\fP ...] 97 If no options are specified and zero or one \fIterminal-types\fP are 101 If more than one \fIterminal-type\fP is specified, 104 \fB@INFOCMP@\fP compares the \fBterminfo\fP description of the first terminal 105 \fIterminal-type\fP with each of the descriptions given by the entries 106 for the other terminal's \fIterminal-types\fP. 118 or more terminal descriptions: 134 showing the first terminal description rewritten to use the second 145 If no \fIterminal-types\fP are given, 147 for each of the \fIterminal-types\fP. [all …]
|
H A D | curs_initscr.3x | 54 initialize, manipulate, or tear down \fIcurses\fR terminal interface 75 For multiple-terminal applications, 78 The initscr code determines the terminal type and initializes all \fBcurses\fP 86 A program that outputs to more than one terminal should use the \fBnewterm\fP 87 routine for each terminal instead of \fBinitscr\fP. 90 terminal cannot support a screen-oriented program, would also use 93 The routine \fBnewterm\fP should be called once for each terminal. 95 as a reference to that terminal. 98 the \fItype\fP of the terminal to be used in place of \fB$TERM\fP, 100 an output stream connected to the terminal, and [all …]
|
H A D | term.7 | 46 conventions for naming terminal types 50 name of the terminal, 61 Older Unix systems pre-set a very dumb terminal type 72 terminal, or terminal emulator). 77 you can give it a set of rules for deducing or requesting a terminal type based 85 Terminal type descriptions are stored as files of capability data underneath 87 To browse a list of all terminal names recognized by the system, do 106 terminfo knows a terminal, 115 terminal type (it may contain blanks; the others must be single words). 117 fields between the first and last (if present) are aliases for the terminal, [all …]
|
H A D | toe.1m | 56 list table of entries of \fIterminfo\fR terminal types 72 and descriptions of the terminal types available to the \fIterminfo\fP 79 looking for terminal descriptions. 80 Other options support maintainers of \fIterminfo\fP terminal 84 lists entries from all terminal database directories that \fIterminfo\fP 94 which entries correspond to a given terminal database. 108 lists terminal type dependencies in \fIfile\fP, 112 each line comprises the primary name of a terminal type employing 115 a space- and tab-separated list of primary names of terminal types thus 120 lists terminal type reverse dependencies in \fIfile\fP, [all …]
|
H A D | user_caps.5 | 58 terminfo databases used a \fIfixed repertoire\fP of terminal 59 capabilities designed for the SVr2 terminal database in 1984, 96 \fI\%ncurses\fP can be configured with tables which match the terminal 101 the terminal database is defined at compile-time using a text file 102 which lists the different terminal capabilities. 106 The text-file used in \fI\%ncurses\fP for terminal capabilities includes 125 in the X11R6 terminal description for \fBxterm\fP(1). 126 The \fIbox1\fP capability is used in @TIC@ to help with terminal descriptions 133 for unanticipated terminal improvements 156 When compiling a terminal database, if \*(``\-x\*('' is set, [all …]
|
H A D | terminfo.head | 57 terminal capability database 102 The resulting formatted terminal description can be read by \fB@TIC@\fP. 104 The first field for each terminal gives the names which are known for the 105 terminal, separated by \*(``|\*('' characters. 107 The first name given is the most common abbreviation for the terminal 109 the last name given should be a long name fully identifying the terminal 111 and all others are treated as synonyms (aliases) for the primary terminal name. 129 Terminal names (except for the last, verbose entry) should 131 The particular piece of hardware making up the terminal should 160 For more on terminal naming conventions, see the \fBterm\fP(7) manual page. [all …]
|
H A D | curs_inopts.3x | 67 get and set \fIcurses\fR terminal input options 108 from the terminal is handled. 119 the terminal driver buffers typed characters until a newline or carriage 126 The \fB\%nocbreak\fP routine returns the terminal to normal (cooked) 129 Initially the terminal may or may not be in \fB\%cbreak\fP mode, 143 Echoing by the terminal driver is always disabled, 173 all output in the terminal driver queue is flushed, 183 The default for the option is inherited from the terminal driver 190 The \fB\%keypad\fP option enables the keypad of the user's terminal. 206 If the keypad in the terminal can be turned on [all …]
|
H A D | curs_threads.3x | 139 terminal data associated with a call to \fBset_curterm\fP(3X) 141 Terminal data are initialized when screens are created. 212 can_change_color terminal 222 cur_term terminal 226 def_prog_mode terminal 227 def_shell_mode terminal 246 flash terminal 269 has_colors terminal 270 has_ic terminal 271 has_il terminal [all …]
|
H A D | tabs.1 | 50 set terminal tab stops 54 The \fB@TABS@\fP program clears and sets tab-stops on the terminal. 57 The terminal should be configured to use hard tabs, e.g., 71 running in the terminal, if at all. 73 in optimizing their output to the terminal. 74 If the hardware tabstops differ from the information in the terminal 92 Tell \fB@TABS@\fP which terminal type to use. 104 option, but not to modify the terminal settings. 199 The effect depends on whether the terminal has the margin capabilities: 202 If the terminal provides the capability for setting the left margin, [all …]
|
/freebsd/sys/sys/ |
H A D | terminal.h | 46 struct terminal; 51 * The terminal layer is an abstraction on top of the TTY layer and the 55 * Terminals contain terminal emulators, which means console drivers 56 * don't need to implement their own terminal emulator. The terminal 144 typedef void tc_cursor_t(struct terminal *tm, const term_pos_t *p); 145 typedef void tc_putchar_t(struct terminal *tm, const term_pos_t *p, 147 typedef void tc_fill_t(struct terminal *tm, const term_rect_t *r, 149 typedef void tc_copy_t(struct terminal *tm, const term_rect_t *r, 151 typedef void tc_pre_input_t(struct terminal *tm); 152 typedef void tc_post_input_t(struct terminal *tm); [all …]
|
/freebsd/share/termcap/ |
H A D | termcap.5 | 53 .Nd terminal capability data base 78 The first entry for each terminal gives the names that are known for the 79 terminal, separated by `|' characters. 80 The first name given is the most common abbreviation for the terminal. 81 The last name given should be a long name fully identifying the terminal, 82 and all others are understood as synonyms for the terminal name. 87 Terminal names (except for the last, verbose entry) 89 The particular piece of hardware making up the terminal 137 auto_right_margin am terminal has automatic margins 143 hard_copy hc hardcopy terminal [all …]
|
/freebsd/bin/stty/ |
H A D | stty.1 | 37 .Nd set the options for a terminal device interface 46 utility sets or reports on terminal 52 the terminal state according to the specified arguments. 54 exclusive on some terminal types. 59 Display all the current settings for the terminal to standard output 63 Display all the current settings for the terminal to standard output 68 Open and use the terminal named by 77 set or display settings on a terminal that might otherwise 80 Display all the current settings for the terminal to standard output 83 to restore the current terminal state as per [all …]
|
/freebsd/contrib/openbsm/man/ |
H A D | audit.log.5 | 79 .Bl -column -offset 3n ".No Terminal Address Type/Length" ".No N bytes + 1 NUL" 101 .Bl -column -offset 3n ".No Terminal Address Type/Length" ".No N bytes + 1 NUL" 125 .Bl -column -offset 3n ".No Terminal Address Type/Length" ".No N bytes + 1 NUL" 147 .Bl -column -offset 3n ".No Terminal Address Type/Length" ".No N bytes + 1 NUL" 167 .Bl -column -offset 3n ".No Terminal Address Type/Length" ".No N bytes + 1 NUL" 184 .Bl -column -offset 3n ".No Terminal Address Type/Length" ".No N bytes + 1 NUL" 202 .Bl -column -offset 3n ".No Terminal Address Type/Length" ".No N bytes + 1 NUL" 216 .Bl -column -offset 3n ".No Terminal Address Type/Length" ".No N bytes + 1 NUL" 238 .Bl -column -offset 3n ".No Terminal Address Type/Length" ".No N bytes + 1 NUL" 251 .Bl -column -offset 3n ".No Terminal Address Type/Length" ".No N bytes + 1 NUL" [all …]
|
/freebsd/sys/kern/ |
H A D | subr_terminal.c | 39 #include <sys/terminal.h> 44 static MALLOC_DEFINE(M_TERMINAL, "terminal", "terminal device"); 49 * Normally we don't need to lock down the terminal emulator, because 51 * Unfortunately this is not the case when the terminal acts as a 97 * Terminal emulator routines. 165 terminal_init(struct terminal *tm) in terminal_init() 198 struct terminal * 201 struct terminal *tm; in terminal_alloc() 203 tm = malloc(sizeof(struct terminal), M_TERMINAL, M_WAITOK|M_ZERO); in terminal_alloc() 213 terminal_sync_ttysize(struct terminal *tm) in terminal_sync_ttysize() [all …]
|
/freebsd/share/doc/psd/05.sysman/ |
H A D | 2.4.t | 33 as well as a collection of terminal specific \fIioctl\fP operations, 37 Terminal input 45 A terminal is in one of three possible modes: \fIraw\fP, \fIcbreak\fP, 58 Interrupt characters are interpreted by the terminal handler only in 61 group associated with the terminal. Interrupt characters exist 70 When the terminal is in cooked mode, editing of an input line 79 an end of file occurrence on terminal input. Flow control is provided 85 Input characters may be echoed to the terminal as they are received. 89 Terminal output 91 On output, the terminal handler provides some simple formatting services. [all …]
|
/freebsd/contrib/llvm-project/lldb/include/lldb/Host/ |
H A D | Terminal.h | 1 //===-- Terminal.h ----------------------------------------------*- C++ -*-===// 19 class Terminal { 41 Terminal(int fd = -1) : m_fd(fd) {} 43 ~Terminal() = default; 74 int m_fd; // This may or may not be a terminal file descriptor 82 /// \class TerminalState Terminal.h "lldb/Host/Terminal.h" 83 /// A RAII-friendly terminal state saving/restoring class. 85 /// This class can be used to remember the terminal state for a file 89 /// Construct a new instance and optionally save terminal stat [all...] |
/freebsd/libexec/getty/ |
H A D | gettytab.5 | 33 .Nd terminal configuration data base 43 used to describe terminal lines. 44 The initial terminal login process 49 reconfiguration of terminal characteristics. 53 There is a default terminal class, 74 .It "ap bool false terminal uses any parity" 78 .It "c2 num unused tty control flags to leave terminal as" 100 .It "ep bool false terminal uses even parity" 117 .It "ht bool false terminal has real tabs" 121 .It "i2 num unused tty input flags to leave terminal as" [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Host/common/ |
H A D | Terminal.cpp | 1 //===-- Terminal.cpp ------------------------------------------------------===// 9 #include "lldb/Host/Terminal.h" 25 struct Terminal::Data { 27 struct termios m_termios; ///< Cached terminal state information. 31 bool Terminal::IsATerminal() const { return m_fd >= 0 && ::isatty(m_fd); } in IsATerminal() 40 llvm::Expected<Terminal::Data> Terminal::GetData() { in GetData() 48 "fd not a terminal"); in GetData() 61 llvm::Error Terminal::SetData(const Terminal::Data &data) { in SetData() 76 llvm::Error Terminal::SetEcho(bool enabled) { in SetEcho() 92 llvm::Error Terminal::SetCanonical(bool enabled) { in SetCanonical() [all …]
|