/titanic_51/usr/src/cmd/lp/lib/lp/ |
H A D | tidbit.c | 129 char *term, member 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, in tidbit() argument 196 tidbit(term, cap, va_alist) in tidbit() 197 char *term, in tidbit() 215 if (!term) 217 term 403 untidbit(char * term) untidbit() argument 433 open_terminfo_file(char * terminfo,char * term) open_terminfo_file() argument [all...] |
/titanic_51/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); 312 gct(cp,term) gct() argument 342 int term = 0; global() local 374 set_ttymode(fd,term,termio,termios,stermio,termiox,winsize,owinsize) set_ttymode() argument 417 encode(cb,term) encode() argument [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 in prmodes() [all...] |
/titanic_51/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...] |
/titanic_51/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) global() argument 367 int term = 0; global() 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) global() argument 504 parse_encoded(struct termios * cb,ldterm_cs_data_user_t * kcswp,int term) global() argument [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 in prmodes() [all...] |
/titanic_51/usr/src/contrib/ast/src/lib/libast/regex/ |
H A D | regcoll.c | 50 int term; in regcollate() local 55 if (size < 2 || (term = *s) != '.' && term != '=' || !*++s || *s == term && *(s + 1) == ']') in regcollate() 61 if (*s++ != term || *s++ != ']') in regcollate() 65 if (*s == term && *(s + 1) == ']') in regcollate() 77 if (c == term) in regcollate() 81 if (c != term) in regcollate()
|
/titanic_51/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 { [all...] |
/titanic_51/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 ' [all...] |
/titanic_51/usr/src/lib/libcurses/screen/ |
H A D | maketerm.ed | 2 !rm -f bool num str boolnames numnames strnames boolvals numvals strvals tnames.c tinames.c tifnames.c term.h ./tmp/term.h.new ./tmp/tmp.awk ./tmp/term.h 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 [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) > in setupterm() [all...] |
/titanic_51/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_51/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...] |
/titanic_51/usr/src/cmd/mandoc/ |
H A D | mandoc.c | 46 char term; in mandoc_escape() local 68 term = '\0'; in mandoc_escape() 82 term = ']'; in mandoc_escape() 89 term = '\''; in mandoc_escape() 140 term = ']'; in mandoc_escape() 171 term = **start; in mandoc_escape() 198 term = **start; in mandoc_escape() 239 term = ']'; in mandoc_escape() 243 term = '\''; in mandoc_escape() 278 if ('\0' != term) { in mandoc_escape() [all...] |
/titanic_51/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
|
/titanic_51/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
|
/titanic_51/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 [all...] |
/titanic_51/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; 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_51/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_51/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_51/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
|
/titanic_51/usr/src/cmd/tabs/ |
H A D | tabs.c | 45 #include <term.h> 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, "tn30 in getmarg() [all...] |
/titanic_51/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_51/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()
|