![]() ![]() |
![]() |
![]() |
Get Help
ITS ServicesAccountsHardware© 2009 The Regents of the University of California.
|
What is the RN Command? The RN Command Use the commands rn and Pnews to read and post on the USENET News. The commands are located in /cats/public/sparcbin on Athena, and in /usr/public on other machines, so you need to have the appropriate one in your search path (to do this on Athena, type add public; to do it automatically for every future session, type bind_locker public). To read the 19 page manual, type:
This handout tries to distill the essentials from the manual pages. There are several levels of use and understanding about reading the News. What follow takes you through the basics and a little beyond, but for complete information read the manual pages.
How do I use RN? The first time you type rn, it sets up a .newsrc file in your home directory to keep track of the newsgroups you want to read, the order you want to read them, and the ones you have already read. So to try it, log in your ITS account, then type:
You can read the News fairly successfully by simply remembering the following three commands:
Rn operates on three levels: the newsgroup selection level, the article selection level, and the paging (within an article) level. If you type q at the group level you quit the News. If you type q at the article level you quit that group, and if you type q while reading an article, you quit just that article. It is important to understand the different levels. At any level, at any prompt, type h to give you a list of all available commands. This is probably the most important command, so remember it! At any level, pressing the SPACE bar gives you the default command, usually y for yes. First, read the messages in the newsgroup news.announce.newusers before using the News very much, and especially before submitting an article (if you post offensive messages or inappropriate messages, you may lose your ITS account). Second, if you already tried rn, you probably discovered that there are far too many newsgroups to be able to read all of them, so be selective. While at the group level, you can use the m (move) command to rearrange the order of the groups so that the most interesting groups appear at the top of your list. For example at the group level, type m 2 to move the current newsgroup to second place. Once a month, the news.announce.newusers newsgroup provides an article listing all newsgroups. The article may have expired by the time you try to read it since most articles stay around only a week or so, depending on the group they are in, then they disappear. ITS also keeps this list in their on-line help system (see below). Look at this information to get a better idea of which groups you want to read. UCSC does not subscribe to all the groups listed.
Beyond the Basics Now that you have used rn a little, here are some more sophisticated commands. These commands are used at the newsgroup level:
There are many commands useful while reading an article. At this bottom level rn uses the more program to page the article; type man more to read the manual page describing its capabilities. These commands are used within an article:
Saving and printing articles Articles can be saved to a file or piped to another program, like mail or the printer. At the article level (say, you just read an interesting article that you want to save in some way), type either:
When you save a file from rn, it saves it in a subdirectory named News. A pipe can be used to send an article to another person or to send the article to a printer like this:
General Advice If you haven't read the News for a long time, or you want to start anew, simply delete your .newsrc file. The next time you use rn, it creates a brand new .newsrc file. It is much easier to edit the file .newsrc to move newsgroups around than to use the move (m) command. The order of the lines indicates the order of the newsgroups. When editing your .newsrc file, notice that there is either a : or a ! after the newsgroup name, then a list of numbers indicating the articles you have already read. The : indicates you are currently subscribing to this newsgroup; a ! indicates that you are not. So by changing the : into a !, you can unsubscribe to a newsgroup (and vice-versa).
Posting Messages To post an article, use the Pnews command. Try posting to one of the test newsgroups first so you can see how it works.
|