📄 0190-0192.html
字号:
<HTML>
<HEAD>
<TITLE>Sams Teach Yourself Linux in 24 Hours:Configuring Internet News:EarthWeb Inc.-</TITLE>
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
<SCRIPT>
<!--
function displayWindow(url, width, height) {
var Win = window.open(url,"displayWindow",'width=' + width +
',height=' + height + ',resizable=1,scrollbars=yes');
}
//-->
</SCRIPT>
</HEAD>
-->
<!-- ISBN=0672311623 //-->
<!-- TITLE=Sams Teach Yourself Linux in 24 Hours//-->
<!-- AUTHOR=Bill Ball//-->
<!-- PUBLISHER=Macmillan Computer Publishing//-->
<!-- IMPRINT=Sams//-->
<!-- CHAPTER=12 //-->
<!-- PAGES=0185-0192 //-->
<!-- UNASSIGNED1 //-->
<!-- UNASSIGNED2 //-->
<P><CENTER>
<a href="0185-0189.html">Previous</A> | <a href="../ewtoc.html">Table of Contents</A> | <a href="../ch13/0193-0196.html">Next</A>
</CENTER></P>
<A NAME="PAGENUM-190"><P>Page 190</P></A>
<P>You'll also be able to browse quickly once you learn most of its keystroke
commands.
</P>
<TABLE BGCOLOR=#FFFF99><TR><TD>JUST A AMINUTE</TD></TR><TR><TD>
<BLOCKQUOTE>
Here's a tip on an undocumented feature you won't find in the
slrn manual page: You can scroll up and down through messages by using the left or right
mouse buttons of your mouse. You can also use slrn in a menu-driven mode by
enabling mouse support. This is handy if you run
slrn in an xterm or rxvt window under X11.
</BLOCKQUOTE>
</TD></TR></TABLE>
<P>When you start slrn, the program will look under the
/usr/lib/slrn directory for a file called slrn.rc, which contains system wide defaults for the program. You should copy this program as
.slrnrc to your home directory, and make your changes to this file. Although there are
many different customizations you can perform, a few are covered here to get you started.
</P>
<P>To enable mouse support, look in your .slrnrc file for
</P>
<!-- CODE SNIP //-->
<PRE>
% Enable xterm mouse support: 1 to enable, 0 to disable
set mouse 0
</PRE>
<!-- END CODE SNIP //-->
<P>Change set mouse 0 to set mouse 1 to enable menu- and mouse-driven modes in
slrn. Another change you may want to make is how
slrn displays messages and menus. Look for the
Colors section of the .slrnrc file:
</P>
<!-- CODE //-->
<PRE>
%------------------------------------------------------
% Colors
%------------------------------------------------------
color header_number "black" "white"
color header_name "black" "white"
color normal "black" "white"
color error "red" "white"
color status "yellow" "blue"
color group "blue" "white"
color article "blue" "white"
color cursor "black" "white"
color author "blue" "white"
color subject "black" "white"
color headers "black" "white"
color menu "yellow" "blue"
color menu_press "blue" "yellow"
color tree "red" "white"
color quotes "red" "white"
color thread_number "blue" "white"
color high_score "red" "white"
color signature "red" "white"
color description "blue" "white"
color tilde "black" "white"
</PRE>
<!-- END CODE //-->
<P>These lines are in the format of display item, foreground color, and background
color. </P>
<A NAME="PAGENUM-191"><P>Page 191</P></A>
<P>
According to the slrn manual page, these colors can be</P>
<!-- CODE //-->
<PRE>
black gray
red brightred
green brightgreen
brown yellow
blue brightblue
magenta brightmagenta
cyan brightcyan
lightgray white
</PRE>
<!-- END CODE //-->
<P>With a little bit of work, you can devise your own display. The
slrn newsreader is a flexible, customizable program.
</P>
<TABLE BGCOLOR=#FFFF99><TR><TD>JUST A MINUTE</TD></TR><TR><TD>
<BLOCKQUOTE>
The pine program is almost two programs in one. Although most people will
use pine primarily as a mail handler, pine can be an efficient way to read news,
and can save you disk space if you don't have much room on your hard drive
for other programs (especially if you're using a laptop computer).
<BR>
<BR>
You've already seen how you specify your ISP's news server in the
.pinerc file, or through pine's setup and config commands. To read news, make sure
you're connected to your ISP, then run pine. Cursor to the folder list view, press
the Enter key, then cursor down to the news collection expanded list and tap
the Enter key.<BR>
</BLOCKQUOTE>
</TD></TR></TABLE>
<A NAME="PAGENUM-192"><P>Page 192</P></A>
<P><CENTER>
<a href="0185-0189.html">Previous</A> | <a href="../ewtoc.html">Table of Contents</A> | <a href="../ch13/0193-0196.html">Next</A>
</CENTER></P>
</td>
</tr>
</table>
<!-- begin footer information -->
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -