diff options
author | Eric Andersen | 2004-03-15 08:29:22 +0000 |
---|---|---|
committer | Eric Andersen | 2004-03-15 08:29:22 +0000 |
commit | c7bda1ce659294d6e22c06e087f6f265983c7578 (patch) | |
tree | 4c6d2217f4d8306c59cf1096f8664e1cfd167213 /docs | |
parent | 8854004b41065b3d081af7f3df13a100b0c8bfbe (diff) | |
download | busybox-c7bda1ce659294d6e22c06e087f6f265983c7578.zip busybox-c7bda1ce659294d6e22c06e087f6f265983c7578.tar.gz |
Remove trailing whitespace. Update copyright to include 2004.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/busybox.net/about.html | 6 | ||||
-rw-r--r-- | docs/busybox.net/busybox-growth.ps | 4 | ||||
-rw-r--r-- | docs/busybox.net/copyright.txt | 2 | ||||
-rw-r--r-- | docs/busybox.net/cvs_anon.html | 6 | ||||
-rw-r--r-- | docs/busybox.net/cvs_howto.html | 10 | ||||
-rw-r--r-- | docs/busybox.net/cvs_write.html | 10 | ||||
-rw-r--r-- | docs/busybox.net/docs.html | 2 | ||||
-rw-r--r-- | docs/busybox.net/download.html | 2 | ||||
-rw-r--r-- | docs/busybox.net/footer.html | 2 | ||||
-rw-r--r-- | docs/busybox.net/header.html | 6 | ||||
-rw-r--r-- | docs/busybox.net/images/busybox.png | bin | 34015 -> 34014 bytes | |||
-rw-r--r-- | docs/busybox.net/images/ltbutton2.png | bin | 6799 -> 6798 bytes | |||
-rw-r--r-- | docs/busybox.net/license.html | 14 | ||||
-rw-r--r-- | docs/busybox.net/lists.html | 8 | ||||
-rw-r--r-- | docs/busybox.net/news.html | 6 | ||||
-rw-r--r-- | docs/busybox.net/oldnews.html | 190 | ||||
-rw-r--r-- | docs/busybox.net/screenshot.html | 2 | ||||
-rw-r--r-- | docs/busybox.sgml | 78 | ||||
-rw-r--r-- | docs/busybox_header.pod | 8 | ||||
-rw-r--r-- | docs/contributing.txt | 6 | ||||
-rw-r--r-- | docs/new-applet-HOWTO.txt | 12 | ||||
-rw-r--r-- | docs/style-guide.txt | 12 |
22 files changed, 193 insertions, 193 deletions
diff --git a/docs/busybox.net/about.html b/docs/busybox.net/about.html index 9242e75..c086263 100644 --- a/docs/busybox.net/about.html +++ b/docs/busybox.net/about.html @@ -26,7 +26,7 @@ nodes in /dev, a few configuration files in /etc, and a Linux kernel. BusyBox is maintained by <a href= "http://codepoet.org/andersen/erik/erik.html">Erik Andersen</a>, and -licensed under the +licensed under the <a href= "http://www.gnu.org/copyleft/gpl.html">GNU GENERAL PUBLIC LICENSE</a> <p> @@ -37,7 +37,7 @@ licensed under the Please visit our sponsors and thank them for their support! They have provided money for equipment and bandwidth. Next time you need help with a project, -consider these fine companies! +consider these fine companies! <ul> @@ -57,7 +57,7 @@ consider these fine companies! </ul> If you wish to be a sponsor, or if you have already contributed and would like -your name added here, email <a href= "mailto:andersen@codepoet.org">Erik</a>. +your name added here, email <a href= "mailto:andersen@codepoet.org">Erik</a>. <!--#include file="footer.html" --> diff --git a/docs/busybox.net/busybox-growth.ps b/docs/busybox.net/busybox-growth.ps index 123f381..2379def 100644 --- a/docs/busybox.net/busybox-growth.ps +++ b/docs/busybox.net/busybox-growth.ps @@ -213,7 +213,7 @@ gnudict begin /PentE { stroke [] 0 setdash gsave translate 0 hpt M 4 {72 rotate 0 hpt L} repeat closepath stroke grestore } def -/CircE { stroke [] 0 setdash +/CircE { stroke [] 0 setdash hpt 0 360 arc stroke } def /Opaque { gsave closepath 1 setgray fill grestore 0 setgray closepath } def /DiaW { stroke [] 0 setdash vpt add M @@ -233,7 +233,7 @@ gnudict begin /PentW { stroke [] 0 setdash gsave translate 0 hpt M 4 {72 rotate 0 hpt L} repeat Opaque stroke grestore } def -/CircW { stroke [] 0 setdash +/CircW { stroke [] 0 setdash hpt 0 360 arc Opaque stroke } def /BoxFill { gsave Rec 1 setgray fill grestore } def end diff --git a/docs/busybox.net/copyright.txt b/docs/busybox.net/copyright.txt index a2b8032..528338d 100644 --- a/docs/busybox.net/copyright.txt +++ b/docs/busybox.net/copyright.txt @@ -1,6 +1,6 @@ The code and graphics on this website (and it's mirror sites, if any) are -Copyright (c) 1999-2003 by Erik Andersen. All rights reserved. +Copyright (c) 1999-2004 by Erik Andersen. All rights reserved. Documents on this Web site including their graphical elements, design, and layout are protected by trade dress and other laws and MAY BE COPIED OR diff --git a/docs/busybox.net/cvs_anon.html b/docs/busybox.net/cvs_anon.html index 896a386..f823d05 100644 --- a/docs/busybox.net/cvs_anon.html +++ b/docs/busybox.net/cvs_anon.html @@ -18,8 +18,8 @@ CVS modules by running the following command (all on one line): cvs -z3 -d:pserver:anonymous@busybox.net:/var/cvs co -c </pre> <p> -If you wish, you can then check out a local copy of any of the -available modules. The following is an example of how to grab +If you wish, you can then check out a local copy of any of the +available modules. The following is an example of how to grab a copy of busybox and tinylogin: <pre> cvs -z3 -d:pserver:anonymous@busybox.net:/var/cvs co -P busybox tinylogin</pre> @@ -41,7 +41,7 @@ recommend you should use the same: diff -ubBwpN checkout -P</pre> -<p> +<p> Once you've checked out a copy of the source tree, you can update your source tree at any time so it is in sync with the latest and greatest by running the command: diff --git a/docs/busybox.net/cvs_howto.html b/docs/busybox.net/cvs_howto.html index cff3a35..837d6cd 100644 --- a/docs/busybox.net/cvs_howto.html +++ b/docs/busybox.net/cvs_howto.html @@ -12,16 +12,16 @@ For the impatient, the following is probably about all you need to know: <dl> <dt><pre>cvs checkout -c</pre> <dd>Will list the modules available for checkout - <dt><pre>cvs checkout < module name ></pre> + <dt><pre>cvs checkout < module name ></pre> <dd>Will checkout the named module - <dt><pre>cvs co < module name ></pre> + <dt><pre>cvs co < module name ></pre> <dd>Same thing <dt><pre>cvs update</pre> - <dd>Updates your local archive so it is in sync with the repository - -- your local updates are left intact. Tries to merge upstream updates + <dd>Updates your local archive so it is in sync with the repository + -- your local updates are left intact. Tries to merge upstream updates into your local updates. You will see the following tags when it is - updating your local repository: C means conflict, U means update, + updating your local repository: C means conflict, U means update, P means patched, and M means modified. <dt><pre>cvs up</pre> <dd>Same thing diff --git a/docs/busybox.net/cvs_write.html b/docs/busybox.net/cvs_write.html index f7c642f..b27338d 100644 --- a/docs/busybox.net/cvs_write.html +++ b/docs/busybox.net/cvs_write.html @@ -4,8 +4,8 @@ <h3>CVS Read/Write Access</h3> If you want to be able to commit things to CVS, first contribute some -stuff to show you are serious. Then, very nicely ask -<a href="mailto:andersen@codepoet.org">Erik Andersen</a> if he will set you up with +stuff to show you are serious. Then, very nicely ask +<a href="mailto:andersen@codepoet.org">Erik Andersen</a> if he will set you up with an account. To access CVS, you will want to add the following to set up your environment: <pre> $ export CVS_RSH=/usr/bin/ssh @@ -16,7 +16,7 @@ username... <p> To obtain commit access, you will need to demonstrate you are -serious by submitting a few good patches first. Then, you will need to +serious by submitting a few good patches first. Then, you will need to select a user-name to use when committing stuff, and finally, you will need to send me the username you have selected, an ssh key, and the email address where you prefer email to be sent (I will forward any email sent @@ -24,8 +24,8 @@ to you, but not store it). <p> Note that if you would prefer to keep your communications with me -private, you can encrypt your email using my -<a href="http://www.codepoet.org/~andersen/erik/gpg.asc">public key</a>. +private, you can encrypt your email using my +<a href="http://www.codepoet.org/~andersen/erik/gpg.asc">public key</a>. <!--#include file="footer.html" --> diff --git a/docs/busybox.net/docs.html b/docs/busybox.net/docs.html index 330b716..fc9ac6d 100644 --- a/docs/busybox.net/docs.html +++ b/docs/busybox.net/docs.html @@ -2,7 +2,7 @@ <h3>Documentation</h3> -Current documentation for BusyBox includes: +Current documentation for BusyBox includes: <ul> <li><a href= diff --git a/docs/busybox.net/download.html b/docs/busybox.net/download.html index d8a3890..a6a86ac 100644 --- a/docs/busybox.net/download.html +++ b/docs/busybox.net/download.html @@ -8,7 +8,7 @@ Source for the latest release can always be downloaded from <a href="downloads">http://www.busybox.net/downloads</a>. <p> -You can also obtain <a href= "downloads/snapshots/">Daily Snapshots</a> of +You can also obtain <a href= "downloads/snapshots/">Daily Snapshots</a> of the latest stable, and the latest development CVS source trees. <p> diff --git a/docs/busybox.net/footer.html b/docs/busybox.net/footer.html index 3ca0e70..9756f5d 100644 --- a/docs/busybox.net/footer.html +++ b/docs/busybox.net/footer.html @@ -11,7 +11,7 @@ <font face="arial, helvetica, sans-serif" size="-1"> <a HREF="/copyright.txt">Copyright © 1999-2003 Erik Andersen</a> <br> - Mail all comments, insults, suggestions and bribes to + Mail all comments, insults, suggestions and bribes to <br> Erik Andersen <A HREF="mailto:andersen@codepoet.org">andersen@codepoet.org</A><BR> </font> diff --git a/docs/busybox.net/header.html b/docs/busybox.net/header.html index 809a7c9..33638f3 100644 --- a/docs/busybox.net/header.html +++ b/docs/busybox.net/header.html @@ -18,7 +18,7 @@ </head> <body> - <basefont face="lucida, helvetica, arial" size="3"> + <basefont face="lucida, helvetica, arial" size="3"> @@ -42,7 +42,7 @@ <tr> -<td valign="TOP"> +<td valign="TOP"> <br><a href="/about.html">About</a> <br><a href="/screenshot.html">Screenshot</a> <br><a href="/lists.html">Mailing Lists</a> @@ -67,7 +67,7 @@ <br><a href="http://lwn.net/">Linux Weekly News</a> <br><a href="http://www.tldp.org/HOWTO">Linux HOWTOs</a> -<!-- +<!-- <a href="http://validator.w3.org/check/referer"><img src="/images/vh40.gif" height=31 width=88 align=left border=0 alt="Valid HTML 4.0!"></a> diff --git a/docs/busybox.net/images/busybox.png b/docs/busybox.net/images/busybox.png Binary files differindex 5c4e82a..b1eb92f 100644 --- a/docs/busybox.net/images/busybox.png +++ b/docs/busybox.net/images/busybox.png diff --git a/docs/busybox.net/images/ltbutton2.png b/docs/busybox.net/images/ltbutton2.png Binary files differindex 556f72a..9bad949 100644 --- a/docs/busybox.net/images/ltbutton2.png +++ b/docs/busybox.net/images/ltbutton2.png diff --git a/docs/busybox.net/license.html b/docs/busybox.net/license.html index ff1ba61..2cbf78b 100644 --- a/docs/busybox.net/license.html +++ b/docs/busybox.net/license.html @@ -18,11 +18,11 @@ is generally just abbreviated simply as the GPL license, or just the GPL. <a href="/products.html">Anyone thinking of shipping BusyBox as part of a product</a> should be familiar with the licensing terms under which they are allowed to use and -distribute BusyBox. You are advised to take a look over the +distribute BusyBox. You are advised to take a look over the <ul> -<li><a href="http://www.gnu.org/licenses/gpl.html">full text of -the GNU General Public License</a>, and +<li><a href="http://www.gnu.org/licenses/gpl.html">full text of +the GNU General Public License</a>, and <li><a href="http://www.gnu.org/licenses/gpl-faq.html"> Frequently Asked Questions about the GNU GPL</a> </ul> @@ -59,15 +59,15 @@ somewhere. <p> -<b>A written offer</b> generally means that somewhere in the -docs for your product, you write something like +<b>A written offer</b> generally means that somewhere in the +docs for your product, you write something like <blockquote> The GPL source code contained in this product is available as a free download from http://blah.blah.blah/ </blockquote> Or you can offer source by writing -somewhere in the docs for your product something like +somewhere in the docs for your product something like <blockquote> If you would like a copy of the GPL source code in this product on a CD, please send $9.99 to <address> for the costs of @@ -85,7 +85,7 @@ firmware updates of their right to obtain source. Additionally, some people have the mistaken understanding that if they use unmodified GPL'd source code, they do not need to distribute anything. This belief is not correct, and is not -supported by the +supported by the <a href="http://www.gnu.org/licenses/gpl.html">text of GPL</a>. Please do re-read it, and you will find there is no such provision. If you distribute any GPL'd diff --git a/docs/busybox.net/lists.html b/docs/busybox.net/lists.html index e44e7ed..6e7d890 100644 --- a/docs/busybox.net/lists.html +++ b/docs/busybox.net/lists.html @@ -5,14 +5,14 @@ <h3>Mailing List Information</h3> BusyBox has a <a href="/lists/busybox/">mailing list</a> for discussion and -development. You can subscribe by visiting -<a href="http://codepoet.org/mailman/listinfo/busybox">this page</a>. +development. You can subscribe by visiting +<a href="http://codepoet.org/mailman/listinfo/busybox">this page</a>. <p> There is also a mailing list for <a href="/lists/busybox-cvs/">active developers</a> wishing to read the complete diff of each and every change to busybox -- not for the -faint of heart. Active developers can subscribe by visiting -<a href="http://codepoet.org/mailman/listinfo/busybox-cvs">this page</a>. +faint of heart. Active developers can subscribe by visiting +<a href="http://codepoet.org/mailman/listinfo/busybox-cvs">this page</a>. <p> diff --git a/docs/busybox.net/news.html b/docs/busybox.net/news.html index 3af3dca..9d06eb5 100644 --- a/docs/busybox.net/news.html +++ b/docs/busybox.net/news.html @@ -107,8 +107,8 @@ <p> - The <a href="downloads/Changelog">changelog</a> has all - the details. And as usual you can + The <a href="downloads/Changelog">changelog</a> has all + the details. And as usual you can <a href="downloads">download busybox here</a>. <p>Have Fun! @@ -117,7 +117,7 @@ <p> - <li><b>Old News</b><p> + <li><b>Old News</b><p> <a href="/oldnews.html">Click here to read older news</a> diff --git a/docs/busybox.net/oldnews.html b/docs/busybox.net/oldnews.html index a13bf77..fa7566c 100644 --- a/docs/busybox.net/oldnews.html +++ b/docs/busybox.net/oldnews.html @@ -3,7 +3,7 @@ <ul> - <li><b>10 December 2003 -- BusyBox 1.0.0-pre4 released</b><p> + <li><b>10 December 2003 -- BusyBox 1.0.0-pre4 released</b><p> Here goes the fourth pre-release for the new BusyBox stable series. This release includes major rework to sed, lots of @@ -13,7 +13,7 @@ common applet, the dpkg applets has been cleaned up, and tons of random bugs have been fixed. Thanks everyone for all the testing, bug reports, and patches! Once again, a big - thank-you goes to Glenn McGrath (bug1) for stepping in and + thank-you goes to Glenn McGrath (bug1) for stepping in and helping get patches merged! <p> @@ -26,8 +26,8 @@ <p> - The <a href="downloads/Changelog">changelog</a> has all - the details. And as usual you can + The <a href="downloads/Changelog">changelog</a> has all + the details. And as usual you can <a href="downloads">download busybox here</a>. <p>Have Fun! @@ -35,7 +35,7 @@ <p> - <li><b>12 Sept 2003 -- BusyBox 1.0.0-pre3 released</b><p> + <li><b>12 Sept 2003 -- BusyBox 1.0.0-pre3 released</b><p> Here goes the third pre-release for the new BusyBox stable series. The last prerelease has held up quite well under @@ -44,7 +44,7 @@ the testing, bug reports, and patches! <p> - + If you have submitted a patch or a bug report to the busybox mailing list and no one has emailed you explaining why your patch was rejected, it is safe to say that your patch has @@ -69,27 +69,27 @@ <p> I had hoped this release would be out a month ago. And of - course, it wasn't since Erik became busy getting a release of - <a href="http://www.uclibc.org/">uClibc</a> + course, it wasn't since Erik became busy getting a release of + <a href="http://www.uclibc.org/">uClibc</a> out the door. Many thanks to Glenn McGrath (bug1) for stepping in and helping get a bunch of patches merged! I am not even going to state a date for releasing BusyBox 1.0.0 -pre4 (or the final 1.0.0). We're aiming for late September... But if this release proves as to be exceptionally stable (or exceptionally unstable!), the next release may be very soon - indeed. + indeed. <p> - The <a href="downloads/Changelog">changelog</a> has all - the details. And as usual you can + The <a href="downloads/Changelog">changelog</a> has all + the details. And as usual you can <a href="downloads">download busybox here</a>. <p>Have Fun! <p> - <li><b>30 July 2003 -- BusyBox 1.0.0-pre2 released</b><p> + <li><b>30 July 2003 -- BusyBox 1.0.0-pre2 released</b><p> Here goes another pre release for the new BusyBox stable series. The last prerelease (pre1) was given quite a lot of @@ -126,14 +126,14 @@ then... <p> - The <a href="downloads/Changelog">changelog</a> has all + The <a href="downloads/Changelog">changelog</a> has all the details. As usual you can <a href="downloads">download busybox here</a>. <p>Have Fun! <p> <p> - <li><b>15 July 2003 -- BusyBox 1.0.0-pre1 released</b><p> + <li><b>15 July 2003 -- BusyBox 1.0.0-pre1 released</b><p> The busybox development series has been under construction for nearly two years now. Which is just entirely too long... So @@ -153,7 +153,7 @@ up) the final BusyBox 1.0.0 release should be ready by the end of July. <p> - + If you have submitted patches, and they are not in this release and I have not emailed you explaining why your patch was rejected, it is safe to say that I have lost your patch. That @@ -171,7 +171,7 @@ <p> As usual you can <a href="downloads">download busybox here</a>. - You don't really need to bother with the + You don't really need to bother with the <a href="downloads/Changelog">changelog</a>, as the changes vs the stable version are way too extensive to easily enumerate. But you can take a look if you really want too. @@ -182,7 +182,7 @@ <p> - <li><b>26 October 2002 -- BusyBox 0.60.5 released</b><p> + <li><b>26 October 2002 -- BusyBox 0.60.5 released</b><p> I am very pleased to announce that the BusyBox 0.60.5 (stable) is now available for download. This is a bugfix release for @@ -195,7 +195,7 @@ 0.60.x series. Well, it turns out I'm a liar. But this time I mean it (just like last time ;-). This will be the last release for the 0.60.x series -- all further development work - will be done for the development busybox tree. Expect the development + will be done for the development busybox tree. Expect the development version to have its first real release very very soon now... <p> @@ -205,14 +205,14 @@ <p> <p> - <li><b>18 September 2002 -- BusyBox 0.60.4 released</b><p> + <li><b>18 September 2002 -- BusyBox 0.60.4 released</b><p> I am very pleased to announce that the BusyBox 0.60.4 - (stable) is now available for download. This is primarily + (stable) is now available for download. This is primarily a bugfix release for the stable series to address all the problems that have turned up since the last release. This will be the last release for the 0.60.x series. - I mean it this time -- all further development work will be done + I mean it this time -- all further development work will be done on the development busybox tree, which is quite solid now and should soon be getting its first real release. @@ -224,13 +224,13 @@ <p> - <li><b>27 April 2002 -- BusyBox 0.60.3 released</b><p> + <li><b>27 April 2002 -- BusyBox 0.60.3 released</b><p> I am very pleased to announce that the BusyBox 0.60.3 (stable) is now available for download. This is primarily a bugfix release - for the stable series. A number of problems have turned up since + for the stable series. A number of problems have turned up since the last release, and this should address most of those problems. - This should be the last release for the 0.60.x series. The + This should be the last release for the 0.60.x series. The development busybox tree has been progressing nicely, and will hopefully be ready to become the next stable release. @@ -242,21 +242,21 @@ <p> - <li><b>6 March 2002 -- busybox.net now has mirrors!</b><p> + <li><b>6 March 2002 -- busybox.net now has mirrors!</b><p> Busybox.net is now much more available, thanks to the fine folks at <a href= "http://i-netinnovations.com/">http://i-netinnovations.com/</a> who are providing hosting for busybox.net and uclibc.org. In addition, we now have two mirrors: <a href= "http://busybox.linuxmagic.com/">http://busybox.linuxmagic.com/</a> - in Canada and + in Canada and <a href= "http://busybox.csservers.de/">http://busybox.csservers.de/</a> in Germany. I hope this makes things much more accessible for everyone! <li> -<b>3 January 2002 -- Welcome to busybox.net!</b> +<b>3 January 2002 -- Welcome to busybox.net!</b> <p>Thanks to the generosity of a number of busybox users, we have been able to purchase busybox.net @@ -285,7 +285,7 @@ should be completely eliminated. Hopefully, too, some of you will volunteer to set up some mirror sites, to help to distribute the load a bit.</p> -<p><!-- +<p><!-- <center> Click here to help support busybox.net! <form action="https://www.paypal.com/cgi-bin/webscr" method="post"> @@ -316,7 +316,7 @@ everyone that has contributed!<br> </li> <li> -<b>20 November 2001 -- BusyBox 0.60.2 released</b> +<b>20 November 2001 -- BusyBox 0.60.2 released</b> <p>We am very pleased to announce that the BusyBox 0.60.2 (stable) is now released to the world. This @@ -369,19 +369,19 @@ will not part with it... I will then need to pay the registry fee for a couple of years and start paying for bandwidth, so this will initially cost about $300. I would like to host busybox.net on my home machine (codepoet.org) so I have full control over the system, -but to do that would require that I increase the level of bandwidth +but to do that would require that I increase the level of bandwidth I am paying for. Did you know that so far this month, there have been over 1.4 Gigabytes of busybox ftp downloads? I don't even <em>know</em> how much CVS bandwidth it requires. For the time being, Lineo has continued to graciously provide this -bandwidth, despite the fact that I no longer work for them. If I -start running this all on my home machine, paying for the needed bandwidth +bandwidth, despite the fact that I no longer work for them. If I +start running this all on my home machine, paying for the needed bandwidth will start costing some money. <p> I was going to pay it all myself, but my wife didn't like that idea at all (big surprise). It turns out <insert argument -where she wins and I don't> she has better ideas +where she wins and I don't> she has better ideas about what we should spend our money on that don't involve busybox. She suggested I should ask for contributions on the mailing list and web page. So... @@ -390,8 +390,8 @@ mailing list and web page. So... I am hoping that if everyone could contribute a bit, we could pick up the busybox.net domain name and cover the bandwidth costs. I know that busybox is being used by a lot of companies as well as -individuals -- hopefully people and companies that are willing to -contribute back a bit. So if everyone could please help out, that +individuals -- hopefully people and companies that are willing to +contribute back a bit. So if everyone could please help out, that would be wonderful! <p> @@ -406,9 +406,9 @@ would be wonderful! new features, no new applets. So without further ado, here it is. Come and get it. <p> - The + The <a href="downloads/Changelog">changelog</a> has all - the details. As usual BusyBox 0.60.1 can be downloaded from + the details. As usual BusyBox 0.60.1 can be downloaded from <a href="downloads">http://busybox.net/downloads</a>. <p>Have Fun! <p> @@ -425,23 +425,23 @@ would be wonderful! stable bug-free(tm) release out seems to be in order. This releases fixes a memory leak in syslogd, a number of bugs in the ash and msh shells, and cleans up a number of things. - + <p> - Those wanting an easy way to test the 0.60.0 release with uClibc can + Those wanting an easy way to test the 0.60.0 release with uClibc can use <a href="http://user-mode-linux.sourceforge.net/">User-Mode Linux</a> - to give it a try by downloading and compiling + to give it a try by downloading and compiling <a href="ftp://busybox.net/buildroot.tar.gz">buildroot.tar.gz</a>. You don't have to be root or reboot your machine to run test this way. Preconfigured User-Mode Linux kernel source is also on busybox.net. <p> Another cool thing is the nifty <a href="downloads/tutorial/index.html"> - BusyBox Tutorial</a> contributed by K Computing. This requires - a ShockWave plugin (or standalone viewer), so you may want to grab the + BusyBox Tutorial</a> contributed by K Computing. This requires + a ShockWave plugin (or standalone viewer), so you may want to grab the the GPLed shockwave viewer from <a href="http://www.swift-tools.com/Flash/flash-0.4.10.tgz">here</a> to view the tutorial. <p> - + Finally, In case you didn't notice anything odd about the version number of this release, let me point out that this release is <em>not</em> 0.53, because I bumped the version number up a @@ -456,12 +456,12 @@ would be wonderful! released as part of a new BusyBox development series that will have some not-yet-decided-on odd version number. Once things stabilize and the new build system is working for everyone, then - I will release that as a new stable release series. + I will release that as a new stable release series. <p> - The + The <a href="downloads/Changelog">changelog</a> has all - the details. As usual BusyBox 0.60.0 can be downloaded from + the details. As usual BusyBox 0.60.0 can be downloaded from <a href="downloads">http://busybox.net/downloads</a>. <p>Have Fun! <p> @@ -478,18 +478,18 @@ would be wonderful! and ash). <p> - The - <a href="downloads/Changelog">changelog</a> covers + The + <a href="downloads/Changelog">changelog</a> covers some of the more obvious details, but there are many many things that are not mentioned, but have been improved in subtle ways. As usual, - BusyBox 0.52 can be downloaded from + BusyBox 0.52 can be downloaded from <a href="downloads">http://busybox.net/downloads</a>. <p>Have Fun! <p> <li> <b>10 April 2001 - Graph of Busybox Growth </b> -<br> +<br> The illustrious Larry Doolittle has made a PostScript chart of the growth of the Busybox tarball size over time. It is available for downloading / viewing <a href= "busybox-growth.ps"> right here</a>. @@ -523,9 +523,9 @@ turning off whichever applets you don't need.) compiles on itanium systems (thanks to the Debian itanium porters for letting me use their system!). <p> - You can read the + You can read the <a href="downloads/Changelog">changelog</a> for - complete details. BusyBox 0.51 can be downloaded from + complete details. BusyBox 0.51 can be downloaded from <a href="downloads">http://busybox.net/downloads</a>. <p>Have Fun! <p> @@ -551,9 +551,9 @@ image</a>. Here's how you use it: <p> If you want to look at the contents of the initrd image, do this: <pre> - mount ./busybox.floppy.img /mnt -o loop -t msdos - cp /mnt/initrd.gz /tmp - umount /mnt + mount ./busybox.floppy.img /mnt -o loop -t msdos + cp /mnt/initrd.gz /tmp + umount /mnt gunzip /tmp/initrd.gz mount /tmp/initrd /mnt -o loop -t minix </pre> @@ -566,7 +566,7 @@ image</a>. Here's how you use it: and tftp, and also fixes tons of bugs. Tab completion in the shell is now working very well, and the shell's environment variable expansion was fixed. Tons of other things were fixed or made - smaller. For a fairly complete overview, see the + smaller. For a fairly complete overview, see the <a href="downloads/Changelog">changelog</a>. <p> lash (the busybox shell) is still with us, fixed up a bit so it @@ -577,21 +577,21 @@ image</a>. Here's how you use it: this shell, while very usable, does not provide an extensible framework for adding in full Bourne shell behavior. So the first order of business as we begin working on the next BusyBox release will be to merge in the new shell - currently in progress at - <a href="http://doolittle.faludi.com/~larry/parser.html">Larry Doolittle's website</a>. + currently in progress at + <a href="http://doolittle.faludi.com/~larry/parser.html">Larry Doolittle's website</a>. <p> <li> <b>27 January 2001 -- BusyBox 0.49 released</b> <br> - Several new applets, lots of bug fixes, cleanups, and many smaller + Several new applets, lots of bug fixes, cleanups, and many smaller things made nicer. Several cleanups and improvements to the shell. - For a list of the most interesting changes - you might want to look at the <a href="downloads/Changelog">changelog</a>. + For a list of the most interesting changes + you might want to look at the <a href="downloads/Changelog">changelog</a>. <p> Special thanks go out to Matt Kraai and Larry Doolittle for all their - work on this release, and for keeping on top of things while I've been + work on this release, and for keeping on top of things while I've been out of town. <p> <em>Special Note</em><br> @@ -602,8 +602,8 @@ image</a>. Here's how you use it: shell that will eventually replace lash is already under construction. This new shell is being developed by Larry Doolittle, and could use all of our help. Please see the work in - progress on <a href="http://doolittle.faludi.com/~larry/parser.html">Larry's website</a> - and help out if you can. This shell will be included in the next + progress on <a href="http://doolittle.faludi.com/~larry/parser.html">Larry's website</a> + and help out if you can. This shell will be included in the next release of BusyBox. <p> @@ -617,12 +617,12 @@ image</a>. Here's how you use it: that 'tar -X' and 'tar --exclude' are both now in. Applets are now looked up using a binary search making lash (the busybox shell) much faster. For the new debian-installer (for Debian - woody) a .udeb can now be generated. + woody) a .udeb can now be generated. <p> - The curious can get a list of some of the more interesting changes by reading - the <a href="downloads/Changelog">changelog</a>. + The curious can get a list of some of the more interesting changes by reading + the <a href="downloads/Changelog">changelog</a>. <p> - Many thanks go out to the many many people that have contributed to + Many thanks go out to the many many people that have contributed to this release, especially Matt Kraai, Larry Doolittle, and Kent Robotti. <p> <p> <li> <b>26 September 2000 -- BusyBox 0.47 released</b> @@ -630,11 +630,11 @@ image</a>. Here's how you use it: This release fixes lots of bugs (including an ugly bug in 0.46 syslogd that could fork-bomb your system). Added several new - apps: rdate, wget, getopt, dos2unix, unix2dos, reset, unrpm, + apps: rdate, wget, getopt, dos2unix, unix2dos, reset, unrpm, renice, xargs, and expr. syslogd now supports network logging. There are the usual tar updates. Most apps now use getopt for more correct option parsing. - See the <a href="downloads/Changelog">changelog</a> + See the <a href="downloads/Changelog">changelog</a> for complete details. @@ -642,11 +642,11 @@ image</a>. Here's how you use it: <br> This release fixes several bugs (including a ugly bug in tar, - and fixes for NFSv3 mount support). Added a dumpkmap to allow + and fixes for NFSv3 mount support). Added a dumpkmap to allow people to dump a binary keymaps for use with 'loadkmap', and a completely reworked 'grep' and 'sed' which should behave better. BusyBox shell can now also be used as a login shell. - See the <a href="downloads/Changelog">changelog</a> + See the <a href="downloads/Changelog">changelog</a> for complete details. @@ -661,13 +661,13 @@ image</a>. Here's how you use it: the <a href="downloads/Changelog">changelog</a> for details). <p> - Also, some exciting infrastructure news! Busybox now has its own - <a href="lists/busybox/">mailing list</a>, + Also, some exciting infrastructure news! Busybox now has its own + <a href="lists/busybox/">mailing list</a>, publically browsable - <a href="/cgi-bin/cvsweb/busybox/">CVS tree</a>, + <a href="/cgi-bin/cvsweb/busybox/">CVS tree</a>, anonymous <a href="cvs_anon.html">CVS access</a>, and - for those that are actively contributing there is even + for those that are actively contributing there is even <a href="cvs_write.html">CVS write access</a>. I think this will be a huge help to the ongoing development of BusyBox. <p> @@ -708,7 +708,7 @@ it should be logging stuff from both "A" and "B". As released in 0.43 only stuf from "A" would have been logged. This means that if init tries to log something while say ppp has the syslog open, init would block (which is bad, bad, bad). <p> -Karl M. Hegbloom has created a fix for the problem. +Karl M. Hegbloom has created a fix for the problem. Thanks Karl! @@ -717,17 +717,17 @@ Thanks Karl! I have finally gotten everything into a state where I feel pretty good about things. This is definitely the most stable, solid release so far. A lot of bugs have been fixed, and the following new apps -have been added: sh, basename, dirname, killall, uptime, +have been added: sh, basename, dirname, killall, uptime, freeramdisk, tr, echo, test, and usleep. Tar has been completely rewritten from scratch. Bss size has also been greatly reduced. -More details are available in the +More details are available in the <a href="downloads/Changelog">changelog</a>. Oh, and as a special bonus, I wrote some fairly comprehensive <em>documentation</em>, complete with examples and full usage information. <p> Many thanks go out to the fine people that have helped by submitting patches -and bug reports; particularly instrumental in helping for this release were +and bug reports; particularly instrumental in helping for this release were Karl Hegbloom, Pavel Roskin, Friedrich Vedder, Emanuele Caratti, Bob Tinsley, Nicolas Pitre, Avery Pennarun, Arne Bernin, John Beppu, and Jim Gleason. There were others so if I somehow forgot to mention you, I'm very sorry. @@ -770,9 +770,9 @@ labor, both Shaunalei and our new baby boy are doing wonderfully. So now that I am done with my excuse for the slow release cycle... Progress on the next release of BusyBox has been slow but steady. I expect to have a release sometime during the first week of April. This release will -include a number of important changes, including the addition of a shell, a +include a number of important changes, including the addition of a shell, a re-write of tar (to accommodate the Linux Router Project), and syslogd can now -accept multiple concurrent connections, fixing lots of unexpected blocking +accept multiple concurrent connections, fixing lots of unexpected blocking problems. @@ -780,22 +780,22 @@ problems. <br> This is the most solid BusyBox release so far. Many, many - bugs have been fixed. See the + bugs have been fixed. See the <a href="downloads/Changelog">changelog</a> for details. - Of particular interest, init will now cleanly unmount - filesystems on reboot, cp and mv have been rewritten and - behave much better, and mount and umount no longer leak - loop devices. Many thanks go out to Randolph Chung, - Karl M. Hegbloom, Taketoshi Sano, and Pavel Roskin for - their hard work on this release of BusyBox. Please pound + Of particular interest, init will now cleanly unmount + filesystems on reboot, cp and mv have been rewritten and + behave much better, and mount and umount no longer leak + loop devices. Many thanks go out to Randolph Chung, + Karl M. Hegbloom, Taketoshi Sano, and Pavel Roskin for + their hard work on this release of BusyBox. Please pound on it and let me know if you find any bugs. <p> <li> <b>19 January 2000 -- BusyBox 0.41 released</b> <br> This release includes bugfixes to cp, mv, logger, true, false, - mkdir, syslogd, and init. New apps include wc, hostid, + mkdir, syslogd, and init. New apps include wc, hostid, logname, tty, whoami, and yes. New features include loop device support in mount and umount, and better TERM handling by init. The changelog can be found <a href="downloads/Changelog">here</a>. @@ -806,7 +806,7 @@ problems. This release includes bugfixes to init (now includes inittab support), syslogd, head, logger, du, grep, cp, mv, sed, dmesg, ls, kill, gunzip, and mknod. New apps include sort, uniq, lsmod, rmmod, fbset, and loadacm. - In particular, this release fixes an important bug in tar which + In particular, this release fixes an important bug in tar which in some cases produced serious security problems. As always, the changelog can be found <a href="downloads/Changelog">here</a>. @@ -814,19 +814,19 @@ problems. <br> I have received permission from Bruce Perens (the original author of BusyBox) to set up this site as the new primary website for BusyBox. This website - will always contain pointers to the latest and greatest, and will also + will always contain pointers to the latest and greatest, and will also contain the latest documentation on how to use BusyBox, what it can do, what arguments its apps support, etc. <p> <li> <b>10 December 1999 -- BusyBox 0.39 released</b> <br> - This release includes fixes to init, reboot, halt, kill, and ls, and contains + This release includes fixes to init, reboot, halt, kill, and ls, and contains the new apps ping, hostname, mkfifo, free, tail, du, tee, and head. A full changelog can be found <a href="downloads/Changelog">here</a>. <p> <li> <b>5 December 1999 -- BusyBox 0.38 released</b> <br> - This release includes fixes to tar, cat, ls, dd, rm, umount, find, df, - and make install, and includes new apps syslogd/klogd and logger. + This release includes fixes to tar, cat, ls, dd, rm, umount, find, df, + and make install, and includes new apps syslogd/klogd and logger. </ul> diff --git a/docs/busybox.net/screenshot.html b/docs/busybox.net/screenshot.html index 5f10354..1f8e8c8 100644 --- a/docs/busybox.net/screenshot.html +++ b/docs/busybox.net/screenshot.html @@ -12,7 +12,7 @@ Everybody loves to look at screenshots, so here is a live action screenshot of B font-family: monospace; font-size: smaller;" width="100"> -$ ./busybox +$ ./busybox BusyBox v1.00-pre3 (2003.09.12-05:48+0000) multi-call binary Usage: busybox [function] [arguments]... diff --git a/docs/busybox.sgml b/docs/busybox.sgml index bd8b169..b581868 100644 --- a/docs/busybox.sgml +++ b/docs/busybox.sgml @@ -2,7 +2,7 @@ <book id="BusyBoxDocumentation"> <bookinfo> <title>BusyBox - The Swiss Army Knife of Embedded Linux</title> - + <legalnotice> <para> This documentation is free software; you can redistribute @@ -11,21 +11,21 @@ version 2 of the License, or (at your option) any later version. </para> - + <para> This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. </para> - + <para> You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA </para> - + <para> For more details see the file COPYING in the source distribution of Linux. @@ -45,7 +45,7 @@ for any small or embedded system. The utilities in BusyBox generally have fewer options than their full-featured GNU cousins; however, the options that are included provide the expected functionality and behave very much - like their GNU counterparts. + like their GNU counterparts. </para> <para> @@ -97,7 +97,7 @@ <para> will cause BusyBox to behave as 'ls' (if the 'ls' command has been compiled - into BusyBox). + into BusyBox). </para> <para> @@ -112,7 +112,7 @@ </para> <para> - will also cause BusyBox to behave as 'ls'. + will also cause BusyBox to behave as 'ls'. </para> </sect1> @@ -121,8 +121,8 @@ <title>Common options</title> <para> - Most BusyBox commands support the <emphasis>--help</emphasis> option to provide - a terse runtime description of their behavior. + Most BusyBox commands support the <emphasis>--help</emphasis> option to provide + a terse runtime description of their behavior. </para> </sect1> </chapter> @@ -143,7 +143,7 @@ dpkg-deb, du, dumpkmap, dumpleases, dutmp, echo, egrep, env, expr, false, fbset, fdflush, fdformat, fgrep, find, fold, free, freeramdisk, fsck.minix, ftpget, ftpput, getopt, getty, grep, gunzip, gzip, - halt, hdparm, head, hexdump, hostid, hostname, httpd, hush, hwclock, + halt, hdparm, head, hexdump, hostid, hostname, httpd, hush, hwclock, id, ifconfig, ifdown, ifup, inetd, init, insmod, ip, ipcalc, iplink, iproute, iptunnel, kill, killall, klogd, lash, length, linuxrc, ln, loadfont, loadkmap, logger, login, logname, logread, @@ -156,7 +156,7 @@ sha1sum, sleep, sort, start-stop-daemon, strings, stty, su, sulogin, swapoff, swapon, sync, syslogd, tail, tar, tee, telnet, telnetd, test, tftp, time, top, touch, tr, traceroute, true, tty, udhcpc, - udhcpd, umount, uname, uncompress, uniq, unix2dos, unzip, + udhcpd, umount, uname, uncompress, uniq, unix2dos, unzip, uptime, usleep, uudecode, uuencode, vconfig, vi, vlock, watch, watchdog, wc, wget, which, who, whoami, xargs, yes, zcat, [ @@ -382,7 +382,7 @@ </screen> </para> </sect1> - + <sect1 id="chown"> <title>chown</title> <para> @@ -706,7 +706,7 @@ </screen> </para> </sect1> - + <sect1 id="dirname"> <title>dirname</title> @@ -773,24 +773,24 @@ <title>dpkg-deb</title> <para> - Usage: dpkg-deb [OPTION] archive [directory] + Usage: dpkg-deb [OPTION] archive [directory] </para> <para> - Debian package archive (.deb) manipulation tool + Debian package archive (.deb) manipulation tool </para> <para> Options: </para> - + <para> <screen> - -c List the contents of the filesystem tree archive portion of the package + -c List the contents of the filesystem tree archive portion of the package -e Extracts the control information files from a package archive into the specified directory. If no directory is specified then a subdirectory DEBIAN in the current directory is used. -x Silently extracts the filesystem tree from a package archive into the specified directory. - -X Extracts the filesystem tree from a package archive into the specified directory, listing the files as it goes. + -X Extracts the filesystem tree from a package archive into the specified directory, listing the files as it goes. If required the specified directory (but not its parents) will be created. </screen> <para> @@ -1193,7 +1193,7 @@ </screen> </para> </sect1> - + <sect1 id="getopt"> <title>getopt</title> @@ -1426,7 +1426,7 @@ <para> Prints out a unique 32-bit identifier for the current machine. The 32-bit identifier is intended to be unique - among all UNIX systems in existence. + among all UNIX systems in existence. </para> </sect1> @@ -1592,7 +1592,7 @@ <para> - Valid actions include: sysinit, respawn, askfirst, wait, + Valid actions include: sysinit, respawn, askfirst, wait, once, and ctrlaltdel. </para> @@ -1631,7 +1631,7 @@ respawn, except that before running the specified process it displays the line "Please press Enter to activate this console." and then waits for the user to press enter before starting the - specified process. + specified process. </para> <para> @@ -1994,7 +1994,7 @@ </para> <para> - + </para> <para> @@ -2266,7 +2266,7 @@ <para> <screen> - $ mknod /dev/fd0 b 2 0 + $ mknod /dev/fd0 b 2 0 $ mknod -m 644 /tmp/pipe p </screen> </para> @@ -2822,19 +2822,19 @@ <sect1 id="run-parts"> <title>run-parts</title> - + <para> Usage: run-parts [-t] [-a ARG] [-u MASK] DIRECTORY </para> - + <para> Run a bunch of scripts in a directory. </para> - + <para> Options: </para> - + <para> <screen> -t Test only. It only print the file to be executed, @@ -2844,9 +2844,9 @@ </screen> </para> </sect1> - - + + <sect1 id="sed"> <title>sed</title> @@ -2962,7 +2962,7 @@ </para> <para> - This command does not yet have proper documentation. + This command does not yet have proper documentation. </para> <para> @@ -3182,7 +3182,7 @@ </para> <para> - + </para> <para> @@ -3445,7 +3445,7 @@ </para> <para> - + </para> <para> @@ -3467,7 +3467,7 @@ <para> <screen> - $ umount /dev/hdc1 + $ umount /dev/hdc1 </screen> </para> </sect1> @@ -3549,7 +3549,7 @@ </screen> </para> </sect1> - + <sect1 id="unix2dos"> <title>unix2dos</title> @@ -3869,7 +3869,7 @@ </para> <para> - Uncompress FILE (or stdin if FILE is '-') to stdout. + Uncompress FILE (or stdin if FILE is '-') to stdout. </para> <para> @@ -3938,7 +3938,7 @@ <title>AUTHORS</title> <para> - The following people have made significant contributions to + The following people have made significant contributions to BusyBox -- whether they know it or not. </para> @@ -3963,7 +3963,7 @@ </para> <para> - Dave Cinege <dcinege@psychosis.com> + Dave Cinege <dcinege@psychosis.com> </para> <para> @@ -3979,7 +3979,7 @@ </para> <para> - John Lombardo <john@deltanet.com> + John Lombardo <john@deltanet.com> </para> <para> diff --git a/docs/busybox_header.pod b/docs/busybox_header.pod index 047c4d0..132aa3b 100644 --- a/docs/busybox_header.pod +++ b/docs/busybox_header.pod @@ -18,7 +18,7 @@ you usually find in fileutils, shellutils, findutils, textutils, grep, gzip, tar, etc. BusyBox provides a fairly complete POSIX environment for any small or embedded system. The utilities in BusyBox generally have fewer options than their full-featured GNU cousins; however, the options that are included provide -the expected functionality and behave very much like their GNU counterparts. +the expected functionality and behave very much like their GNU counterparts. BusyBox has been written with size-optimization and limited resources in mind. It is also extremely modular so you can easily include or exclude commands (or @@ -37,19 +37,19 @@ For example, entering ./ls will cause BusyBox to behave as 'ls' (if the 'ls' command has been compiled -into BusyBox). +into BusyBox). You can also invoke BusyBox by issuing the command as an argument on the command line. For example, entering ./BusyBox ls -will also cause BusyBox to behave as 'ls'. +will also cause BusyBox to behave as 'ls'. =head1 COMMON OPTIONS Most BusyBox commands support the B<-h> option to provide a -terse runtime description of their behavior. +terse runtime description of their behavior. =head1 COMMANDS diff --git a/docs/contributing.txt b/docs/contributing.txt index 0d2f553..ae4ec3e 100644 --- a/docs/contributing.txt +++ b/docs/contributing.txt @@ -116,7 +116,7 @@ Bug Reporting If you find bugs, please submit a detailed bug report to the busybox mailing list at busybox@busybox.net. A well-written bug report should include a transcript of a shell session that demonstrates the bad behavior and enables -anyone else to duplicate the bug on their own machine. The following is such +anyone else to duplicate the bug on their own machine. The following is such an example: To: busybox@busybox.net @@ -137,7 +137,7 @@ an example: $ date llegal instruction - I am using Debian unstable, kernel version 2.4.19-rmk1 on an Netwinder, + I am using Debian unstable, kernel version 2.4.19-rmk1 on an Netwinder, and the latest uClibc from CVS. Thanks for the wonderful program! -Diligent @@ -231,7 +231,7 @@ These are dirty jobs, but somebody's gotta do 'em. - "Ten Commandments" compliance: (this is a "maybe", certainly not as important as any of the previous items.) - http://www.lysator.liu.se/c/ten-commandments.html + http://www.lysator.liu.se/c/ten-commandments.html Other useful links: diff --git a/docs/new-applet-HOWTO.txt b/docs/new-applet-HOWTO.txt index 5494095..2fc95d3 100644 --- a/docs/new-applet-HOWTO.txt +++ b/docs/new-applet-HOWTO.txt @@ -106,7 +106,7 @@ config CONFIG_MU Usage String(s) --------------- -Next, add usage information for you applet to include/usage.h. +Next, add usage information for you applet to include/usage.h. This should look like the following: #define mu_trivial_usage \ @@ -126,8 +126,8 @@ currently exist in usage.h.) Header Files ------------ -Next, add an entry to include/applets.h. Be *sure* to keep the list -in alphabetical order, or else it will break the binary-search lookup +Next, add an entry to include/applets.h. Be *sure* to keep the list +in alphabetical order, or else it will break the binary-search lookup algorithm in busybox.c and the Gods of BusyBox smite you. Yea, verily: /* all programs above here are alphabetically "less than" 'mu' */ @@ -154,10 +154,10 @@ Adding some text to docs/Configure.help is a nice start. The Grand Announcement ---------------------- -Then create a diff -urN of the files you added (<appletdir/><applet>.c, -include/usage.c, include/applets.h, include/config.h, <appletdir>/Makefile.in, <appletdir>/config.in) +Then create a diff -urN of the files you added (<appletdir/><applet>.c, +include/usage.c, include/applets.h, include/config.h, <appletdir>/Makefile.in, <appletdir>/config.in) and send it to the mailing list: -busybox@busybox.net. +busybox@busybox.net. Sending patches as attachments is preferred, but not required. diff --git a/docs/style-guide.txt b/docs/style-guide.txt index 25c676c..915d9b2 100644 --- a/docs/style-guide.txt +++ b/docs/style-guide.txt @@ -266,7 +266,7 @@ these steps: conversion. - Compile and see if everything still works. - + Please be aware of changes that have cascading effects into other files. For example, if you're changing the name of something in, say utility.c, you should probably run 'examples/mk2knr.pl utility.c' at first, but when you run @@ -293,13 +293,13 @@ Use 'const <type> var' for declaring constants. #define var 80 Do this instead, when the variable is in a header file and will be used in - several source files: + several source files: - const int var = 80; + const int var = 80; Or do this when the variable is used only in a single source file: - static const int var = 80; + static const int var = 80; Declaring variables as '[static] const' gives variables an actual type and makes the compiler do type checking for you; the preprocessor does _no_ type @@ -336,7 +336,7 @@ The Folly of #ifdef Code cluttered with ifdefs is difficult to read and maintain. Don't do it. Instead, put your ifdefs at the top of your .c file (or in a header), and conditionally define 'static inline' functions, (or *maybe* macros), which are -used in the code. +used in the code. Don't do this: @@ -650,7 +650,7 @@ line in the midst of your #includes: And a code block similar to the following near the top of your applet_main() routine: - while ((opt = getopt(argc, argv, "abc")) > 0) { + while ((opt = getopt(argc, argv, "abc")) > 0) { switch (opt) { case 'a': do_a_opt = 1; |