Searched defs:terminal (Results 1 - 12 of 12) sorted by relevance

/illumos-gate/usr/src/lib/libcurses/screen/
H A Ddelterm.c50 * Relinquish the storage associated with "terminal".
57 delterm(TERMINAL *terminal) argument
59 if (!terminal)
61 (void) delkeymap(terminal);
62 if (terminal->_check_fd >= 0)
63 (void) close(terminal->_check_fd);
65 if (terminal->_pairs_tbl)
66 free(terminal->_pairs_tbl);
67 if (terminal->_color_tbl)
68 free(terminal
[all...]
H A D_del_curterm.c49 del_curterm(TERMINAL *terminal) argument
51 return (delterm(terminal));
H A Ddelkeymap.c44 delkeymap(TERMINAL *terminal) argument
47 int numkeys = terminal->_ksz;
50 for (kpp = terminal->_keys; numkeys-- > 0; kpp++) {
56 if (terminal->_keys != NULL) {
57 free(terminal->_keys);
58 if (terminal->internal_keys != NULL)
59 free(terminal->internal_keys);
61 _blast_keys(terminal);
H A Dsetupterm.c70 char *Def_term = "unknown", /* default terminal type */
221 * and read it in. Parms are terminal type (0 means use getenv("TERM"),
303 * if the length of the specified terminal name is longer
651 * or backtab, even if the terminal has them, since the
765 _blast_keys(TERMINAL *terminal) argument
767 terminal->_keys = NULL;
768 terminal->internal_keys = NULL;
769 terminal->_ksz = terminal->_first_macro = 0;
770 terminal
[all...]
/illumos-gate/usr/src/lib/libcmd/common/
H A Drm.c35 " standard input is a terminal, and the \b--force\b option is not"
91 int terminal; /* attached to terminal */ member in struct:State_s
265 else if (!state->force && state->terminal && S_ISREG(ent->fts_statp->st_mode))
350 state.terminal = isatty(0);
/illumos-gate/usr/src/cmd/write/
H A Dwrite.c81 static FILE *fp; /* File pointer for receipient's terminal */
82 static char *rterm, *receipient; /* Pointer to receipient's terminal & name */
95 char *terminal, *ownterminal, *oterminal; local
122 gettext("user_name [terminal]"));
129 /* Set "rterm" to location where receipient's terminal will go. */
132 terminal = NULL;
136 gettext("user_name [terminal]"));
144 /* Was a terminal name supplied? If so, save it. */
148 gettext("user_name [terminal]"));
151 terminal
[all...]
/illumos-gate/usr/src/cmd/backup/restore/
H A Dmain.c64 FILE *terminal; variable
/illumos-gate/usr/src/cmd/tabs/
H A Dtabs.c34 * set tabs (and margin, if +mn), for terminal type
113 static char *terminal = ""; variable
193 terminal = *++argv;
197 terminal = scan+2;
252 if (*terminal == '\0') {
253 if ((terminal = getenv("TERM")) == (char *)NULL ||
254 *terminal == '\0') {
259 terminal = "ansi+tabs";
262 if (setupterm(terminal, 1, &err) == ERR) {
264 "tabs: %s: terminfo file not found\n"), terminal);
[all...]
/illumos-gate/usr/src/lib/libshell/common/edit/
H A Demacs.c75 #include "terminal.h"
116 CRT=0, /* Crt terminal */
117 PAPER /* Paper terminal */
118 } terminal; member in struct:_emacs_
579 if (ep->terminal == PAPER)
590 if (ep->terminal == PAPER)
591 ep->terminal = CRT;
594 ep->terminal = PAPER;
/illumos-gate/usr/src/lib/libpp/common/
H A Dpplib.h210 int terminal; /* terminal states */ member in struct:counter
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dufs_panic.c204 unsigned terminal:1; /* no action req. if found */ member in struct:uf_state_desc::uf_state_desc_attr
1134 * retry == 0; nothing more to do (terminal state)
1149 s->ud_attr.terminal ? " old" : "",
1152 if (s->ud_attr.terminal) {
2090 HIDEOUS((": %sterminal] ", s->ud_attr.terminal? "": "not "));
2091 return ((int)s->ud_attr.terminal);
2545 * returns # of ufs_failures in a non-terminal state on queue
2573 if (s->ud_attr.terminal) {
/illumos-gate/usr/src/cmd/login/
H A Dlogin.c335 static char terminal[MAXPATHLEN]; variable
1372 SCPYL(terminal, argv[optind]);
1449 SCPYL(terminal, optarg);
1529 "\t[-t terminal] [-u identity] [-U ruser]\n"
1530 "\t[-h hostname [terminal] | -r hostname] [name [environ]...]\n");
1535 * doremoteterm - Sets the appropriate ioctls for a remote terminal
1594 if (!tflag && !strlen(terminal))
1595 getstr(terminal, sizeof (terminal), "Terminal type");
1597 if (strlen(terminal))
[all...]

Completed in 85 milliseconds