aboutsummaryrefslogtreecommitdiff
path: root/console-tools/kbd_mode.c
Commit message (Collapse)AuthorAgeFilesLines
* *: remove "Options:" string from help textsGravatar Denys Vlasenko2011-06-051-1/+0
| | | | | | | function old new delta packed_usage 28706 28623 -83 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/+12
| | | | | Signed-off-by: Pere Orga <gotrunks@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* whitespace cleanupGravatar Denys Vlasenko2010-10-291-2/+2
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.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>
* add and use xopen_nonblocking (-18b)Gravatar Bernhard Reutner-Fischer2009-10-271-1/+1
| | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* kbd_mode: s/ioctl/xioctl. also saves 12 bytesGravatar Denis Vlasenko2008-11-081-1/+1
|
* kbd_mode: support -C TTY optionGravatar Denis Vlasenko2008-11-081-8/+9
| | | | | | | function old new delta packed_usage 25334 25361 +27 kbd_mode_main 146 173 +27
* kbd_mode: fix non-ASCII letters in commentsGravatar Denis Vlasenko2008-09-031-1/+1
| | | | | install: support -D
* *: use get_console_fd() as appropriate, and make it fail on open error -Gravatar Denis Vlasenko2008-08-051-9/+8
| | | | | | | | | | | | | | | | 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
* kbd_mode: remove erroneous & from &var. By Vladimir.Gravatar Denis Vlasenko2008-08-051-1/+1
|
* *: rename ATTRIBUTE_XXX to just XXX.Gravatar Denis Vlasenko2008-07-051-1/+1
|
* - Rename getpty() to xgetpty() and adjust callers.Gravatar Bernhard Reutner-Fischer2008-05-191-44/+29
| | | | | | | | | - 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
* patch: shrink by Pascal Bellard <pascal.bellard AT ads-lu.com> (-80 bytes)Gravatar Denis Vlasenko2008-03-231-1/+0
| | | | | *: removal of #include <getopt.h>
* kbd_mode: new applet by Loïc Grenié <loic.grenie@gmail.com>Gravatar Denis Vlasenko2007-10-201-0/+71
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