aboutsummaryrefslogtreecommitdiff
path: root/console-tools/resize.c
Commit message (Collapse)AuthorAgeFilesLines
* move help text from include/usage.src.h to console-tools/*.cGravatar Pere Orga2011-03-281-0/+6
| | | | | Signed-off-by: Pere Orga <gotrunks@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* getty: explain every bit in termios; remove redundant stuff in termios_finalGravatar Denys Vlasenko2011-01-261-0/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: use _exit() in sighandlers; showkey: do not use exit-thru-sighandlerGravatar Marek Polacek2010-10-281-1/+1
| | | | | | | | | | | | While at it, make ESC sequences more readable; and removed check for isatty(stdin) in reset. Code shrink: text data bss dec hex filename 884771 936 17216 902923 dc70b busybox_old 884723 936 17216 902875 dc6db busybox_unstripped Signed-off-by: Marek Polacek <mmpolacek@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: make GNU licensing statement forms more regularGravatar Denys Vlasenko2010-08-161-1/+1
| | | | | | | This change retains "or later" state! No licensing _changes_ here, only form is adjusted (article, space between "GPL" and "v2" and so on). Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: suppress ~60% of "aliased warnings" on gcc-4.4.1Gravatar Denys Vlasenko2010-02-041-5/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* - update my name. No obj-code changes ;)Gravatar Bernhard Reutner-Fischer2008-09-251-1/+1
|
* *: rename ATTRIBUTE_XXX to just XXX.Gravatar Denis Vlasenko2008-07-051-2/+2
|
* - use EXIT_{SUCCESS,FAILURE}. No object-code changesGravatar Bernhard Reutner-Fischer2008-05-191-1/+1
|
* *: add -Wunused-parameter; fix resulting breakageGravatar Denis Vlasenko2008-03-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta procps_scan 1265 1298 +33 aliascmd 278 283 +5 parse_file_cmd 116 120 +4 dname_enc 373 377 +4 setcmd 90 93 +3 execcmd 57 60 +3 count_lines 72 74 +2 process_command_subs 340 339 -1 test_main 409 407 -2 mknod_main 179 177 -2 handle_incoming_and_exit 2653 2651 -2 argstr 1312 1310 -2 shiftcmd 131 128 -3 exitcmd 46 43 -3 dotcmd 297 294 -3 breakcmd 86 83 -3 evalpipe 353 349 -4 evalcommand 1180 1176 -4 evalcmd 109 105 -4 send_tree 374 369 -5 mkfifo_main 82 77 -5 evalsubshell 152 147 -5 typecmd 75 69 -6 letcmd 61 55 -6 add_cmd 1190 1183 -7 main 891 883 -8 ash_main 1415 1407 -8 parse_stream 1377 1367 -10 alloc_procps_scan 55 - -55 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 7/21 up/down: 54/-148) Total: -94 bytes text data bss dec hex filename 797195 658 7428 805281 c49a1 busybox_old 797101 658 7428 805187 c4943 busybox_unstripped
* libbb: introduce bb_signals and bb_signals_recursive,Gravatar Denis Vlasenko2008-02-161-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | which sets same handler for many signals. sig_catch is nuked (bb_signals_recursive is more descriptive name). *: use them as appropriate. function old new delta bb_signals_recursive - 95 +95 bb_signals - 52 +52 run_command 258 273 +15 svlogd_main 1368 1377 +9 runsv_main 1746 1752 +6 runsvdir_main 1643 1646 +3 UNSPEC_print 64 66 +2 time_main 1128 1127 -1 ... resize_main 246 210 -36 sig_catch 63 - -63 set_fatal_sighandler 85 14 -71 ------------------------------------------------------------------------------ (add/remove: 2/1 grow/shrink: 5/24 up/down: 182/-548) Total: -366 bytes
* add -fvisibility=hidden to CC flags, mark XXX_main functionsGravatar Denis Vlasenko2007-10-111-1/+1
| | | | | EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so
* find_stray_communal_vars: script which finds communal variablesGravatar Denis Vlasenko2007-06-031-6/+5
| | | | | resize: remove globals var mdev: remove globals var
* usage.c: remove reference to busybox.hGravatar Denis Vlasenko2007-05-261-1/+1
| | | | | *: s/include "busybox.h"/include "libbb.h"
* resize: make it usable in in backticks; have a timeout (if displayGravatar Denis Vlasenko2007-03-121-8/+37
| | | | doesn't respond to 'get cursor pos' ESC sequence...)
* more: do not mess with "/dev/console" (!);Gravatar Denis Vlasenko2007-03-101-3/+5
| | | | | | | fill whole 1st screen (was "screen sans one line"); fall back to cat if redirected or no ctty less: fall back to cat if no ctty (was exiting) resize: cosmetics
* suppress warnings about easch <applet>_main() havingGravatar Denis Vlasenko2007-02-031-0/+1
| | | | no preceding prototype
* - revert r16191; re-add resize() applet.Gravatar Bernhard Reutner-Fischer2006-10-251-0/+38
| | | | | | | text data bss dec hex filename 288 0 0 288 120 console-tools/_resize.o.gcc-2.95 258 0 0 258 102 console-tools/_resize.o.gcc-3.3 252 0 0 252 fc console-tools/_resize.o.gcc-3.4
* console-tools/resize.c is apparently leftover from a reverted patch.Gravatar Eric Andersen2006-10-191-0/+0
| | | | | Since it is a 0 length file, it gets nuked by 'make distclean' so I suppose might as well kill it off properly.
* "I'll think about it" != "apply it now". It means I need to think about it.Gravatar Rob Landley2006-09-221-38/+0
|
* - add new applet resize.Gravatar Bernhard Reutner-Fischer2006-09-221-0/+38
text data bss dec hex filename 185 0 0 185 b9 console-tools/resize.o 255 0 0 255 ff console-tools/resize.o.print