Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Per comment from Jim McQuillan <jam@mcquil.com>, don't log | Eric Andersen | 2001-05-07 | 2 | -4/+4 | |
| | | | | | syslogd startup/shutdown messages as KERN.EMERG, but use SYSLOG.INFO instead. | |||||
* | Update comment re USE_SYSTEM_PWD_GRP | Eric Andersen | 2001-05-07 | 1 | -5/+6 | |
| | | | | -Erik | |||||
* | Per some comments from Lars Kellogg-Stedman <lars@larsshack.org>, | Eric Andersen | 2001-05-07 | 7 | -11/+16 | |
| | | | | | | make xreadlink() return NULL on failure, and make sure everyone uses the interface correctly. -Erik | |||||
* | Another vi update from Sterling Huxley: | Eric Andersen | 2001-05-07 | 2 | -448/+696 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - All of the ESC sequences are now in variables. This should make re-targeting for other terminals easier. - The initial screen draw does not force out every single column. Should be faster. - The place_cursor() routine trys to be smarter about moving the cursor. This is optional based on BB_FEATURE_VI_OPTIMIZE_CURSOR. - The 't' and 'f' intra-line positioning commands were added. They can now be used as targets in 'c' and 'd' commands, i.e., dfx - delete from dot to next 'x' dtx - delete from dot to the char before next 'x' - show_status_line() uses a static int checksum to remember what is currently displayed on the screen and not re-draw the status line unless it has changed. - Some of the code in refresh() was moved out to format_line(). refresh() trys to send out the smallest segment containing the changed chars rather than the whole line. - Added "flash" to the :set command to specify if error indication should be by flashing the screen or ringing the bell. - Changed the rawmode() routine so that it turns off the NL -> CR NL translation. On output of a NL, the OS will not add a CR. - If vi was started as "view", with global read-only mode, and another file is opened, the file is opened read-only rather than read+write. | |||||
* | woops, forgot the break statment | Glenn L McGrath | 2001-05-07 | 2 | -0/+2 | |
| | ||||||
* | Tolerate -q argument, if -q is passed give a warning and continue rather ↵ | Glenn L McGrath | 2001-05-07 | 4 | -4/+12 | |
| | | | | than just fail | |||||
* | Actually we dont need to check if the device is nfs as it wont be stat'ed | Glenn L McGrath | 2001-05-07 | 2 | -4/+2 | |
| | ||||||
* | woops, i shouldnt be so presumtuous? about what the error will be | Glenn L McGrath | 2001-05-07 | 2 | -2/+2 | |
| | ||||||
* | Device may not be a real filename | Glenn L McGrath | 2001-05-07 | 2 | -20/+32 | |
| | ||||||
* | Rewrite -c and -b processing to shrink code and eliminate buffer overrun. | Matt Kraai | 2001-05-05 | 2 | -28/+8 | |
| | ||||||
* | include libbb.h after other includes | Glenn L McGrath | 2001-05-05 | 1 | -3/+2 | |
| | ||||||
* | Larry's variant on Evin Robertson's fix to what I messed up | Eric Andersen | 2001-05-04 | 2 | -2/+2 | |
| | | | | | | trying to make job control work. This fix makes it so that hush doesn't error out when init hasn't set up job control, as in when init=/bin/sh | |||||
* | Larry suggested using concat_path_file() would be an even safer bet | Eric Andersen | 2001-05-04 | 3 | -9/+9 | |
| | | | | | | | for 'which'. I ageed, so I whipped this up -- which revealed a bug in concat_path_file. It turns out that that a '/' can be appended from either the path _or_ the filename, but only the former was checked. -Erik | |||||
* | Wrote documentation and scripts for creating a busybox boot floppy. Initial ↵ | Mark Whitley | 2001-05-04 | 11 | -0/+445 | |
| | | | | revision. | |||||
* | Don't reset parents context when we encounter an terminator. Fixes | Matt Kraai | 2001-05-04 | 2 | -2/+0 | |
| | | | | if true; then if true; then true; fi; fi | |||||
* | Fix a buffer overflow. Which accounted for the size of the path, plus the the | Eric Andersen | 2001-05-04 | 2 | -2/+2 | |
| | | | | | | '/', plus the size of the test command. It did not account for the terminating NULL, which overwrote the end of the string. -Erik | |||||
* | If it fails to run a builtin, let it fall through to | Eric Andersen | 2001-05-04 | 2 | -2/+0 | |
| | | | | | exec the real thing. -Erik | |||||
* | Fix two bugs reported by Ralph Jones. | Matt Kraai | 2001-05-04 | 2 | -6/+14 | |
| | ||||||
* | A todo update from larry to acknowledge the existance of hush | Eric Andersen | 2001-05-03 | 1 | -11/+12 | |
| | ||||||
* | devfs does not support creation of regular files. So change the | Eric Andersen | 2001-05-03 | 2 | -12/+6 | |
| | | | | | test a bit so as to not possibly create a regular file. -Erik | |||||
* | Remove summary header. Not present in GNU or SUSv2. | Matt Kraai | 2001-05-03 | 2 | -4/+2 | |
| | ||||||
* | Move up waitpid error check so that errno isn't clobbered by tcsetpgrp. | Matt Kraai | 2001-05-02 | 2 | -6/+6 | |
| | ||||||
* | Canonicalize path before trying to unmount it. | Matt Kraai | 2001-05-02 | 2 | -2/+12 | |
| | ||||||
* | Fix bug #1108 by always canonicalizing arguments. | Matt Kraai | 2001-05-02 | 2 | -26/+32 | |
| | ||||||
* | Some more job control updates. It will now sucessfully background | Eric Andersen | 2001-05-02 | 2 | -92/+148 | |
| | | | | | stuff. Good luck getting things back into the foreground though... -Erik | |||||
* | Don't treat newline as pipe separator when processing substitutions. | Matt Kraai | 2001-05-02 | 2 | -2/+8 | |
| | ||||||
* | Use .png for images (removing all .gifs) and make them all 90x36 | Eric Andersen | 2001-05-02 | 11 | -7/+7 | |
| | | | | -Erik | |||||
* | Fix $(...) construction. Noted and patched by Larry Doolittle | Matt Kraai | 2001-05-02 | 2 | -0/+2 | |
| | | | | <ldoolitt@recycle.lbl.gov>. I'm just a patch whore. :) | |||||
* | First pass at getting job control working. This gets the infrastructure | Eric Andersen | 2001-05-02 | 2 | -26/+284 | |
| | | | | | | in place, but something is still missing/wrong in there. Testing with 'grep foo &' seems to put _hush_ into the background. Pondering... -Erik | |||||
* | Use the current pgrp, not pid, when resetting the foreground process group. | Matt Kraai | 2001-05-02 | 2 | -2/+2 | |
| | | | | Fixes bizarre suspension when executing `echo`. | |||||
* | Don't segfault if the first word is the empty string. | Matt Kraai | 2001-05-02 | 2 | -4/+8 | |
| | ||||||
* | Another update from Larry: | Eric Andersen | 2001-05-02 | 2 | -34/+38 | |
| | | | | | Makes hush return code equal to that of the last command executed. Fixes the mode where input comes from a file. | |||||
* | Skip headers with empty filenames, rather than stopping. | Matt Kraai | 2001-05-01 | 2 | -2/+2 | |
| | ||||||
* | Another refinement, this time from Larry. | Eric Andersen | 2001-05-01 | 2 | -2/+2 | |
| | ||||||
* | Argh. Now we break non-pristine builds. Check a bit more carefully. | Eric Andersen | 2001-05-01 | 2 | -2/+2 | |
| | | | | -Erik | |||||
* | Oops. The dangers of applying patches by hand... | Eric Andersen | 2001-05-01 | 1 | -1/+1 | |
| | ||||||
* | Another hush update from Larry: | Eric Andersen | 2001-05-01 | 2 | -10/+26 | |
| | | | | | | | | | | | | | | Minor improvements. Something is still broken with running scripts via "hush filename". All the following are now handled acceptably (matches ash, not bash). if true; then echo foo1; fi if true; then echo foo2; fi if true; false; then echo bar; else echo foo3; fi if true || false; then echo foo4; fi - Larry | |||||
* | A patch from Larry to fix pristine source builds (again). | Eric Andersen | 2001-05-01 | 3 | -3/+3 | |
| | | | | I just can't seem to _not_ break it. Sigh. | |||||
* | Some more hush.c updates from Larry Doolittle. | Eric Andersen | 2001-04-30 | 2 | -26/+92 | |
| | ||||||
* | Oops. I was a bit too hasty and also changed applet_name. | Eric Andersen | 2001-04-30 | 2 | -2/+2 | |
| | ||||||
* | Made new xreadlink function for libbb and changed applets to use it instead of | Mark Whitley | 2001-04-30 | 13 | -90/+77 | |
| | | | | readlink(2). | |||||
* | These messages can be .rodata, so make them even more const. | Eric Andersen | 2001-04-30 | 3 | -38/+38 | |
| | | | | -Erik | |||||
* | These do not need initial values. Let them live in the bss. | Eric Andersen | 2001-04-30 | 4 | -6/+6 | |
| | | | | -Erik | |||||
* | Per suggestion by Matt, make sh.c a real target. There is no | Eric Andersen | 2001-04-30 | 1 | -4/+4 | |
| | | | | | need for the useless sh_link dummy target -- use the real thing. -Erik | |||||
* | Fix user permissions of copied directories. | Matt Kraai | 2001-04-30 | 1 | -1/+8 | |
| | ||||||
* | Simplify permission handling for FIFOs. | Matt Kraai | 2001-04-30 | 1 | -12/+1 | |
| | ||||||
* | Fix exit status when there is an error copying a file. | Matt Kraai | 2001-04-30 | 1 | -1/+1 | |
| | ||||||
* | Logic reversal for last_char_is | Glenn L McGrath | 2001-04-29 | 2 | -2/+2 | |
| | ||||||
* | fix to applet_source_list rule so Debian package continues to build | David Kimdon | 2001-04-28 | 1 | -1/+1 | |
| | ||||||
* | Matt was complaining. Hopefully this helps the sh.c link situation | Eric Andersen | 2001-04-27 | 1 | -4/+4 | |
| |