summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2010-10-02 03:06:28 +0000
committerChristian Pointner <equinox@spreadspace.org>2010-10-02 03:06:28 +0000
commit68c81faf18a560f1e1a99a816030a7e28c30c797 (patch)
tree8c462924b1d00be097635b02c29e5e2b59e7a251 /doc
parentadded options for input and output modules (diff)
added -l|--lua-code option
git-svn-id: https://svn.spreadspace.org/gcsd/trunk@5 ac14a137-c7f1-4531-abe0-07747231d213
Diffstat (limited to 'doc')
-rw-r--r--doc/gcsd.812
-rw-r--r--doc/gcsd.8.txt8
2 files changed, 17 insertions, 3 deletions
diff --git a/doc/gcsd.8 b/doc/gcsd.8
index ed03733..f85c9da 100644
--- a/doc/gcsd.8
+++ b/doc/gcsd.8
@@ -19,7 +19,7 @@
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
-gcsd \- generic command sequencer damon
+gcsd \- generic command sequencer daemon
.SH "SYNOPSIS"
.sp
.nf
@@ -32,6 +32,7 @@ gcsd \- generic command sequencer damon
[ \fB\-P|\-\-write\-pid\fR <filename> ]
[ \fB\-L|\-\-log\fR <target>:<level>[,<param1>[,<param2>[\&.\&.]]] ]
[ \fB\-U|\-\-debug\fR ]
+ [ \fB\-l|\-\-lua\-code\fR <lua\-file> ]
[ \fB\-o|\-\-output\fR <module>:[<param1>[,<param2>[,<param3>[\&.\&.]]]] ]
[ \fB\-i|\-\-input\fR <module>:[<param1>[,<param2>[,<param3>[\&.\&.]]]] ]
.fi
@@ -115,13 +116,20 @@ to run in debug mode\&. It implicits
(logging with maximum level)\&. In future releases there might be additional output when this option is supplied\&.
.RE
.PP
+\fB\-l, \-\-lua\-code <lua\-file>\fR
+.RS 4
+Load the dispatch table and callback functions from this file\&. If no file is specified
+\fBgcsd\fR
+will run in basic mode and just sends any command submitted by a client to the output und broadcasts any response to all connected clients\&.
+.RE
+.PP
\fB\-o, \-\-output <module>:[<param1>[,<param2>[,<param3>[\&.\&.]]]]\fR
.RS 4
set and configure the command output module\&. See Modules section for further information on which modules exist and how they can be configured\&. By default the output module is set to
\fBserial:/dev/ttyS0,9600,8n1\fR
.RE
.PP
-\fB\-o, \-\-input <module>:[<param1>[,<param2>[,<param3>[\&.\&.]]]]\fR
+\fB\-i, \-\-input <module>:[<param1>[,<param2>[,<param3>[\&.\&.]]]]\fR
.RS 4
set and configure command input modules\&. This can be invoked several times\&. gcsd will use all input modules in paralell\&. See Modules section for further information on which modules exist and how they can be configured\&. By default a single input module with the config
\fBunix:/var/run/gcsd\&.sock,660\fR
diff --git a/doc/gcsd.8.txt b/doc/gcsd.8.txt
index 39181d7..c3aa180 100644
--- a/doc/gcsd.8.txt
+++ b/doc/gcsd.8.txt
@@ -20,6 +20,7 @@ gcsd
[ -P|--write-pid <filename> ]
[ -L|--log <target>:<level>[,<param1>[,<param2>[..]]] ]
[ -U|--debug ]
+ [ -l|--lua-code <lua-file> ]
[ -o|--output <module>:[<param1>[,<param2>[,<param3>[..]]]] ]
[ -i|--input <module>:[<param1>[,<param2>[,<param3>[..]]]] ]
@@ -77,7 +78,7 @@ The following options can be passed to the *gcsd* daemon:
*syslog*;; log to syslog daemon, parameters <level>[,<logname>[,<facility>]]
*file*;; log to file, parameters <level>[,<path>]
*stdout*;; log to standard output, parameters <level>
- *stderr*;; log to standard error, parameters <level>
+ *stderr*;; log to standard error, parameters <level>
*-U, --debug*::
This option instructs *gcsd* to run in debug mode. It implicits *-D*
@@ -85,6 +86,11 @@ The following options can be passed to the *gcsd* daemon:
*stdout:5* (logging with maximum level). In future releases there might
be additional output when this option is supplied.
+*-l, --lua-code <lua-file>*::
+ Load the dispatch table and callback functions from this file. If no file is
+ specified *gcsd* will run in basic mode and just sends any command submitted
+ by a client to the output und broadcasts any response to all connected clients.
+
*-o, --output <module>:[<param1>[,<param2>[,<param3>[..]]]]*::
set and configure the command output module. See Modules section for further
information on which modules exist and how they can be configured. By default