⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 curses.docbook

📁 linux下LCD驱动的例子代码
💻 DOCBOOK
字号:
<sect1 id="curses-howto"><title>The curses Driver</title><para>This section talks about using LCDproc with LCD displays that use thecurses chipset.</para><!-- ## Curses driver ## --><sect2 id="curses-config"><title>Configuration in LCDd.conf</title><sect3 id="curses-config-section"><title>[curses]</title><variablelist>    color settings<varlistentry>  <term>    <command>Foreground=</command>    <arg choice="plain"><replaceable>COLOUR</replaceable></arg>  </term>  <listitem>    <para>    Set the foreground color.    If not given, it defaults to <literal>blue</literal>.    </para>    <para>    Legal values for <replaceable>COLOUR</replaceable> are     <literal>red</literal>, <literal>black</literal>,    <literal>green</literal>, <literal>yellow</literal>,    <literal>blue</literal>, <literal>magenta</literal>,    <literal>cyan</literal> and <literal>white</literal>.    </para>  </listitem></varlistentry><varlistentry>  <term>    <command>Background=</command>    <arg choice="plain"><replaceable>COLOUR</replaceable></arg>  </term>  <listitem>    <para>    Set the background color.    The default is <literal>cyan</literal>.    </para>    <para>    The legal values for <replaceable>COLOUR</replaceable> are     the same as for the <command>Foreground</command> setting.    </para>  </listitem></varlistentry><varlistentry>  <term>    <command>Backlight=</command>    <arg choice="plain"><replaceable>COLOUR</replaceable></arg>  </term>  <listitem>    <para>    Set the background color that is to be used when backlight is set on.    backlight color. If not given, the default is <literal>red</literal>.    </para>    <para>    The legal values for <replaceable>COLOUR</replaceable> are     the same as for the <command>Foreground</command> setting.    </para>  </listitem></varlistentry><varlistentry>  <term>    <command>Size=</command>    <arg choice="plain">      <replaceable>WIDTH</replaceable>      <literal>x</literal>      <replaceable>HEIGHT</replaceable>    </arg>  </term>  <listitem><para>    display size [default: <literal>20x4</literal>]  </para></listitem></varlistentry><varlistentry>  <term>    <command>TopLeftx=</command>    <arg choice="plain"><replaceable>X-OFFSET</replaceable></arg>  </term>  <term>    <command>TopLefty=</command>    <arg choice="plain"><replaceable>Y-OFFSET</replaceable></arg>  </term>  <listitem><para>    What position (X,Y) to start the left top corner at.    Default: (7,7)  </para></listitem></varlistentry><varlistentry>  <term>    <command>UseACS=</command>    <arg choice ="plain">      <group choice="req">        <arg choice="plain"><literal>yes</literal></arg>        <arg choice="plain"><literal><emphasis>no</emphasis></literal></arg>      </group>    </arg>    </term>  <listitem><para>  Tell whether to use ACS (alternative character set) symbols for icons and bars  instead of  simple ASCII characters.  </para></listitem></varlistentry></variablelist></sect3></sect2></sect1>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -