aboutsummaryrefslogtreecommitdiff
path: root/libbb/get_console.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* *: code shrink by adding a wrapper around very common tcsetattr(0, TCSANOW, ↵Denis Vlasenko2008-11-051-2/+0
| | | | | | | | | | | | | | | | | | | | | | xx) op function old new delta tcsetattr_stdin_TCSANOW - 14 +14 set_sane_term 116 113 -3 top_main 1277 1273 -4 make_new_session 421 415 -6 rawmode 133 126 -7 reset_term 18 10 -8 die 43 35 -8 cookmode 62 54 -8 vlock_main 425 415 -10 read_line_input 3165 3155 -10 bb_askpass 357 347 -10 fsck_minix_main 3079 3065 -14 getty_main 2375 2332 -43 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 0/12 up/down: 14/-131) Total: -117 bytes
* *: use get_console_fd() as appropriate, and make it fail on open error -Denis Vlasenko2008-08-051-3/+3
| | | | | | | | | | | | | | | | 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
* *: introduce and use FAST_FUNC: regparm on i386, otherwise no-onDenis Vlasenko2008-06-271-2/+2
| | | | | | | text data bss dec hex filename 808035 611 6868 815514 c719a busybox_old 804472 611 6868 811951 c63af busybox_unstripped
* - Rename getpty() to xgetpty() and adjust callers.Bernhard Reutner-Fischer2008-05-191-2/+12
| | | | | | | | | - 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
* kbd_mode: new applet by Loïc Grenié <loic.grenie@gmail.com>Denis Vlasenko2007-10-201-1/+1
| | | | | | | | | | | | | kbd_mode_main - 189 +189 packed_usage 22745 22833 +88 applets 3132 3144 +12 static.opts 7 12 +5 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 3/0 up/down: 294/0) Total: 294 bytes text data bss dec hex filename 777210 1000 9532 787742 c051e busybox_old 777575 1000 9532 788107 c068b busybox_unstripped
* delete tons of extra #includesDenis Vlasenko2007-05-311-1/+1
|
* style fixes. No code changesDenis Vlasenko2007-04-121-5/+5
|
* init: code readability enhancements; very small code changesDenis Vlasenko2007-02-171-10/+5
|
* suppress warnings about easch <applet>_main() havingDenis Vlasenko2007-02-031-2/+2
| | | | no preceding prototype
* Yet another silly little byte saving. couldn't -> cannotDenis Vlasenko2006-09-291-1/+1
|
* - remove emacs layout block as suggested by Robert P.J. DayBernhard Reutner-Fischer2006-05-191-23/+1
| | | | - use shorter boilerplate while at it
* Patch from Denis Vlasenko turning static const int (which gets emitted intoRob Landley2006-03-101-1/+1
| | | | the busybox binary) into enums (which don't).
* Remove trailing whitespace. Update copyright to include 2004.Eric Andersen2004-03-151-1/+1
|
* Fix compile error and reducing size for libbb/get_console.c to previous size.Glenn L McGrath2003-09-011-45/+27
| | | | Vodz last_patch106
* Remove some unwanted code, patch from Holger Schurig, confirmed by vodzGlenn L McGrath2003-08-291-4/+0
|
* Update a bunch of docs. Run a script to update my email addr.Eric Andersen2003-07-141-2/+2
|
* Major coreutils update.Manuel Novoa III2003-03-191-1/+1
|
* Apply vodz' last_patch52Eric Andersen2002-09-161-6/+3
|
* Major rework of the directory structure and the entire build system.Eric Andersen2001-10-241-7/+2
| | | | -Erik
* Add support for devfs device names.Matt Kraai2001-07-231-4/+4
|
* Convert utility.c into libbb.a. It is now a whole pile of .cEric Andersen2001-03-161-0/+129
files. Clean up the resulting damage and fix up the makefile. -Erik