Home
last modified time | relevance | path

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

123

/illumos-gate/usr/src/cmd/vi/port/
H A Dex_v.c137 oldcolumns = jwin.ws_col;
140 if (columns != jwin.ws_col || lines != jwin.ws_row)
156 if (jwin.ws_col > 0) in setsize()
157 columns = jwin.ws_col; in setsize()
173 jwin.ws_col = columns; in setsize()
177 jwin.ws_col = oldcolumns; in setsize()
H A Dex_temp.c124 jwin.ws_col = oldcolumns; in cleanup()
136 jwin.ws_col = oldcolumns; in cleanup()
/illumos-gate/usr/src/uts/common/io/
H A Dptem.c230 ntp->wsz.ws_col = 0; in ptemopen()
909 if ((tp->wsz.ws_row == 0) && (tp->wsz.ws_col == 0) && in ptioc()
927 jwb->bytesx = tp->wsz.ws_col; in ptioc()
946 wb->ws_col = tp->wsz.ws_col; in ptioc()
966 (tp->wsz.ws_col != wb->ws_col) || in ptioc()
994 tp->wsz.ws_col = wb->ws_col; in ptioc()
H A Dtty_pts.c257 pty->pt_ttycommon.t_size.ws_col = 0; in ptslopen()
631 tc->t_size.ws_col = tp->ts_cols; in ptslioctl()
670 tp->ts_cols = tc->t_size.ws_col; in ptslioctl()
/illumos-gate/usr/src/ucblib/libtermcap/
H A Dtermcap.c397 if (ws.ws_row == 0 || ws.ws_col == 0 || in tngetsize()
398 ws.ws_row > 999 || ws.ws_col > 999) in tngetsize()
415 bp = appendsmalldec(bp, ws.ws_col); in tngetsize()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/port/
H A Dastwinsize.c78 if (!ttctl(fd, TIOCGWINSZ, &ws) && ws.ws_col > 0 && ws.ws_row > 0) in astwinsize()
81 if (cols) *cols = ws.ws_col; in astwinsize()
/illumos-gate/usr/src/common/ficl/
H A Dmain.c98 if (ws.ws_col) in main()
99 cols = ws.ws_col; in main()
/illumos-gate/usr/src/cmd/mdb/common/kmdb/
H A Dkmdb_promif.c553 wsz->ws_col = KMDB_PIF_WINSIZE_COLS; in kmdb_prom_term_init()
555 kmdb_prom_get_tem_size(kav, &wsz->ws_row, &wsz->ws_col); in kmdb_prom_term_init()
695 wsz->ws_col = mdb.m_promif->pif_wsz.ws_col; in kmdb_prom_term_ctl()
/illumos-gate/usr/src/cmd/projects/
H A Dprojects.c161 ws.ws_col > 0) in print_projects()
162 columns = ws.ws_col; in print_projects()
/illumos-gate/usr/src/ucbcmd/stty/
H A Dsttyparse.c257 winsize->ws_col = atoi(*++argv);
407 if((owinsize->ws_col != winsize->ws_col
H A Dstty.c92 winsize.ws_row, winsize.ws_col); in main()
260 winsize.ws_row, winsize.ws_col); in prmodes()
486 winsize.ws_row, winsize.ws_col); in pramodes()
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dsetupterm.c571 if (w.ws_col != 0) in setupterm()
572 cur_nums->_columns = w.ws_col; in setupterm()
576 w.ws_row, w.ws_col); in setupterm()
/illumos-gate/usr/src/uts/common/sys/
H A Dttold.h156 unsigned short ws_col; /* columns, in character */ member
/illumos-gate/usr/src/cmd/picl/prtpicl/
H A Dprtpicl.c156 winsize.ws_col != 0) in print_bytearray()
157 columns = winsize.ws_col; in print_bytearray()
/illumos-gate/usr/src/cmd/ttymon/
H A Dsttyparse.c303 winsize->ws_col = atoi(*++argv);
467 if ((owinsize->ws_col != winsize->ws_col ||
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dsetup.c482 if (0 < wininfo.ws_col)
483 columns = wininfo.ws_col;
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dsetup.c507 if (0 < wininfo.ws_col) in restartterm()
508 columns = wininfo.ws_col; in restartterm()
/illumos-gate/usr/src/cmd/intrstat/
H A Dintrstat.c135 if (win.ws_col == 0) { in set_width()
144 g_cpus_per_line = INTRSTAT_CPUS_PER_LINE(win.ws_col); in set_width()
/illumos-gate/usr/src/ucblib/libcurses/
H A Dcr_tty.c118 COLS = win.ws_col; in setterm()
/illumos-gate/usr/src/cmd/mandoc/
H A Dmain.c386 ws.ws_col > 1) { in main()
387 if (conf.output.width == 0 && ws.ws_col < 79) in main()
388 conf.output.width = ws.ws_col - 1; in main()
389 if (conf.output.indent == 0 && ws.ws_col < 66) in main()
/illumos-gate/usr/src/cmd/more/
H A Dmore.c610 if (win.ws_col != 0) in chgwinsz()
611 Mcol = win.ws_col; in chgwinsz()
1532 if (w.ws_col > 0) in initterm()
1533 col = w.ws_col; in initterm()
/illumos-gate/usr/src/lib/libofmt/common/
H A Dofmt.c549 winsize->ws_col == 0 || winsize->ws_row == 0) { in ofmt_update_winsize()
550 winsize->ws_col = 80; in ofmt_update_winsize()
/illumos-gate/usr/src/cmd/smbsrv/smbstat/
H A Dsmbstat.c1230 if (smbstat_ws.ws_col == 0) { in smbstat_termio_init()
1236 if (smbstat_ws.ws_col == 0) in smbstat_termio_init()
1237 smbstat_ws.ws_col = 80; in smbstat_termio_init()
/illumos-gate/usr/src/cmd/ptools/ptree/
H A Dptree.c722 winsize.ws_col != 0) { in get_termwidth()
723 return (winsize.ws_col); in get_termwidth()
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Dstty.c578 … sfprintf(sfstdout,"%sspeed %s baud; rows %d; columns %d;\n",schar,tp->name,win.ws_row,win.ws_col); in output()
703 sfprintf(sfstdout,"%d\n",tp->mask?win.ws_col:win.ws_row); in set()
711 win.ws_col = n; in set()

123