From a3124cc5b5207e86a9da90b3d3ac1a3518e8fa7d Mon Sep 17 00:00:00 2001 From: mmdolze Date: Sat, 20 Jun 2009 13:10:40 +0000 Subject: [PATCH] Use inline elements in term definition. Update to Docbook 4.5. --- docs/lcdproc-dev/language.docbook | 310 +++++++++----------------- docs/lcdproc-dev/lcdproc-dev.docbook | 4 +- docs/lcdproc-dev/shared-files.docbook | 5 +- 3 files changed, 109 insertions(+), 210 deletions(-) diff --git a/docs/lcdproc-dev/language.docbook b/docs/lcdproc-dev/language.docbook index 73388e2..e867e6a 100644 --- a/docs/lcdproc-dev/language.docbook +++ b/docs/lcdproc-dev/language.docbook @@ -1,3 +1,9 @@ + The LCDproc client language @@ -71,25 +77,26 @@ - - hello - + hello Opens the session with the LCDd server program. This command is - required before other commands can be issued. The response will be - a string in the format: - - connect - parameter - + required before other commands can be issued. + + + The response will be a string in the format: + + + connect parameter... + + The client should read all parameters it needs and store their values. The following parameters are in use: - LCDproc version + LCDproc version Indicates the version number of LCDd. @@ -97,7 +104,7 @@ - protocol version + protocol version Indicates the widget language version number. This number is @@ -107,7 +114,7 @@ - wid int + wid int Tells the client the width of the attached display device in characters. @@ -115,7 +122,7 @@ - hgt int + hgt int Tells the client the height of the attached display device in characters. @@ -123,7 +130,7 @@ - cellwid int + cellwid int How many pixels is a character wide (space between character @@ -132,7 +139,7 @@ - cellhgt int + cellhgt int How many pixels is a character high (space between character @@ -141,7 +148,7 @@ - lcd + lcd This word is NOT followed by a value ! @@ -155,13 +162,7 @@ - - client_set - -name name - - + client_set @@ -171,52 +172,6 @@ name is the client's name as visible to a user. - @@ -229,10 +184,7 @@ - - screen_add - new_screen_id - + screen_add @@ -245,10 +197,7 @@ - - screen_del - screen_id - + screen_del @@ -260,11 +209,10 @@ - - screen_set - screen_id - attributes - + screen_set + + + @@ -449,13 +397,12 @@ - - widget_add - screen_id - new_widget_id - widgettype - -in frame_id - + widget_add + + + + + @@ -541,11 +488,10 @@ - - widget_del - screen_id - widget_id - + widget_del + + + @@ -556,12 +502,11 @@ - - widget_set - screen_id - widget_id - widgettype_specific_parameters - + widget_set + + + + @@ -759,14 +704,12 @@ - - client_add_key - - -exclusively - -shared - - key - + client_add_key + + | + + ... + @@ -788,10 +731,9 @@ - - client_del_key - key - + client_del_key + + @@ -802,13 +744,12 @@ - - menu_add_item - menu_id - new_item_id - type - options - + menu_add_item + + + + + @@ -921,11 +862,10 @@ - - menu_del_item - menu_id - item_id - + menu_del_item + + + @@ -938,12 +878,11 @@ - - menu_set_item - menu_id - item_id - item_specific_options - + menu_set_item + + + + @@ -1318,11 +1257,10 @@ - - menu_goto - menu_id - parent_id - + menu_goto + + + @@ -1358,10 +1296,9 @@ - - menu_set_main - menu_id - + menu_set_main + + @@ -1410,16 +1347,13 @@ - - backlight - - on - off - toggle - blink - flash - - + backlight { + | + | + | + | + } + @@ -1430,14 +1364,11 @@ - - output - - on - off - int - - + output { + | + | + } + @@ -1452,9 +1383,7 @@ - - info - + info @@ -1465,9 +1394,7 @@ - - noop - + noop @@ -1480,10 +1407,9 @@ - - sleep - int - + sleep + + @@ -1500,21 +1426,6 @@ - - @@ -1533,9 +1444,7 @@ - - success - + success This is the reponse to a command in case everything went ok. @@ -1543,10 +1452,7 @@ - - huh? - error_description - + huh? error_description This is the response to a command in case something has gone wrong. @@ -1559,16 +1465,10 @@ - - listen - screen_id - + listen screen_id - - ignore - screen_id - + ignore screen_id The screen with the screen_id given is now @@ -1578,10 +1478,7 @@ - - key - key - + key key This message will be sent if there was a keypress that should be @@ -1590,12 +1487,11 @@ - - menuevent - event_type - id - value - + menuevent + event_type + id + value + The user did something with a client supplied menu. The type of diff --git a/docs/lcdproc-dev/lcdproc-dev.docbook b/docs/lcdproc-dev/lcdproc-dev.docbook index d5cd99e..122a08e 100644 --- a/docs/lcdproc-dev/lcdproc-dev.docbook +++ b/docs/lcdproc-dev/lcdproc-dev.docbook @@ -1,6 +1,6 @@ - diff --git a/docs/lcdproc-dev/shared-files.docbook b/docs/lcdproc-dev/shared-files.docbook index 31689b8..8b1be41 100644 --- a/docs/lcdproc-dev/shared-files.docbook +++ b/docs/lcdproc-dev/shared-files.docbook @@ -93,7 +93,10 @@ compiled without debugging. This way memory and CPU cycles are saved. int new_dest -Returns the content of the byte. + + Returns -1 on error or 0 + on success. +