HomeSort by: relevance | last modified time | path
    Searched refs:ws_col (Results 1 - 25 of 63) sorted by relevancy

1 2 3

  /src/usr.bin/tset/
tset.c 162 if (win.ws_row > 0 && win.ws_col > 0) {
164 ncolumns = win.ws_col;
165 } else if (win.ws_row == 0 && win.ws_col == 0 &&
168 win.ws_col = ncolumns;
  /src/usr.bin/resize/
resize.h 60 #define TTYSIZE_COLS(ws) (ws).ws_col
83 (ws).ws_col = col, \
  /src/lib/libcurses/
tstp.c 141 win.ws_row != 0 && win.ws_col != 0)
144 COLS = win.ws_col;
274 win.ws_row != 0 && win.ws_col != 0)
280 if (win.ws_col != COLS) {
281 COLS = win.ws_col;
  /src/lib/libterminfo/
setupterm.c 128 win.ws_row != 0 && win.ws_col != 0)
131 t_columns(*nterm) = (short)win.ws_col;
  /src/sbin/fsck/
progress.c 161 winsize.ws_col != 0)
162 ttywidth = winsize.ws_col;
  /src/sbin/blkdiscard/
blkdiscard.c 237 winsize.ws_col > 1)
238 ttywidth = winsize.ws_col - 1;
  /src/sys/sys/
ttycom.h 56 unsigned short ws_col; /* columns, in characters */ member in struct:winsize
  /src/bin/kill/
kill.c 281 if (ioctl(fileno(fp), TIOCGWINSZ, &win) == 0 && win.ws_col > 0)
282 termwidth = win.ws_col;
  /src/bin/stty/
key.c 170 ip->win.ws_col = atoi(ip->arg);
298 (void)printf("%d %d\n", ip->win.ws_row, ip->win.ws_col);
print.c 75 cnt += printf(" %d rows; %d columns;", wp->ws_row, wp->ws_col);
  /src/distrib/utils/more/
screen.c 285 if (ioctl(2, TIOCGWINSZ, &w) == 0 && w.ws_col > 0)
286 sc_width = w.ws_col;
  /src/libexec/telnetd/
termstat.c 529 ws.ws_col = parm1;
597 ws.ws_col = def_col;
  /src/usr.bin/column/
column.c 86 if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &win) == -1 || !win.ws_col) {
90 termwidth = win.ws_col;
  /src/usr.sbin/iteconfig/
iteconfig.c 182 printf("tty size: rows %d cols %d\n", ws.ws_row, ws.ws_col);
187 printcmap(cm, ws.ws_col);
  /src/usr.bin/mail/
main.c 100 * Width is either 80 or ws_col;
111 ws.ws_col = ws.ws_row = 0;
126 if ((screenwidth = ws.ws_col) == 0)
  /src/usr.sbin/tprof/
tprof_top.c 162 *lim = win.ws_col;
202 win.ws_col = tigetnum("lines");
208 win.ws_col = 65535;
215 win.ws_col = strtoul(p, NULL, 0);
758 lim = win.ws_col;
764 l = win.ws_col - lim;
767 for (; l <= win.ws_col - 17; l = ((l + 8) & -8))
  /src/sys/arch/amiga/dev/
itevar.h 177 #define TABEND(u) (ite_tty[u]->t_windsize.ws_col - TABSIZE) /* XXX */
  /src/sys/dev/rcons/
rcons_kern.c 192 ws->ws_col = rc->rc_maxcol;
  /src/usr.bin/rlogin/
rlogin.c 98 unsigned short ws_row, ws_col; member in struct:winsize
562 wp->ws_col = htons(winsize.ws_col);
790 wp->ws_col = ts.ts_cols;
  /src/usr.bin/tabs/
tabs.c 218 cols = ws.ws_col;
  /src/sys/arch/atari/dev/
itevar.h 170 #define TABEND(u) (ite_tty[u]->t_windsize.ws_col - TABSIZE) /* XXX */
  /src/bin/ksh/
edit.c 105 * check COLUMNS/LINES before checking ws.ws_col/row,
110 if (ws.ws_col) {
111 x_cols = ws.ws_col < MIN_COLS ? MIN_COLS
112 : ws.ws_col;
115 setint(vp, (long) ws.ws_col);
  /src/bin/csh/
file.c 311 if (ioctl(SHOUT, TIOCGWINSZ, (ioctl_t) & win) < 0 || win.ws_col == 0)
312 win.ws_col = 80;
316 columns = win.ws_col / maxwidth;
  /src/usr.sbin/sysinst/
run.c 383 hline(0, win->ws_col);
388 actionwin = subwin(stdscr, win->ws_row - nrow, win->ws_col, nrow, 0);
653 if (win.ws_col == 0)
654 win.ws_col = 80;
  /src/bin/ls/
ls.c 143 win.ws_col > 0)
144 termwidth = win.ws_col;

Completed in 21 milliseconds

1 2 3