Updated configuration file processing:
* Options override all configuration file settings * In absence of configuration file settings or option settings, defaults are used * Added new global settings: Port, Bind, Wait, WaitTime, Debug * Added more documentation to LCDd.conf
This commit is contained in:
@@ -18,19 +18,42 @@
|
||||
#
|
||||
# Before the driver sections, global settings can be set.
|
||||
#
|
||||
# Currently there is only one global setting:
|
||||
# Global settings are:
|
||||
#
|
||||
# Driver <str>
|
||||
#
|
||||
# Use the specified driver. Second and further instances
|
||||
# of this command add input drivers to the server;
|
||||
# output is only to the first driver.
|
||||
# output is only to the first driver. The default driver
|
||||
# to use is curses.
|
||||
#
|
||||
# Bind <addr>
|
||||
#
|
||||
# Bind to this address; defaults to 127.0.0.1
|
||||
#
|
||||
# Port <port>
|
||||
#
|
||||
# Listen on this specified port; defaults to 13666.
|
||||
#
|
||||
# Debug <level>
|
||||
#
|
||||
# Debugging level; defaults to 0 (no debugging output).
|
||||
#
|
||||
# Wait <time>
|
||||
# WaitTime <time>
|
||||
#
|
||||
# Set the default amount of time (in 1/8 seconds) to
|
||||
# display a screen on the LCD.
|
||||
#
|
||||
# Comments are all line-based comments,
|
||||
# and are lines that start with one of '#', ';'
|
||||
# or '//' in the first columns.
|
||||
|
||||
Driver curses
|
||||
Bind 172.16.3.69
|
||||
Port 3777
|
||||
Debug 3
|
||||
WaitTime 80
|
||||
|
||||
# Joystick driver
|
||||
|
||||
@@ -76,5 +99,5 @@ Arguments -d /dev/ttyS0 -t lkd202-25
|
||||
# Curses driver
|
||||
|
||||
[curses]
|
||||
Arguments -f blue -b cyan
|
||||
Arguments -f blue -b cyan -B red -t 20x2
|
||||
|
||||
|
||||
Reference in New Issue
Block a user