From 883cb6a43bcd28d6bf87030387d62deacbbc5890 Mon Sep 17 00:00:00 2001 From: robijn Date: Fri, 18 Apr 2003 12:03:33 +0000 Subject: [PATCH] Forgot to commit new key stuff in config file. --- LCDd.conf | 50 ++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 38 insertions(+), 12 deletions(-) diff --git a/LCDd.conf b/LCDd.conf index ea0637c..3427c4c 100644 --- a/LCDd.conf +++ b/LCDd.conf @@ -6,20 +6,22 @@ # markers that look like [section]. Comments are all line-based comments, # and are lines that start with '#' or ';'. # -# The server has a 'central' section named [server]. Further each driver -# has a section which defines how the driver acts. +# The server has a 'central' section named [server]. For the menu there is +# a section called [menu]. Further each driver has a section which +# defines how the driver acts. # # The drivers are activated by specifiying them in a driver= line in the # server section, like: # # Driver=curses # -# This tells LCDd to use the curses driver. The first driver that is -# loaded and is capable of output becomes 'the' output driver. -# All extra drivers can only serve as input. -# The default driver to use is curses. +# This tells LCDd to use the curses driver. +# The first driver that is loaded and is capable of output defines the +# size of the display. The default driver to use is curses. +# If -d is specified on the command line, the Driver= options in the +# config file are ignored. # -# The drivers can read their own options from the config file, but most of +# The drivers can read their own options from the config file, but some of # them don't do this yet. They expect 'command-line'-format parameters that # were previously placed on the command line. These parameters can be # given to the driver in the following way: @@ -33,8 +35,6 @@ # -d "" # # Note that the -d option still works, but not allows driverargs anymore. -# If -d is specified on the command line, the Driver= options in the -# config file are ignored. [server] @@ -81,15 +81,42 @@ DriverPath=server/drivers/ # Where can we find the driver modules ? # Always place a slash as last character ! +# The "...Key=" lines define what the server does with keypresses that +# don't go to any client. +# These are the defaults: +ToggleRotateKey=Enter +PrevScreenKey=Left +NextScreenKey=Right +#ScrollUpKey=Up +#ScrollDownKey=Down + +# If you have only 4 keys, you can choose to use this: +#ToggleRotateKey=Enter +#PrevScreenKey=Up +#NextScreenKey=Down + +# If you have only 3 keys, you can choose to use this: +#ToggleRotateKey=Enter +#PrevScreenKey=Up + + [menu] -# The menu section. You can configure what keys the menu should use. -# Note that only the menukey will be reserved exclusively. +# The menu section. The menu is an internal LCDproc client. +# You can configure what keys the menu should use. Note that only the menukey +# will be reserved exclusively, the others in shared mode. + +# The following works excelent with 4 keys or more. MenuKey=Escape EnterKey=Enter UpKey=Up DownKey=Down +# If you have only 3 keys, you could use something like this: +#MenuKey=Escape +#EnterKey=Enter +#DownKey=Down + # Driver sections are below this line, in alphabetical order @@ -194,7 +221,6 @@ Arguments="-d /dev/ttyS0 -s 9600" [hd44780] # Hitachi HD44780 driver -# See docs/hd44780_howto.txt Port=0x378 # Port where the LPT is. Usual values are 0x278, 0x378 and 0x3BC