/dports/devel/util-linux/util-linux-2.36/libsmartcols/src/ |
H A D | calculate.c | 243 while (width_min > tb->termwidth in __scols_calculate() 276 if (width < tb->termwidth) { in __scols_calculate() 294 add = tb->termwidth - width; in __scols_calculate() 301 if (width == tb->termwidth) in __scols_calculate() 310 while (width < tb->termwidth) { in __scols_calculate() 317 if (width == tb->termwidth) in __scols_calculate() 321 } else if (width < tb->termwidth) { in __scols_calculate() 330 width = tb->termwidth; in __scols_calculate() 351 stage, width, tb->termwidth)); in __scols_calculate() 362 if (width <= tb->termwidth) in __scols_calculate() [all …]
|
/dports/multimedia/msdl/msdl-1.2.7-r2/src/ |
H A D | progress.c | 124 int termwidth = get_current_termwidth(); in display_progress_info() local 126 char *buffer = xmalloc(termwidth); in display_progress_info() 131 memset(buffer,0,termwidth); in display_progress_info() 134 strncat(buffer,column1,termwidth - 1); in display_progress_info() 135 fill_buffer_with_ws(buffer,termwidth-24); in display_progress_info() 138 strncat(buffer,column2,termwidth - 1); in display_progress_info() 139 fill_buffer_with_ws(buffer,termwidth-13); in display_progress_info() 142 strncat(buffer,column3,termwidth - 1); in display_progress_info() 143 fill_buffer_with_ws(buffer,termwidth); in display_progress_info()
|
/dports/sysutils/linrename/util-linux-2.25.2/text-utils/ |
H A D | column.c | 76 static void c_columnate(int maxlength, long termwidth, wchar_t **list, int entries); 112 int termwidth = 80; in main() local 141 termwidth = get_terminal_width(); in main() 142 if (termwidth <= 0) in main() 143 termwidth = 80; in main() 156 termwidth = strtou32_or_err(optarg, _("invalid columns argument")); in main() 198 else if (maxlength >= termwidth) in main() 201 c_columnate(maxlength, termwidth, list, entries); in main() 203 r_columnate(maxlength, termwidth, list, entries); in main() 221 numcols = termwidth / maxlength; in c_columnate() [all …]
|
/dports/sysutils/linrename/util-linux-2.25.2/libsmartcols/src/ |
H A D | table_print.c | 618 if (width < tb->termwidth) { in recount_widths() 636 add = tb->termwidth - width; in recount_widths() 643 if (width == tb->termwidth) in recount_widths() 657 if (width == tb->termwidth) in recount_widths() 670 width = tb->termwidth; in recount_widths() 680 while (width > tb->termwidth) { in recount_widths() 685 width, tb->termwidth, in recount_widths() 690 if (width <= tb->termwidth) in recount_widths() 773 if (tb->termwidth <= 0) in scols_print_table() 774 tb->termwidth = 80; in scols_print_table() [all …]
|
/dports/ftp/tnftpd/tnftpd-20200704/ls/ |
H A D | print.c | 68 extern int termwidth; 168 if (termwidth < 2 * colwidth) { in printcol() 189 numcols = termwidth / colwidth; in printcol() 190 colwidth = termwidth / numcols; /* spread out if possible */ in printcol() 228 if (termwidth < 2 * colwidth) { in printacol() 233 numcols = termwidth / colwidth; in printacol() 234 colwidth = termwidth / numcols; /* spread out if possible */ in printacol() 275 if (col + 1 + extwidth + p->fts_namelen >= termwidth) in printstream()
|
/dports/finance/electrum/Electrum-4.1.5/packages/pip/_vendor/pep517/ |
H A D | colorlog.py | 85 self.termwidth = scr.getmaxyx()[1] 91 self.termwidth = 70 97 if mlen + len(right_text) < self.termwidth: 98 space = ' ' * (self.termwidth - (mlen + len(right_text)))
|
/dports/math/py-cypari2/cypari2-2.1.2/venv/lib/python3.7/site-packages/pip/_vendor/pep517/ |
H A D | colorlog.py | 85 self.termwidth = scr.getmaxyx()[1] 91 self.termwidth = 70 97 if mlen + len(right_text) < self.termwidth: 98 space = ' ' * (self.termwidth - (mlen + len(right_text)))
|
/dports/www/firefox/firefox-99.0/third_party/python/pip/pip/_vendor/pep517/ |
H A D | colorlog.py | 85 self.termwidth = scr.getmaxyx()[1] 91 self.termwidth = 70 97 if mlen + len(right_text) < self.termwidth: 98 space = ' ' * (self.termwidth - (mlen + len(right_text)))
|
/dports/lang/spidermonkey78/firefox-78.9.0/obj-x86_64-pc-linux-gnu/_virtualenvs/init/lib/python2.7/site-packages/pip/_vendor/pep517/ |
H A D | colorlog.py | 85 self.termwidth = scr.getmaxyx()[1] 91 self.termwidth = 70 97 if mlen + len(right_text) < self.termwidth: 98 space = ' ' * (self.termwidth - (mlen + len(right_text)))
|
/dports/devel/py-pipenv/pipenv-2021.5.29/pipenv/patched/notpip/_vendor/pep517/ |
H A D | colorlog.py | 85 self.termwidth = scr.getmaxyx()[1] 91 self.termwidth = 70 97 if mlen + len(right_text) < self.termwidth: 98 space = ' ' * (self.termwidth - (mlen + len(right_text)))
|
/dports/devel/py-pip/pip-20.3.4/src/pip/_vendor/pep517/ |
H A D | colorlog.py | 85 self.termwidth = scr.getmaxyx()[1] 91 self.termwidth = 70 97 if mlen + len(right_text) < self.termwidth: 98 space = ' ' * (self.termwidth - (mlen + len(right_text)))
|
/dports/devel/py-pipenv/pipenv-2021.5.29/pipenv/vendor/pep517/ |
H A D | colorlog.py | 85 self.termwidth = scr.getmaxyx()[1] 91 self.termwidth = 70 97 if mlen + len(right_text) < self.termwidth: 98 space = ' ' * (self.termwidth - (mlen + len(right_text)))
|
/dports/devel/py-pep517/pep517-0.12.0/pep517/ |
H A D | colorlog.py | 85 self.termwidth = scr.getmaxyx()[1] 91 self.termwidth = 70 97 if mlen + len(right_text) < self.termwidth: 98 space = ' ' * (self.termwidth - (mlen + len(right_text)))
|
/dports/devel/py-flit/flit-3.5.1/flit/ |
H A D | log.py | 82 self.termwidth = scr.getmaxyx()[1] 87 self.termwidth = 70 93 if l + len(right_text) < self.termwidth: 94 space = ' ' * (self.termwidth - (l + len(right_text)))
|
/dports/net/omnitty/omnitty-0.3.0/ |
H A D | help.c | 58 int termwidth, termheight; in help_show() local 62 getmaxyx(stdscr, termheight, termwidth); in help_show() 64 (termwidth - HELP_COLS )/2); in help_show()
|
H A D | menu.c | 56 int termwidth, termheight; in menu_show() local 61 getmaxyx(stdscr, termheight, termwidth); in menu_show() 63 (termwidth - MENU_COLS )/2); in menu_show()
|
/dports/devel/hgsvn/hgsvn-0.6.0/hgsvn/ |
H A D | ui.py | 17 termwidth = mercurial.ui.ui().termwidth variable 19 from mercurial.util import termwidth 22 def termwidth(): function 130 width = termwidth()
|
/dports/devel/py-beautifultable/beautifultable-1.0.1/beautifultable/ |
H A D | beautifultable.py | 38 termwidth, 531 offset += termwidth(self.border.left) 532 offset += termwidth(self.border.right) 955 if termwidth(self.border.left) > 0: 958 termwidth(self.border.left), 959 termwidth(intersect_left), 965 if termwidth(self.border.right) > 0: 969 termwidth(intersect_right), 977 if termwidth(self.columns.separator): 1055 width += termwidth(self.border.left) [all …]
|
/dports/misc/rump/buildrump.sh-b914579/src/usr.bin/sed/ |
H A D | process.c | 591 termwidth = 60; in lputs() 592 if (termwidth == (size_t)-1) { in lputs() 594 termwidth = (size_t)atoi(p); in lputs() 598 termwidth = win.ws_col; in lputs() 601 termwidth = 60; in lputs() 603 if (termwidth == 0) in lputs() 604 termwidth = 1; in lputs() 618 if (col + 1 >= termwidth) in lputs() 625 if (col + width >= termwidth) { in lputs() 633 if (col + 2 >= termwidth) { in lputs() [all …]
|
/dports/shells/zsh/zsh-5.8.1/Completion/Unix/Command/ |
H A D | _toilet | 11 '(-t --termwidth -w --width)'{-w,--width}'[set output width]:width:' \ 12 '(-t --termwidth -w --width)'{-t,--termwidth}'[adapt to terminal width]' \
|
/dports/x11-wm/herbstluftwm/herbstluftwm-0.9.2/scripts/ |
H A D | q3terminal.sh | 20 termwidth=$(( (${mrect[2]} * termwidth_percent) / 100 )) 24 $termwidth 26 $(( ${mrect[0]} + (${mrect[2]} - termwidth) / 2 ))
|
/dports/net/fspd/fsp-2.8.1b29/bsd_src/ |
H A D | print.c | 143 extern int termwidth; 156 if (termwidth < 2 * colwidth) { in printcol() 161 numcols = termwidth / colwidth; in printcol()
|
/dports/devel/util-linux/util-linux-2.36/text-utils/ |
H A D | column.c | 70 size_t termwidth; member 392 scols_table_set_termwidth(ctl->tab, ctl->termwidth); in modify_table() 558 numcols = ctl->termwidth / ctl->maxlength; in columnate_fillrows() 586 numcols = ctl->termwidth / ctl->maxlength; in columnate_fillcols() 670 .termwidth = (size_t) -1 in main() 724 ctl.termwidth = strtou32_or_err(optarg, _("invalid columns argument")); in main() 798 if (ctl.termwidth == (size_t) -1) in main() 799 ctl.termwidth = get_terminal_width(80); in main() 835 if (ctl.maxlength >= ctl.termwidth) in main()
|
/dports/net/fspclient/fspclient-0.93.1/bsd/ |
H A D | print.c | 89 extern int termwidth; 106 if (termwidth < 2 * colwidth) { in printcol() 111 numcols = termwidth / colwidth; in printcol()
|
/dports/devel/kBuild/kBuild-0.1.9998/src/kash/bltin/ |
H A D | kill.c | 199 unsigned termwidth = 80; in printsignals() local 204 termwidth = win.ws_col; in printsignals() 211 if (len + nl >= termwidth) { in printsignals()
|