| /openbsd/src/usr.bin/talk/ |
| D | init_disp.c | 71 my_win.x_ncols = COLS; in init_display() 77 his_win.x_ncols = COLS; in init_display() 83 line_win = newwin(1, COLS, my_win.x_nlines, 0); in init_display() 85 whline(line_win, '-', COLS); in init_display() 171 (ws.ws_row == LINES && ws.ws_col == COLS)) in resize_display() 182 my_win.x_ncols = COLS; in resize_display() 188 his_win.x_ncols = COLS; in resize_display() 193 wresize(line_win, 1, COLS); in resize_display() 196 whline(line_win, '-', COLS); in resize_display()
|
| D | display.c | 136 if (win->x_col == COLS-1) { in display() 145 if (win->x_col == COLS-1) /* check for wraparound */ in display()
|
| /openbsd/src/games/worm/ |
| D | worm.c | 108 if (COLS < 18 || LINES < 5) { in main() 112 growthscale = COLS * LINES / 2000; in main() 116 start_len = strtonum(argv[1], 1, ((LINES-3) * (COLS-2)) / 3, in main() 123 stw = newwin(1, COLS-1, 0, 0); in main() 124 tv = newwin(LINES-1, COLS-1, 1, 0); in main() 197 head->x = start_len % (COLS-5) + 2; in life() 205 if (((bp->x <= 2) && (j == 1)) || ((bp->x >= COLS-4) && (j == -1))) { in life() 242 if (visible_len == (LINES-3) * (COLS-3) - 1) { in newpos() 249 bp->x = rnd(COLS-3) + 1; in newpos() 354 wmove(stw, 0, COLS - 12); in process()
|
| /openbsd/src/games/sail/ |
| D | player.h | 41 #define LINE_X COLS 73 #define SCROLL_R (COLS-1) 92 #define SCREENTEST() (initscr() != NULL && signal(SIGTSTP, SIG_DFL) != SIG_ERR && STAT_R < COLS && … 94 #define SCREENTEST() (initscr() != NULL && STAT_R < COLS && SCROLL_Y > 0)
|
| /openbsd/src/games/hangman/ |
| D | hangman.h | 51 #define NUMBERX (COLS - 11 - 26) 53 #define AVGX (COLS - 11 - 26) 55 #define GUESSX (COLS - 11 - 26)
|
| D | main.c | 71 if (COLS < 50 || LINES < 14) { in main() 95 mvcur(0, COLS - 1, LINES - 1, 0); in die()
|
| D | getword.c | 80 mvcur(0, COLS - 1, LINES - 1, 0); in getword()
|
| D | ksyms.c | 81 mvcur(0, COLS - 1, LINES -1, 0); in sym_getword()
|
| /openbsd/src/games/battlestar/ |
| D | fly.c | 43 #define MIDC (COLS/2 - 1) 87 column = rnd(COLS - 2) + 1; in visual() 191 c = rnd(COLS); in screen() 257 if (column + dc < COLS - 1 && column + dc > 0) in moveenemy() 290 mvcur(0, COLS - 1, LINES - 1, 0); in endfly()
|
| /openbsd/src/games/atc/ |
| D | graphics.c | 120 COLS < (PLANE_COLS + 2 * scp->width) || in setup_screen() 121 COLS < 80) { in setup_screen() 126 input = newwin(INPUT_LINES, COLS - PLANE_COLS, LINES - INPUT_LINES, 0); in setup_screen() 128 COLS - PLANE_COLS); in setup_screen() 129 planes = newwin(LINES - INPUT_LINES, PLANE_COLS, 0, COLS - PLANE_COLS); in setup_screen()
|
| /openbsd/src/gnu/llvm/llvm/utils/lit/lit/ |
| D | ProgressBar.py | 71 COLS = None #: Width of the terminal (None for unknown) variable in TerminalController 110 self.COLS = curses.tigetnum('cols') 231 if self.term.COLS: 232 self.width = self.term.COLS
|
| /openbsd/src/games/mille/ |
| D | mille.c | 77 if ((LINES < 24) || (COLS < 80)) { in main() 148 mvcur(0, COLS - 1, LINES - 1, 0); in die()
|
| /openbsd/src/games/robots/ |
| D | main.c | 146 if (LINES != Y_SIZE || COLS != X_SIZE) { in main() 147 if (LINES < Y_SIZE || COLS < X_SIZE) { in main()
|
| /openbsd/src/games/cribbage/ |
| D | cribcur.h | 48 # define MSG_X (COLS - SCORE_X - 1)
|
| /openbsd/src/lib/libcurses/tinfo/ |
| D | setbuf.c | 119 buf_len = min(LINES * (COLS + 6), 2800); in NCURSES_EXPORT()
|
| D | lib_setup.c | 151 NCURSES_PUBLIC_VAR(COLS) (void) in NCURSES_PUBLIC_VAR() argument 170 NCURSES_EXPORT_VAR(int) COLS = 0;
|
| /openbsd/src/games/snake/ |
| D | snake.c | 192 if (!ccnt || ccnt > COLS - 3) in main() 193 ccnt = COLS - 3; in main() 633 p.col = COLS / 2 - 8; in spacewarp() 731 if (ps->col == COLS - 1) in surround()
|
| /openbsd/src/games/rain/ |
| D | rain.c | 90 tcols = COLS - 4; in main()
|
| /openbsd/src/games/worms/ |
| D | worms.c | 238 CO = COLS; in main()
|
| /openbsd/src/usr.bin/lex/ |
| D | scanopt.c | 127 if (COLS > 0) in get_cols() 128 return COLS; in get_cols()
|
| /openbsd/src/games/gomoku/ |
| D | bdisp.c | 53 if ((LINES < SCRNH) || (COLS < SCRNW)) { in cursinit()
|
| /openbsd/src/gnu/usr.bin/binutils/gdb/tui/ |
| D | tui.c | 387 tui_set_term_width_to (COLS); in tui_enable()
|
| /openbsd/src/games/backgammon/common_source/ |
| D | fancy.c | 316 if ((LINES < 24) || (COLS < 80)) { in initcurses()
|
| /openbsd/src/usr.bin/systat/ |
| D | engine.c | 1082 columns = COLS; in setup_term() 1115 columns = COLS; in do_resize_term()
|
| /openbsd/src/games/boggle/boggle/ |
| D | mach.c | 614 ncols = COLS; in tty_setup()
|