Lines Matching defs:termcap
181 to be interpeted with its termcap or terminfo meaning since almost
183 the stack and termcap strings will never push things on the stack
184 (%p isn't used by termcap). So where we have a choice we make the
186 The static variable termcap keeps track of this; it starts out set
187 to 1 and is incremented as each argument processed by a termcap % code,
190 of putting it is that if termcap equals one we haven't decided either
192 its greater than 1 we're looking for termcap codes.
251 (GNU) used by GNU Emacs termcap libraries
252 (UW) used by the University of Waterloo (MFCF) termcap libraries
259 static int termcap;
280 termcap = 1;
325 if (!termcap)
341 if (getarg (termcap - 1, INTEGER, &i))
354 if (!termcap)
358 if (getarg (termcap - 1, INTEGER, &i))
370 && getarg (termcap - 1 + sp[2] - '@', INTEGER, &val))
407 arg_list[termcap - 1].integer = val;
414 arg_list[termcap - 1].integer = c + i;
422 if (!termcap)
436 if (termcap && (fmt == NULL || *sp == '-'))
439 if (getarg (termcap - 1, INTEGER, &i))
446 arg_list[termcap - 1].integer = c - i;
452 if (!termcap)
456 if (termcap && fmt == NULL)
460 if (termcap && fmt == NULL)
464 if (termcap && fmt == NULL)
468 if (termcap && fmt == NULL)
477 if (termcap)
506 if (termcap)
508 if (getarg (termcap++ - 1, INTEGER, &i))
532 if (!termcap || getarg (1, INTEGER, &i))
552 if (!termcap || getarg (1, INTEGER, &i))
560 if (!termcap)
573 if (getarg (termcap-1, INTEGER, &i))
581 arg_list[termcap-1].integer += c;
592 if (!termcap || getarg (termcap-1, INTEGER, &i))
594 arg_list[termcap-1].integer = 16 * (i / 10) + i % 10;
601 if (!termcap || getarg (termcap-1, INTEGER, &i))
603 arg_list[termcap-1].integer = i - 2 * (i % 16);
608 if (termcap > 1)
619 termcap = 0;
623 if (termcap || *++sp == '\0')
643 if (termcap || *++sp == '\0')
663 if (termcap > 1)
673 termcap = 0;
676 if (termcap > 1)
687 termcap = 0;
693 if (termcap || popstring (&s))
704 if (termcap || popnum (&j) || popnum (&i))
715 if (termcap || popnum (&j) || popnum (&i))
724 if (termcap)
844 if (termcap > 1)
846 termcap = 0;
876 if (--termcap < 1)
881 if (!termcap++)