aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2001-05-07This is Vladimir's update to last_char_is(). Since 'char *' isEric Andersen
the least common denominator, I modified it to use that (not const), which will minimize the need for casting elsewhere.
2001-05-07Silence cut so it doesn't whine during compilationEric Andersen
2001-05-07A patch from Vladimir to simplify chomp()Eric Andersen
2001-05-07A patch from Vladimir to simplify concat_path_file() andEric Andersen
make it less likely to break.
2001-05-07A patch from Vladimir to use last_char_is(), and a patch fromEric Andersen
Larry to fix a silly bug when BB_FEATURE_VI_OPTIMIZE_CURSOR is not defined.
2001-05-07Patch from Vladimir to use last_char_is to simplify du.cEric Andersen
2001-05-07Patch from Vladimir to remove testing stuff from sttyEric Andersen
2001-05-07A bug fix from Vladimir for a memory leak I stupidlyEric Andersen
added to which.c.
2001-05-07More hush updates from Larry:Eric Andersen
Update some comments. Generate partial placeholders for the missing builtins. Write builtin_umask. Properly treat exec without arguments as a means to open/close files within the running script. Implement "4<&-" that encodes for file descriptor closure.
2001-05-07Patch from Jim McQuillan to pass the terminal type to the remote host.Eric Andersen
2001-05-07Per comment from Jim McQuillan <jam@mcquil.com>, don't logEric Andersen
syslogd startup/shutdown messages as KERN.EMERG, but use SYSLOG.INFO instead.
2001-05-07Update comment re USE_SYSTEM_PWD_GRPEric Andersen
-Erik
2001-05-07Per some comments from Lars Kellogg-Stedman <lars@larsshack.org>,Eric Andersen
make xreadlink() return NULL on failure, and make sure everyone uses the interface correctly. -Erik
2001-05-07Another vi update from Sterling Huxley:Eric Andersen
- 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.
2001-05-07woops, forgot the break statmentGlenn L McGrath
2001-05-07Tolerate -q argument, if -q is passed give a warning and continue rather ↵Glenn L McGrath
than just fail
2001-05-07Actually we dont need to check if the device is nfs as it wont be stat'edGlenn L McGrath
2001-05-07woops, i shouldnt be so presumtuous? about what the error will beGlenn L McGrath
2001-05-07Device may not be a real filenameGlenn L McGrath
2001-05-05Rewrite -c and -b processing to shrink code and eliminate buffer overrun.Matt Kraai
2001-05-05include libbb.h after other includesGlenn L McGrath
2001-05-04Larry's variant on Evin Robertson's fix to what I messed upEric Andersen
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
2001-05-04Larry suggested using concat_path_file() would be an even safer betEric Andersen
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
2001-05-04Wrote documentation and scripts for creating a busybox boot floppy. Initial ↵Mark Whitley
revision.
2001-05-04Don't reset parents context when we encounter an terminator. FixesMatt Kraai
if true; then if true; then true; fi; fi
2001-05-04Fix a buffer overflow. Which accounted for the size of the path, plus the theEric Andersen
'/', plus the size of the test command. It did not account for the terminating NULL, which overwrote the end of the string. -Erik
2001-05-04If it fails to run a builtin, let it fall through toEric Andersen
exec the real thing. -Erik
2001-05-04Fix two bugs reported by Ralph Jones.Matt Kraai
2001-05-03A todo update from larry to acknowledge the existance of hushEric Andersen
2001-05-03devfs does not support creation of regular files. So change theEric Andersen
test a bit so as to not possibly create a regular file. -Erik
2001-05-03Remove summary header. Not present in GNU or SUSv2.Matt Kraai
2001-05-02Move up waitpid error check so that errno isn't clobbered by tcsetpgrp.Matt Kraai
2001-05-02Canonicalize path before trying to unmount it.Matt Kraai
2001-05-02Fix bug #1108 by always canonicalizing arguments.Matt Kraai
2001-05-02Some more job control updates. It will now sucessfully backgroundEric Andersen
stuff. Good luck getting things back into the foreground though... -Erik
2001-05-02Don't treat newline as pipe separator when processing substitutions.Matt Kraai
2001-05-02Use .png for images (removing all .gifs) and make them all 90x36Eric Andersen
-Erik
2001-05-02Fix $(...) construction. Noted and patched by Larry DoolittleMatt Kraai
<ldoolitt@recycle.lbl.gov>. I'm just a patch whore. :)
2001-05-02First pass at getting job control working. This gets the infrastructureEric Andersen
in place, but something is still missing/wrong in there. Testing with 'grep foo &' seems to put _hush_ into the background. Pondering... -Erik
2001-05-02Use the current pgrp, not pid, when resetting the foreground process group.Matt Kraai
Fixes bizarre suspension when executing `echo`.
2001-05-02Don't segfault if the first word is the empty string.Matt Kraai
2001-05-02Another update from Larry:Eric Andersen
Makes hush return code equal to that of the last command executed. Fixes the mode where input comes from a file.
2001-05-01Skip headers with empty filenames, rather than stopping.Matt Kraai
2001-05-01Another refinement, this time from Larry.Eric Andersen
2001-05-01Argh. Now we break non-pristine builds. Check a bit more carefully.Eric Andersen
-Erik
2001-05-01Oops. The dangers of applying patches by hand...Eric Andersen
2001-05-01Another hush update from Larry:Eric Andersen
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
2001-05-01A patch from Larry to fix pristine source builds (again).Eric Andersen
I just can't seem to _not_ break it. Sigh.
2001-04-30Some more hush.c updates from Larry Doolittle.Eric Andersen
2001-04-30Oops. I was a bit too hasty and also changed applet_name.Eric Andersen