/freebsd/lib/libdpv/ |
H A D | dialog_util.c | 98 maxsize->ws_col = TTY_DEFAULT_COLS; in tty_maxsize_update() 162 maxsize->ws_col = (unsigned short)strtonum( in x11_maxsize_update() 194 return (maxsize->ws_col - 2); in dialog_maxcols() 196 return (maxsize->ws_col); in dialog_maxcols() 198 return (maxsize->ws_col); in dialog_maxcols() 213 return (maxsize->ws_col); in tty_maxcols()
|
/freebsd/crypto/openssh/ |
H A D | progressmeter.c | 294 winsize.ws_col != 0) { in setscreensize() 295 if (winsize.ws_col > MAX_WINSIZE) in setscreensize() 298 win_size = winsize.ws_col; in setscreensize()
|
H A D | sshpty.c | 159 w.ws_col = col; in pty_change_window_size()
|
/freebsd/usr.bin/resizewin/ |
H A D | resizewin.c | 89 if (w.ws_row != 0 && w.ws_col != 0) in main() 143 if (sscanf(data, "\033[%hu;%huR", &w.ws_row, &w.ws_col) != 2) { in main()
|
/freebsd/usr.bin/top/ |
H A D | screen.c | 260 if (ws.ws_col != 0) in get_screensize() 262 screen_width = ws.ws_col - 1; in get_screensize()
|
/freebsd/sbin/camcontrol/ |
H A D | progress.c | 75 winsize.ws_col != 0) { in progress_init() 76 prog->ttywidth = winsize.ws_col; in progress_init()
|
/freebsd/sys/sys/ |
H A D | _winsize.h | 41 unsigned short ws_col; /* columns, in characters */ member
|
/freebsd/usr.bin/talk/ |
H A D | init_disp.c | 194 (ws.ws_row == LINES && ws.ws_col == COLS)) in resize_display() 198 resizeterm(ws.ws_row, ws.ws_col); in resize_display()
|
/freebsd/usr.bin/mail/ |
H A D | main.c | 361 ws.ws_col = ws.ws_row = 0; in setscreensize() 376 if ((screenwidth = ws.ws_col) == 0) in setscreensize()
|
/freebsd/contrib/kyua/utils/cmdline/ |
H A D | ui_test.cpp | 88 return ws.ws_col >= 80 ? ws.ws_col - 5 : ws.ws_col; in reopen_stdout()
|
H A D | ui.cpp | 151 width = optional< std::size_t >(ws.ws_col); in screen_width()
|
/freebsd/contrib/llvm-project/lldb/tools/driver/ |
H A D | Platform.cpp | 32 ws->ws_col = info.dwMaximumWindowSize.X; in ioctl()
|
H A D | Platform.h | 24 long ws_col; member
|
H A D | Driver.cpp | 449 if (window_size.ws_col > 0) in MainLoop() 450 m_debugger.SetTerminalWidth(window_size.ws_col); in MainLoop() 635 if ((window_size.ws_col > 0) && g_driver != nullptr) { in sigwinch_handler() 636 g_driver->ResizeWindow(window_size.ws_col); in sigwinch_handler()
|
/freebsd/contrib/dialog/ |
H A D | ttysize.c | 63 # define WINSIZE_COLS(n) (int)n.ws_col
|
/freebsd/crypto/heimdal/appl/telnet/telnetd/ |
H A D | termstat.c | 105 ws.ws_col = parm1; in clientstat()
|
/freebsd/bin/stty/ |
H A D | key.c | 150 ip->win.ws_col = atoi(ip->arg); in f_columns() 267 (void)printf("%d %d\n", ip->win.ws_row, ip->win.ws_col); in f_size()
|
/freebsd/crypto/heimdal/lib/roken/ |
H A D | get_window_size.c | 74 *columns = ws.ws_col; in get_window_size()
|
/freebsd/usr.bin/column/ |
H A D | column.c | 77 if (ioctl(1, TIOCGWINSZ, &win) == -1 || !win.ws_col) { in main() 81 termwidth = win.ws_col; in main()
|
/freebsd/contrib/tcsh/ |
H A D | sh.file.c | 315 if (ioctl(SHOUT, TIOCGWINSZ, (ioctl_t) & win) < 0 || win.ws_col == 0) in print_by_column() 316 win.ws_col = 80; in print_by_column() 320 columns = win.ws_col / maxwidth; in print_by_column()
|
/freebsd/sys/dev/syscons/ |
H A D | scvidctl.c | 239 wsz.ws_col = scp->xsize; in sc_set_text_mode() 299 wsz.ws_col = scp->xsize; in sc_set_graphics_mode() 421 wsz.ws_col = scp->xsize; in sc_set_pixel_mode()
|
/freebsd/usr.bin/tabs/ |
H A D | tabs.c | 229 width = ws.ws_col; in ttywidth()
|
/freebsd/usr.bin/w/ |
H A D | w.c | 376 ioctl(STDIN_FILENO, TIOCGWINSZ, &ws) == -1) || ws.ws_col == 0) in main() 379 ttywidth = ws.ws_col - 1; in main()
|
/freebsd/usr.bin/who/ |
H A D | who.c | 312 return (ws.ws_col); in ttywidth()
|
/freebsd/contrib/mandoc/ |
H A D | main.c | 392 ws.ws_col > 1) { in main() 393 if (conf.output.width == 0 && ws.ws_col < 79) in main() 394 conf.output.width = ws.ws_col - 1; in main() 395 if (conf.output.indent == 0 && ws.ws_col < 66) in main()
|