Home
last modified time | relevance | path

Searched refs:ws_col (Results 1 – 25 of 35) sorted by relevance

12

/original-bsd/usr.bin/window/
H A Dwwtty.c107 if (winsize.ws_col != 0)
108 *c = winsize.ws_col;
117 winsize.ws_col = c; in wwsetttysize()
/original-bsd/usr.bin/mail/
H A Dmain.c259 ws.ws_col = ws.ws_row = 0; in setscreensize()
274 if ((screenwidth = ws.ws_col) == 0) in setscreensize()
/original-bsd/lib/libcurses/
H A Dsetterm.c84 win.ws_row != 0 && win.ws_col != 0) {
86 COLS = win.ws_col;
/original-bsd/usr.bin/tset/
H A Dtset.c139 if (win.ws_row == 0 && win.ws_col == 0 &&
142 win.ws_col = columns;
/original-bsd/sys/sparc/sunos/
H A Dsun_ioctl.c91 ws.ws_col = ((struct sun_ttysize *)uap->data)->ts_col;
100 ((struct sun_ttysize *)uap->data)->ts_col = ws.ws_col;
/original-bsd/sys/sys/
H A Dttycom.h31 unsigned short ws_col; /* columns, in characters */ member
/original-bsd/libexec/telnetd/
H A Dtermstat.c518 ws.ws_col = parm1;
610 ws.ws_col = def_col; in defer_terminit()
/original-bsd/old/adb/common_scripts/
H A Dtty16 +/"ws_row"8t"ws_col"8t"ws_xpix"8t"ws_ypix"n4u
/original-bsd/bin/stty/
H A Dkey.c136 ip->win.ws_col = atoi(ip->arg);
254 (void)printf("%d %d\n", ip->win.ws_row, ip->win.ws_col);
H A Dprint.c64 cnt += printf(" %d rows; %d columns;", wp->ws_row, wp->ws_col);
/original-bsd/usr.bin/column/
H A Dcolumn.c55 if (ioctl(1, TIOCGWINSZ, &win) == -1 || !win.ws_col) {
59 termwidth = win.ws_col;
/original-bsd/usr.bin/more/
H A Dscreen.c252 if (ioctl(2, TIOCGWINSZ, &w) == 0 && w.ws_col > 0) in get_term()
253 sc_width = w.ws_col; in get_term()
/original-bsd/usr.bin/kdump/
H A Dkdump.c322 ws.ws_col > 8)
323 screenwidth = ws.ws_col;
/original-bsd/usr.bin/ex/
H A Dex_tty.c166 if ((COLUMNS = winsz.ws_col = win.ws_col) == 0) in setsize()
H A Dex_subr.c941 win.ws_col != winsz.ws_col) in onsusp()
/original-bsd/usr.bin/rlogin/
H A Drlogin.c78 unsigned short ws_row, ws_col; member
644 wp->ws_col = htons(winsize.ws_col); in sendwindow()
936 wp->ws_col = ts.ts_cols;
/original-bsd/bin/csh/
H A Dfile.c232 if (ioctl(SHOUT, TIOCGWINSZ, (ioctl_t) & win) < 0 || win.ws_col == 0)
233 win.ws_col = 80;
237 columns = win.ws_col / maxwidth;
/original-bsd/usr.bin/w/
H A Dw.c223 ioctl(STDIN_FILENO, TIOCGWINSZ, &ws) == -1) || ws.ws_col == 0)
226 ttywidth = ws.ws_col - 1;
/original-bsd/bin/ls/
H A Dls.c82 !win.ws_col) {
87 termwidth = win.ws_col;
/original-bsd/bin/ps/
H A Dps.c94 ws.ws_col == 0)
97 termwidth = ws.ws_col - 1;
/original-bsd/sys/hp/dev/
H A Ditevar.h155 #define TABEND(u) (ite_tty[u].t_winsize.ws_col - TABSIZE)
/original-bsd/sys/sparc/rcons/
H A Drcons_kern.c212 ws->ws_col = fb->fb_maxcol;
/original-bsd/libexec/rlogind/
H A Drlogind.c327 w.ws_col = ntohs(w.ws_col);
/original-bsd/usr.bin/sed/
H A Dprocess.c440 win.ws_col > 0)
441 termwidth = win.ws_col;
/original-bsd/games/tetris/
H A Dscreen.c242 Cols = ws.ws_col; in scr_set()

12