/openbsd-src/usr.bin/tset/ |
H A D | tset.1 | 43 \fBtset\fP, \fBreset\fP \- terminal initialization 52 First, \fBtset\fP retrieves the current terminal mode settings 53 for your terminal. 64 to obtain terminal settings. 68 Next, \fBtset\fP determines the type of terminal that you are using. 69 This determination is done as follows, using the first terminal type found. 75 3. (BSD systems only.) The terminal type associated with the standard 81 4. The default terminal type, \*(``unknown\*('', 84 If the terminal type was not specified on the command-line, the \fB\-m\fP 86 .B TERMINAL TYP [all...] |
/openbsd-src/share/man/man4/ |
H A D | tty.4 | 39 .Nd general terminal interface 43 This section describes the interface to the terminal drivers 45 .Ss Terminal Special Files 46 Each hardware terminal port (such as a serial port) on the system usually has a 47 terminal special device file associated with it in the directory 53 the system on one of these hardware terminal ports, the system has already 57 There is also a special case of a terminal file that connects not to 58 a hardware terminal port, but to another program on the other side. 59 These special terminal devices are called 65 Even in these cases the details of how the terminal [all...] |
H A D | termios.4 | 38 .Nd general terminal line discipline 42 This describes a general terminal line discipline that is 44 .Ss Opening a Terminal Device File 45 When a terminal file is opened, it normally causes the process to wait 50 If the termios structure associated with the terminal file has the 82 access to the single controlling terminal. 86 Typically, a session is created when a user logs in, and the login terminal 87 is set up to be the controlling terminal; all processes spawned from that 89 terminal. 91 operating interactively (that is, reading commands from a terminal) [all …]
|
H A D | pty.4 | 39 .Nd pseudo terminal driver 46 .Em pseudo terminal . 47 A pseudo terminal is a pair of character devices, a 60 it through the master half of the pseudo terminal. 69 the specification, space for that number of pseudo terminal pairs is 72 This is not a hard limit--space for additional pseudo terminal pairs 92 regardless of the terminal's 96 Stops output to a terminal (e.g., like typing 127 whenever the read queue for the terminal is flushed. 129 whenever the write queue for the terminal is flushed. [all …]
|
/openbsd-src/usr.bin/tput/ |
H A D | tput.1 | 45 \fBtput\fP, \fBreset\fP \- initialize a terminal or query terminfo database 62 values of terminal-dependent capabilities and information available to 63 the shell (see \fBsh\fP(1)), to initialize or reset the terminal, or 64 return the long name of the requested terminal type. 78 (\fB0\fP for TRUE if the terminal has the capability, 107 indicates the \fItype\fP of terminal. 118 do not attempt to clear the terminal's scrollback buffer 123 The others are the names of \fIcapabilities\fP from the terminal database 129 indicates the capability from the terminal database. 135 Only a few terminal capabilitie [all...] |
/openbsd-src/gnu/usr.bin/texinfo/info/ |
H A D | terminal.h | 1 /* terminal.h -- The external interface to terminal I/O. 2 $Id: terminal.h,v 1.1.1.5 2006/07/17 16:03:44 espie Exp $ 28 /* For almost every function externally visible from terminal.c, there is 30 the functionality of the one found in terminal.c. This is how we go 33 /* The width and height of the terminal. */ 36 /* Non-zero means this terminal can't really do anything. */ 39 /* Non-zero means that this terminal has a meta key. */ 42 /* Non-zero means that this terminal can produce a visible bell. */ 48 /* Non-zero means that this terminal can scroll lines up and down. */ 51 /* Initialize the terminal which is known as TERMINAL_NAME. If this terminal [all …]
|
H A D | terminal.c | 1 /* terminal.c -- how to handle the physical terminal for Info. 2 $Id: terminal.c,v 1.8 2015/11/20 12:14:34 jca Exp $ 24 #include "terminal.h" 44 short ospeed; /* Terminal output baud rate */ 74 /* Terminal and Termcap */ 78 /* A buffer which holds onto the current terminal description, and a pointer 79 used to float within it. And the name of the terminal. */ 84 /* Some strings to control terminal actions. These are output by tputs (). */ 97 /* An audible bell, if the terminal can be made to make noise. */ 100 /* A visible bell, if the terminal can be made to flash the screen. */ [all …]
|
/openbsd-src/share/termtypes/ |
H A D | termcap.5 | 37 .Nd terminal capability database 57 The first entry for each terminal gives the names that are known for the 58 terminal, separated by `|' characters. 59 The first name given is the most common abbreviation for the terminal. 60 The last name given should be a long name fully identifying the terminal, 61 and all others are understood as synonyms for the terminal name. 66 Terminal names (except for the last, verbose entry) 68 The particular piece of hardware making up the terminal 117 .It am Ta bool Ta "" Ta "Terminal has automatic margins." 122 .It bs Ta bool Ta (o) Ta "Terminal can backspace with" [all …]
|
/openbsd-src/lib/libcurses/ |
H A D | term.7 | 41 term \- conventions for naming terminal types 44 the terminal, console or display-device type you are using. 54 Older UNIX systems pre-set a very dumb terminal type 65 terminal, or terminal emulator). 70 you can give it a set of rules for deducing or requesting a terminal type based 77 Terminal type descriptions are stored as files of capability data underneath 79 To browse a list of all terminal names recognized by the system, do 98 terminfo knows a terminal, 104 terminal type (it may contain blanks; the others must be single words). 106 fields between the first and last (if present) are aliases for the terminal, [all …]
|
H A D | curs_initscr.3 | 74 For multiple-terminal applications, 77 The initscr code determines the terminal type and initializes all \fBcurses\fP 85 A program that outputs to more than one terminal should use the \fBnewterm\fP 86 routine for each terminal instead of \fBinitscr\fP. 89 terminal cannot support a screen-oriented program, would also use 92 The routine \fBnewterm\fP should be called once for each terminal. 94 as a reference to that terminal. 97 the \fItype\fP of the terminal to be used in place of \fB$TERM\fP, 99 an output stream connected to the terminal, and 101 an input stream connected to the terminal [all …]
|
H A D | terminfo.3 | 72 \fBTERMINAL *cur_term;\fP 86 \fBTERMINAL *set_curterm(TERMINAL *\fInterm\fB);\fR 88 \fBint del_curterm(TERMINAL *\fIoterm\fB);\fR 129 directly with the \fBterminfo\fP database to handle certain terminal 146 low-level set of terminal-dependent variables 150 terminal capabilities either directly (via header definitions), 202 is the terminal type, a character string. 206 is the file descriptor used for getting and setting terminal I/O modes. 208 Higher-level applications use \fBnewterm\fP(3) for initializing the terminal, 227 means that the terminal is hardcopy, cannot be used for curses applications. [all …]
|
H A D | user_caps.5 | 62 terminfo databases used a \fIfixed repertoire\fP of terminal 63 capabilities designed for the SVr2 terminal database in 1984, 99 terminal databases for AIX, HP-UX or OSF/1, 103 the terminal database is defined at compile-time using a text file 104 which lists the different terminal capabilities. 108 The text-file used in ncurses for terminal capabilities includes 127 in the X11R6 terminal description for \fBxterm\fP(1). 128 The \fIbox1\fP capability is used in tic to help with terminal descriptions 135 for unanticipated terminal improvements 158 When compiling a terminal database, if \*(``\-x\*('' is set, [all …]
|
H A D | terminfo.5 | 63 terminfo \- terminal capability database 106 The resulting formatted terminal description can be read by \fBtic\fP. 108 The first field for each terminal gives the names which are known for the 109 terminal, separated by \*(``|\*('' characters. 111 The first name given is the most common abbreviation for the terminal 113 the last name given should be a long name fully identifying the terminal 115 and all others are treated as synonyms (aliases) for the primary terminal name. 133 Terminal names (except for the last, verbose entry) should 135 The particular piece of hardware making up the terminal should 163 For more on terminal namin [all...] |
H A D | curs_threads.3 | 116 terminal data, e.g., associated with a call to \fBset_curterm\fP. 117 The terminal data are initialized when screens are created. 183 can_change_color/terminal 193 cur_term/terminal 197 def_prog_mode/terminal 198 def_shell_mode/terminal 217 flash/terminal 240 has_colors/terminal 241 has_ic/terminal 242 has_il/terminal [all …]
|
H A D | curs_color.3 | 110 If a terminal is capable of redefining colors, the programmer can use the 114 depending on whether the terminal has color capabilities and whether the 187 the terminal can support. 190 the terminal can support. 201 and color-pairs the terminal can support). 207 It restores the colors on the terminal to the values 208 they had when the terminal was just turned on. 210 If the terminal supports the \fBinitc\fP (\fBinitialize_color\fP) capability, 215 The components depend on whether the terminal uses 226 (if the terminal supports more than eight colors) [all …]
|
/openbsd-src/bin/stty/ |
H A D | stty.1 | 41 .Nd set the options for a terminal device interface 50 utility sets or reports on terminal 56 the terminal state according to the specified arguments. 58 exclusive on some terminal types. 63 Display all the current settings for the terminal to standard output. 65 Display all the current settings for the terminal to standard output 73 Open and use the terminal named by 81 set or display settings on a terminal that might otherwise 84 Display all the current settings for the terminal to standard output 87 to restore the current terminal state. [all …]
|
/openbsd-src/gnu/llvm/lldb/include/lldb/Host/ |
H A D | Terminal.h | 1 //===-- Terminal.h ----------------------------------------------*- C++ -*-===// 20 class Terminal { 42 Terminal(int fd = -1) : m_fd(fd) {} in m_fd() 44 ~Terminal() = default; 75 int m_fd; // This may or may not be a terminal file descriptor 83 /// \class TerminalState Terminal.h "lldb/Host/Terminal.h" 84 /// A RAII-friendly terminal state saving/restoring class. 86 /// This class can be used to remember the terminal state for a file 90 /// Construct a new instance and optionally save terminal state. 93 /// The Terminal instance holding the file descriptor to save the state [all …]
|
/openbsd-src/gnu/usr.bin/binutils/gdb/testsuite/gdb.base/ |
H A D | term.exp | 56 gdb_test "info terminal" "No saved terminal information.*" "test info terminal" 60 gdb_test "info terminal" "No saved terminal information.*" "test info terminal #2" 63 fail "term.exp, factorial didn't run to completion for info terminal" 72 …gdb_test "info terminal" "Inferior's terminal status .currently saved by GDB.:.*" "info terminal a… 74 -re ".*$gdb_prompt $" { fail "info terminal at breakpoint" } 75 timeout { fail "(timeout) info terminal at breakpoint" }
|
/openbsd-src/libexec/getty/ |
H A D | gettytab.5 | 36 .Nd terminal configuration database 44 used to describe terminal lines. 45 The initial terminal login process 50 reconfiguration of terminal characteristics. 54 There is a default terminal class, 73 .It ap Ta bool Ta false Ta "Terminal uses any parity." 77 .It c2 Ta num Ta unused Ta "TTY control flags to leave terminal as." 88 .It ep Ta bool Ta false Ta "Terminal uses even parity." 99 .It ht Ta bool Ta false Ta "Terminal has real tabs." 102 .It i2 Ta num Ta unused Ta "TTY input flags to leave terminal as." [all …]
|
H A D | ttys.5 | 37 .Nd terminal initialization information 42 and control the use of terminal special files. 65 name of the terminal special file as it is found in 76 the start up for a window system terminal emulator or some other 79 The third field is the type of terminal usually connected to that 96 will maintain for the terminal line. 117 the terminal line. 118 Some of these flags may not be supported by a terminal line driver. 151 change the state of the device-specific terminal flags described above. 165 # Mike's terminal: hp2621 [all …]
|
/openbsd-src/usr.bin/tmux/ |
H A D | tty-features.c | 30 * - alternate escape (if terminal is VT100-like). 37 /* A named terminal feature. */ 44 /* Terminal has xterm(1) title setting. */ 56 /* Terminal has OSC 7 working directory. */ 68 /* Terminal has mouse support. */ 79 /* Terminal can set the clipboard with OSC 52. */ 90 /* Terminal supports OSC 8 hyperlinks. */ 102 * Terminal supports RGB colour. This replaces setab and setaf also since 120 /* Terminal supports 256 colours. */ 133 /* Terminal support [all...] |
/openbsd-src/gnu/llvm/lldb/tools/debugserver/source/ |
H A D | PseudoTerminal.cpp | 48 // Open the first available pseudo terminal with OFLAG as the 58 // Open the primary side of a pseudo terminal in OpenFirstAvailablePrimary() 64 // Grant access to the secondary pseudo terminal in OpenFirstAvailablePrimary() 70 // Clear the lock flag on the secondary pseudo terminal in OpenFirstAvailablePrimary() 79 // Open the secondary pseudo terminal for the current primary pseudo 80 // terminal. A primary pseudo terminal should already be valid prior to 90 // Open the primary side of a pseudo terminal in OpenSecondary() 104 // Get the name of the secondary pseudo terminal. A primary pseudo terminal 109 // NULL if no valid primary pseudo terminal or if ptsname() fails. 110 // The name of the secondary pseudo terminal as a NULL terminated C string [all …]
|
/openbsd-src/usr.bin/vi/cl/ |
H A D | cl.h | 23 struct termios orig; /* Original terminal values. */ 24 struct termios ex_enter;/* Terminal values to enter ex. */ 25 struct termios vi_enter;/* Terminal values to enter vi. */ 27 char *el; /* Clear to EOL terminal string. */ 28 char *cup; /* Cursor movement terminal string. */ 29 char *cuu1; /* Cursor up terminal string. */ 30 char *rmso, *smso; /* Inverse video terminal strings. */ 31 char *smcup, *rmcup; /* Terminal start/stop strings. */ 43 enum { /* Terminal initialization strings. */ 51 #define CL_STDIN_TTY 0x0020 /* Talking to a terminal. */
|
/openbsd-src/gnu/llvm/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 …]
|
/openbsd-src/lib/libcurses/tinfo/ |
H A D | lib_cur_term.c | 38 * TERMINAL *set_curterm(TERMINAL *) 39 * int del_curterm(TERMINAL *) 53 NCURSES_EXPORT(TERMINAL *) in NCURSES_EXPORT() argument 61 NCURSES_EXPORT(TERMINAL *) 68 NCURSES_EXPORT(TERMINAL *) 79 NCURSES_EXPORT_VAR(TERMINAL *) cur_term = 0; 82 NCURSES_EXPORT(TERMINAL *) 83 NCURSES_SP_NAME(set_curterm) (NCURSES_SP_DCLx TERMINAL *termp) in NCURSES_SP_NAME() 85 TERMINAL *oldterm; in NCURSES_SP_NAME() 125 NCURSES_EXPORT(TERMINAL *) [all …]
|