aboutsummaryrefslogtreecommitdiff
path: root/console-tools/chvt.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update applet size estimatesDenys Vlasenko2023-07-101-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* build system: drop PLATFORM_LINUXRon Yorston2020-08-131-1/+0
| | | | | | | | | | | | | | | PLATFORM_LINUX is a hidden configuration option which is disabled by default and enabled at over a hundred locations for features that are deemed to be Linux specific. The only effect of PLATFORM_LINUX is to control compilation of libbb/match_fstype.c. This file is only needed by mount and umount. Remove all references to PLATFORM_LINUX and compile match_fstype.c if mount or umount is enabled. Signed-off-by: Ron Yorston <rmy@pobox.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* chvt, deallocvt, dumpkmap, fgconsole, loadkmap: make them NOEXECDenys Vlasenko2017-08-051-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* config: deindent all help textsDenys Vlasenko2017-07-211-2/+2
| | | | | | Those two spaces after tab have no effect, and always a nuisance when editing. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Update menuconfig items with approximate applet sizesDenys Vlasenko2017-07-181-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Convert all console-tools/* applets to "new style" applet definitionsDenys Vlasenko2016-11-231-0/+11
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* move help text from include/usage.src.h to console-tools/*.cPere Orga2011-03-281-0/+6
| | | | | Signed-off-by: Pere Orga <gotrunks@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: make GNU licensing statement forms more regularDenys 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>
* *: remove a few more cases of argc usage. -89 bytes.Denys Vlasenko2009-11-281-9/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: use get_console_fd() as appropriate, and make it fail on open error -Denis Vlasenko2008-08-051-2/+1
| | | | | | | | | | | | | | | | get_console_fd_or_die(). function old new delta get_console_fd_or_die - 163 +163 loadkmap_main 211 201 -10 loadfont_main 440 430 -10 dumpkmap_main 218 208 -10 kbd_mode_main 158 146 -12 setkeycodes_main 156 143 -13 get_console_fd 163 - -163 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 0/5 up/down: 163/-218) Total: -55 bytes
* - Rename getpty() to xgetpty() and adjust callers.Bernhard Reutner-Fischer2008-05-191-10/+2
| | | | | | | | | - Rewrite kbd_mode and setconsole - Introduce and use console_make_active() and xopen_xwrite_close() - honour buffer-reservation method as set by the user (dumpkmap, loadkmap) - shrink rtcwake and some console-tools Saves about 270 Bytes
* minor fix in comment, no code changesDenis Vlasenko2007-10-291-1/+1
|
* add -fvisibility=hidden to CC flags, mark XXX_main functionsDenis Vlasenko2007-10-111-1/+1
| | | | | EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so
* *: compile fixes for 64-bit buildDenis Vlasenko2007-08-231-3/+4
|
* xioctl and friends by Tito <farmatito@tiscali.it>Denis Vlasenko2007-07-141-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta do_iptunnel 203 977 +774 process_dev 5328 5494 +166 ioctl_or_perror - 54 +54 ioctl_or_perror_and_die - 51 +51 ioctl_alt_func - 49 +49 bb_ioctl_or_warn - 47 +47 do_add_ioctl 102 145 +43 bb_xioctl - 39 +39 print_value_on_off - 31 +31 get_lcm 105 123 +18 arp_main 2155 2167 +12 .................. zcip_main 1576 1566 -10 setlogcons_main 92 82 -10 dumpkmap_main 263 253 -10 do_get_ioctl 85 75 -10 setkeycodes_main 165 154 -11 write_table 244 232 -12 vconfig_main 318 306 -12 do_del_ioctl 93 81 -12 set_address 75 62 -13 maybe_set_utc 30 16 -14 loadfont_main 495 479 -16 slattach_main 712 695 -17 do_loadfont 191 174 -17 do_iplink 1155 1136 -19 getty_main 2583 2562 -21 fbset_main 2058 2035 -23 do_time 588 565 -23 xioctl 25 - -25 read_rtc 186 160 -26 parse_conf 1299 1270 -29 udhcp_read_interface 269 239 -30 bb_ioctl 45 - -45 bb_ioctl_alt 70 - -70 bb_ioctl_on_off 78 - -78 .rodata 129370 129018 -352 do_show 799 - -799 ------------------------------------------------------------------------------ (add/remove: 6/5 grow/shrink: 13/49 up/down: 1316/-1864) Total: -548 bytes text data bss dec hex filename 675352 2740 13968 692060 a8f5c busybox_old 674804 2740 13968 691512 a8d38 busybox_unstripped
* usage.c: remove reference to busybox.hDenis Vlasenko2007-05-261-1/+1
| | | | | *: s/include "busybox.h"/include "libbb.h"
* suppress warnings about easch <applet>_main() havingDenis Vlasenko2007-02-031-0/+1
| | | | no preceding prototype
* attempt to regularize atoi mess.Denis Vlasenko2006-10-081-6/+1
|
* - remove emacs layout block as suggested by Robert P.J. DayBernhard Reutner-Fischer2006-05-191-24/+1
| | | | - use shorter boilerplate while at it
* Cleanup patches from tito.Rob Landley2006-03-101-2/+2
|
* Patch from Denis Vlasenko turning static const int (which gets emitted intoRob Landley2006-03-101-2/+4
| | | | the busybox binary) into enums (which don't).
* Tito sent more size tweaks.Rob Landley2005-09-081-5/+3
|
* Remove trailing whitespace. Update copyright to include 2004.Eric Andersen2004-03-151-1/+1
|
* Patch by Tito, use bb_xgetlarg, reduce sizeGlenn L McGrath2004-01-141-2/+2
|
* Patch from Arthur Othieno for docs/style-guide.txt conformance.Eric Andersen2003-10-221-6/+24
|
* Major coreutils update.Manuel Novoa III2003-03-191-3/+3
|
* Apply vodz' last_patch52Eric Andersen2002-09-161-1/+1
|
* Added some more '/* getopt not needed */' lines.Mark Whitley2001-03-091-0/+3
|
* It turns out that DODMALLOC was broken when I reorganized busybox.hEric Andersen2001-02-201-1/+1
| | | | | | header file usage before the 0.49 release. To fix it, I had to move the '#include "busybox.h"' to the end of the list of #include files. -Erik
* This patch, put together by Manuel Novoa III, is a merge of workEric Andersen2001-02-141-1/+1
| | | | | | done by Evin Robertson (bug#1105) and work from Manuel to make usage messages occupy less space and simplify how usage messages are displayed.
* #define -> static const int. Also got rid of some big static buffers.Mark Whitley2001-01-231-2/+2
|
* Simplify error handling.Matt Kraai2000-12-141-8/+4
|
* Stop using TRUE and FALSE for exit status.Matt Kraai2000-12-011-3/+3
|
* Renamed "internal.h" to the more sensible "busybox.h".Eric Andersen2000-09-251-1/+1
| | | | -Erik
* Extract usage information into a separate file.Matt Kraai2000-07-161-7/+0
|
* Don't use strings directly in calls to usage(). This is in preparationMatt Kraai2000-07-141-7/+8
| | | | for their extraction to a separate file.
* Update files to reduce dependance on kernel version...Eric Andersen2000-07-081-3/+7
| | | | -Erik
* Updates to a number of apps to remove warnings/compile errors under libc5.Eric Andersen2000-06-191-1/+1
| | | | | Tested under both libc5 and libc6 and all seems well with these fixes. -Erik
* Latest and greatest. Some effort at libc5 (aiming towards newlib)Erik Andersen2000-04-281-2/+0
| | | | | compatability. -Erik
* More Doc updates. cmdedit and more termio fixes.Erik Andersen2000-04-211-2/+5
|
* A few updates (including the cp fix the Craig has been looking for)Erik Andersen2000-03-041-0/+9
| | | | -Erik
* Some formatting updates (ran the code through indent)Erik Andersen2000-02-081-18/+18
| | | | -Erik
* Updates to usage, and made tar work.Eric Andersen1999-11-101-1/+1
| | | | -Erik
* StufEric Andersen1999-10-251-0/+36