Replace <term><args> with <term><synopsis> or <term><option> as the first one

is not allowed.
Strip trailing whitespace.
Reformat long lines.
This commit is contained in:
mmdolze
2009-06-12 11:15:20 +00:00
parent b31bb501e0
commit 44d90170ed
6 changed files with 113 additions and 172 deletions
+1 -1
View File
@@ -258,7 +258,7 @@ SED1330/SED1335 (aka S1D13300/S1D13305) based graphical displays
<title>Step 1</title>
<para>
Please add a file <filename><emphasis>myDriver</emphasis>.docbook</filename>,
Please add a file <filename>myDriver.docbook</filename>,
that describes the configuration of your driver and the hard/software needed,
to the directory <filename>docs/lcdproc-user/drivers/</filename>.
</para>
+2 -2
View File
@@ -170,7 +170,7 @@ API_VERSION in the code.
// name of the driver instance (name of the config file section)
// - do not change from the driver; consider it read-only
// - to be used to access the driver's own section in the config file
char * name;
char * name;
// pointer to the driver instance's private data
// - filled by the server by calling store_private_ptr()
@@ -378,7 +378,7 @@ typedef struct MyDriver_private_data {
Place a single character <replaceable>c</replaceable> into position
(<replaceable>x</replaceable>,<replaceable>y</replaceable>) in the framebuffer.
The driver should check for overflows, i.e. that the positional parameters
are within the screen's boundaries and ignore the request if
are within the screen's boundaries and ignore the request if
the character is out of bounds.
</para>
+1 -1
View File
@@ -10,7 +10,7 @@ where to find the relevant information about LCDproc's inner workings.
</para>
<note><para>
Please note that this document is still "under construction".
Please note that this document is still "under construction".
If you run into any trouble feel free to write to the LCDproc mailing list.
See <ulink url="http://lcdproc.org/mail.php3">http://lcdproc.org/mail.php3</ulink>
for details on how to subscribe to the list.
+60 -135
View File
@@ -89,7 +89,7 @@
<variablelist><!--<title>hello response parameters</title>-->
<varlistentry>
<term>
<arg choice="plain">LCDproc <replaceable>version</replaceable></arg>
<synopsis>LCDproc <replaceable>version</replaceable></synopsis>
</term>
<listitem><para>
Indicates the version number of LCDd.
@@ -97,7 +97,7 @@
</varlistentry>
<varlistentry>
<term>
<arg choice="plain">protocol <replaceable>version</replaceable></arg>
<synopsis>protocol <replaceable>version</replaceable></synopsis>
</term>
<listitem><para>
Indicates the widget language version number. This number is
@@ -107,7 +107,7 @@
</varlistentry>
<varlistentry>
<term>
<arg choice="plain">wid <replaceable>int</replaceable></arg>
<synopsis>wid <replaceable>int</replaceable></synopsis>
</term>
<listitem><para>
Tells the client the width of the attached display device in characters.
@@ -115,7 +115,7 @@
</varlistentry>
<varlistentry>
<term>
<arg choice="plain">hgt <replaceable>int</replaceable></arg>
<synopsis>hgt <replaceable>int</replaceable></synopsis>
</term>
<listitem><para>
Tells the client the height of the attached display device in characters.
@@ -123,7 +123,7 @@
</varlistentry>
<varlistentry>
<term>
<arg choice="plain">cellwid <replaceable>int</replaceable></arg>
<synopsis>cellwid <replaceable>int</replaceable></synopsis>
</term>
<listitem><para>
How many pixels is a character wide (space between character
@@ -132,7 +132,7 @@
</varlistentry>
<varlistentry>
<term>
<arg choice="plain">cellhgt <replaceable>int</replaceable></arg>
<synopsis>cellhgt <replaceable>int</replaceable></synopsis>
</term>
<listitem><para>
How many pixels is a character high (space between character
@@ -141,7 +141,7 @@
</varlistentry>
<varlistentry>
<term>
<arg choice="plain">lcd</arg>
<synopsis>lcd</synopsis>
</term>
<listitem><para>
This word is NOT followed by a value !
@@ -158,10 +158,10 @@
<cmdsynopsis>
<command>client_set</command>
<arg choice="plain">-name <replaceable>name</replaceable></arg>
<!-- not implemented on the server side
<!-- not implemented on the server side
<arg rep="repeat" choice="plain"><replaceable>options</replaceable></arg>
-->
</cmdsynopsis>
-->
</cmdsynopsis>
</term>
<listitem>
<para>
@@ -216,7 +216,7 @@
</para></listitem>
</varlistentry>
</variablelist>
-->
-->
</para>
</listitem>
</varlistentry>
@@ -273,7 +273,7 @@
<variablelist><!--<title>screen_set attributes</title>-->
<varlistentry>
<term>
<arg choice="plain">-name <replaceable>name</replaceable></arg>
<option>-name <replaceable>name</replaceable></option>
</term>
<listitem><para>
Sets the screen's name as visible to a user.
@@ -281,10 +281,8 @@
</varlistentry>
<varlistentry>
<term>
<arg choice="plain">-wid <replaceable>int</replaceable></arg>
</term>
<term>
<arg choice="plain">-hgt <replaceable>int</replaceable></arg>
<option>-wid <replaceable>int</replaceable></option>
<option>-hgt <replaceable>int</replaceable></option>
</term>
<listitem><para>
Sets the size of the screen in characters. If unset, the full display size is assumed.
@@ -292,7 +290,7 @@
</varlistentry>
<varlistentry>
<term>
<arg choice="plain">-priority <replaceable>pri_class</replaceable></arg>
<option>-priority <replaceable>pri_class</replaceable></option>
</term>
<listitem><para>
Sets the screen's priority.
@@ -357,7 +355,7 @@
<entry>info</entry>
</row>
<row>
<entry>193 - &#8734;</entry>
<entry>193 - &#x221E;</entry>
<entry>background</entry>
</row>
</tbody>
@@ -378,13 +376,7 @@
</varlistentry>
<varlistentry>
<term>
<arg choice="plain">-heartbeat
<group choice="req">
<arg choice="plain">on</arg>
<arg choice="plain">off</arg>
<arg choice="plain">open</arg>
</group>
</arg>
<option>-heartbeat { on | off | open }</option>
</term>
<listitem><para>
Changes the heartbeat setting for this screen.
@@ -394,16 +386,7 @@
</varlistentry>
<varlistentry>
<term>
<arg choice="plain">-backlight
<group choice="req">
<arg choice="plain">on</arg>
<arg choice="plain">off</arg>
<arg choice="plain">toggle</arg>
<arg choice="plain">open</arg>
<arg choice="plain">blink</arg>
<arg choice="plain">flash</arg>
</group>
</arg>
<option>-backlight { on | off | toggle | open | blink | flash }</option>
</term>
<listitem><para>
Changes the screen's backlight setting.
@@ -415,7 +398,7 @@
</varlistentry>
<varlistentry>
<term>
<arg choice="plain">-duration <replaceable>value</replaceable></arg>
<option>-duration <replaceable>value</replaceable></option>
</term>
<listitem><para>
A screen will be visible for this amount of time every rotation.
@@ -424,7 +407,7 @@
</varlistentry>
<varlistentry>
<term>
<arg choice="plain">-timeout <replaceable>value</replaceable></arg>
<option>-timeout <replaceable>value</replaceable></option>
</term>
<listitem><para>
After the screen has been visible for a total of this amount of time,
@@ -434,14 +417,7 @@
</varlistentry>
<varlistentry>
<term>
<arg choice="plain">-cursor
<group choice="req">
<arg choice="plain">on</arg>
<arg choice="plain">off</arg>
<arg choice="plain">under</arg>
<arg choice="plain">block</arg>
</group>
</arg>
<option>-cursor { on | off | under | block}</option>
</term>
<listitem><para>
Determines the visibility of a cursor.
@@ -454,18 +430,16 @@
</varlistentry>
<varlistentry>
<term>
<arg choice="plain">-cursor_x <replaceable>int</replaceable></arg>
</term>
<term>
<arg choice="plain">-cursor_y <replaceable>int</replaceable></arg>
<option>-cursor_x <replaceable>int</replaceable></option>
<option>-cursor_y <replaceable>int</replaceable></option>
</term>
<listitem><para>
Set the cursor's x and y coordinates respectively.
If not given, the cursor will be set to
the leftmost (<option>-cursor_x</option>) resp.
the leftmost (<option>-cursor_x</option>) resp.
topmost (<option>-cursor_y</option>) position.
Coordinates are always 1-based.
So the default top-left corner is denoted by (1,1).
So the default top-left corner is denoted by (1,1).
</para></listitem>
</varlistentry>
</variablelist>
@@ -537,7 +511,7 @@
<literal>scroller</literal>
</term>
<listitem><para>
A variation of the string type that scrolls the text
A variation of the string type that scrolls the text
horizontally or vertically.
</para></listitem>
</varlistentry>
@@ -652,7 +626,7 @@
<arg choice="plain"><replaceable>iconname</replaceable></arg>
</cmdsynopsis>
<para>
Displays the icon <replaceable>iconname</replaceable> at
Displays the icon <replaceable>iconname</replaceable> at
position (<replaceable>x</replaceable>,<replaceable>y</replaceable>).
</para></listitem>
</varlistentry>
@@ -696,7 +670,7 @@
<arg choice="plain"><replaceable>speed</replaceable></arg>
</cmdsynopsis>
<para>
Sets up a frame spanning from
Sets up a frame spanning from
(<replaceable>left</replaceable>,<replaceable>top</replaceable>)
to (<replaceable>right</replaceable>,<replaceable>bottom</replaceable>)
that is <replaceable>width</replaceable> columns wide and
@@ -802,7 +776,7 @@
in exclusive mode no other client can reserve them again.
Key(s) reserved in shared mode will only be returned when a screen
of the current client is active. These keys can be used for
interaction with a visible screen (default).
interaction with a visible screen (default).
Key(s) reserved in exclusive mode will be returned regardless of
which screen is active. They can be used to trigger a special
feature or to make a screen come to foreground.
@@ -853,7 +827,7 @@
<replaceable>menu_ids</replaceable> are <emphasis>unique</emphasis>
(at least within a clients menu hierarchy).
</para>
</note>
</note>
<variablelist><title>menu item types</title>
<varlistentry>
<term>
@@ -982,7 +956,7 @@
<variablelist>
<varlistentry>
<term>
<arg choice="plain">-text <replaceable>string</replaceable></arg>
<option>-text <replaceable>string</replaceable></option>
</term>
<listitem><para>
The visible text of the item.
@@ -990,13 +964,7 @@
</varlistentry>
<varlistentry>
<term>
<arg choice="plain">-is_hidden
<group choice="req">
<arg choice="plain">false</arg>
<arg choice="plain">true</arg>
</group>
</arg>
(false)
<option>-is_hidden { true | false}</option> (false)
</term>
<listitem><para>
If the item currently should not appear in a menu.
@@ -1004,7 +972,7 @@
</varlistentry>
<varlistentry>
<term>
<arg choice="plain">-next <replaceable>successor_id</replaceable></arg>
<option>-next <replaceable>successor_id</replaceable></option>
</term>
<listitem>
<para>
@@ -1050,7 +1018,7 @@
</varlistentry>
<varlistentry>
<term>
<arg choice="plain">-prev <replaceable>predecessor_id</replaceable></arg>
<option>-prev <replaceable>predecessor_id</replaceable></option>
</term>
<listitem>
<para>
@@ -1090,14 +1058,7 @@
<variablelist>
<varlistentry>
<term>
<arg choice="plain">-menu_result
<group choice="req">
<arg choice="plain">none</arg>
<arg choice="plain">close</arg>
<arg choice="plain">quit</arg>
</group>
</arg>
(none)
<option>-menu_result { none | close | quit}</option> (none)
</term>
<listitem><para>
Sets what to do with the menu when this action is selected:
@@ -1117,13 +1078,7 @@
<variablelist>
<varlistentry>
<term>
<arg choice="plain">-value
<group choice="req">
<arg choice="plain">off</arg>
<arg choice="plain">on</arg>
<arg choice="plain">gray</arg>
</group>
</arg>
<option>-value { off | on | gray }</option>
</term>
<listitem><para>
Set the value of the item.
@@ -1131,13 +1086,7 @@
</varlistentry>
<varlistentry>
<term>
<arg choice="plain">-allow_gray
<group choice="req">
<arg choice="plain">false</arg>
<arg choice="plain">true</arg>
</group>
</arg>
(false)
<option>-allow_gray { false | true}</option> (false)
</term>
<listitem><para>
Sets if a grayed checkbox is allowed.
@@ -1154,7 +1103,7 @@
<variablelist>
<varlistentry>
<term>
<arg choice="plain">-value <replaceable>int</replaceable></arg> (0)
<option>-value <replaceable>int</replaceable></option> (0)
</term>
<listitem><para>
Sets the index in the stringlist that is currently selected.
@@ -1162,7 +1111,7 @@
</varlistentry>
<varlistentry>
<term>
<arg choice="plain">-strings <replaceable>string</replaceable></arg> (empty)
<option>-strings <replaceable>string</replaceable></option> (empty)
</term>
<listitem><para>
This single string should contain the strings that can be selected. They should be tab-separated (\t).
@@ -1179,7 +1128,7 @@
<variablelist>
<varlistentry>
<term>
<arg choice="plain">-value <replaceable>int</replaceable></arg> (0)
<option>-value <replaceable>int</replaceable></option> (0)
</term>
<listitem><para>
Sets its current value.
@@ -1187,10 +1136,10 @@
</varlistentry>
<varlistentry>
<term>
<arg choice="plain">-mintext <replaceable>string</replaceable></arg> ("")
<option>-mintext <replaceable>string</replaceable></option> ("")
</term>
<term>
<arg choice="plain">-maxtext <replaceable>string</replaceable></arg> ("")
<option>-maxtext <replaceable>string</replaceable></option> ("")
</term>
<listitem><para>
The texts at the left and right side of the slider.
@@ -1198,10 +1147,10 @@
</varlistentry>
<varlistentry>
<term>
<arg choice="plain">-minvalue <replaceable>int</replaceable></arg> (0)
<option>-minvalue <replaceable>int</replaceable></option> (0)
</term>
<term>
<arg choice="plain">-maxvalue <replaceable>int</replaceable></arg> (100)
<option>-maxvalue <replaceable>int</replaceable></option> (100)
</term>
<listitem><para>
The minimum and maximum values of the slider.
@@ -1209,7 +1158,7 @@
</varlistentry>
<varlistentry>
<term>
<arg choice="plain">-stepsize <replaceable>int</replaceable></arg> (1)
<option>-stepsize <replaceable>int</replaceable></option> (1)
</term>
<listitem><para>
The stepsize of the slider. If you use 0, you can control the movement completely from your client.
@@ -1226,7 +1175,7 @@
<variablelist>
<varlistentry>
<term>
<arg choice="plain">-value <replaceable>int</replaceable></arg> (0)
<option>-value <replaceable>int</replaceable></option> (0)
</term>
<listitem><para>
Sets its current value.
@@ -1234,10 +1183,10 @@
</varlistentry>
<varlistentry>
<term>
<arg choice="plain">-minvalue <replaceable>int</replaceable></arg> (0)
<option>-minvalue <replaceable>int</replaceable></option> (0)
</term>
<term>
<arg choice="plain">-maxvalue <replaceable>int</replaceable></arg> (100)
<option>-maxvalue <replaceable>int</replaceable></option> (100)
</term>
<listitem><para>
The minimum and maximum values that are allowed. If one
@@ -1259,7 +1208,7 @@
<variablelist>
<varlistentry>
<term>
<arg choice="plain">-value <replaceable>string</replaceable></arg> ("")
<option>-value <replaceable>string</replaceable></option> ("")
</term>
<listitem><para>
Sets its current value.
@@ -1267,7 +1216,7 @@
</varlistentry>
<varlistentry>
<term>
<arg choice="plain">-password_char <replaceable>string</replaceable></arg> ("")
<option>-password_char <replaceable>string</replaceable></option> ("")
</term>
<listitem><para>
If used, instead of the typed characters, this
@@ -1276,10 +1225,10 @@
</varlistentry>
<varlistentry>
<term>
<arg choice="plain">-minlength <replaceable>int</replaceable></arg> (0)
<option>-minlength <replaceable>int</replaceable></option> (0)
</term>
<term>
<arg choice="plain">-maxlength <replaceable>int</replaceable></arg> (10)
<option>-maxlength <replaceable>int</replaceable></option> (10)
</term>
<listitem><para>
Sets the minimum and maximum allowed lengths.
@@ -1287,31 +1236,13 @@
</varlistentry>
<varlistentry>
<term>
<arg choice="plain">-allow_caps
<group choice="req">
<arg choice="plain">false</arg>
<arg choice="plain">true</arg>
</group>
</arg>
(true)
<option>-allow_caps { false | true }</option> (true)
</term>
<term>
<arg choice="plain">-allow_noncaps
<group choice="req">
<arg choice="plain">false</arg>
<arg choice="plain">true</arg>
</group>
</arg>
(false)
<option>-allow_noncaps { false | true }</option> (false)
</term>
<term>
<arg choice="plain">-allow_numbers
<group choice="req">
<arg choice="plain">false</arg>
<arg choice="plain">true</arg>
</group>
</arg>
(false)
<option>-allow_numbers { false | true }</option> (false)
</term>
<listitem><para>
(Dis)allow these groups of characters.
@@ -1319,7 +1250,7 @@
</varlistentry>
<varlistentry>
<term>
<arg choice="plain">-allowed_extra <replaceable>string</replaceable></arg> ("")
<option>-allowed_extra <replaceable>string</replaceable></option> ("")
</term>
<listitem><para>
The chars in this string are also allowed.
@@ -1336,7 +1267,7 @@
<variablelist>
<varlistentry>
<term>
<arg choice="plain">-value <replaceable>string</replaceable></arg> ("192.168.1.245")
<option>-value <replaceable>string</replaceable></option> ("192.168.1.245")
</term>
<listitem><para>
Set the value of the item,
@@ -1346,13 +1277,7 @@
</varlistentry>
<varlistentry>
<term>
<arg choice="plain">-v6
<group choice="req">
<arg choice="plain">false</arg>
<arg choice="plain">true</arg>
</group>
</arg>
(false)
<option>-v6 { false | true }</option> (false)
</term>
<listitem><para>
Changes IP version from default v4.
@@ -1372,7 +1297,7 @@
<variablelist>
<varlistentry>
<term>
<arg choice="plain">-parent <replaceable>parentid</replaceable></arg>
<option>-parent <replaceable>parentid</replaceable></option>
</term>
<listitem><para> (Re)sets the parent of this
menu. Parentid has to be of type menu. This
@@ -1589,7 +1514,7 @@
</para>
</listitem>
</varlistentry>
-->
-->
</variablelist>
</sect2>
</sect1>
+1 -1
View File
@@ -8,7 +8,7 @@
<!ENTITY driver-api SYSTEM "driver-api.docbook">
<!ENTITY make-driver SYSTEM "make-driver.docbook">
<!ENTITY add-your-driver SYSTEM "add-your-driver.docbook">
<!ENTITY license SYSTEM "license.docbook">
<!ENTITY license SYSTEM "license.docbook">
]>
<book id="lcdproc-dev" lang="en">
+48 -32
View File
@@ -5,11 +5,14 @@
<title>Introduction</title>
<para>
LCDproc is meant to be modular, it is relatively easy to add new input and output drivers to LCDproc. Actually, there are a few things that you can do to make your life easier, they are listed here.
LCDproc is meant to be modular, it is relatively easy to add new input and
output drivers to LCDproc. Actually, there are a few things that you can do
to make your life easier, they are listed here.
</para>
<para>
This chapter will explain you the major steps and few gotchas of adding your own driver to LCDproc. Enjoy!
This chapter will explain you the major steps and few gotchas of adding your
own driver to LCDproc. Enjoy!
</para>
</sect1>
@@ -18,21 +21,34 @@ This chapter will explain you the major steps and few gotchas of adding your own
<title>Shared files specific for drivers</title>
<para>
Driving an LCD display is not easy; you need to address ports, to send bytes in a certain order, to respect timing, and unfortunaly no two operating system let you do this in the same way. But don't dispair! There's hope! Someone in a galaxy far far away, has allready done the dirty job for you! This dirty job has been put in shared files. These shared files are full cross platform and are automagically configured by the configure script. You only need to include them and use their functions to benefit from them.
Driving an LCD display is not easy; you need to address ports, to send bytes
in a certain order, to respect timing, and unfortunaly no two operating system
let you do this in the same way. But don't dispair! There's hope! Someone in
a galaxy far far away, has allready done the dirty job for you! This dirty job
has been put in shared files. These shared files are full cross platform and
are automagically configured by the configure script. You only need to include
them and use their functions to benefit from them.
</para>
<para>
These files are provided only for drivers, others are provided for all of LCDproc. These files are located in the shared directory, they have a dedicated chapter in this book.
These files are provided only for drivers, others are provided for all of
LCDproc. These files are located in the shared directory, they have a
dedicated chapter in this book.
</para>
<sect2 id="port.h">
<title>port.h : Parallel port I/O</title>
<para>The file port.h, located in the server/drivers/ directory provide Input/Output and port permissions for the PC compatible parallel port, also known as the LPT port.</para>
<para>
The file port.h, located in the server/drivers/ directory provide Input/Output
and port permissions for the PC compatible parallel port, also known as the
LPT port.
</para>
<para>
Of course, these functions will only work if the computer where LCDproc runs has parallel port!r
In these situations, the configure script will see this and disable drivers that need a parallel port.
Of course, these functions will only work if the computer where LCDproc runs
has parallel port! In these situations, the configure script will see this and
disable drivers that need a parallel port.
</para>
<para>port.h file defines 6 static inline functions for port I/O:</para>
@@ -133,10 +149,10 @@ These files are provided only for drivers, others are provided for all of LCDpro
<screen>
#include "port.h"
/* Get access to these 3 ports:
0x378 (CONTROL),
0x379 (STATUS) and
0x37A (DATA)
/* Get access to these 3 ports:
0x378 (CONTROL),
0x379 (STATUS) and
0x37A (DATA)
*/
if ( -1 == port_access_multiple(0x378,3) ) {
/* Access denied, do something */
@@ -183,7 +199,7 @@ port_deny_multiple(0x378,3);
to determine the display's height and thus the maximal height of the
big numbers to be displayed.
</para>
</listitem>
</listitem>
</varlistentry>
<varlistentry>
@@ -193,19 +209,19 @@ port_deny_multiple(0x378,3);
to determine the number of user-defineable characters that can be
used in the generation of big numbers.
</para>
</listitem>
</listitem>
</varlistentry>
<varlistentry>
<term><function>set_char()</function></term>
<listitem>
<listitem>
<para>
to define a character necessary to write a big number.
Of course this is only necessary if there really are user-definieable
characters, i.e. only if <function>get_free_chars()</function> returns
a value greater <literal>0</literal>.
</para>
</listitem>
</listitem>
</varlistentry>
<varlistentry>
@@ -214,9 +230,9 @@ port_deny_multiple(0x378,3);
<para>
to actually write the characters the big numbers consist of.
</para>
</listitem>
</listitem>
</varlistentry>
</variablelist>
</variablelist>
</para>
</listitem>
@@ -231,21 +247,21 @@ port_deny_multiple(0x378,3);
<listitem>
<para>
The custom-characters (if any) have to be at character positions
<replaceable>offset</replaceable><literal>+0</literal>,
<replaceable>offset</replaceable><literal>+1</literal>,
<replaceable>offset</replaceable><literal>+0</literal>,
<replaceable>offset</replaceable><literal>+1</literal>,
<replaceable>offset</replaceable><literal>+2</literal>, ...
<replaceable>offset</replaceable><literal>+</literal>
<function>get_free_chars()</function><literal>-1</literal>,
<function>get_free_chars()</function><literal>-1</literal>,
</para>
</listitem>
<listitem>
<para>
<replaceable>offset</replaceable><literal>+</literal>
<function>get_free_chars()</function><literal>-1</literal> must be less than <literal>32</literal>,
<function>get_free_chars()</function><literal>-1</literal> must be less than <literal>32</literal>,
</para>
</listitem>
</itemizedlist>
</itemizedlist>
<para>
The library determines the correct font, depending on the display size and the number
@@ -283,7 +299,7 @@ port_deny_multiple(0x378,3);
<function>num()</function> function.
</para>
</listitem>
</varlistentry>
</varlistentry>
<varlistentry>
<term><parameter>x</parameter></term>
@@ -295,7 +311,7 @@ port_deny_multiple(0x378,3);
the position to the lib. The bignumlib has no influence on the placing of the characters.
</para>
</listitem>
</varlistentry>
</varlistentry>
<varlistentry>
<term><parameter>num</parameter></term>
@@ -305,26 +321,26 @@ port_deny_multiple(0x378,3);
and <literal>:</literal>) to be written.
</para>
</listitem>
</varlistentry>
</varlistentry>
<varlistentry>
<term><parameter>offset</parameter></term>
<listitem>
<para>
<para>
the character position where the user-defineable characters start
(usually <literal>0</literal>).
The user-defineable characters (if any) are then expected to be at the character positions
<replaceable>offset</replaceable><literal>+0</literal>,
<replaceable>offset</replaceable><literal>+1</literal>,
<replaceable>offset</replaceable><literal>+0</literal>,
<replaceable>offset</replaceable><literal>+1</literal>,
<replaceable>offset</replaceable><literal>+2</literal>, ...
<replaceable>offset</replaceable><literal>+</literal>
<function>get_free_chars()</function><literal>-1</literal>
and <replaceable>offset</replaceable><literal>+</literal>
<function>get_free_chars()</function><literal>-1</literal> is required to be less than
<literal>32</literal>.
</para>
<literal>32</literal>.
</para>
</listitem>
</varlistentry>
</varlistentry>
<varlistentry>
<term><parameter>do_init</parameter></term>
@@ -341,7 +357,7 @@ port_deny_multiple(0x378,3);
So the responsibility of checking and setting is left to the driver.
</para>
</listitem>
</varlistentry>
</varlistentry>
</variablelist>
<example id="lib_adv_bignum-example">