diff --git a/ANNOUNCE--0.5 b/ANNOUNCE--0.5 index 077bacb..ba30c95 100644 --- a/ANNOUNCE--0.5 +++ b/ANNOUNCE--0.5 @@ -6,7 +6,7 @@ This version (code named "sunflower-seeds-talking-with-pizza-crums") is a cleanup-release. Not only the maintainability of the code has been optimized, the consistency of the user-visible parts has also been improved (since they have been completely reviewed). Now we are -well prepaired for some more significant changes. Note that dmd is +well prepared for some more significant changes. Note that dmd is still in a rather early alpha stage of development. About the software: @@ -14,7 +14,7 @@ The dmd program is a "Daemon managing Daemons" (or "Daemons-managing Daemon"?), i.e. a service manager, that is entirely written in Guile, the extension language of the GNU project. It provides a replacement for the service-managing capabillities of SysV-init (or any other -init) with a both powerfull and beautiful dependency-based system with +init) with a both powerful and beautiful dependency-based system with a convenient interface. It is intended for use on GNU/Hurd, but it is supposed to work on every POSIX-like system where Guile is available. In particular, it has been tested on GNU/Linux. diff --git a/ANNOUNCE--0.6 b/ANNOUNCE--0.6 index cda97f9..8b87e06 100644 --- a/ANNOUNCE--0.6 +++ b/ANNOUNCE--0.6 @@ -19,7 +19,7 @@ The dmd program is a "Daemon managing Daemons" (or "Daemons-managing Daemon"?), i.e. a service manager, that is written in Guile, the extension language of the GNU project. It provides a replacement for the service-managing capabillities of SysV-init (or any other init) -with a both powerfull and beautiful dependency-based system with a +with a both powerful and beautiful dependency-based system with a convenient interface. It is intended for use on GNU/Hurd, but it is supposed to work on every POSIX-like system where Guile is available. In particular, it has been tested on GNU/Linux. diff --git a/ChangeLog-2003 b/ChangeLog-2003 index 4efeb09..22314da 100644 --- a/ChangeLog-2003 +++ b/ChangeLog-2003 @@ -146,7 +146,7 @@ 2003-04-09 Wolfgang Jährling * args.scm (process-args): Make `--file -' and `-f -' work like - `--file=-' and `-f-', repectively. + `--file=-' and `-f-', respectively. * dmd.scm (main): Use `-' instead of `none' as file name to specify for readings commands from stdin (`--socket'). @@ -417,7 +417,7 @@ stop slots must take an arbitrary amount of arguments now. (start., enforce., stop.): Updated. (start., enforce., stop.): Likewise. - (launch-service): Updated, and fixed a bug that occured when the + (launch-service): Updated, and fixed a bug that occurred when the service is unknown and there is a `unknown' service that is supposed to handle this case. @@ -739,7 +739,7 @@ * dmd.scm (process-command): Don't crash when called with too few args. - * deco.in, dmd.in: Don't use a `--' argument, as Guile stopps + * deco.in, dmd.in: Don't use a `--' argument, as Guile stops processing args after the script name was given anyway. * Makefile.am (install-hook): Renamed to ... @@ -765,7 +765,7 @@ * configure.in: New file. * Makefile.am (dmd, deco, dirs.scm): Unite into one target. - (%.in->%): Use `,' as seperator for directory name replacing. + (%.in->%): Use `,' as separator for directory name replacing. (dmd_data): New variable. (dmd_DATA): Use the above. (templates): New variable. diff --git a/configure.ac b/configure.ac index 0039093..a270361 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -dnl Process this file with autoconf to procude a configure script. +dnl Process this file with autoconf to produce a configure script. AC_PREREQ(2.69) diff --git a/doc/shepherd.texi b/doc/shepherd.texi index f54fa6f..73f2fc3 100644 --- a/doc/shepherd.texi +++ b/doc/shepherd.texi @@ -651,7 +651,7 @@ therefore it is desirable to specify a different one usually. @item @vindex stop (slot of ) address@hidden Stoping a service address@hidden Stopping a service @cindex Service destructor @code{stop} is, similar to @code{start}, a slot containing a procedure. But in this case, it gets the current value of the @@ -729,7 +729,7 @@ It tries quite hard to do this: When a service that provides a required symbol can not be started, it will look for another service that also provides this symbol, until starting one such service succeeds. There is some room for theoretical improvement here, of -course, but in pratice the current strategy already works very well. +course, but in practice the current strategy already works very well. This method returns the new value of the @code{running} slot @ref{Slots of services}, which is @code{#f} if the service could not be started. @@ -1063,8 +1063,8 @@ message and throw an @code{assertion-failed} exception. @end deffn @deffn {procedure} caught-error key args -Tell the Shepherd that a @var{key} error with @var{args} has occured. This is -the simplest way to cause caught error result in uniformly formated +Tell the Shepherd that a @var{key} error with @var{args} has occurred. This is +the simplest way to cause caught error result in uniformly formatted warning messages. The current implementation is not very good, though. @end deffn @@ -1245,11 +1245,11 @@ sometimes useful, but often one also wants to operate on single services. System V Init makes this hard: While you can start and stop a service, @code{init} will not know about it, and use the runlevel configuration as its source of information, opening the door for -inconsistencies (which fortunatly are not a practical problem +inconsistencies (which fortunately are not a practical problem usually). In the Shepherd, this was avoided by having a central entity that is responsible for starting and stopping the services, which therefore knows which services are actually started (if not completely -inproperly used, but that is a requirement which is impossible to +improperly used, but that is a requirement which is impossible to avoid anyway). While runlevels are not implemented yet, it is clear that they will sit on top of the service concept, i.e. runlevels will merely be an optional extension that the service concept does not rely @@ -1258,7 +1258,7 @@ become necessary. The consequence of having a daemon running that controls the services is that we need another program as user interface which communicates -with the daemon. Fortunatly, this makes the commands necessary for +with the daemon. Fortunately, this makes the commands necessary for controlling services pretty short and intuitive, and gives the additional bonus of adding some more flexibility. For example, it is easiely possible to grant password-protected control over certain @@ -1269,7 +1269,7 @@ above) is that it should always know exactly what is happening, i.e. which services are started and stopped. The alternative would have been to not use a daemon, but to save the state on the file system, again opening the door for inconsistencies of all sorts. -Also, we would have to use a seperate program for respawning a service +Also, we would have to use a separate program for respawning a service (which just starts the services, waits until it terminates and then starts it again). Killing the program that does the respawning (but not the service that is supposed to be respawned) would cause horrible @@ -1544,7 +1544,7 @@ we find which combination works? I found only one way yet: Kind of a brute force attack: Try combinations until we find one that works. This alone would be too slow. With 20 services we would have 2^20 -possible combinations, that is a bit more than a million. Fortunatly, +possible combinations, that is a bit more than a million. Fortunately, we can optimize this. First I thought we could remove all services from the list that do not provide any symbol we need, but that is obviously a stupid idea, as we might need them for dependencies, in diff --git a/modules/shepherd/args.scm b/modules/shepherd/args.scm index 3f00d11..604768f 100644 --- a/modules/shepherd/args.scm +++ b/modules/shepherd/args.scm @@ -27,7 +27,7 @@ ;; This does mostly the same as getopt-long, except for that it is ;; able to recognize abbreviations for long options, as long as they -;; are not ambigous. Additionally, output is done in a way that makes +;; are not ambiguous. Additionally, output is done in a way that makes ;; localization possible. (define-class