aboutsummaryrefslogtreecommitdiff
path: root/console-tools/clear.c
Commit message (Collapse)AuthorAgeFilesLines
* *: use ESC define instead of "\033"; use ESC[m instead of ESC[0mGravatar Denys Vlasenko2017-09-131-1/+3
| | | | | | | | text data bss dec hex filename 922535 481 6832 929848 e3038 busybox_old 922534 481 6832 929847 e3037 busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* new NOFORKs: clear, nproc, tty, uname, arch, unlink, whichGravatar Denys Vlasenko2017-08-031-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* config: deindent all help textsGravatar Denys Vlasenko2017-07-211-1/+1
| | | | | | 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 sizesGravatar Denys Vlasenko2017-07-181-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Convert all console-tools/* applets to "new style" applet definitionsGravatar Denys Vlasenko2016-11-231-0/+9
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* 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>
* *: 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>
* bbconfig: make it independent from printf functionsGravatar Denys Vlasenko2010-06-071-5/+1
| | | | | | | | | | | | | | function old new delta full_write2_str - 25 +25 full_write1_str - 25 +25 clear_main 21 20 -1 telnet_main 1488 1477 -11 getty_main 1932 1918 -14 full_write22_str 25 - -25 ------------------------------------------------------------------------------ (add/remove: 2/1 grow/shrink: 0/3 up/down: 50/-51) Total: -1 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* consolidate ESC sequencesGravatar Denys Vlasenko2010-05-161-1/+2
| | | | | | | | | | | | | | function old new delta bell 2 - -2 CMdown 2 - -2 Ceos 4 - -4 Ceol 4 - -4 CMup 4 - -4 SOs 5 - -5 SOn 5 - -5 CMrc 9 - -9 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: rename ATTRIBUTE_XXX to just XXX.Gravatar Denis Vlasenko2008-07-051-1/+1
|
* *: add -Wunused-parameter; fix resulting breakageGravatar Denis Vlasenko2008-03-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* add -fvisibility=hidden to CC flags, mark XXX_main functionsGravatar Denis Vlasenko2007-10-111-1/+1
| | | | | EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so
* delete tons of extra #includesGravatar Denis Vlasenko2007-05-311-3/+0
|
* usage.c: remove reference to busybox.hGravatar Denis Vlasenko2007-05-261-1/+1
| | | | | *: s/include "busybox.h"/include "libbb.h"
* suppress warnings about easch <applet>_main() havingGravatar Denis Vlasenko2007-02-031-0/+1
| | | | no preceding prototype
* Add one-line GPL boilerplate to numerous (but not all yet) source files.Gravatar "Robert P. J. Day"2006-07-121-13/+1
|
* Robert P. Day removed 8 gazillion occurrences of "extern" on functionGravatar Rob Landley2006-03-061-1/+1
| | | | definitions. (That should only be on prototypes.)
* trivial generate exit codeGravatar "Vladimir N. Oleynik"2005-10-121-2/+1
|
* Remove trailing whitespace. Update copyright to include 2004.Gravatar Eric Andersen2004-03-151-1/+1
|
* Patch from Arthur Othieno for style-guide.txt conformanceGravatar Eric Andersen2003-10-221-0/+2
|
* Update a bunch of docs. Run a script to update my email addr.Gravatar Eric Andersen2003-07-141-2/+1
|
* Major rework of the directory structure and the entire build system.Gravatar Eric Andersen2001-10-241-3/+2
| | | | -Erik
* It turns out that DODMALLOC was broken when I reorganized busybox.hGravatar Eric 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
* Fix up copyright msgs. Bump version to 0.49 in preparation for0_49Gravatar Eric Andersen2001-01-271-1/+1
| | | | | a release. Update the website with release details. -Erik
* Fix header file usage -- there were many unnecessary header files included inGravatar Eric Andersen2001-01-271-0/+1
| | | | | | | busybox.h which slowed compiles. I left only what was needed and then fixed up all the apps to include their own header files. I also fixed naming for pwd.h and grp.h functions. Tested to compile and run with libc5, glibc, and uClibc. -Erik
* Stop using TRUE and FALSE for exit status.Gravatar Matt Kraai2000-12-011-1/+1
|
* Renamed "internal.h" to the more sensible "busybox.h".Gravatar Eric Andersen2000-09-251-1/+1
| | | | -Erik
* Centralize handling of --help.Gravatar Matt Kraai2000-07-191-3/+0
|
* Add usage messages for applets without them.Gravatar Matt Kraai2000-07-191-0/+3
|
* Updates to a number of apps to remove warnings/compile errors under libc5.Gravatar Eric Andersen2000-06-191-1/+1
| | | | | Tested under both libc5 and libc6 and all seems well with these fixes. -Erik
* Upates to include copyright 2000 to everythingGravatar Erik Andersen2000-04-131-1/+1
| | | | -Erik
* Some formatting updates (ran the code through indent)Gravatar Erik Andersen2000-02-081-3/+3
| | | | -Erik
* Fixed up copyright notices and suchGravatar Eric Andersen1999-10-201-1/+3
|
* Latest and greatest.Gravatar Eric Andersen1999-10-121-1/+1
| | | | -Erik
* More stuff works.Gravatar Eric Andersen1999-10-051-4/+22
| | | | -Erik
* Initial revision0_29alpha2Gravatar Eric Andersen1999-10-051-0/+13