HomeSort by: relevance | last modified time | path
    Searched defs:term (Results 1 - 25 of 37) sorted by relevancy

1 2

  /src/lib/libc/termios/
tcflow.c 56 struct termios term; local
68 if (tcgetattr(fd, &term) == -1)
70 c = term.c_cc[action == TCIOFF ? VSTOP : VSTART];
  /src/lib/libcurses/
acs.c 60 unsigned char acs, term; local
101 if (t_acs_chars(screen->term) == NULL)
104 aofac = t_acs_chars(screen->term);
109 if ((term = *++aofac) == '\0')
113 _acs_char[acs] = term | __ALTCHARSET;
115 __CTRACE(__CTRACE_INIT, "__init_acs: %c = %c\n", acs, term);
118 if (t_ena_acs(screen->term) != NULL)
119 ti_puts(screen->term, t_ena_acs(screen->term), 0,
147 unsigned char acs, term; local
    [all...]
newwin.c 392 TERMINAL *term = win->screen->term; local
404 t_auto_right_margin(term) &&
405 !(t_insert_character(term) != NULL ||
406 t_parm_ich(term) != NULL ||
407 (t_enter_insert_mode(term) != NULL &&
408 t_exit_insert_mode(term) != NULL)))
  /src/tests/lib/libc/ttyio/
t_ttyio.c 82 struct termios term; local
91 memset(&term, 0, sizeof(term));
92 term.c_iflag = TTYDEF_IFLAG;
93 term.c_oflag = TTYDEF_OFLAG;
94 term.c_cflag = TTYDEF_CFLAG;
95 term.c_lflag = TTYDEF_LFLAG;
96 cfsetspeed(&term, TTYDEF_SPEED);
99 REQUIRE_ERRNO(openpty(&m, &s, name, &term, NULL), -1);
145 if (tcsetattr(s, TCSADRAIN, &term) == -1)
    [all...]
  /src/usr.bin/env/
env.c 61 char **ep, term; local
68 term = '\n';
72 term = '\0';
110 (void)printf("%s%c", *ep, term);
  /src/usr.bin/newgrp/
newgrp.c 150 char *term; local
158 term = getenv("TERM");
174 if (term != NULL)
175 (void)setenv("TERM", term, 1);
  /src/usr.bin/who/
utmpentry.h 53 uint16_t term; member in struct:utmpentry
  /src/usr.bin/tput/
tput.c 54 #include <term.h>
64 char *term; local
68 term = NULL;
72 term = optarg;
81 if (!term && !(term = getenv("TERM")))
82 errx(2, "No terminal type specified and no TERM "
84 setupterm(term, 0, NULL);
192 "Usage: %s [-T term] attribute [attribute-args] ...\n"
    [all...]
  /src/games/banner/
banner.c 1025 static int debug, linen, max, nchars, pc, term, trace; variable
1133 term = 0;
1136 while (!term) {
1143 printf("pc=%d, term=%d, max=%d, linen=%d, x=%d",
1144 pc,term,max,linen,x);
1148 if (x>192) term++;
  /src/sys/compat/common/
tty_43.c 151 struct termios term; local
155 term = tp->t_termios;
157 term.c_ispeed = speed;
159 term.c_ispeed = compatspcodes[speed];
161 term.c_ospeed = speed;
163 term.c_ospeed = compatspcodes[speed];
164 term.c_cc[VERASE] = sg->sg_erase;
165 term.c_cc[VKILL] = sg->sg_kill;
167 ttcompatsetflags(tp, &term);
170 (void *)&term, flag, l))
222 struct termios term; local
    [all...]
  /src/usr.bin/tabs/
tabs.c 49 #include <term.h>
85 char *term, *arg, *token, *end, *tabs = NULL, *p; local
92 term = getenv("TERM");
124 term = argv[++i];
125 if (term == NULL)
176 if (term == NULL)
177 errx(EXIT_FAILURE, "no value for $TERM and -T not given");
178 if (setupterm(term, STDOUT_FILENO, NULL) != 0)
208 term = getenv("COLUMNS")
    [all...]
  /src/sys/arch/acorn32/podulebus/
ptscreg.h 49 vu_char *term; member in struct:ptsc_regmap
coscreg.h 52 vu_char *term; member in struct:cosc_regmap
  /src/sys/dev/ic/
dw_hdmi.h 55 uint32_t term; member in struct:dwhdmi_phy_config
  /src/tests/lib/libcurses/director/
director.c 109 "[-T terminfo-file] [-s pathtoslave] [-t term] "
118 fprintf(stderr, " -t is value to set TERM to for the test\n");
130 const char *termpath, *term, *slave; local
139 termpath = term = slave = NULL;
159 term = optarg;
188 if (term == NULL)
189 term = DEF_TERM;
200 if (setenv("TERM", term, 1) != 0)
201 err(2, "Failed to set TERM variable")
    [all...]
  /src/usr.sbin/rtadvd/
advcap.c 403 char term; local
405 term = ':';
409 term = '"';
412 while ((c = *str++) && c != term) {
440 if (c == term && term != ':') {
441 term = ':';
  /src/distrib/utils/more/
screen.c 245 char *term; local
259 if ((term = getenv("TERM")) == NULL)
260 term = "unknown";
261 if (tgetent(termbuf, term) <= 0)
  /src/games/hunt/hunt/
hunt.c 134 char *term; local
272 if (!isatty(0) || (term = getenv("TERM")) == NULL)
  /src/games/warp/
term.h 1 /* Header: term.h,v 7.0.1.2 86/12/12 17:05:15 lwall Exp */
3 /* Log: term.h,v
89 EXT char term[12]; variable
  /src/lib/libskey/
skeysubr.c 490 static struct termios term; local
495 (void) tcgetattr(fileno(stdin), &term); local
496 if ((echo = (term.c_lflag & ECHO)) != 0) {
497 term.c_lflag &= ~ECHO;
498 (void) tcsetattr(fileno(stdin), TCSAFLUSH|TCSASOFT, &term); local
502 term.c_lflag |= ECHO;
503 (void) tcsetattr(fileno(stdin), TCSAFLUSH|TCSASOFT, &term); local
  /src/usr.bin/infocmp/
infocmp.c 41 #include <term.h>
438 name = getenv("TERM");
495 find_userdef(TERMINAL *term, const char *id)
499 for (i = 0; i < term->_nuserdefs; i++)
500 if (strcmp(term->_userdefs[i].id, id) == 0)
501 return &term->_userdefs[i];
506 use_terms(TERMINAL *term, size_t nuse, char **uterms)
514 if (strcmp(term->name, *uterms) == 0)
530 if (term->flags[i] == terms[j]->flags[i])
537 term->flags[i] = ABSENT_BOOLEAN
646 char *term, *Barg; local
    [all...]
  /src/usr.bin/login/
common.c 80 char term[64], *envinit[1], *hostname, *tty, *nested; variable
  /src/usr.bin/seq/
seq.c 113 const char *term = "\n"; local
139 term = unescape(optarg);
236 if (term != NULL)
237 fputs(term, stdout);
  /src/bin/sh/
histedit.c 134 char *term; local
156 * But libedit calls getenv() to discover TERM
159 * so we need to make sure that TERM in there is
162 * This sequence copies TERM from the shell into
165 term = lookupvar("TERM");
166 if (term)
167 setenv("TERM", term, 1);
169 unsetenv("TERM");
    [all...]
  /src/sys/arch/sparc64/dev/
pcf8591_envctrl.c 123 u_char term[256]; local
137 if ((len = OF_getprop(node, "thermisters", term,
138 sizeof(term))) < 0) {
154 cp = term;
155 while (cp < term + len) {
164 while (cp < term + len && *cp++);

Completed in 58 milliseconds

1 2