aboutsummaryrefslogtreecommitdiff
path: root/coreutils/stty.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* whitespace fixesvda2007-05-301-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18703 69ca8d6d-28ef-0310-b511-8ec308f3f277
* usage.c: remove reference to busybox.hvda2007-05-261-1/+1
| | | | | | | | *: s/include "busybox.h"/include "libbb.h" git-svn-id: svn://busybox.net/trunk/busybox@18696 69ca8d6d-28ef-0310-b511-8ec308f3f277
* stty: fix option parsing bug (spotted by Sascha Hauer <s.hauer@pengutronix.de>)vda2007-04-191-15/+16
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18499 69ca8d6d-28ef-0310-b511-8ec308f3f277
* style fixes. No code changes.vda2007-04-101-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18381 69ca8d6d-28ef-0310-b511-8ec308f3f277
* add some missed statics on constant objects.vda2007-04-081-9/+9
| | | | | | | | | | | | | fix few #ifndef ENABLE_xxx # size busybox_old busybox_unstripped text data bss dec hex filename 677152 2920 18208 698280 aa7a8 busybox_old 676420 2920 18208 697548 aa4cc busybox_unstripped git-svn-id: svn://busybox.net/trunk/busybox@18366 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - remove some bss users.aldot2007-04-041-17/+22
| | | | | | | | | text data bss dec hex filename 6220 8 14 6242 1862 stty.o.oorig 6219 8 0 6227 1853 stty.o git-svn-id: svn://busybox.net/trunk/busybox@18321 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - fix buglet introduced in r17351 in find_param(). Closes #1193aldot2007-02-041-4/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17757 69ca8d6d-28ef-0310-b511-8ec308f3f277
* suppress warnings about easch <applet>_main() havingvda2007-02-031-0/+1
| | | | | | | no preceding prototype git-svn-id: svn://busybox.net/trunk/busybox@17740 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - reinstate paranoia check in wrapf().aldot2007-01-181-2/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17361 69ca8d6d-28ef-0310-b511-8ec308f3f277
* stop using global variable needlesslyvda2007-01-181-28/+30
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17359 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - remove superfluous define that expanded to "!strcmp"aldot2007-01-171-22/+3
| | | | | | | - remove some dead code git-svn-id: svn://busybox.net/trunk/busybox@17355 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - reuse return code of vsnprintf to avoid pulling in strlenaldot2007-01-171-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17354 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - merge display_changed() and display_all()aldot2007-01-171-69/+22
| | | | | | | This one is a bit risky but did work for me in cursory testing.. git-svn-id: svn://busybox.net/trunk/busybox@17353 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - peruse get_terminal_width_height and remove legacy code for ancientaldot2007-01-171-69/+10
| | | | | | | slowaris versions. git-svn-id: svn://busybox.net/trunk/busybox@17352 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - rewrite find_param to use index_in_str_arrayaldot2007-01-171-1/+21
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17351 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - manually inline tty_value_to_baud and remove string_to_baud_or_diealdot2007-01-171-10/+5
| | | | | | | (cleanup) git-svn-id: svn://busybox.net/trunk/busybox@17350 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - constify some read-only members and remove superfluous castsaldot2007-01-171-12/+11
| | | | | | | (cleanup) git-svn-id: svn://busybox.net/trunk/busybox@17349 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - reuse option_mask32 for state-handling in mainaldot2007-01-171-36/+33
| | | | | | | - improve check for errors from fcntl git-svn-id: svn://busybox.net/trunk/busybox@17348 69ca8d6d-28ef-0310-b511-8ec308f3f277
* stty: fix bug reported by Paul Albrecht <albrecht@rdi1.com> -vda2007-01-121-0/+3
| | | | | | | stty -echo didn't work. Introduced by me :( git-svn-id: svn://busybox.net/trunk/busybox@17262 69ca8d6d-28ef-0310-b511-8ec308f3f277
* stty: rearrange functions, avoiding the need in forward declarations.vda2007-01-121-386/+374
| | | | | | | No other code chages. git-svn-id: svn://busybox.net/trunk/busybox@17261 69ca8d6d-28ef-0310-b511-8ec308f3f277
* stty: fix width of a field for ppc32vda2007-01-011-9/+14
| | | | | | | | sort: fix -u to match coreutils 6.3 msh: compile fix (my fault) git-svn-id: svn://busybox.net/trunk/busybox@17124 69ca8d6d-28ef-0310-b511-8ec308f3f277
* rodata cleanup. "unable to" == "cannot". -300 bytesvda2006-11-181-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16580 69ca8d6d-28ef-0310-b511-8ec308f3f277
* attempt to regularize atoi mess.vda2006-10-081-20/+16
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16342 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Yet another silly little byte saving. couldn't -> cannotvda2006-09-291-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16263 69ca8d6d-28ef-0310-b511-8ec308f3f277
* stty: fix few bugs found in testingvda2006-09-191-25/+27
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16158 69ca8d6d-28ef-0310-b511-8ec308f3f277
* stty: reorder code, reducing need in forward declarations.vda2006-09-191-211/+198
| | | | | | | added few missed bits of error checking for parameters. git-svn-id: svn://busybox.net/trunk/busybox@16155 69ca8d6d-28ef-0310-b511-8ec308f3f277
* stty: convert "enum mode_type" into unnamed enumvda2006-09-191-157/+169
| | | | | | | | (reduces code obfuscation); deindent set_mode; add _or_die suffixes to few functions git-svn-id: svn://busybox.net/trunk/busybox@16154 69ca8d6d-28ef-0310-b511-8ec308f3f277
* stty: reduce #ifdef forestvda2006-09-191-52/+45
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16153 69ca8d6d-28ef-0310-b511-8ec308f3f277
* stty: simplify linewrapping code a bitvda2006-09-191-55/+33
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16152 69ca8d6d-28ef-0310-b511-8ec308f3f277
* stty: style fixesvda2006-09-191-102/+93
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16150 69ca8d6d-28ef-0310-b511-8ec308f3f277
* stty: fix a longstanding FIXME (was able to die half-way setting term params)vda2006-09-191-171/+241
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16149 69ca8d6d-28ef-0310-b511-8ec308f3f277
* few random readability enhansements. No code changesvda2006-09-081-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16076 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove bb_ prefixes from xfuncs.c (and a few other places), consolidatelandley2006-08-031-35/+1
| | | | | | | | | | | | | things like xasprintf() into xfuncs.c, remove xprint_file_by_name() (it only had one user), clean up lots of #includes... General cleanup pass. What I've been doing for the last couple days. And it conflicts! I've removed httpd.c from this checkin due to somebody else touching that file. It builds for me. I have to catch a bus. (Now you know why I'm looking forward to Mercurial.) git-svn-id: svn://busybox.net/trunk/busybox@15767 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Undo all of the ugliness and some of the bloat from 15412.landley2006-06-181-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15421 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - reuse strings and messages. Saves about 600Baldot2006-06-071-7/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15325 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Denis Vlasenko turning static const int (which gets emitted intolandley2006-03-101-5/+8
| | | | | | | the busybox binary) into enums (which don't). git-svn-id: svn://busybox.net/trunk/busybox@14513 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Robert P. Day removed 8 gazillion occurrences of "extern" on functionlandley2006-03-061-2/+2
| | | | | | | definitions. (That should only be on prototypes.) git-svn-id: svn://busybox.net/trunk/busybox@14457 69ca8d6d-28ef-0310-b511-8ec308f3f277
* rfelker writes in Bug 736: stty.c includes unneeded, obsolete header memory.hvapier2006-02-191-1/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14132 69ca8d6d-28ef-0310-b511-8ec308f3f277
* removed warning "comparison between signed and unsigned". Reduced sizevodz2006-01-301-43/+41
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13705 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add platform.h.aldot2006-01-221-10/+3
| | | | | | | - use shorter boilerplate while at it. git-svn-id: svn://busybox.net/trunk/busybox@13494 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add a missing brace, patch by Hideki IWAMOTObug12004-09-151-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@9257 69ca8d6d-28ef-0310-b511-8ec308f3f277
* last_patch89 from vodz:andersen2003-06-201-36/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Manuel, I rewrite bb_getopt_ulflags() function for more universal usage. My version support now: - options with arguments (optional arg as GNU extension also) - complementaly and/or incomplementaly and/or incongruously and/or list options - long_opt (all applets may have long option, add supporting is trivial) This realisation full compatibile from your version. Code size grow 480 bytes, but only coreutils/* over compensate this size after using new function. Last patch reduced over 800 bytes and not full applied to all. "mkdir" and "mv" applets have long_opt now for demonstrate trivial addition support long_opt with usage new bb_getopt_ulflags(). Complementaly and/or incomplementaly and/or incongruously and/or list options logic is not trivial, but new "cut" and "grep" applets using this logic for examples with full demostrating. New "grep" applet reduced over 300 bytes. Mark, Also. I removed bug from "grep" applet. $ echo a b | busybox grep -e a b a b a b But right is printing one only. --w vodz git-svn-id: svn://busybox.net/trunk/busybox@6939 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Major coreutils update.mjn32003-03-191-287/+206
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6751 69ca8d6d-28ef-0310-b511-8ec308f3f277
* last_patch41 from vodz to fix stty -F and similarandersen2002-06-061-3/+22
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4861 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from vodz:andersen2001-07-121-1/+1
| | | | | | | | | | Changed email address cmdedit API change optimizations for traceroute and md5sum added a new shared create_icmp_socket() function git-svn-id: svn://busybox.net/trunk/busybox@3078 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Vladimir to remove testing stuff from sttyandersen2001-05-071-67/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2562 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Applied patch from Vladimir N. Oleynik that fixes incorrect behaviour inmarkw2001-03-021-249/+301
| | | | | | | recovery_mode and changed option processing. git-svn-id: svn://busybox.net/trunk/busybox@1957 69ca8d6d-28ef-0310-b511-8ec308f3f277
* It turns out that DODMALLOC was broken when I reorganized busybox.handersen2001-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 git-svn-id: svn://busybox.net/trunk/busybox@1864 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Another patch from Vladimir to eliminate obsolete junk.andersen2001-02-181-2/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1852 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Commit Vladimir's latest version of stty.c. Nice work.andersen2001-02-141-0/+1392
-Erik git-svn-id: svn://busybox.net/trunk/busybox@1803 69ca8d6d-28ef-0310-b511-8ec308f3f277