oweals/busybox.git
24 years ago(Something I should have done in the previous checkin...) Also broke out
Mark Whitley [Thu, 13 Jul 2000 20:01:58 +0000 (20:01 -0000)]
(Something I should have done in the previous checkin...) Also broke out
substitution command execution from do_sed_command() and put it in it's own
do_subst_command() function.

24 years agoMinor code reorg: Changed the interface to index_of_next_unescaped_slash to an
Mark Whitley [Thu, 13 Jul 2000 19:58:04 +0000 (19:58 -0000)]
Minor code reorg: Changed the interface to index_of_next_unescaped_slash to an
interface that seems a little more sensible to me. Also broke out s///
expression parsing into it's own subroutine.

24 years agoFix uninitialized variable.
Eric Andersen [Thu, 13 Jul 2000 19:49:12 +0000 (19:49 -0000)]
Fix uninitialized variable.
 -Erik

24 years agoPatch from Marc Nijdam <marc_nijdam@hp.com>
Eric Andersen [Thu, 13 Jul 2000 18:42:58 +0000 (18:42 -0000)]
Patch from Marc Nijdam <marc_nijdam@hp.com>
> First (of many more) patch of cp_mv to getopt use. I'm using the most
> simplistic approach, just get getopt used,  then worry about a cleaner
> option parsing style using getopt later.
>
> Marc

24 years agoAdded a smallish TODO comment.
Mark Whitley [Thu, 13 Jul 2000 17:20:23 +0000 (17:20 -0000)]
Added a smallish TODO comment.

24 years agoFrom Matt Kraai <kraai@alumni.carnegiemellon.edu>
Eric Andersen [Thu, 13 Jul 2000 16:40:41 +0000 (16:40 -0000)]
From Matt Kraai <kraai@alumni.carnegiemellon.edu>
> Here is a patch so that tr can handle NULL characters as well.  Give it
> a shot and let me know what you think.  It is against the latest CVS
> version.
>
> In my tests, the following now works as expected.
>
> tr '\0' '\n'
>
> Later,
> Matt

24 years agoCorrect argument parsing and other minor cleanups.
Matt Kraai [Thu, 13 Jul 2000 06:33:12 +0000 (06:33 -0000)]
Correct argument parsing and other minor cleanups.

24 years agoAdded some smallish comments to help folks understand why we have two tables
Mark Whitley [Wed, 12 Jul 2000 23:36:17 +0000 (23:36 -0000)]
Added some smallish comments to help folks understand why we have two tables
of builtins and the reasoning behind it.

24 years agoChanged bb_regcomp to xregcomp and #if 0'ed out destroy_cmd_strs in sed.c
Mark Whitley [Wed, 12 Jul 2000 23:35:21 +0000 (23:35 -0000)]
Changed bb_regcomp to xregcomp and #if 0'ed out destroy_cmd_strs in sed.c
(maybe I'll remove it later).

24 years agoPatch from Jon McClintock <jonm@bluemug.com>
Eric Andersen [Wed, 12 Jul 2000 23:01:04 +0000 (23:01 -0000)]
Patch from Jon McClintock <jonm@bluemug.com>
>The attached patch adds the ability to parse the actual mode specifier in
>fbset. So now
>
>    fbset -n 640x480-72
>
>Will actually work. I don't know if I've reinvented the wheel though...

 -Erik

24 years agoAlways report the applet name when doing error reporting.
Matt Kraai [Wed, 12 Jul 2000 17:02:35 +0000 (17:02 -0000)]
Always report the applet name when doing error reporting.

24 years agoUse global applet_name instead of local versions.
Matt Kraai [Wed, 12 Jul 2000 15:38:49 +0000 (15:38 -0000)]
Use global applet_name instead of local versions.

24 years agoUse global applet_name instead of local versions.
Matt Kraai [Wed, 12 Jul 2000 00:53:06 +0000 (00:53 -0000)]
Use global applet_name instead of local versions.

24 years agoThe applet name isn't constant.
Matt Kraai [Wed, 12 Jul 2000 00:43:28 +0000 (00:43 -0000)]
The applet name isn't constant.

24 years agoChanged verbiage.
Eric Andersen [Tue, 11 Jul 2000 23:06:48 +0000 (23:06 -0000)]
Changed verbiage.
 -Erik

24 years agoReplaced projects with products/projects.
Eric Andersen [Tue, 11 Jul 2000 23:05:38 +0000 (23:05 -0000)]
Replaced projects with products/projects.
 -Erik

24 years agoAdded the Kerbango Internet Radio to projects/products using BusyBox.
Eric Andersen [Tue, 11 Jul 2000 23:03:40 +0000 (23:03 -0000)]
Added the Kerbango Internet Radio to projects/products using BusyBox.
 -Erik

24 years agoApplied patch from Matt Kraai to call destroy_cmd_strs in atexit(), rather
Mark Whitley [Tue, 11 Jul 2000 21:38:47 +0000 (21:38 -0000)]
Applied patch from Matt Kraai to call destroy_cmd_strs in atexit(), rather
than peppering it throughout the code.

24 years agoAdded applet_name to contain the applet name.
Matt Kraai [Tue, 11 Jul 2000 20:03:24 +0000 (20:03 -0000)]
Added applet_name to contain the applet name.

24 years agoFinal updates for release. 0_46
Eric Andersen [Tue, 11 Jul 2000 18:18:40 +0000 (18:18 -0000)]
Final updates for release.
 -Erik

24 years agoFinal update for the release.
Eric Andersen [Tue, 11 Jul 2000 18:06:01 +0000 (18:06 -0000)]
Final update for the release.

24 years agoForgot to commit these cleanups it seems.
Eric Andersen [Tue, 11 Jul 2000 17:52:22 +0000 (17:52 -0000)]
Forgot to commit these cleanups it seems.
 -Erik

24 years agoMore changelog updates
Eric Andersen [Tue, 11 Jul 2000 17:45:42 +0000 (17:45 -0000)]
More changelog updates
 -Erik

24 years agoAdded changelog entries for grep/sed/regex changes.
Mark Whitley [Tue, 11 Jul 2000 17:43:42 +0000 (17:43 -0000)]
Added changelog entries for grep/sed/regex changes.

24 years agoSome changelog updates.
Eric Andersen [Tue, 11 Jul 2000 17:42:56 +0000 (17:42 -0000)]
Some changelog updates.
 -Erik

24 years agoRe-enable ln -n in the help.
Eric Andersen [Tue, 11 Jul 2000 17:38:27 +0000 (17:38 -0000)]
Re-enable ln -n in the help.
 -Erik

24 years agoAnother patch from Matt Kraai <kraai@alumni.carnegiemellon.edu>:
Eric Andersen [Tue, 11 Jul 2000 17:35:32 +0000 (17:35 -0000)]
Another patch from Matt Kraai <kraai@alumni.carnegiemellon.edu>:
>
> The following patch allows ln -n to function like GNU.  It also fixes a
> typo with my previous patch to add support for ln FILE DIRECTORY.  And
> it removes some code that checks the maximum length of the filenames.  I
> can't figure out why that code is necessary.  Anyone know?
>
> Matt

24 years agoAdded 'dumpkmap' to allow people to dump a binary keymap, which can then be
Eric Andersen [Tue, 11 Jul 2000 17:29:36 +0000 (17:29 -0000)]
Added 'dumpkmap' to allow people to dump a binary keymap, which can then be
loaded in by 'loadkmap' -- submitted by Arne Bernin <arne@matrix.loopback.org>
 -Erik

24 years agoApplied patch from Matt Kraai which does the following:
Mark Whitley [Tue, 11 Jul 2000 16:53:56 +0000 (16:53 -0000)]
Applied patch from Matt Kraai which does the following:
 - adds case-insensitive matching in sed s/// epxressions
 - consolodates common regcomp code in grep & sed into bb_regcomp and put in
   utility.c
 - cleans up a bunch of cruft

24 years agoFix dead link.
Matt Kraai [Tue, 11 Jul 2000 16:09:01 +0000 (16:09 -0000)]
Fix dead link.
 -Matt

24 years agoFixed NFS so it supports 2.4.x kernels and NFSv3. Should close bug #1009.
Eric Andersen [Mon, 10 Jul 2000 23:39:44 +0000 (23:39 -0000)]
Fixed NFS so it supports 2.4.x kernels and NFSv3.  Should close bug #1009.
 -Erik

24 years agoRemoved all trace of hand-tooled regexp routines. Bye bye, baby.
Mark Whitley [Mon, 10 Jul 2000 23:07:54 +0000 (23:07 -0000)]
Removed all trace of hand-tooled regexp routines. Bye bye, baby.

24 years agoAdded a rule to make tags files for vi(m).
Mark Whitley [Mon, 10 Jul 2000 23:00:47 +0000 (23:00 -0000)]
Added a rule to make tags files for vi(m).

24 years agoComment on kernel stuff
Eric Andersen [Mon, 10 Jul 2000 22:57:14 +0000 (22:57 -0000)]
Comment on kernel stuff
 -Erik

24 years agoBrand, new sed that uses libc regex routines.
Mark Whitley [Mon, 10 Jul 2000 22:55:51 +0000 (22:55 -0000)]
Brand, new sed that uses libc regex routines.
There is some common code used by both sed & grep that should be put into
utility.c as per Mat Kraai's suggestions/patch on the mailing list.
Specifically, a common regex_compile() and a regex_subst() function need to be
made.

24 years agoMore linux kernel header file removal.
Eric Andersen [Mon, 10 Jul 2000 22:46:55 +0000 (22:46 -0000)]
More linux kernel header file removal.
 -Erik

24 years agoRemove yet more kernel header dependancies.
Eric Andersen [Mon, 10 Jul 2000 20:08:44 +0000 (20:08 -0000)]
Remove yet more kernel header dependancies.
 -Erik

24 years agoRemove unused variable.
Eric Andersen [Mon, 10 Jul 2000 20:08:09 +0000 (20:08 -0000)]
Remove unused variable.
 -Erik

24 years agoRemove the problematic CTRLCHAR macro.
Eric Andersen [Mon, 10 Jul 2000 19:56:47 +0000 (19:56 -0000)]
Remove the problematic CTRLCHAR macro.
 -Erik

24 years agoPut the GROWBY variable inside the get_line_from_file function, as that is the
Mark Whitley [Mon, 10 Jul 2000 19:31:31 +0000 (19:31 -0000)]
Put the GROWBY variable inside the get_line_from_file function, as that is the
only function where it's used and it's always good to keep the namespace
clean. :-)

24 years agoRemoved unnecessary #include "regexp.h" line from find.c as per Matt Kraai's
Mark Whitley [Mon, 10 Jul 2000 19:29:09 +0000 (19:29 -0000)]
Removed unnecessary #include "regexp.h" line from find.c as per Matt Kraai's
suggestion on the mailing list.

24 years agoFunction name cleanup.
Eric Andersen [Mon, 10 Jul 2000 18:47:24 +0000 (18:47 -0000)]
Function name cleanup.
 -Erik

24 years agoFrom Matt Kraai <kraai@alumni.carnegiemellon.edu>:
Eric Andersen [Mon, 10 Jul 2000 16:44:03 +0000 (16:44 -0000)]
From Matt Kraai <kraai@alumni.carnegiemellon.edu>:

Howdy,

Bug #1006 reports that

ln -s /tmp/foo .

does not work correctly.  In fact, it appears that any instantiation of

ln -s FILE... DIRECTORY

does not work.  The following patch adds support for this form, which
then fixes the particular instance noted in the bug report.

In the process, I needed the basename function.  This appears in the
string.h provided by glibc, but not uC-libc.  So I wrote my own to go in
utility.c, called get_last_path_component.  I also modified the basename
utility to use this function.

At some point it might be desirous to use the basename from the library
if it exists, and otherwise compile our own.  But I don't know how to do
this.

Matt

24 years agoPatch from Matt Kraai <kraai@alumni.carnegiemellon.edu>:
Eric Andersen [Mon, 10 Jul 2000 16:38:50 +0000 (16:38 -0000)]
Patch from Matt Kraai <kraai@alumni.carnegiemellon.edu>:

GNU tr complains on the following:

$ tr a ''
tr: when not truncating set1, string2 must be non-empty

BusyBox tr does not complain:

$ tr a ''
a
^D
0

It should result in an error, not in some spurious output.  The attached
patch generates an error.

Matt

24 years agoApplied patch from Matt Kraai as per his email:
Mark Whitley [Mon, 10 Jul 2000 15:50:26 +0000 (15:50 -0000)]
Applied patch from Matt Kraai as per his email:

However, the case of

grep foo$ file

didn't work, due to a problem with the flags used in regular expression
compilation.  The attached patch fixes this problem.

---patch-------
Index: grep.c
===================================================================
RCS file: /var/cvs/busybox/grep.c,v
retrieving revision 1.30
diff -u -r1.30 grep.c
--- grep.c      2000/07/04 22:17:01     1.30
+++ grep.c      2000/07/10 08:57:04
@@ -141,8 +141,10 @@
        if (argv[optind] == NULL)
                usage(grep_usage);

-       /* compile the regular expression */
-       reflags = REG_NOSUB; /* we're not going to mess with sub-expressions
        */
+       /* compile the regular expression
+        * we're not going to mess with sub-expressions, and we need to
+        * treat newlines right. */
+       reflags = REG_NOSUB | REG_NEWLINE;
        if (ignore_case)
                reflags |= REG_ICASE;
        if ((ret = regcomp(&regex, argv[optind], reflags)) != 0) {
---patch-------

Thanks, Matt, it works great.

24 years agoMore portability updates. Now compiles cleanly vs glibc, libc5, and uclibc
Eric Andersen [Sun, 9 Jul 2000 06:59:58 +0000 (06:59 -0000)]
More portability updates.  Now compiles cleanly vs glibc, libc5, and uclibc
(except for mkfs_minix and fsck_minix -- and it doesn't yet link vs uclibc due
to missing stuff in the library).
 -Erik

24 years agoinclude getopt.h
Eric Andersen [Sun, 9 Jul 2000 05:56:14 +0000 (05:56 -0000)]
include getopt.h
 -Erik

24 years agoFix a bug in get_line_from_file. If the length of the line is (GROWBY * n) +
Eric Andersen [Sun, 9 Jul 2000 02:38:01 +0000 (02:38 -0000)]
Fix a bug in get_line_from_file.  If the length of the line is (GROWBY * n) +
GROWBY - 1, then it writes the null character just after the buffer.  Yipe.
Fix thanks to Matt Kraai <kraai@alumni.carnegiemellon.edu> Thanks Matt!
 -Erik

24 years agoThe build depends were too strict. I depended on on debhelper (>= 2.0.80)
Eric Andersen [Sun, 9 Jul 2000 01:54:33 +0000 (01:54 -0000)]
The build depends were too strict.  I depended on on debhelper (>= 2.0.80)
while debhelper 1.1.24 is available for slink.  Just forget the dependancy --
it isn't needed.
 -Erik

24 years agoArgh. More cross libc cleanup. Should be ok now...
Eric Andersen [Sat, 8 Jul 2000 19:20:49 +0000 (19:20 -0000)]
Argh.  More cross libc cleanup.  Should be ok now...
 -Erik

24 years agoMore cleanup on umount
Eric Andersen [Sat, 8 Jul 2000 19:10:29 +0000 (19:10 -0000)]
More cleanup on umount
 -Erik

24 years agoUpdate files to reduce dependance on kernel version...
Eric Andersen [Sat, 8 Jul 2000 18:55:24 +0000 (18:55 -0000)]
Update files to reduce dependance on kernel version...
 -Erik

24 years agoAdd in tinynet
Eric Andersen [Sat, 8 Jul 2000 16:19:10 +0000 (16:19 -0000)]
Add in tinynet
 -Erik

24 years agoDoc updates to remove sfdisk.
Eric Andersen [Sat, 8 Jul 2000 00:09:30 +0000 (00:09 -0000)]
Doc updates to remove sfdisk.
 -Erik

24 years agoBetter description of the BB_FEATURE_USE_DEVPS_PATCH option.
Eric Andersen [Fri, 7 Jul 2000 23:51:37 +0000 (23:51 -0000)]
Better description of the BB_FEATURE_USE_DEVPS_PATCH option.
 -Erik

24 years agoAdd in my fix for 2.4.x kernels so /proc/mounts will not have useless
Eric Andersen [Fri, 7 Jul 2000 21:22:19 +0000 (21:22 -0000)]
Add in my fix for 2.4.x kernels so /proc/mounts will not have useless
deg entries which break mount, df, and friends.  Renamed WillThisGoIntoTheKernel
to avoid any confision.
 -Erik

24 years agoRemoved sfdisk from BusyBox. It was buggy, fat, and we really couldn't
Eric Andersen [Fri, 7 Jul 2000 20:54:30 +0000 (20:54 -0000)]
Removed sfdisk from BusyBox.  It was buggy, fat, and we really couldn't
maintain it very well, so including it was not very appropriate.  Those wanting
an fdisk are invited to grab a copy from util-linux.
 -Erik

24 years agoAdded in Matt Kraai.
Eric Andersen [Fri, 7 Jul 2000 20:53:16 +0000 (20:53 -0000)]
Added in Matt Kraai.
 -Erik

24 years agoFix a dependancy bug for the docs.
Eric Andersen [Fri, 7 Jul 2000 20:52:56 +0000 (20:52 -0000)]
Fix a dependancy bug for the docs.
 -Erik

24 years agoNaming fix
Eric Andersen [Fri, 7 Jul 2000 20:37:12 +0000 (20:37 -0000)]
Naming fix
 -Erik

24 years agoRecognize Matt's poweroff fix.
Eric Andersen [Fri, 7 Jul 2000 19:33:35 +0000 (19:33 -0000)]
Recognize Matt's poweroff fix.
 -Erik

24 years agoFix for bug #1003 -- BusyBox should now poweroff when asked to
Eric Andersen [Fri, 7 Jul 2000 19:30:28 +0000 (19:30 -0000)]
Fix for bug #1003 -- BusyBox should now poweroff when asked to
do so...  Fix thanks to Matt Kraai <kraai@alumni.carnegiemellon.edu>
 -Erik

24 years agoWeb page update from Matt Kraai <kraai@alumni.carnegiemellon.edu>
Eric Andersen [Fri, 7 Jul 2000 19:23:10 +0000 (19:23 -0000)]
Web page update from Matt Kraai <kraai@alumni.carnegiemellon.edu>
 -Erik

24 years agoThis patch finishes the cleanup of all the commands. It also cleans up
Eric Andersen [Fri, 7 Jul 2000 19:07:47 +0000 (19:07 -0000)]
This patch finishes the cleanup of all the commands.  It also cleans up
the remaining chapters -- Matt Kraai <kraai@alumni.carnegiemellon.edu>
 -Erik

24 years agoYet another busybox documentation update from Matt Kraai <kraai@alumni.carnegiemellon...
Eric Andersen [Fri, 7 Jul 2000 05:04:24 +0000 (05:04 -0000)]
Yet another busybox documentation update from Matt Kraai <kraai@alumni.carnegiemellon.edu>
 -Erik

24 years agoUpdate 'make release' to remove all the .#filename files
Eric Andersen [Thu, 6 Jul 2000 23:17:16 +0000 (23:17 -0000)]
Update 'make release' to remove all the .#filename files
the CVS leaves lying about...
 -Erik

24 years agoTurned some stuff into features that really are features, not apps.
Eric Andersen [Thu, 6 Jul 2000 23:10:29 +0000 (23:10 -0000)]
Turned some stuff into features that really are features, not apps.
 -Erik

24 years agoFix doc building so the dependancies work properly.
Eric Andersen [Thu, 6 Jul 2000 22:53:22 +0000 (22:53 -0000)]
Fix doc building so the dependancies work properly.
 -Erik

24 years ago* Fixed tar creation support when reading from stdin ('tar -cf - . ')
Eric Andersen [Thu, 6 Jul 2000 22:51:35 +0000 (22:51 -0000)]
* Fixed tar creation support when reading from stdin ('tar -cf - . ')
    thanks to Daniel Quinlan <quinlan@transmeta.com>
 -Erik

24 years agoFixed backspace and delete so they work properly again -- broken
Eric Andersen [Thu, 6 Jul 2000 21:29:32 +0000 (21:29 -0000)]
Fixed backspace and delete so they work properly again -- broken
since 0.44.
 -Erik

24 years agoMore doc patches from Matt Kraai <kraai@alumni.carnegiemellon.edu>.
Eric Andersen [Thu, 6 Jul 2000 19:59:22 +0000 (19:59 -0000)]
More doc patches from Matt Kraai <kraai@alumni.carnegiemellon.edu>.
Thanks Matt!
 -Erik

24 years agoRemove leftovers of block_device, which disapperared around
Eric Andersen [Thu, 6 Jul 2000 19:46:22 +0000 (19:46 -0000)]
Remove leftovers of block_device, which disapperared around
busybox 0.28.
 -Erik

24 years agoChange order.
Eric Andersen [Thu, 6 Jul 2000 19:11:34 +0000 (19:11 -0000)]
Change order.
 -Erik

24 years agoAdded (fixed) the '-n' option to fbset. Renumbered the command parameters to
Eric Andersen [Thu, 6 Jul 2000 17:23:23 +0000 (17:23 -0000)]
Added (fixed) the '-n' option to fbset.  Renumbered the command parameters to
put a gap between the normal commands and the fancy commands. This makes it
cleaner to add normal commands.  Patch from Jon McClintock <jonm@bluemug.com>.
 -Erik

24 years agosetkeycodes needs get_console_fd(), so if you disable chvt and deallocvt, but
Eric Andersen [Thu, 6 Jul 2000 17:20:46 +0000 (17:20 -0000)]
setkeycodes needs get_console_fd(), so if you disable chvt and deallocvt, but
leave setkeycodes active, busybox will not link.  Also fix a trivial
use-before-initialize warning.  Both fixes from Jon McClintock
<jonm@bluemug.com>.

 -Erik

24 years agoRemove some warning with glibc.
Eric Andersen [Thu, 6 Jul 2000 17:08:38 +0000 (17:08 -0000)]
Remove some warning with glibc.
 -Erik

24 years agoComment on kill.c change.
Eric Andersen [Thu, 6 Jul 2000 17:06:08 +0000 (17:06 -0000)]
Comment on kill.c change.
 -Erik

24 years agoReorganized signal names for better architecture support -- patch
Eric Andersen [Thu, 6 Jul 2000 17:05:33 +0000 (17:05 -0000)]
Reorganized signal names for better architecture support -- patch
thanks to simon wood <simon@mungewell.uklinux.net>
 -Erik

24 years agoDocBook documentation update from Matt Kraai <kraai@alumni.carnegiemellon.edu>
Eric Andersen [Thu, 6 Jul 2000 16:58:45 +0000 (16:58 -0000)]
DocBook documentation update from Matt Kraai <kraai@alumni.carnegiemellon.edu>
 -Erik

24 years agoHad an extra tcsetpgrp.
Eric Andersen [Thu, 6 Jul 2000 16:56:56 +0000 (16:56 -0000)]
Had an extra tcsetpgrp.
 -Erik

24 years agoa few minor cleanups.
Eric Andersen [Thu, 6 Jul 2000 09:56:35 +0000 (09:56 -0000)]
a few minor cleanups.
 -Erik

24 years agoRemove MAXNAMLEN and use BUFSIZ instead.
Eric Andersen [Thu, 6 Jul 2000 01:57:20 +0000 (01:57 -0000)]
Remove MAXNAMLEN and use BUFSIZ instead.
 -Erik

24 years agoRemove misguided klude around for 2.4.x-test* brokenness. Al Viro
Eric Andersen [Wed, 5 Jul 2000 19:29:59 +0000 (19:29 -0000)]
Remove misguided klude around for 2.4.x-test* brokenness.  Al Viro
will be removing this stuff from /proc/mounts real soon now I am assured.
 -Erik

24 years ago* Fix to tr so it recognizes standard escape sequences. Merged common
Eric Andersen [Wed, 5 Jul 2000 17:26:35 +0000 (17:26 -0000)]
* Fix to tr so it recognizes standard escape sequences.  Merged common
    escape seq. code from tr and echo into utility.c.  Fix thanks to
    Matt Kraai <kraai@alumni.carnegiemellon.edu>.
* This should close Bug #1015.  Please test.
 -Erik

24 years agoPatch from Matt Kraai <kraai@alumni.carnegiemellon.edu> to
Eric Andersen [Wed, 5 Jul 2000 17:21:58 +0000 (17:21 -0000)]
Patch from Matt Kraai <kraai@alumni.carnegiemellon.edu> to
simplify ar.c and make it more readable.
 -Erik

24 years agoSome cosmetic updates. Changed "OPTIONS" to "Options".
Eric Andersen [Tue, 4 Jul 2000 22:17:01 +0000 (22:17 -0000)]
Some cosmetic updates.  Changed "OPTIONS" to "Options".
 -Erik

24 years agoMore doc updates
Eric Andersen [Tue, 4 Jul 2000 20:07:13 +0000 (20:07 -0000)]
More doc updates
 -Erik

24 years agoA first pass at integrating the SGML docs into the Makefile.
Eric Andersen [Tue, 4 Jul 2000 19:42:23 +0000 (19:42 -0000)]
A first pass at integrating the SGML docs into the Makefile.
A first pass a cleaning up the current SGML (lots more cleanup
is needed though).
 -Erik

24 years ago* Fix to init.c from Stuart Menefy <Stuart.Menefy@st.com> so that
Eric Andersen [Tue, 4 Jul 2000 19:41:23 +0000 (19:41 -0000)]
* Fix to init.c from Stuart Menefy <Stuart.Menefy@st.com> so that
    it always sets the controlling terminal before running any programs
 -Erik

24 years agoFixed a potential infinite loop. First delete any chars after the
Eric Andersen [Tue, 4 Jul 2000 06:22:18 +0000 (06:22 -0000)]
Fixed a potential infinite loop.  First delete any chars after the
cursor, then delete everything before it.  Before this, we would just
delete everything before the cursor and freak out if there were still
chars left (i.e. stuff after the cursor).
 -Erik

24 years agosh fixes from Marius Groeger <mag@sysgo.de>
Eric Andersen [Mon, 3 Jul 2000 23:56:26 +0000 (23:56 -0000)]
sh fixes from Marius Groeger <mag@sysgo.de>
 -Erik

24 years agoAdded support for ignoring '-g' per GNU ls, thanks to David Vrabel
Eric Andersen [Mon, 3 Jul 2000 14:55:49 +0000 (14:55 -0000)]
Added support for ignoring '-g' per GNU ls, thanks to David Vrabel
<dvrabel@arcom.co.uk>.  Seems some ftp clients expect the '-g' option
to exist.
 -Erik

24 years agoAdded support for being a login shell, so things like '-su' or '-sh' (stuff
Eric Andersen [Thu, 29 Jun 2000 20:20:14 +0000 (20:20 -0000)]
Added support for being a login shell, so things like '-su' or '-sh' (stuff
where argv[0][0]=='-') will now always invoke the shell.  Now you can use
BusyBox as a login shell.
 -Erik

24 years agoFixed comment.
Mark Whitley [Wed, 28 Jun 2000 22:59:30 +0000 (22:59 -0000)]
Fixed comment.

24 years agoAdded support for reading from stdin with '-' as file name arg.
Mark Whitley [Wed, 28 Jun 2000 22:55:59 +0000 (22:55 -0000)]
Added support for reading from stdin with '-' as file name arg.

24 years agoYanked out the cstring_alloc() and cstring_lineFromFile() functions from
Mark Whitley [Wed, 28 Jun 2000 22:15:26 +0000 (22:15 -0000)]
Yanked out the cstring_alloc() and cstring_lineFromFile() functions from
utility.c and replaced them with get_line_from_file() from the new grep.c.
Also changed declaration in internal.h and replaced instances of
cstring_lineFromFile() in dc.c and sort.c with get_line_from_file(). Tested
them and they worked fine.

24 years agoBrand, spankin', new grep that uses libc regex routines instead of the
Mark Whitley [Wed, 28 Jun 2000 22:00:26 +0000 (22:00 -0000)]
Brand, spankin', new grep that uses libc regex routines instead of the
hand-rolled ones. Sed still needs to be replaced and then the regexp stuff can
be axed.

24 years agoMoved some function decls, a struct, and a #define from regexp.h into here.
Mark Whitley [Wed, 28 Jun 2000 21:59:31 +0000 (21:59 -0000)]
Moved some function decls, a struct, and a #define from regexp.h into here.
Also static-ified said functions so they do not have namespace conflicts with
the libc regex functions.

24 years agoRemoved some function decls (regex, regcomp, etc.) and put them in regexp.c
Mark Whitley [Wed, 28 Jun 2000 21:58:31 +0000 (21:58 -0000)]
Removed some function decls (regex, regcomp, etc.) and put them in regexp.c

24 years agoBetter cross libc support.
Eric Andersen [Wed, 28 Jun 2000 20:11:28 +0000 (20:11 -0000)]
Better cross libc support.
 -Erik