/titanic_41/usr/src/cmd/lp/lib/lp/ |
H A D | tidbit.c | 129 char *term, member 191 char *term, in tidbit() argument 196 tidbit(term, cap, va_alist) in tidbit() 197 char *term, in tidbit() 215 if (!term) 217 term = last_term; 219 term = getenv("TERM"); 220 if (!term || !*term) 221 term = NAME_UNKNOWN; 223 if (term != last_term) { [all …]
|
/titanic_41/usr/src/ucbcmd/stty/ |
H A D | sttyparse.c | 48 sttyparse(argc, argv, term, ocb, cb, termiox, winsize) in sttyparse() argument 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); 91 cb->c_cc[VEOL2] = gct(*++argv, term); [all …]
|
H A D | stty.c | 50 static int term; variable 98 if ((term = get_ttymode(i, in main() 103 if (term & TERMIOS) { in main() 127 if ((term = get_ttymode(i, in main() 137 if ((term = get_ttymode(ioctl_desc, in main() 168 term, &ocb, &cb, &termiox, &winsize)) { in main() 174 term, &ocb, &cb, &stio, &termiox, &winsize, &owinsize) == -1) { in main() 187 if (!(term & ASYNC)) { in prmodes() 219 if (term & ASYNC) { in prmodes() 221 if ((term & TERMIOS) && cfgetispeed(&cb) != 0 && in prmodes() [all …]
|
/titanic_41/usr/src/cmd/mdb/tools/scripts/ |
H A D | tigen.sh | 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 $attr 139 data=`tput -T $term $attr` [all …]
|
/titanic_41/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); [all …]
|
H A D | stty.c | 74 static int term; variable 149 if ((term = get_ttymode(0, &ocb, &cb, &stio, &termiox, &winsize in main() 203 if (s_arg = sttyparse(argc, argv, term, &ocb, &cb, &termiox, &winsize in main() 223 if (set_ttymode(0, term, &ocb, &cb, &stio, &termiox, &winsize, &owinsize in main() 239 if (!(term & ASYNC)) { in prmodes() 271 if (term & ASYNC) { in prmodes() 273 if ((term & TERMIOS) && cfgetispeed(&cb) != 0 && in prmodes() 280 if ((m&PAREXT) && (term & TERMIOS)) { in prmodes() 308 if (term & WINDOW) { in prmodes() 334 if (term & TERMIOS) { in prmodes() [all …]
|
/titanic_41/usr/src/cmd/ssh/libopenbsd-compat/common/ |
H A D | readpassphrase.c | 62 struct termios term, oterm; in readpassphrase() local 108 memcpy(&term, &oterm, sizeof(term)); in readpassphrase() 110 term.c_lflag &= ~(ECHO | ECHONL); in readpassphrase() 112 if (term.c_cc[VSTATUS] != _POSIX_VDISABLE) in readpassphrase() 113 term.c_cc[VSTATUS] = _POSIX_VDISABLE; in readpassphrase() 115 (void)tcsetattr(input, _T_FLUSH, &term); in readpassphrase() 117 memset(&term, 0, sizeof(term)); in readpassphrase() 118 term.c_lflag |= ECHO; in readpassphrase() 141 if (!(term.c_lflag & ECHO)) in readpassphrase() 145 if (memcmp(&term, &oterm, sizeof(term)) != 0) in readpassphrase()
|
/titanic_41/usr/src/cmd/oawk/ |
H A D | awk.g.y | 136 | INDIRECT term { $$ = op1(INDIRECT, $2); } 159 term: 183 | term '+' term { $$ = op2(ADD, $1, $3); } 184 | term '-' term { $$ = op2(MINUS, $1, $3); } 185 | term '*' term { $$ = op2(MULT, $1, $3); } 186 | term '/' term { $$ = op2(DIVIDE, $1, $3); } 187 | term '%' term { $$ = op2(MOD, $1, $3); } 188 | '-' term %prec QUEST { $$ = op1(UMINUS, $2); } 189 | '+' term %prec QUEST { $$ = $2; } 198 term [all …]
|
/titanic_41/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: 346 term '+' term { $$ = op2(ADD, $1, $3); } [all …]
|
/titanic_41/usr/src/lib/libcurses/screen/ |
H A D | maketerm.ed | 2 …lvals numvals strvals tnames.c tinames.c tifnames.c term.h ./tmp/term.h.new ./tmp/tmp.awk ./tmp/te… 228 w ./tmp/term.h.new 229 e ./tmp/term.h.new 231 w ./tmp/term.h.new 243 w ./tmp/term.h.new2 254 e ./tmp/term.h.new2 256 w ./tmp/term.h.new1 257 e ./tmp/term.h.new1 258 $r ./tmp/term.h.new 259 w ./tmp/term.h.new [all …]
|
H A D | print.c | 136 pr_heading(char *term, char *synonyms) in pr_heading() argument 150 if (term == (char *)0) in pr_heading() 151 term = ""; in pr_heading() 156 tail[1] = *term; in pr_heading() 165 (void) sprintf(buffer, "%s%s%s", terminfo, tail, term); in pr_heading() 167 (void) sprintf(buffer, "%s%s%s", _ULIBTI, tail, term); in pr_heading() 183 "found in %s\n", term, _ULIBTI); in pr_heading() 189 (void) sprintf(buffer, "%s%s%s", _ULIBTI, tail, term); in pr_heading() 196 "found in %s or %s\n", term, _ULIBTI, in pr_heading() 205 if (do_print && *term) { in pr_heading() [all …]
|
H A D | setupterm.c | 229 setupterm(char *term, int filenum, int *errret) in setupterm() argument 246 if (term == NULL) in setupterm() 247 term = getenv("TERM"); in setupterm() 249 if (term == NULL || *term == '\0') in setupterm() 250 term = Def_term; in setupterm() 261 "%s/%c/%s", cp, *term, term) >= sizeof (fname)) { in setupterm() 277 "%s/%c/%s", TERMPATH, *term, term) >= sizeof (fname)) { in setupterm() 307 (void) strncpy(term_parm_err, term, 31); in setupterm() 429 (void) strncpy(cur_term->_termname, term, 14); in setupterm()
|
/titanic_41/usr/src/grub/grub-0.97/stage2/ |
H A D | terminfo.c | 34 struct terminfo term = variable 222 grub_putstr (grub_tparm (term.cursor_address, y, x)); in ti_cursor_address() 229 grub_putstr (grub_tparm (term.clear_screen)); in ti_clear_screen() 236 grub_putstr (grub_tparm (term.enter_standout_mode)); in ti_enter_standout_mode() 243 grub_putstr (grub_tparm (term.exit_standout_mode)); in ti_exit_standout_mode() 250 grub_memmove (&term, new, sizeof (struct terminfo)); in ti_set_term() 257 grub_memmove (copy, &term, sizeof (struct terminfo)); in ti_get_term()
|
/titanic_41/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 INSTALL 10 [all …]
|
/titanic_41/usr/src/cmd/mandoc/ |
H A D | mandoc.c | 47 char term; in mandoc_escape() local 69 term = '\0'; in mandoc_escape() 91 term = ']'; in mandoc_escape() 101 term = '\''; in mandoc_escape() 152 term = ']'; in mandoc_escape() 185 term = '\''; in mandoc_escape() 209 term = '\''; in mandoc_escape() 249 term = ']'; in mandoc_escape() 253 term = '\''; in mandoc_escape() 280 if ('\0' != term) { in mandoc_escape() [all …]
|
/titanic_41/usr/src/lib/libxcurses/ |
H A D | Makefile | 46 $(NAMES) src/libc/xcurses/keyindex.c h/term.h 49 HDRS= h/term.h h/curses.h h/unctrl.h 80 h/term.h : src/libc/xcurses/mkterm.awk src/libc/xcurses/caps 82 cd src/libc/xcurses; $(NAWK) -f mkterm.awk caps > term.h 83 $(MV) src/libc/xcurses/term.h h/term.h
|
/titanic_41/usr/src/lib/libxcurses2/ |
H A D | Makefile | 46 $(NAMES) src/libc/xcurses/keyindex.c h/term.h 49 HDRS= h/term.h h/curses.h h/unctrl.h 88 h/term.h : src/libc/xcurses/mkterm.awk src/libc/xcurses/caps 90 cd src/libc/xcurses; $(NAWK) -f mkterm.awk caps > term.h 91 $(MV) src/libc/xcurses/term.h h/term.h
|
/titanic_41/usr/src/cmd/vi/port/ |
H A D | port.mk.usg | 112 $(INC)/term.h ex_tune.h ex_vars.h \ 119 $(INC)/term.h ex_tune.h ex_vars.h \ 126 $(INC)/term.h ex_tune.h ex_vars.h \ 133 $(INC)/term.h ex_tune.h ex_vars.h \ 140 $(INC)/term.h ex_tune.h ex_vars.h \ 147 $(INC)/term.h ex_tune.h \ 154 $(INC)/term.h ex_tune.h ex_vars.h \ 161 $(INC)/term.h ex_tune.h \ 168 $(INC)/term.h ex_tune.h ex_vars.h \ 175 $(INC)/term.h ex_tune.h \ [all …]
|
/titanic_41/usr/src/lib/libast/common/regex/ |
H A D | regcoll.c | 151 int term; in regcollate() local 157 else if ((term = *s++) != '.' && term != '=') in regcollate() 162 else if (*s == term && *(s + 1) == ']') in regcollate() 170 if (*s == term && *(s + 1) == ']') in regcollate() 193 if (c == term) in regcollate() 197 if (c != term) in regcollate() 288 else if (*s++ != term || *s++ != ']') in regcollate()
|
/titanic_41/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | initscr.c | 71 char *term, *err; in initscr() local 123 if ((term = getenv("TERM")) == (char *) 0) in initscr() 124 term = M_TERM_NAME; in initscr() 126 (void) fprintf(stderr, m_strmsg(err), term); in initscr()
|
/titanic_41/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | initscr.c | 68 char *term, *err; in initscr() local 120 if ((term = getenv("TERM")) == NULL) { in initscr() 121 term = M_TERM_NAME; in initscr() 124 (void) fprintf(stderr, err, term); in initscr()
|
/titanic_41/usr/src/lib/libcurses/ |
H A D | Makefile | 48 screen/term.h 51 HDRS= curses.h term.h unctrl.h 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
|
/titanic_41/usr/src/cmd/tabs/ |
H A D | tabs.c | 128 static int getmarg(char *term); 477 getmarg(char *term) in getmarg() argument 479 if (strncmp(term, "1620", 4) == 0 || in getmarg() 480 strncmp(term, "1700", 4) == 0 || strncmp(term, "450", 3) == 0) in getmarg() 482 else if (strncmp(term, "300s", 4) == 0) in getmarg() 484 else if (strncmp(term, "4000a", 5) == 0) in getmarg() 486 else if (strcmp(term, "43") == 0) in getmarg() 488 else if (strcmp(term, "tn300") == 0 || strcmp(term, "tn1200") == 0) in getmarg()
|
/titanic_41/usr/src/cmd/eqn/ |
H A D | e.y | 35 %term CONTIG QTEXT SPACE THIN TAB 36 %term MATRIX LCOL CCOL RCOL COL 37 %term MARK LINEUP 38 %term SUM INT PROD UNION INTER 39 %term LPILE PILE CPILE RPILE ABOVE 40 %term DEFINE TDEFINE NDEFINE DELIM GSIZE GFONT INCLUDE
|
/titanic_41/usr/src/tools/cscope-fast/ |
H A D | mouse.c | 53 char *s, *term; in initmouse() local 55 if ((term = getenv("TERM")) == NULL) { in initmouse() 58 if (strcmp(term, "emacsterm") == 0 || strcmp(term, "viterm") == 0) { in initmouse()
|