| /openbsd/src/bin/ksh/ |
| D | emacs.c | 896 if (c == CTRL('[') || c == CTRL('@')) { in x_search_hist() 1258 l[at++] = CTRL(*s); in kb_encode() 1479 kb_add(x_abort, CTRL('G'), 0); in x_init_emacs() 1480 kb_add(x_mv_back, CTRL('B'), 0); in x_init_emacs() 1481 kb_add(x_mv_back, CTRL('X'), CTRL('D'), 0); in x_init_emacs() 1482 kb_add(x_mv_bword, CTRL('['), 'b', 0); in x_init_emacs() 1483 kb_add(x_beg_hist, CTRL('['), '<', 0); in x_init_emacs() 1484 kb_add(x_mv_begin, CTRL('A'), 0); in x_init_emacs() 1485 kb_add(x_fold_capitalize, CTRL('['), 'C', 0); in x_init_emacs() 1486 kb_add(x_fold_capitalize, CTRL('['), 'c', 0); in x_init_emacs() [all …]
|
| D | vi.c | 25 #undef CTRL 26 #define CTRL(x) ((x) & 0x1F) /* ASCII */ macro 268 if (ch == CTRL('v')) { in vi_hook() 368 if (ch == CTRL('[')) in vi_hook() 392 } else if (ch == edchars.erase || ch == CTRL('h')) { in vi_hook() 559 if (ch == edchars.erase || ch == CTRL('h')) { in vi_insert() 620 if (first_insert && ch != CTRL('[')) in vi_insert() 630 case CTRL('['): in vi_insert() 648 case CTRL('x'): in vi_insert() 652 case CTRL('f'): in vi_insert() [all …]
|
| D | edit.h | 19 #undef CTRL 20 #define CTRL(x) ((x) == '?' ? 0x7F : (x) & 0x1F) /* ASCII */ macro
|
| /openbsd/src/sys/sys/ |
| D | ttydefaults.h | 58 #define CTRL(x) (x&037) macro 59 #define CEOF CTRL('d') 62 #define CINTR CTRL('c') 64 #define CKILL CTRL('u') 67 #define CSUSP CTRL('z') 69 #define CDSUSP CTRL('y') 70 #define CSTART CTRL('q') 71 #define CSTOP CTRL('s') 72 #define CLNEXT CTRL('v') 73 #define CDISCARD CTRL('o') [all …]
|
| /openbsd/src/sys/ddb/ |
| D | db_input.c | 73 #define CTRL(c) ((c) & 0x1f) macro 145 case CTRL('b'): in db_inputchar() 152 case CTRL('f'): in db_inputchar() 159 case CTRL('a'): in db_inputchar() 166 case CTRL('e'): in db_inputchar() 173 case CTRL('w'): in db_inputchar() 178 case CTRL('h'): in db_inputchar() 184 case CTRL('d'): in db_inputchar() 189 case CTRL('k'): in db_inputchar() 194 case CTRL('u'): in db_inputchar() [all …]
|
| D | db_output.c | 70 #define CTRL(c) ((c) & 0xff) macro 121 case CTRL('c'): in db_more()
|
| /openbsd/src/gnu/usr.bin/binutils-2.17/include/opcode/ |
| D | i960.h | 37 #define CTRL 0 macro 173 { 0x08000000, "b", I_BASE, CTRL, 1, { 0, 0, 0 } }, 174 { 0x09000000, "call", I_BASE, CTRL, 1, { 0, 0, 0 } }, 175 { 0x0a000000, "ret", I_BASE, CTRL, 0, { 0, 0, 0 } }, 176 { 0x0b000000, "bal", I_BASE, CTRL, 1, { 0, 0, 0 } }, 177 { 0x10000000, "bno", I_BASE, CTRL, 1, { 0, 0, 0 } }, 179 { 0x10000000, "bf", I_BASE, CTRL, 1, { 0, 0, 0 } }, 181 { 0x10000000, "bru", I_BASE, CTRL, 1, { 0, 0, 0 } }, 182 { 0x11000000, "bg", I_BASE, CTRL, 1, { 0, 0, 0 } }, 184 { 0x11000000, "brg", I_BASE, CTRL, 1, { 0, 0, 0 } }, [all …]
|
| D | maxq.h | 321 #define CTRL MOD8 /* For the module containing the control registers. */ macro 368 "AP", CTRL, 0x0, 0x00 | CTRL, Reg_8W, MAX}, 372 "APC", CTRL, 0x1, 0x10 | CTRL, Reg_8W, MAX}, 375 "PSF", CTRL, 0x4, 0x40 | CTRL, Reg_8W, MAX}, 378 "IC", CTRL, 0x5, 0x50 | CTRL, Reg_8W, MAX}, 381 "IMR", CTRL, 0x6, 0x60 | CTRL, Reg_8W, MAX}, 384 "SC", CTRL, 0x8, 0x80 | CTRL, Reg_8W, MAX}, 387 "IIR", CTRL, 0xb, 0xb0 | CTRL, Reg_8R, MAX}, 390 "CKCN", CTRL, 0xe, 0xe0 | CTRL, Reg_8W, MAX}, 393 "WDCN", CTRL, 0xf, 0xf0 | CTRL, Reg_8W, MAX},
|
| /openbsd/src/gnu/usr.bin/binutils/include/opcode/ |
| D | i960.h | 37 #define CTRL 0 macro 173 { 0x08000000, "b", I_BASE, CTRL, 1, { 0, 0, 0 } }, 174 { 0x09000000, "call", I_BASE, CTRL, 1, { 0, 0, 0 } }, 175 { 0x0a000000, "ret", I_BASE, CTRL, 0, { 0, 0, 0 } }, 176 { 0x0b000000, "bal", I_BASE, CTRL, 1, { 0, 0, 0 } }, 177 { 0x10000000, "bno", I_BASE, CTRL, 1, { 0, 0, 0 } }, 179 { 0x10000000, "bf", I_BASE, CTRL, 1, { 0, 0, 0 } }, 181 { 0x10000000, "bru", I_BASE, CTRL, 1, { 0, 0, 0 } }, 182 { 0x11000000, "bg", I_BASE, CTRL, 1, { 0, 0, 0 } }, 184 { 0x11000000, "brg", I_BASE, CTRL, 1, { 0, 0, 0 } }, [all …]
|
| /openbsd/src/gnu/usr.bin/binutils/gdb/tui/ |
| D | tui.c | 347 rl_bind_key_in_map (CTRL ('A'), tui_rl_switch_mode, emacs_ctlx_keymap); in tui_initialize_readline() 348 rl_bind_key_in_map (CTRL ('A'), tui_rl_switch_mode, tui_ctlx_keymap); in tui_initialize_readline() 472 #ifndef CTRL 473 #define CTRL(x) (x & ~0140) 497 ltc.t_suspc = CHK (ltc.t_suspc, CTRL ('Z')); 498 ltc.t_dsuspc = CHK (ltc.t_dsuspc, CTRL ('Y')); 499 ltc.t_rprntc = CHK (ltc.t_rprntc, CTRL ('R')); 500 ltc.t_flushc = CHK (ltc.t_flushc, CTRL ('O')); 501 ltc.t_werasc = CHK (ltc.t_werasc, CTRL ('W')); 502 ltc.t_lnextc = CHK (ltc.t_lnextc, CTRL ('V')); [all …]
|
| /openbsd/src/gnu/lib/libreadline/ |
| D | chardefs.h | 46 #ifdef CTRL 47 # undef CTRL 64 #define CTRL(c) ((c) & control_character_mask) macro 128 #define RETURN CTRL('M') 142 #define ABORT_CHAR CTRL('G') 147 #define PAGE CTRL('L') 157 #define ESC CTRL('[')
|
| D | search.c | 220 case CTRL('H'): 233 case CTRL('W'): 237 case CTRL('U'): 247 case CTRL('C'): 248 case CTRL('G'):
|
| D | isearch.c | 272 else if (c == CTRL ('G')) 274 else if (c == CTRL ('W')) /* XXX */ 276 else if (c == CTRL ('Y')) /* XXX */ 301 ((CTRL_CHAR (c) || META_CHAR (c) || (c) == RUBOUT) && ((c) != CTRL ('G')))
|
| /openbsd/src/lib/libedit/readline/ |
| D | readline.h | 77 #ifndef CTRL 82 #ifndef CTRL 83 #define CTRL(c) ((c) & 037) macro 91 #define ABORT_CHAR CTRL('G')
|
| /openbsd/src/usr.bin/tic/ |
| D | reset_cmd.c | 148 #define CEOF CTRL('D') 151 #define CERASE CTRL('H') 157 #define CKILL CTRL('U') 160 #define CLNEXT CTRL('v') 163 #define CRPRNT CTRL('r') 166 #define CQUIT CTRL('\\') 169 #define CSTART CTRL('Q') 172 #define CSTOP CTRL('S') 175 #define CSUSP CTRL('Z')
|
| D | reset_cmd.h | 47 #undef CTRL 48 #define CTRL(x) ((x) & 0x1f) macro
|
| /openbsd/src/sys/lib/libsa/ |
| D | getfile.c | 36 #define CTRL(x) (x&037) macro 49 if (buf[0] == CTRL('d') && buf[1] == 0) in getfile()
|
| /openbsd/src/games/hangman/ |
| D | getguess.c | 75 if (ch == CTRL('D')) in getguess() 122 if (ch == CTRL('L')) { in readch()
|
| D | endgame.c | 62 if ((ch = readch()) == 'n' || ch == CTRL('D')) in endgame()
|
| /openbsd/src/distrib/special/more/ |
| D | tgoto.c | 36 #define CTRL(c) ((c) & 037) macro 164 if ((which == 0 || which == CTRL('d') || which == '\n') in tgoto()
|
| /openbsd/src/games/cribbage/ |
| D | io.c | 44 #ifdef CTRL 45 #undef CTRL 47 #define CTRL(X) (X - 'A' + 1) macro 488 if (c == CTRL('L')) { in readchar()
|
| /openbsd/src/games/mille/ |
| D | mille.h | 180 #undef CTRL 181 #define CTRL(c) ((c) & 0x1f) macro
|
| /openbsd/src/sys/arch/luna88k/dev/ |
| D | xp.c | 92 #define CTRL (3 * 4) macro 113 pio0[CTRL] = (bit << 1) | (set & 0x01); in put_pio0c()
|
| /openbsd/src/usr.sbin/lpr/lpd/ |
| D | key.c | 153 ip->t.c_cc[VKILL] = CTRL('u'); in f_dec() 154 ip->t.c_cc[VINTR] = CTRL('c'); in f_dec()
|
| /openbsd/src/games/hunt/huntd/ |
| D | server.h | 84 # undef CTRL 85 #define CTRL(x) ((x) & 037) macro
|