/dragonfly/lib/libvgl/ |
H A D | keyboard.c | 46 static struct termios term; in VGLKeyboardInit() local 51 term = VGLKeyboardTty; in VGLKeyboardInit() 52 cfmakeraw(&term); in VGLKeyboardInit() 53 term.c_iflag = IGNPAR | IGNBRK; in VGLKeyboardInit() 54 term.c_oflag = 0; in VGLKeyboardInit() 55 term.c_cflag = CREAD | CS8; in VGLKeyboardInit() 57 term.c_cc[VTIME] = 0; in VGLKeyboardInit() 58 term.c_cc[VMIN] = 0; in VGLKeyboardInit() 59 cfsetispeed(&term, 9600); in VGLKeyboardInit() 60 cfsetospeed(&term, 9600); in VGLKeyboardInit() [all …]
|
/dragonfly/usr.bin/tip/ |
H A D | acucommon.c | 78 struct termios term; in acu_getspeed() local 79 tcgetattr (FD, &term); in acu_getspeed() 80 return (term.c_ospeed); in acu_getspeed() 87 struct termios term; in acu_setspeed() local 88 if (tcgetattr (FD, &term) == 0) { in acu_setspeed() 89 cfsetspeed (&term, speed); in acu_setspeed() 90 if (tcsetattr (FD, TCSANOW, &term) == 0) in acu_setspeed() 99 struct termios term; in acu_hupcl() local 100 tcgetattr (FD, &term); in acu_hupcl() 101 term.c_cflag |= HUPCL; in acu_hupcl() [all …]
|
/dragonfly/lib/libc/gen/ |
H A D | readpassphrase.c | 48 struct termios term, oterm; in readpassphrase() local 92 memcpy(&term, &oterm, sizeof(term)); in readpassphrase() 94 term.c_lflag &= ~(ECHO | ECHONL); in readpassphrase() 95 if (term.c_cc[VSTATUS] != _POSIX_VDISABLE) in readpassphrase() 96 term.c_cc[VSTATUS] = _POSIX_VDISABLE; in readpassphrase() 97 tcsetattr(input, TCSAFLUSH|TCSASOFT, &term); in readpassphrase() 99 memset(&term, 0, sizeof(term)); in readpassphrase() 100 term.c_lflag |= ECHO; in readpassphrase() 142 if (!(term.c_lflag & ECHO)) in readpassphrase() 146 if (memcmp(&term, &oterm, sizeof(term)) != 0) { in readpassphrase()
|
/dragonfly/contrib/awk/ |
H A D | awkgram.y | 218 | term 252 | term 304 | print prarg GT term { 359 term: 360 term '/' ASGNOP term { $$ = op2(DIVEQ, $1, $4); } 361 | term '+' term { $$ = op2(ADD, $1, $3); } 362 | term '-' term { $$ = op2(MINUS, $1, $3); } 363 | term '*' term { $$ = op2(MULT, $1, $3); } 364 | term '/' term { $$ = op2(DIVIDE, $1, $3); } 365 | term '%' term { $$ = op2(MOD, $1, $3); } [all …]
|
/dragonfly/contrib/gdb-7/gdb/tui/ |
H A D | tui-command.c | 64 char *term; in tui_dispatch_ctrl_char() local 69 term = (char *) getenv ("TERM"); in tui_dispatch_ctrl_char() 70 if (term) in tui_dispatch_ctrl_char() 72 for (i = 0; term[i]; i++) in tui_dispatch_ctrl_char() 73 term[i] = toupper (term[i]); in tui_dispatch_ctrl_char() 74 if ((strcmp (term, "XTERM") == 0) in tui_dispatch_ctrl_char()
|
/dragonfly/contrib/libarchive/libarchive_fe/ |
H A D | passphrase.c | 173 struct termios term, oterm; in readpassphrase() local 209 memcpy(&term, &oterm, sizeof(term)); in readpassphrase() 211 term.c_lflag &= ~(ECHO | ECHONL); in readpassphrase() 213 if (term.c_cc[VSTATUS] != _POSIX_VDISABLE) in readpassphrase() 214 term.c_cc[VSTATUS] = _POSIX_VDISABLE; in readpassphrase() 216 (void)tcsetattr(input, _T_FLUSH, &term); in readpassphrase() 218 memset(&term, 0, sizeof(term)); in readpassphrase() 219 term.c_lflag |= ECHO; in readpassphrase() 264 if (!(term.c_lflag & ECHO)) { in readpassphrase() 270 if (memcmp(&term, &oterm, sizeof(term)) != 0) { in readpassphrase()
|
/dragonfly/usr.sbin/installer/libdfui/ |
H A D | lang.c | 23 const char *term; member 94 char *term; in set_lang_envars() local 113 term = getenv("TERM"); in set_lang_envars() 114 if((strcmp(term,"cons25") == 0) && in set_lang_envars() 115 langset[lang_num].term != NULL) in set_lang_envars() 116 setenv("TERM", langset[lang_num].term, 1); in set_lang_envars()
|
/dragonfly/contrib/ncurses/progs/ |
H A D | infocmp.c | 1298 dump_initializers(TERMTYPE2 *term) in dump_initializers() argument 1306 for_each_string(n, term) { in dump_initializers() 1313 for (sp = term->Strings[n]; in dump_initializers() 1337 for_each_boolean(n, term) { in dump_initializers() 1362 for_each_number(n, term) { in dump_initializers() 1364 switch (term->Numbers[n]) { in dump_initializers() 1383 for_each_string(n, term) { in dump_initializers() 1422 dump_termtype(TERMTYPE2 *term) in dump_termtype() argument 1449 NUM_NUMBERS(term) - NUMCOUNT); in dump_termtype() 1451 NUM_STRINGS(term) - STRCOUNT); in dump_termtype() [all …]
|
H A D | clear.c | 74 char *term; in main() local 78 term = getenv("TERM"); in main() 85 term = optarg; in main() 103 setupterm(term, fd, (int *) 0); in main()
|
H A D | tput.c | 281 char *term; in main() local 295 term = getenv("TERM"); in main() 305 term = optarg; in main() 339 if (term == 0 || *term == '\0') in main() 344 if (setupterm(term, fd, &errret) != OK && errret <= 0) in main() 345 quit(ErrTermType, "unknown terminal \"%s\"", term); in main()
|
/dragonfly/contrib/mdocml/ |
H A D | mandoc.c | 99 char term; in mandoc_escape() local 129 term = '\0'; in mandoc_escape() 147 term = ']'; in mandoc_escape() 154 term = '\''; in mandoc_escape() 230 term = ']'; in mandoc_escape() 271 term = **start; in mandoc_escape() 302 term = **start; in mandoc_escape() 343 term = ']'; in mandoc_escape() 347 term = '\''; in mandoc_escape() 391 if ('\0' != term) { in mandoc_escape() [all …]
|
/dragonfly/usr.bin/tput/ |
H A D | tput.c | 55 char *cptr, *term, buf[1024], tbuf[1024]; in main() local 58 term = NULL; in main() 62 term = optarg; in main() 71 if (!term && !(term = getenv("TERM"))) in main() 73 if (tgetent(tbuf, term) != 1) in main()
|
/dragonfly/usr.sbin/rtadvd/ |
H A D | advcap.c | 392 char term; in tdecode() local 394 term = ':'; in tdecode() 398 term = '"'; in tdecode() 401 while ((c = *str++) && c != term) { in tdecode() 429 if (c == term && term != ':') { in tdecode() 430 term = ':'; in tdecode()
|
/dragonfly/sys/dev/drm/include/drm/ |
H A D | drm_fixed.h | 191 s64 sum = DRM_FIXED_ONE, term, y = x; in drm_fixp_exp() local 197 term = y; in drm_fixp_exp() 199 while (term >= tolerance) { in drm_fixp_exp() 200 sum = sum + term; in drm_fixp_exp() 202 term = drm_fixp_mul(term, div64_s64(y, count)); in drm_fixp_exp()
|
/dragonfly/games/larn/ |
H A D | io.c | 683 char *term; in init_term() local 685 switch (tgetent(termbuf, term = getenv("TERM"))) { in init_term() 691 write(2, term, strlen(term)); in init_term() 709 write(2, term, strlen(term)); in init_term() 715 write(2, term, strlen(term)); in init_term() 721 write(2, term, strlen(term)); in init_term()
|
/dragonfly/games/banner/ |
H A D | banner.c | 1013 static int debug, i, j, linen, max, nchars, pc, term, trace, x, y; variable 1120 term = 0; in main() 1123 while (!term) { in main() 1130 printf("pc=%d, term=%d, max=%d, linen=%d, x=%d\n",pc,term,max,linen,x); in main() 1132 if (x>192) term++; in main()
|
/dragonfly/bin/sh/ |
H A D | histedit.c | 104 char *term; in histedit() local 113 term = lookupvar("TERM"); in histedit() 114 if (term) in histedit() 115 setenv("TERM", term, 1); in histedit() 177 setterm(const char *term) in setterm() argument 179 if (rootshell && el != NULL && term != NULL) in setterm() 180 el_set(el, EL_TERMINAL, term); in setterm()
|
/dragonfly/usr.bin/who/ |
H A D | who.c | 59 uint16_t term, uint16_t xit, uint16_t sess, uint16_t type); 276 ep->term, ep->exit, ep->sess, ep->type); in eprint() 281 pid_t pid, uint16_t term, uint16_t xit, uint16_t sess, uint16_t type) in print() argument 332 (void)printf("\tnew=%c old=%c", term, xit); in print() 334 (void)printf("\tterm=%d exit=%d", term, xit); in print()
|
/dragonfly/nrelease/gui/root/ |
H A D | .vimrc | 33 hi User1 term=inverse,bold ctermbg=darkblue ctermfg=cyan guibg=#18163e guifg=grey 34 hi User2 term=inverse,bold ctermbg=darkblue ctermfg=cyan guibg=#0d0c22 guifg=grey 35 hi User3 term=inverse,bold ctermbg=darkblue ctermfg=lightred guibg=#18163e guifg=#ff5e6e
|
/dragonfly/usr.bin/tic/ |
H A D | Makefile | 23 term.h: 52 CLEANFILES= ncurses_def.h parametrized.h term.h termsort.c 54 SRCS= ncurses_def.h parametrized.h term.h
|
/dragonfly/usr.bin/newgrp/ |
H A D | newgrp.c | 257 char *args[2], **cleanenv, *term, *ticket; in loginshell() local 269 term = getenv("TERM"); in loginshell() 290 if (term != NULL) in loginshell() 291 if (setenv("TERM", term, 1) == -1) in loginshell()
|
/dragonfly/tools/regression/bin/sh/builtins/ |
H A D | trap15.0 | 3 (${SH} -c 'term(){ exit 5;}; trap term TERM; kill -TERM $$') &
|
/dragonfly/usr.bin/seq/ |
H A D | seq.c | 86 const char *term = NULL; in main() local 110 term = unescape(optarg); in main() 180 if (term != NULL) in main() 181 fputs(term, stdout); in main()
|
/dragonfly/contrib/ncurses/ncurses/base/ |
H A D | lib_newterm.c | 76 TERMINAL *term = TerminalOf(SP_PARM); in _nc_initscr() local 80 T((T_CALLED("_nc_initscr(%p) ->term %p"), (void *) SP_PARM, (void *) term)); in _nc_initscr() 84 buf = term->Nttyb; in _nc_initscr() 96 term->Nttyb = buf; in _nc_initscr()
|
/dragonfly/contrib/tcsh-6/ |
H A D | README.DRAGONFLY | 17 ed.term.c 18 ed.term.h
|