Article Title: Use newsgroup client in Linux network environment. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
The structure of a newsgroup is tree-like. It is generally classified based on the topic or type of the discussion. For example, Linux newsgroups are usually arranged under the topics alt. OS, comp. OS. l I n u x, or l I n u x. We can see that some discussions about Linux operating systems, such as settings, hardware, and X 11, are arranged under the subject of computer-Operating System-L I n u x. We will also find that many other discussions are organized according to this method. Although there is nothing to ensure that you can find the discussion question you want to find accurately, in most cases, you can easily find a newsgroup that discusses the question you are interested in. There are dozens of different newsgroup client software transfer programs and news reader programs, and more than 100,000 different newsgroups ...... All news reader programs provide the following basic functions:
1. subscribe to or stop subscribing to a newsgroup.
2. Browse messages and read Subsequent messages (clues ).
3. Directly reply an email message to the Message creator.
4. Post subsequent comments for messages in a news group.
5. Save the content of a message (usually stored in the sub-directory named "News" in the user sub-directory ).
The following describes several common Linux newsgroup client applications.
1. Independent operating software based on command line: slrn
Both Tin and slrn are well-designed Linux newsgroup client applications, developed by John E. the developed s l r n news reader program written by Davis is saved in the subdirectory/usr/bin. It is a news reader program similar to the tin program. However, some tin programs in the slrn program do not support performance improvement:
- The message topic and information content can be displayed simultaneously.
- Users can customize different display parts on the screen and use different colors for different messages.
- Allows you to operate with the mouse or cursor.
- You can specify different n t p servers on the command line.
(1) software download and Installation
# Wget http://slrn.sourceforge.net/patches/slrn-0.9.8.1pl1.tar.gz
# Tar vxzf slrn-0.9.8.1pl1.tar.gz
#./Configure
# Make; make install
Slrn command format:
Slrn [-Cdnp] [-create] [-help] [-f <新闻组文件> ] [-H <服务器> ] [-- Version]
Important parameters:
-C uses the color mode.
-D When downloading the group list, the descriptions for each group are also downloaded.
-F <新闻组文件> Specifies the file to store the group content. The default file name is. newsrc.
-H <服务器> Specifies the newsgroup server.
-N: do not check whether a new newsgroup exists.
-P: Set the connection Port Number of the newsgroup server. The default value is 119.
-This parameter must be used when create connects to a newsgroup server for the first time to download the list of groups on the server,
And save it in the specified newsrc file.
-Help: displays help.
-- Version: displays the version information.
For the work interface, see.
The slrn news reader provides a menu for mouse operations, and displays messages and messages in different screens in the same window. Table 1 is a shortcut Keyboard Command for common slrn programs (case sensitive ).
In addition to tin and slrn, the pine program is a two-in-one program. Although most people only use the pine program as a mail processing program, this program can also be used as an effective way to read news, if there is not enough space on the hard drive to install other programs (especially when you are using a laptop), pine can save a lot of hard disk space. It can be in the user subdirectory. in the pine r c file, specify the I s p-commerce news server, or use the setup and config commands of the pine program to specify the I S P-Commerce News Server. To read the news, you must first ensure that you have connected to your ISP and then run the pine program. Move the cursor to the folder you want to view on the list of listed folders, press the Enter key, and move the cursor to the news directory you want to read on the expanded file list, then press Enter.
Emacs is also an excellent newsgroup reading software. It is best to use a newer version of emacs/gnus, which saves a lot of trouble. Take emacs23 (emacs-snapshot-unicode)/gnus5.10.6 as an example. If you want to use the pop3 function to receive emails from the gmail mailbox while viewing the newsgroup, you only need to install gnutls-bin. You do not need to install this package in a general mailbox (smtp authentication is not required in tls mode when sending emails.
[1] [2] Next page