/illumos-gate/usr/src/cmd/mdb/tools/scripts/ |
H A D | tigen.sh | 48 echo "Usage: $PROGNAME -s skel -t termio [-v] term ..." >&2 97 for term in $termlist; do 98 tput -T $term init >/dev/null 2>&1 100 echo "`basename $0`: invalid terminal -- $term" >& 2 112 for term in $termlist; do 117 echo "# 1 \"dynamic $term data from tigen\"" 119 cterm=$(echo "$term" |tr '-' '_') 121 $verbose && echo "loading terminfo for $term ... \c" >& 2 130 data="\"`tput -T $term $attr | od -bv | 135 tput -T $term [all...] |
/illumos-gate/usr/src/cmd/lp/lib/lp/ |
H A D | tidbit.c | 129 char *term, member in struct:tidb 145 * tidbit ("term-type", "boolean-cap-name", &ushort) 146 * tidbit ("term-type", "numeric-cap-name", &short) 147 * tidbit ("term-type", "string-cap-name", &charstar) 148 * tidbit ("term-type", "any-cap-name", (char *)0) 191 char *term, 196 tidbit(term, cap, va_alist) 197 char *term, 215 if (!term) 217 term 190 tidbit( char *term, char *cap, ... ) argument [all...] |
/illumos-gate/usr/src/ucbcmd/stty/ |
H A D | sttyparse.c | 48 sttyparse(argc, argv, term, ocb, cb, termiox, winsize) 51 int term; /* type of tty device, -1 means allow all options, 75 if ((term & ASYNC) || term == -1) { 77 cb->c_cc[VERASE] = gct(*++argv, term); 79 cb->c_cc[VINTR] = gct(*++argv, term); 81 cb->c_cc[VQUIT] = gct(*++argv, term); 83 cb->c_cc[VEOF] = gct(*++argv, term); 87 cb->c_cc[VEOL] = gct(*++argv, term); 89 cb->c_cc[VEOL] = gct(*++argv, term); 342 int term = 0; local [all...] |
H A D | stty.c | 50 static int term; variable 98 if ((term = get_ttymode(i, 103 if (term & TERMIOS) { 127 if ((term = get_ttymode(i, 137 if ((term = get_ttymode(ioctl_desc, 168 term, &ocb, &cb, &termiox, &winsize)) { 174 term, &ocb, &cb, &stio, &termiox, &winsize, &owinsize) == -1) { 187 if (!(term & ASYNC)) { 219 if (term & ASYNC) { 221 if ((term [all...] |
/illumos-gate/usr/src/cmd/ttymon/ |
H A D | sttyparse.c | 65 static int gct(char *cp, int term); 69 sttyparse(int argc, char *argv[], int term, struct termio *ocb, argument 82 if (term & ASYNC) { 84 cb->c_cc[VERASE] = gct(*++argv, term); 86 cb->c_cc[VINTR] = gct(*++argv, term); 88 cb->c_cc[VQUIT] = gct(*++argv, term); 90 cb->c_cc[VEOF] = gct(*++argv, term); 95 cb->c_cc[VMIN] = gct(*++argv, term); 97 cb->c_cc[VEOL] = gct(*++argv, term); 99 cb->c_cc[VEOL2] = gct(*++argv, term); 336 gct(char *cp, int term) argument 367 int term = 0; local 420 set_ttymode(int fd, int term, struct termio *termio, struct termios *termios, struct stio *stermio, struct termiox *termiox, struct winsize *winsize, struct winsize *owinsize , struct eucioc *kwp, ldterm_cs_data_user_t *kcswp, int invalid_ldterm_dat_file ) argument [all...] |
H A D | stty.c | 74 static int term; variable 149 if ((term = get_ttymode(0, &ocb, &cb, &stio, &termiox, &winsize 203 if (s_arg = sttyparse(argc, argv, term, &ocb, &cb, &termiox, &winsize 223 if (set_ttymode(0, term, &ocb, &cb, &stio, &termiox, &winsize, &owinsize 239 if (!(term & ASYNC)) { 271 if (term & ASYNC) { 273 if ((term & TERMIOS) && cfgetispeed(&cb) != 0 && 280 if ((m&PAREXT) && (term & TERMIOS)) { 308 if (term & WINDOW) { 334 if (term [all...] |
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | terminfo.c | 34 struct terminfo term = variable in typeref:struct:terminfo 222 grub_putstr (grub_tparm (term.cursor_address, y, x)); 229 grub_putstr (grub_tparm (term.clear_screen)); 236 grub_putstr (grub_tparm (term.enter_standout_mode)); 243 grub_putstr (grub_tparm (term.exit_standout_mode)); 250 grub_memmove (&term, new, sizeof (struct terminfo)); 257 grub_memmove (copy, &term, sizeof (struct terminfo));
|
H A D | console.c | 22 #include <term.h>
|
/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | restart.c | 58 restartterm(char *term, int filenum, int *errret) argument 72 (void) setupterm(term, filenum, (int *) 0);
|
H A D | print.c | 136 pr_heading(char *term, char *synonyms) argument 150 if (term == (char *)0) 151 term = ""; 156 tail[1] = *term; 165 (void) sprintf(buffer, "%s%s%s", terminfo, tail, term); 167 (void) sprintf(buffer, "%s%s%s", _ULIBTI, tail, term); 183 "found in %s\n", term, _ULIBTI); 189 (void) sprintf(buffer, "%s%s%s", _ULIBTI, tail, term); 196 "found in %s or %s\n", term, _ULIBTI, 205 if (do_print && *term) { [all...] |
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | initscr.c | 52 202, "Unknown terminal \"%s\".\n", "E term" 56 "E term" 71 char *term, *err; local 123 if ((term = getenv("TERM")) == (char *) 0) 124 term = M_TERM_NAME; 126 (void) fprintf(stderr, m_strmsg(err), term);
|
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | initscr.c | 68 char *term, *err; local 120 if ((term = getenv("TERM")) == NULL) { 121 term = M_TERM_NAME; 124 (void) fprintf(stderr, err, term);
|
/illumos-gate/usr/src/ucblib/libcurses/ |
H A D | endwin.c | 31 #include <term.h>
|
H A D | initscr.c | 25 #include <term.h> 49 fprintf(outf, "INITSCR: term = %s\n", sp);
|
/illumos-gate/usr/src/lib/libxcurses/ |
H A D | Makefile | 47 $(NAMES) src/libc/xcurses/keyindex.c h/term.h 50 HDRS= h/term.h h/curses.h h/unctrl.h 68 # still need to implement cstyle check of term.h 81 h/term.h : src/libc/xcurses/mkterm.awk src/libc/xcurses/caps 83 cd src/libc/xcurses; $(AWK) -f mkterm.awk caps > term.h 84 $(MV) src/libc/xcurses/term.h h/term.h
|
/illumos-gate/usr/src/lib/libxcurses2/ |
H A D | Makefile | 47 $(NAMES) src/libc/xcurses/keyindex.c h/term.h 50 HDRS= h/term.h h/curses.h h/unctrl.h 74 # still need to implement cstyle check of term.h 89 h/term.h : src/libc/xcurses/mkterm.awk src/libc/xcurses/caps 91 cd src/libc/xcurses; $(AWK) -f mkterm.awk caps > term.h 92 $(MV) src/libc/xcurses/term.h h/term.h
|
/illumos-gate/usr/src/cmd/oawk/ |
H A D | awk.g.y | 136 | INDIRECT term { $$ = op1(INDIRECT, $2); } 159 term: label 183 | term '+' term { $$ = op2(ADD, $1, $3); } 184 | term '-' term { $$ = op2(MINUS, $1, $3); } 185 | term '*' term { $$ = op2(MULT, $1, $3); } 186 | term '/' term { [all...] |
/illumos-gate/usr/src/cmd/awk/ |
H A D | awk.g.y | 76 %type <p> pas pattern ppattern plist pplist patlist prarg term 226 | ppattern term %prec CAT { $$ = op2(CAT, $1, $2); } 229 | term 258 | pattern term %prec CAT { $$ = op2(CAT, $1, $2); } 261 | term 300 print prarg '|' term { $$ = stat3($1, $2, (Node *) $3, $4); } 301 | print prarg APPEND term { $$ = stat3($1, $2, (Node *) $3, $4); } 302 | print prarg GT term { $$ = stat3($1, $2, (Node *) $3, $4); } 345 term: label 346 term ' [all...] |
/illumos-gate/usr/src/lib/libcurses/ |
H A D | Makefile | 48 screen/term.h 51 HDRS= curses.h term.h unctrl.h 62 # term.h doesn't pass cstyle due to numerous lines exceeding the 80 character 66 screen/term.check := CSTYLE_TAIL = | grep -v "line > 80 characters" | true 109 screen/term.h: screen/maketerm.ed 118 screen/tmp/term.h.new1 \ 119 screen/tmp/term.h.new2
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | mandoc.c | 44 char term; local 66 term = '\0'; 80 term = ']'; 87 term = '\''; 132 term = ']'; 158 term = **start; 179 term = **start; 220 term = ']'; 224 term = '\''; 257 if ('\0' != term) { [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/ |
H A D | gram.y | 33 %term EQUAL 1 34 %term LP 2 35 %term RP 3 36 %term SM 4 37 %term ARROW 5 38 %term COLON 6 39 %term DCOLON 7 40 %term NAME 8 41 %term STRING 9 42 %term INSTAL [all...] |
/illumos-gate/usr/src/lib/libast/common/regex/ |
H A D | regcoll.c | 151 int term; local 157 else if ((term = *s++) != '.' && term != '=') 162 else if (*s == term && *(s + 1) == ']') 170 if (*s == term && *(s + 1) == ']') 193 if (c == term) 197 if (c != term) 288 else if (*s++ != term || *s++ != ']')
|
/illumos-gate/usr/src/tools/cscope-fast/ |
H A D | invlib.h | 75 unsigned char size; /* size of term */ 97 extern int invterm(INVCONTROL *invcntl, char *term);
|
H A D | mouse.c | 53 char *s, *term; local 55 if ((term = getenv("TERM")) == NULL) { 58 if (strcmp(term, "emacsterm") == 0 || strcmp(term, "viterm") == 0) {
|
/illumos-gate/usr/src/cmd/tabs/ |
H A D | tabs.c | 45 #include <term.h> 128 static int getmarg(char *term); 477 getmarg(char *term) argument 479 if (strncmp(term, "1620", 4) == 0 || 480 strncmp(term, "1700", 4) == 0 || strncmp(term, "450", 3) == 0) 482 else if (strncmp(term, "300s", 4) == 0) 484 else if (strncmp(term, "4000a", 5) == 0) 486 else if (strcmp(term, "43") == 0) 488 else if (strcmp(term, "tn30 [all...] |