Home
last modified time | relevance | path

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

123

/freebsd/lib/libdpv/
H A Ddialog_util.c98 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 Dprogressmeter.c294 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 Dsshpty.c159 w.ws_col = col; in pty_change_window_size()
/freebsd/usr.bin/resizewin/
H A Dresizewin.c89 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 Dscreen.c260 if (ws.ws_col != 0) in get_screensize()
262 screen_width = ws.ws_col - 1; in get_screensize()
/freebsd/sbin/camcontrol/
H A Dprogress.c75 winsize.ws_col != 0) { in progress_init()
76 prog->ttywidth = winsize.ws_col; in progress_init()
/freebsd/sys/sys/
H A D_winsize.h41 unsigned short ws_col; /* columns, in characters */ member
/freebsd/usr.bin/talk/
H A Dinit_disp.c194 (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 Dmain.c361 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 Dui_test.cpp88 return ws.ws_col >= 80 ? ws.ws_col - 5 : ws.ws_col; in reopen_stdout()
H A Dui.cpp151 width = optional< std::size_t >(ws.ws_col); in screen_width()
/freebsd/contrib/llvm-project/lldb/tools/driver/
H A DPlatform.cpp32 ws->ws_col = info.dwMaximumWindowSize.X; in ioctl()
H A DPlatform.h24 long ws_col; member
H A DDriver.cpp449 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 Dttysize.c63 # define WINSIZE_COLS(n) (int)n.ws_col
/freebsd/crypto/heimdal/appl/telnet/telnetd/
H A Dtermstat.c105 ws.ws_col = parm1; in clientstat()
/freebsd/bin/stty/
H A Dkey.c150 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 Dget_window_size.c74 *columns = ws.ws_col; in get_window_size()
/freebsd/usr.bin/column/
H A Dcolumn.c77 if (ioctl(1, TIOCGWINSZ, &win) == -1 || !win.ws_col) { in main()
81 termwidth = win.ws_col; in main()
/freebsd/contrib/tcsh/
H A Dsh.file.c315 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 Dscvidctl.c239 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 Dtabs.c229 width = ws.ws_col; in ttywidth()
/freebsd/usr.bin/w/
H A Dw.c376 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 Dwho.c312 return (ws.ws_col); in ttywidth()
/freebsd/contrib/mandoc/
H A Dmain.c392 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()

123