|
@@ -23,7 +23,7 @@
|
|
|
<sect2 role="package">
|
|
|
<title/>
|
|
|
|
|
|
- <para>The Less package contains a text file viewer.</para>
|
|
|
+ <para>Less 软件包包含一个文本文件查看器。</para>
|
|
|
|
|
|
<segmentedlist>
|
|
|
<segtitle>&buildtime;</segtitle>
|
|
@@ -38,21 +38,20 @@
|
|
|
</sect2>
|
|
|
|
|
|
<sect2 role="installation">
|
|
|
- <title>安装Less</title>
|
|
|
+ <title>安装 Less</title>
|
|
|
|
|
|
<para>准备安装 Less:</para>
|
|
|
|
|
|
<screen><userinput remap="configure">./configure --prefix=/usr --sysconfdir=/etc</userinput></screen>
|
|
|
|
|
|
<variablelist>
|
|
|
- <title>The meaning of the configure options:</title>
|
|
|
+ <title>配置选项的含义:</title>
|
|
|
|
|
|
<varlistentry>
|
|
|
<term><parameter>--sysconfdir=/etc</parameter></term>
|
|
|
<listitem>
|
|
|
- <para>This option tells the programs created by the package to look
|
|
|
- in <filename class="directory">/etc</filename> for the configuration
|
|
|
- files.</para>
|
|
|
+ <para>该选项告诉该软件包创建的程序在
|
|
|
+ <filename class="directory">/etc</filename> 查找配置文件</para>
|
|
|
</listitem>
|
|
|
</varlistentry>
|
|
|
|
|
@@ -77,7 +76,7 @@
|
|
|
<segtitle>安装的程序</segtitle>
|
|
|
|
|
|
<seglistitem>
|
|
|
- <seg>less, lessecho, and lesskey</seg>
|
|
|
+ <seg>less, lessecho, 以及 lesskey</seg>
|
|
|
</seglistitem>
|
|
|
</segmentedlist>
|
|
|
|
|
@@ -89,8 +88,8 @@
|
|
|
<varlistentry id="less">
|
|
|
<term><command>less</command></term>
|
|
|
<listitem>
|
|
|
- <para>A file viewer or pager; it displays the contents of the given
|
|
|
- file, letting the user scroll, find strings, and jump to marks</para>
|
|
|
+ <para>一个文件查看器或分页器;它显示给定文件的内容,
|
|
|
+ 使得用户可以进行滚动、查找字符串,或跳到标记</para>
|
|
|
<indexterm zone="ch-system-less less">
|
|
|
<primary sortas="b-less">less</primary>
|
|
|
</indexterm>
|
|
@@ -100,8 +99,8 @@
|
|
|
<varlistentry id="lessecho">
|
|
|
<term><command>lessecho</command></term>
|
|
|
<listitem>
|
|
|
- <para>Needed to expand meta-characters, such as <emphasis>*</emphasis>
|
|
|
- and <emphasis>?</emphasis>, in filenames on Unix systems</para>
|
|
|
+ <para>用于展开元字符,例如 Unix 系统上文件名中的
|
|
|
+ <emphasis>*</emphasis> 和 <emphasis>?</emphasis></para>
|
|
|
<indexterm zone="ch-system-less lessecho">
|
|
|
<primary sortas="b-lessecho">lessecho</primary>
|
|
|
</indexterm>
|
|
@@ -111,7 +110,7 @@
|
|
|
<varlistentry id="lesskey">
|
|
|
<term><command>lesskey</command></term>
|
|
|
<listitem>
|
|
|
- <para>Used to specify the key bindings for <command>less</command></para>
|
|
|
+ <para>用于指定 <command>less</command> 的按键绑定</para>
|
|
|
<indexterm zone="ch-system-less lesskey">
|
|
|
<primary sortas="b-lesskey">lesskey</primary>
|
|
|
</indexterm>
|