.TH XRN 1 "$Date: 1995/03/17 03:22:52 $" "X"
.\" $Id: xrn-man.src,v 1.66 1995/03/17 03:22:52 jik Exp $
.\"
.\" xrn - an X-based NNTP news reader
.\"
.\" Copyright (c) 1988-1993, Ellen M. Sentovich and Rick L. Spickelmier.
.\"
.\" Permission to use, copy, modify, and distribute this software and its
.\" documentation for any purpose and without fee is hereby granted, provided
.\" that the above copyright notice appear in all copies and that both that
.\" copyright notice and this permission notice appear in supporting
.\" documentation, and that the name of the University of California not
.\" be used in advertising or publicity pertaining to distribution of 
.\" the software without specific, written prior permission.  The University
.\" of California makes no representations about the suitability of this
.\" software for any purpose.  It is provided "as is" without express or
.\" implied warranty.
.\"
.\" THE UNIVERSITY OF CALIFORNIA DISCLAIMS ALL WARRANTIES WITH REGARD TO 
.\" THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND 
.\" FITNESS, IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE FOR
.\" ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER
.\" RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF
.\" CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN 
.\" CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
.ds XR \fIxrn\fP
.ds NS `.newsrc'
.ds NG \fBNewsgroup\fP
.ds AR \fBArticle\fP
.ds AL \fBAll\fP
.ds AD \fBAdd\fP
.ds XD `~/.Xresources'
.\"
.SH NAME
xrn \- an X-based interface to the USENET news system that uses the NNTP remote news server
.SH SYNOPSIS
.PP
\*(XR is an X-based interface to the USENET news system
that uses the NNTP remote news protocol for accessing newsgroups
and articles on an NNTP server, thus allowing
users to read news from personal workstations
by accessing a central news
repository.
This manual page applies to version 7.02.
.\"
.SH DESCRIPTION
.PP
.nh
\*(XR
[\-addBindings bindings]
[\-addButtonList list]
[\-allBindings bindings]
[\-allButtonList list]
[\-artBindings bindings]
[\-artButtonList list]
[\-artSpecButtonList list]
[+/\-authorFullName]
[\-breakLength len]
[\-cancelCount number] 
[+/\-cc]
[+/\-ccForward]
[\-confirm list] 
[\-deadLetters file] 
[\-defaultLines count]
[+/\-displayLineCount]
[\-distribution dist]
[+/\-dumpCore]
[\-editorCommand command]
[+/\-extraMailHeaders]
[\-iconGeometry +X+Y] 
[\-includeCommand command]
[+/\-includeHeader]
[\-includePrefix "prefix text"]
[+/\-includeSep]
[+/\-info]
[+/\-killFiles] 
[\-leaveHeaders list]
[\-lineLength len]
[\-lockFile file]
[\-mailer mailer] 
[\-maxLines number] 
[\-minLines number]
[\-newsrcFile file] 
[\-ngButtonList list]
[\-ngBindings bindings]
[\-nntpServer name] 
[\-onlyShow number]
[+/-discardOld]
[\-prefetchMax number]
[\-prefetchMinSpeed kbytes]
[\-organization org]
[+/\-pageArticles]
[+/\-stayInArticleMode]
[+/\-subjectScrollBack]
[\-printCommand command]
[\-replyTo name]
[\-rescanTime time]
[+/\-rescanOnEnter]
[+/\-resetSave]
[\-saveDir directory]
[\-saveMode mode] 
[\-saveNewsrcFile file] 
[\-savePostings file] 
[\-saveString string]
[\-signatureFile file] 
[+/\-signatureNotify]
[+/\-executableSignatures]
[+/\-localSignatures]
[+/\-sortedSubjects]
[\-stripHeaders list]
[\-ignoreNewsgroups list]
[+/\-subjectRead] 
[\-tmpDir directory]
[\-topLines number]
[+/\-typeAhead]
[+/\-updateNewsrc]
[+/\-useGadgets]
[\-verboseKill actions]
[\-watchUnread list]
[\-authenticatorCommand command]
[\-authenticator command]
.\"

Along with the standard toolkit options, including
display, geometry, xrm, and iconic.
.\"
.SH BASIC OPERATION
.PP
\fBDon't let the size of this manual page alarm you.\fP
\*(XR is easy to learn on-line without reading
the documentation.
This manual page describes many features that may be obvious to the
casual observer.
It also describes how to use scroll bars, buttons, and select text;
if you have used an X toolkit application before, the section
titled "BUTTONS, SCROLL BARS, and SELECTION" can be skipped.
.PP
\*(XR uses the \*(NS file to determine what groups need
to be read.
If the \*(NS file does not exist, it is created, and the
user is subscribed to the news group `news.announce.newusers'.
.PP
\*(XR has four modes of operation: \*(AD, \*(NG, \*(AL,
and \*(AR modes.
\*(AD mode will be entered on startup if there are any groups
that the news system knows about that are not in the \*(NS file
(\fIi.e.,\fP new groups).
In \*(AD mode, the user is given a
list of new groups.
Groups can then be subscribed to and placed in the \*(NS file
at the first position, the last position, or after a group already
in the \*(NS file.
When \*(AD mode is exited, any remaining groups are
added unsubscribed, so the user is not asked about them the
next time \*(XR is started.
On exit from \*(AD mode, or on startup if there are no new groups,
\*(NG mode is entered.
\*(NG mode displays the subscribed to groups that have unread
articles and the range of available articles.
The basic functions available in this mode allow the user to
read a group,
mark all articles in a group as read, 
unsubscribe from a group,
move the cursor around the newsgroup window,
change the order of the list of newsgroups,
re-visit the most recently visited group,
and quit \*(XR.
In addition, the user can
subscribe to a group and specify its position in the \*(NS file, 
query the news server for new articles and groups, and
go to groups that are either not subscribed to or currently have
no unread articles (\fIi.e.,\fP groups not displayed on the screen).
From \*(NG mode the user can go into \*(AL mode.
In \*(AL mode the user is presented with a sorted list of
all known groups and their subscription status (subscribed
or unsubscribed) and can change their status or location
in the \*(NS file.
On exiting \*(AL mode the user is placed back in \*(NG mode.
In order to read the articles in a particular group, the user goes
from \*(NG mode to \*(AR mode.
In \*(AR mode the user can sequence through the articles in
the group forward or backward, mark a group of articles
as read or unread, mark all articles in the current group
as read, unsubscribe to the current group, 
return to the last article visited, search forward or backward
for an article subject (either for the exact subject or for
a regular expression in the subject), locally kill all articles with a
particular subject, and quit (saving all changes) or exit
(leaving all articles marked unread).
In addition, the user can save the current
article in a file, post an article to the group, post a followup
to the current article,
mail a reply to the author of an article, forward an article to
another user via mail, and
return to \*(NG mode.
.\"
.SH NEWS SYSTEM
.PP
.sp
The news system is a set of bulletins, discussion groups, program sources,
and other bits of information distributed around the world under the
name `USENET'.
The information is generally called `news' and is broken up into
`newsgroups'.
Each newsgroup deals with a subject or set of subjects.
The subjects for newsgroups are varied:  from discussions about particular
versions of UNIX to movie reviews, from information on the X window system
to commentary on current social and political issues.
.PP
For information on what newsgroups are available, answers to commonly
asked questions, and newsgroup ediquette, read the articles in the
newsgroup `news.announce.newsusers'.  Users who are new to the USENET
are strongly encouraged to become familiar with the contents of the
articles in `news.announce.newusers' before posting any messages.
.\"
.SH NEWS SERVER
.PP
In order to run \*(XR, you must have access to an NNTP news server.
If you do not have access to such a server and would like to set one
up, see the "USENET Software:
History and Sources" posting in news.announce.newusers for information
about where to get the appropriate software.
The NNTP server to which to connect must be specified in one of the
following ways:
the `\-nntpServer' command line argument;
the environment variable NNTPSERVER;
the \fBnntpServer\fP X resource;
xSERVER_FILE_STARTx
the contents of the file `xSERVER_FILEx'
xSERVER_FILE_ENDx
xINN_STARTx
the NNTP server configured into INN
xINN_ENDx
(these are listed in the order in which they are checked).
The name can be either a host name
(e.g., shambhala.berkeley.edu) or an internet number (e.g.,
128.32.132.54).  If someone else has installed \*(XR at your site,
then it is probably already configured to use the correct news server
and you don't have to worry about it.
.\"
.SH SCREEN LAYOUT
.PP
The screen displayed by \*(XR consists of seven sections:
a title bar, two scrollable text windows, two information bars,
and two button boxes.
The title bar displays the current version of the program.
The top text window displays information based on the mode.
In \*(AD mode, the window displays all groups that are
not currently in the \*(NS file, one per line.
In \*(NG mode, the
window displays the groups containing unread articles.
Each group is represented by a line of the form:
.sp
.ce 100
Unread news in <group name>           <num> article(s) + <old> old
.ce 0
.sp
<group name> is the name of the group,
<num> is the number of unread articles, and <old> is the number of
read articles that are still available (i.e. have not been expired) on
the news server.  If "List old" is toggled on, then the word "Unread"
will not appear on the lines of newsgroups with no unread articles,
and furthermore, the words "news in" will not appear on the lines of
newsgroups with no available articles at all.
.PP
In \*(AR mode, the window displays a list of subjects
for the articles in the current group, with each subject line
being represented by a line of the form:
.sp
.ce 100
[+u][SP] <num>    <subject of the article> [<lines>] <author>
.ce 0
.sp
where <num> is the article number, <lines> is the number of lines in
the article (when available), and <author> is the author of the
article.  A `+' in the first position
means that the article has been read, a `u' in the first position
means that the article has been marked as unread, a 'S' in the second
position means that the article has been saved to a file, and a 'P' in
the second position means that the article has been printed.
.PP
The top information bar displays information about the mode, the buttons
in the top button box, and error messages.
The top button box has buttons that are specific to the mode
and apply to the information in the top text window.
The bottom text window displays articles in \*(AR mode
and a list of all known groups and their subscription status in \*(AL
mode.
The bottom information bar displays information about the mode,
the buttons in the bottom button box, and error messages.
The bottom button box has buttons that are specific to the mode
and apply to the information in the bottom text window.
.SH BUTTONS, SCROLL BARS, AND SELECTION
.PP
All button and text selection commands are done with the
left mouse button.
Single-line text selection is accomplished by
clicking the left mouse button on the desired line.
Multiple-line selection is accomplished by clicking the
left mouse button on the first line, holding the button down,
dragging the mouse to the last line, and releasing the mouse button.
Multiple-line selection can also be accomplished by left-clicking
on the first line, and right-clicking on the last line.
Selected lines appear in reverse video (the foreground and background
colors are switched).
.PP
The text windows are scrolled with the scroll bar on the
left side of the window.
Clicking the left mouse button in the scroll bar will scroll the
text down
some fraction of a page; clicking the right mouse button in 
the scroll bar similarly scrolls up.
Clicking the middle mouse button will scroll over larger areas:
clicking at the top of the scroll bar will
scroll to the top of the text, clicking in the middle will
scroll to the middle of the text, and clicking at the bottom will
scroll to the bottom of the text.
For those who like using the keyboard,
hitting control-V while the mouse cursor is in a scrollable text window
will cause the window to scroll down one page, meta-V will scroll up one
page.
.PP
Hitting the space bar (while the mouse cursor is in the top button box)
will do the right thing; scroll the article text window
when appropriate, go to the next article at the end of the current article,
go to newsgroup mode when done with all articles in the current group, and
go to the next group when in newsgroup mode.
.PP
Clicking the middle button on a newsgroup in \*(NG mode causes \*(XR
to enter \*(AR mode in that newsgroup.  Clicking the middle button on
an article in \*(AR mode causes that article to be displayed.
.\"
.SH MODES
.PP
The next few sections describe the individual modes in \*(XR.
Each button in the various modes is described with the label 
for the button and the name of the button.
The name of the button can be used in X resources, in the button
lists, and in the bindings tables. 
.\"
.SH ADD MODE
.PP
\*(AD mode is entered when new groups have been detected
(groups that the news system knows about but are not in the \*(NS file).
.IP "quit (addQuit)"
Add remaining groups in the list to \*(NS as unsubscribed;
go to group mode.
.IP "add first (addFirst)"
Add the current group(s) to the beginning of the \*(NS file and
mark as subscribed.
The current group is the selected group(s), or the group
on the line containing the cursor.
.IP "add last (addLast)"
Add the current group(s) to the end of the \*(NS file and
mark as subscribed.
.IP "add after group (addAfter)"
Add the current group(s) after a group already in the \*(NS.
A dialog box is used to allow the user to enter the name of the
group to add the group after.
The mouse cursor must be in the dialog box
for \*(XR to accept text (however, it does not have to be
in the type-in area).
The dialog box has two options: \fBabort\fP and \fBadd\fP.
No other buttons on the screen will work until the user
has selected an option in the dialog box.
Hitting carriage return is the same as clicking the
\fBadd\fP button (in all \*(XR dialog boxes hitting carriage
return is the same as clicking in the rightmost button of the
dialog box).
.IP "add unsubscribed (addUnsub)"
Add the current group(s) to the end of the \*(NS file
and mark as unsubscribed.

.SH NEWSGROUP MODE
.PP
\*(NG mode 
informs the user of the groups with unread news and
gives the user control over which groups are visited.
Clicking the middle button on a newsgroup entry will enter that
newsgroup.
.IP "quit (ngQuit)"
quit \*(XR.
.IP "read group (ngRead)"
Read the articles in the current group.
The current group is either the first one selected (if one or more are selected)
or the one on the line containing the cursor.
If all groups have been read, the user can still access
groups by using the \fBgoto newsgroup\fP command.
Hitting the space bar with the cursor in the top button box will
call this function.
.IP "next (ngNext)"
Move the cursor to the next group, leaving the articles in
the current group untouched.
.IP "prev (ngPrev)"
Move the cursor to the previous group, leaving the articles in
the current group untouched.
.IP "scroll forward (ngScroll)"
Scroll the list of newsgroups forward a page.
.IP "scroll backward (ngScrollBack)"
Scroll the list of newsgroups backwards a page.
.IP "catch up (ngCatchUp)"
Mark all articles in the current group as read.
.IP "subscribe (ngSubscribe)"
Subscribe to a group.
A dialog box is used to allow the user to enter the
name of the group.
The dialog box has the following options:
\fBabort\fP, 
\fBprev group\fP (subscribe to the previous group visited),
\fBfirst\fP (put group in the beginning of the \*(NS file),
\fBlast\fP (put group in the end of the \*(NS file), and
\fBcurrent position\fP (put group at the position of the cursor).
This command can also be used to change the position of a subscribed
group.
Hitting carriage return after typing in the name is the same as
clicking the \fBcurrent position\fP button.
.IP "unsubscribe (ngUnsub)"
Unsubscribe from the current group.
.IP "goto newsgroup (ngGoto)"
Visit a specified newsgroup.
The first unread article is displayed.
If all articles in the group have been read, the last
article in the group is displayed.
The name specified can be a substring of the group name or
a regular expression.  If the newsgroup is not currently subscribed,
it is subscribed before it is visited.
.IP "all groups (ngAllGroups)"
Display all of the groups that exist, their subscription status,
and a set of buttons for changing the status.
.IP "rescan (ngRescan)"
Query the server for any new groups or articles.
.IP "prev group (ngPrevGroup)"
Re-visit the previous group visited.  If it is not currently
subscribed, it is subscribed before it is visited.
.IP "list old (ngListOld)"
List all of the groups subscribed to, independent of if they
have any unread articles.
.IP "select groups (ngSelect)"
Records the groups currently selected.
If no groups are selected, nothing is recorded.
.IP "move (ngMove)"
Moves the groups previously selected with the
\fBselect groups\fP command to the current
cursor position.
If the cursor is currently inside the groups
to be moved, no groups are moved.
If any other button is invoked after
\fBselect groups\fP and before \fBmove\fP,
the selection is lost, and no groups are
moved.
.IP "exit (ngExit)"
Quit \*(XR, leaving the \*(NS file unchanged since the
last `rescan' operation or `checkpoint'.
If `updateNewsrc' is on, then the \*(NS file is kept up to
date with the last time \*(AR mode was exited.
.IP "checkpoint (ngCheckPoint)"
Update the \*(NS file.  
\*(XR normally updates the \*(NS file on `rescan' and `quit'
in \*(NG mode. 
This allows you to update the \*(NS file without exiting \*(XR
or reconnecting to the server (see also 'artCheckPoint').
.IP "gripe (ngGripe)"
Send a gripe (bug, bug fix, complaint, feature request, etc.) to
the authors of the program.
.IP "post (ngPost)"
Post an article to a newsgroup or comma separated list of newsgroups.
See "post" under \*(AR mode for more information.
.\"
.SH ALL MODE
.PP
\*(AL mode allows the user to change both the subscription status
and the \*(NS file position of any available group.
All operations can apply to multiple groups.
Thus, the user should never have to use a text editor on the \*(NS file.
Hitting the space bar will scroll the bottom text window.
.IP "quit (allQuit)"
Update the \*(NS file and return to group mode.
.IP "subscribe (allSub)"
Subscribe to the current group, leaving it
at its current position in the \*(NS file.
.IP "subscribe first (allFirst)"
Subscribe to the current group and add it to
the beginning of the \*(NS file.
.IP "subscribe last (allLast)"
Subscribe to the current group and add it to the end of the \*(NS file.
.IP "subscribe after group (allAfter)"
Subscribe to the current group and add it after a particular group
(for which the user is prompted with a dialog box)
in the \*(NS file.
.IP "unsubscribe (allUnsub)"
Unsubscribe the current group.
.IP "goto group (allGoto)"
Go to the current newsgroup.
.IP "select groups (allSelect)"
.IP "move (allMove)"
Same as the "select groups" and "move" buttons in \*(NG mode.
.IP "toggle order (allToggle)"
Toggle the order of the newsgroups in the window between \*(NS order
and alphabetical order.
.IP "scroll forward (allScroll)"
Scroll the all groups window forward a page.
.IP "scroll backward (allScrollBack)"
Scroll the all groups window backward a page.
.IP "post (allPost)"
Post an article to a newsgroup or comma separated list of newsgroups.
See "post" under \*(AR mode for more information.
.\"
.SH ARTICLE MODE
.PP
\*(AR mode is used for reading and manipulating articles
in a single group.
When a group is entered, the list of article subjects
displayed contains those from the first unread
article to the last available article.
Previous articles can be obtained by using the \fBprev\fP or
\fBsubject previous\fP commands.
Hitting the space bar
in \*(AR mode will ``do the right thing'';
it will scroll an article if there is more of the article to see
and call the \fBnext unread\fP function if there is no more of the article to
see.
Clicking the middle button on an article entry will display that article.
.IP "quit (artQuit)"
Update the \*(NS file and return to group mode.
.IP "next unread (artNextUnread)"
Display the selected article if it is unread; otherwise,
display the first unread article AFTER the cursor position.
If no unread articles exist, \*(XR exits from \*(AR mode and returns
to \*(NG mode (or to \*(AL
mode, if \*(AR mode was entered from \*(AL mode).
.IP "next (artNext)"
Display the selected article, if any; otherwise,
display the next article in the current group.
Exit from \*(AR mode after the last article has been reached.
.IP "prev (artPrev)"
Display the selected article, if any; otherwise,
display the previous article in the current group.
.IP "last (artLast)"
Display the last article accessed before the
currently displayed one.
This command only keeps track of one previously
accessed article, so invoking it repeatedly
simply toggles the display between two articles.
.IP "next newsgroup (artNextGroup)"
Go directly to the next newsgroup with unread news,
bypassing \*(NG or \*(AL mode.
.IP "catch up (artCatchUp)"
Mark all articles in the current group as read;
return to \*(NG mode.
Articles marked as unread by 'mark unread' will not be marked 
as read.
It a particular article is selected, catch up from the
beginning of the group to the selected article.
.IP "fed up (artFedUp)"
Mark all articles in the current group as read;
go to the next newsgroup.
.IP "goto article (artGotoArticle)"
Go to the specified article number (for which the user will be
prompted with a dialog box).
.IP "mark read (artMarkRead)"
Mark an article (or group of articles) as read.
This command marks either the selected article(s)
or the article the cursor is on, and leaves
the cursor at its current position.
.IP "mark unread (artMarkUnread)"
Mark an article (or group of articles) as unread.
This command marks either the selected article(s)
or the article the cursor is on, and
leaves the cursor at its current position.
When an article is marked as unread, a 'u' is
placed in the far left column next to the article's
number.
The \fBnext\fP, \fBprev\fP, \fBsubject next\fP,
and \fBsubject prev\fP buttons will all display
this article if they come across it, but the
\fBnext unread\fP button will not.
The only way to mark an article as read once
it has been marked with a 'u' is to use the
\fBmark read\fP function.
.IP "unsubscribe (artUnsub)"
Unsubscribe from the current group; exit from \*(AR mode.
.IP "subject next (artSubNext)"
Find and display the next article with the same subject as the current article
(stripping the '[rR][eE]:' garbage).
If there are no more articles with the current subject and
there are more unread articles, the first unread article is
selected.
If there are no more articles with the current subject and there
are no more unread articles, \*(AR mode is exited.
.IP "subject prev (artSubPrev)"
Find and display the previous article with the same subject
as the current article.
.IP "list old (artListOld)"
List all articles available in the group, even those that have been read.
Note that this button does not toggle (clicking this button twice will not
put you back to where you were).
.IP "session kill (artKillSession)"
Mark all articles with the current subject as read, for
this session only.
.IP "local kill (artKillLocal)"
Mark all articles with the current subject as read for this group,
for this and all future sessions.
.IP "global kill (artKillGlobal)"
Mark all articles with the current subject as read for all groups,
for this and all future sessions.
.IP "author kill (artKillAuthor)"
Mark all articles by the current author as read for this session only.
.IP "subject search (artSubSearch)"
Begin a regular expression subject search.
When this button is invoked, a window pops up
querying the user for a regular expression (of the
form used in \fBed\fP), and a direction in which to
search.
If a regular expression is not typed in, the
last regular expression is used, and the search direction
is the one specified in the dialog box (this
can be used to switch the direction of the search
without retyping the expression).
.IP "continue (artContinue)"
Continue the last regular expression search
by searching for the same regular expression
in the same direction.
.IP "scroll forward (artScroll)"
Scroll the article text forward a page.
.IP "scroll backward (artScrollBack)"
Scroll the article text backward a page.
.IP "scroll line forward (artScrollLine)"
Scroll the article text forward one line.
.IP "scroll line backward (artScrollBackLine)"
Scroll the article text backward one line.
.IP "scroll to end (artScrollEnd)"
Scroll to the end of the article text.
.IP "scroll to beginning (artScrollBeginning)"
Scroll to the beginning of the article text.
.IP "scroll index (artScrollIndex)"
Scroll the article index forward a page.
.IP "scroll index backward (artScrollIndexBack)"
Scroll the article index backward a page.
.IP "post (artPost)"
Post an article to the current group.
A scrollable, editable text window will appear with
a header and the user's appropriate signature file included.
The appropriate signature file is the usual signature file name
`~/.signature' followed by either a `\-' and a  newsgroup name
substring, or followed by a `.' and `followup', `forward', `gripe',
`reply' or `post' according to the posting mode.  For example if you
want to post a followup article in comp.sources.x then xrn uses the
first valid signature file in the following order:
.sp
.in +0.5i
.nf
~/.signature\-comp.sources.x
~/.signature\-comp.sources
~/.signature\-comp
~/.signature.followup
~/.signature
.fi
.in -0.5i
.sp
An appropriate header will be generated with a number
of blank header fields that if left blank will be
deleted from the posting.
The editor defaults to the standard X toolkit editor
(similar to
.IR emacs (1)),
Another editor can be specified
using the
.B \-editorCommand
command line option or by
setting the same X resource (see the section on command
line arguments).
The mouse buttons can be used to select text in this window (which can then be
placed in a file, for example).
.sp
There are five buttons at the bottom of the editor window: \fBabort\fP to
abort the article (or message, if a mail message is being written
rather than an article,
\fBsend\fP to post/send it, \fBsave\fP to save it in a file,
\fBinclude file\fP to include a file (for which the user is prompted
with a dialog box) at the current cursor location, and
\fBinclude article\fP to include the text of the current article at
the current cursor location.  The \fBinclude article\fP button is
omitted if there is no current article (e.g. if the user is sending a
"Gripe" or if "post" was selected from \*(NG mode).
Only one article or message window can be active at a time.
.IP "exit (artExit)"
Exit article mode, restoring the newsgroup's articles to the
read/unread state they were in before the newsgroup was entered.
Note, however, that articles marked read or unread by KILL-file
processing remain so marked.
.IP "checkpoint (artCheckPoint)"
Update the \*(NS file.  
\*(XR normally updates the \*(NS file on `rescan' and `quit'
in \*(NG mode. 
This allows you to update the \*(NS file without exiting \*(XR
or reconnecting to the server (see also 'ngCheckPoint').
.IP "gripe (artGripe)"
Send a gripe (bug, bug fix, complaint, feature request, etc.) to
the authors of the program.
.IP "save (artSave)"
Save the current article in a file, or use the current article
as standard input to a command.
The save command will pop up a dialog box for the filename.
The dialog box has two buttons: \fBabort\fP and \fBsave\fP.
If the filename begins with a `|', the article will be sent to the command
specified after the `|'.
Otherwise, the article will be appended to the file specified.
If the name is relative (does not begin with `/' or `~'), `~/News/'
will be prepended to it.
If the name begins with a `+' the name is assumed to be an MH mail
folder and a `refile' command will be done on the article.
If the name begins with a `@', it is assumed to be a BABYL file (i.e.,
the type of file used by Emacs RMAIL mode), and the article will be
saved in the named file in BABYL format.
If no name is specified, it will be saved in `~/News/<groupname>', where
`<groupname>' is the name of the current group with the first letter
capitalized (following the
.IR rn (1)
article saving conventions).
If \-saveMode is set to `subdirs', then `~/News/<groupname>/' will
be used instead of `~/News/'.
If multiple articles are selected, all will be appended to the same
file.  If a specified file name has a `%d' in it, the `%d' will be replaced
with the article number being saved; to put a `%' in a file name
otherwise, use two `%' characters, i.e., `%%'.
.IP "reply (artReply)"
Reply (by mail) to the author of the current article.
See \fBpost\fP for a description of how to create and send a message.
.IP "forward (artForward)"
Send the current article to another person via mail.
.IP "followup (artFollowup)"
Post a followup article to the current article.
See \fBpost\fP for a description of how to create and send an article.
.IP "followup and reply (artFollowupAndReply)"
Post and mail a single response to the current article.
.IP "cancel (artCancel)"
Cancel the current article.
.IP "rot-13 (artRot13)"
Decrypt a encrypted article.
In the newsgroup `rec.humor', occasionally articles are submitted
that may offend certain people or groups of people.
In order to minimize the offense, these articles are posted in
an encrypted form.
This button will decrypt them.
.IP "translate (artXlate)"
Translate article from ISO 646 to ISO 8859-1.
.IP "toggle header (artHeader)"
Show the full text of an article, including the full header.
.IP "print article (artPrint)"
Send the article to the printer (see the `printCommand' command
line option).

.SH CUSTOMIZING XRN
.PP
Colors, fonts, and other \*(XR options can be
specified on the command line or using X resources.
With the exception of the display name, all \*(XR options
can be specified using X resources.
Options specified on the command line take precedence over those specified
using X resources.

.SH COMMAND LINE ARGUMENTS
.PP
Here are the current command line arguments
(the X resources have the same names and values as
the command line arguments).
.TP 10
.B \-authenticator command
This command line is used as ``AUTHINFO GENERIC <command>'' in response
to an authentication challenge (NNTP response code 480) from the news
server.
If the ``NNTPAUTH'' environment variable is present, it overrides
the resource file entry.
The default (built into \*(XR) is ``any <userid>''.
.TP 10
.B \-authenticatorCommand command
This is the command line that is used to prompt the user for authentication.
\*(XR invokes this command line, with ``%s'' replaced by the authenticator
command (see above).
The default (in the application defaults file) is an invocation of xterm, from which
the authenticator command will prompt the user for authentication.
.TP 10
.B +/-authorFullName
Display the full name of the author or the user/hostname of the author.
.TP 10
.B \-breakLength len
Break lines longer than `len' characters into multiple lines.
Default is 0 characters.  If set to 0, line breaking is disabled
(see also 'lineLength').
.TP 10
.B \-cancelCount number
The number of articles to search before popping up the cancel
button.
.TP 10
.B +/\-cc
Put 'Cc: user' in replies.  (X resources class is "CC".)
.TP 10
.B +/\-ccForward
Put 'Cc: user' in forwarded messages.  (X resources class is "CC".)
.TP 10
.B \-confirm list
Turn on confirmation boxes for the buttons listed.
These boxes pop up to ask the user to verify
the invocation of "dangerous" actions (such as \fBcatch up\fP
and \fBunsubscribe\fP).
The list of buttons is a comma separated list of button names.
The buttons that can be confirmed: \fBngQuit\fP,
\fBngExit\fP, \fBngCatchUp\fP, \fBartCatchUp\fP, \fBartFedUp\fP, \fBngUnsub\fP,
and \fBartUnsub\fP.
.TP 10
.B \-deadLetters file
The name of the file to save failed postings and messages.
Defaults to `~/dead.letters'.
.TP 10
.B +defaultLines count
Number of lines to scroll.
.TP 10
.B \-display display
specification of the X display.
.TP 10
.B +/\-displayLocalTime
Display the 'Date:' field of the article using the local time zone
(instead of GMT).
.TP 10
.B +distribution dist
Set the default distribution to `dist'.
.TP 10
.B +/\-dumpCore
Dump core when a signal is detected.  The X resources class for the
"dumpCore" X resource is "Debug".
.TP 10
.B \-editorCommand command
Use an alternate editor for creating postings, followups, forwards,
gripes, and replies.  `command' must be a string in
.IR sprintf (3)
format containing
a `%s', which will be replaced by the file name to be edited.  The
command will be executed using the bourne shell
.RI ( sh (1)).
Examples are:
.sp
.in +0.25i
.nf
xterm \-e vi %s
xterm \-e microEmacs %s
emacsclient %s
.fi
.in -0.25i
.sp
The resulting command should handle all editing and windowing.
The article being followed up on, replied to or forwarded is
automatically included.
You can also specify `%D' and it will be replaced with the display
name.
For example:
.sp
.in +0.25i
.nf
xterm \-display %D \-e vi %s
.fi
.in -0.25i
.TP 10
.B \-includeCommand command
Use an alternate program for inserting current article text when
following up on, replying to or forwarding a message.
`command' must be a string in
.I sprintf
format that contains two `%s's, which will be replaced by
the include prefix and the article file name (in that order).
Examples are:
.sp
.in +0.25i
.nf
sed \-e 's/^/%s /' %s
xmh\-insrt\-repl \-separator '%s' %s
.fi
.in -0.25i
.sp
The command provided should output to its standard output the text to
be included in the message, derived as desired from the prefix and the
contents of the article file.  The command will be executed using the
bourne shell.
.TP 10
.B \-geometry WxH+X+Y
Specification of the \*(XR window size and location.
The window manager may choose to ignore this specification.
.TP 10
.B \-iconic
Start up \*(XR with the window iconified.
.TP 10
.B \-iconGeometry +X+Y
Specification of the initial \*(XR icon location.
The window manager may choose to ignore this specification.
.TP 10
.B +/\-includeHeader
Include or do not include the original header in included
articles.
The default is to not include the header.
.TP 10
.B +/\-extraMailHeaders
When replying via mail to a posting, include or do not include an
"X-Newsgroups:" line with the newsgroups list from the posting and a
"In-reply-to:" line with its message ID.
.TP 10
.B \-includePrefix "prefix text"
Change the standard prefix for each line of included text from the
default, "|> ", to the given text string.
.TP 10
.B +/\-includeSep
Include or do not include the prefix text ("|> ") in front of included
articles.
The default is to include the prefix text ("|> ").
.TP 10
.B +/\-info
Display all informative messages in the message pane.
Defaults to display all information in the message pane.
.TP 10
.B +/\-killFiles
Turn the use of kill files on/off.
The default is on.  See
.IR rn (1)
for documentation about how kill files work (however, see the BUGS
section below for a description of the limitations in \*(XR's kill
file handling).
.TP 10
.B \-leaveHeaders list
The header fields to leave in the article; a comma separated case-insensitive
list of field names (\fIi.e.,\fP subject,from,organization).
This option takes precedence over `stripHeaders'.
If the word `all' is specified instead of a list of fields, then all headers
will be retained (This can be used in user X resources to override
a resource specified in the global \*(XR application defaults, or on
the command line to override a resource specified in either the
application defaults or the user X resources.).
.TP 10
.B \-ignoreNewsgroups list
A comma- or whitespace-separated list of regular expressions to be
matched against the server's list of newsgroups.  Any newsgroup which
matches one of the specified regular expressions is treated as an
invalid group.  For example, specifying a list containing "^talk\\. ^rec\\."
would cause all newsgroups in the "talk" and "rec" hierarchies to be
ignored.  Note that if you specify
.B \-ignoreNewsgropus
on the command line, you should enclose your list in single quotes to
prevent any backslashes and other special characters in it from being
interpreted by the shell.  If, on the other hand, you specify it in
your X resources, you should put two backslashes whenever you want a
single backslash to appear in a regular expression, because
the backslash is interpreted as a quoting character when X resources
are parsed.
.TP 10
.B \-onlyShow number
Only grab the header information for the last 'number' of articles
in each group.  This is useful if you have been away for a while and
only want to see that last 100 or so articles in each group (and thus 
don't have to waste time having XRN fetch the subjects, authors, and 
line counts for all the articles).

Note that although only the specified number of articles are displayed
when entering a newsgroup, the other articles are not marked read.
This means that if you enter a newsgroup with onlyShow set, read the
displayed articles, then exit the newsgroup and enter it again, the
last block of articles before that will be displayed to you.  If you
want earlier articles to be marked read automatically, use the
`discardOld' option (see below).
.TP 10
.B +/\-discardOld
If enabled and `onlyShow' is set, then articles earlier than the
requested number of articles at the end of the newsgroup are marked
read automatically.  Disabled by default.
.TP 10
.B \-prefetchMax number
Only prefetch newsgroups with at most the specified number of unread
articles.  If
.B number
is 0, then there is no limit, i.e., newsgroups are prefetched
regardless of the number of unread articles in them.  The default is
0.
.TP 10
.B \-prefetchMinSpeed kbytes
Only prefetch the next article if the speed of the network link to the
NNTP server is greater than
.B kbytes
kilobytes per second.  The default is 3 kilobytes per second.  If set
to 0, the next article will always be prefetched, regardless of the
network link speed.
.TP 10
.B \-lineLength len
Length of lines that are broken.
Default is 0 characters.  If set to 0, line breaking is disabled
(see also 'breakLength').
.TP 10
.B \-lockFile file
Set the XRN lock file name to `file'.  Defaults to `~/.xrnlock'.
.TP 10
.B \-mailer mailer
The command to use for mailing replies.
This command must take all of it's input from stardard input
(\*(XR will not build a command line).
The default is `xSENDMAILx'.
.TP 10
.B \-minLines number
The minimum number of lines above the cursor in the subject line display.
If negative, the subject line display scrolls only at the bottom and
only one line at a time.  The default is 3.
.TP 10
.B \-maxLines number
The maximum number of lines above the cursor in the subject line display,
or, if negative, the minimum number of lines below the cursor.  The
default is -2 (i.e., display at least two lines below the cursor
whenever possible).
.TP 10
.B \-newsrcFile file
The newsrc file to use.
Defaults to `~/.newsrc'.
If a file with a name of the form `<newsrcFile>-<nntpServer>'
is found, it will be used.
.TP 10
.B \-nntpServer hostname
The NNTP server to use (name or internet number).
.TP 10
.B \-organization organization
Set the organization name in postings and followups.
You can also set the environment variable ORGANIZATION (NEWSORG on
Apollo) to set the default organization name.
.TP 10
.B +/\-pageArticles
If enabled, then space bar in article mode will scroll the current
article, or go to the next article if at the end of the current
article.  If disabled, then space bar in article mode will always go
to the next article.  Default is enabled.
.TP 10
.B +/\-stayInArticleMode
If enabled, then a number of operations in article mode (including
unsubscribe, next article, previous article, subject next, subject
prev, session kill, author kill, subject search, and continue search)
will attempt to go to the next newsgroup when they would normally
exit article mode.  Disabled by default.
.TP 10
.B +/\-subjectScrollBack
If enabled (which is the default), then the subject index in article
mode will always scroll to display the current article after
operations on other articles in the index.  For example, if you use
the scroll bar to scroll to several articles that you want to save,
highlight the articles and click on the ``Save'' button, \*(XR will
scroll back to the current article when done saving.  If disabled,
then \*(XR will attempt to maintain the position you scrolled to even
after performing an operation on other articles.  Note, however, that
this may result in some flickering of the subject index, due to
unavoidable ``disagreements'' between how \*(XR and the Athena Text
widget think things should work.
.TP 10
.B \-pointerBackground color
Set the background color of the mouse cursor.  The default color is
whatever the default background color is for xrn.
.TP 10
.B \-pointerForeground color
Set the foreground color of the mouse cursor.  The default color is
whatever the default foreground color is for xrn.
.TP 10
.B \-printCommand command
Set the command used for printing articles.  The article is sent
to the command via standard input.
Defaults to `enscript \-g'.
.TP 10
.B \-replyTo name
Set the Reply-To field for articles and mail messages.
.TP 10
.B \-rescanTime time
Amount of idle time (in seconds) before checking for new articles
automatically.  A rescan time of 0 means never to check automatically.
The default (unless configured differently when compiling \*(XR) is
0 (i.e., never check automatically).
.TP 10
.B +/\-rescanOnEnter
Check with the news server for new articles in a newsgroup when
entering it, rather than only checking for new articles when
rescanning all newsgroups.  By default, this feature is disabled.

Enabling this feature has two potential disadvantages: (1) It can
cause a slight additional delay when entering a newsgroup (although
this delay is mostly unnoticeable except when the newsgroup has an
extremely large number of unread articles in it), and a more
noticeable delay when using "Next group" or "Fed up" in article mode
after selecting "List old" in newsgroup mode; (2) It can cause some
confusion, e.g., when you enter a newsgroup believing that there are
no unread articles and therefore you will be shown the last read
article, and instead you are shown new unread articles, or when you
enter a newsgroup expecting to see five unread articles and instead
see ten.

On the other hand, this feature allows you to see new articles in a
specific newsgroup immediately, without rescanning for new articles in
all newsgroups.  Some people prefer this behavior, despite the
disadvantages mentioned above.
.TP 10
.B +/\-resetSave
Reset the string in the 'save' dialog box upon entering each
newsgroup.
.TP 10
.B \-saveDir dir
The article saving directory.
Defaults to `~/News' when \-saveMode specifies `onedir', or 
`~/News/newsgroup' when \-saveMode specifies `subdirs'.
.TP 10
.B \-saveMode mode
The mode for saving articles; a comma separated list of options.
The options can be `mailbox' or `normal', `headers' or `noheaders',
and `onedir'  or `subdirs'.
The default is `normal,headers,onedir'.
.TP 10
.B \-saveNewsrcFile file
The saved `.newsrc' filename.
Before the `.newsrc' file is modified on startup,
it is saved in a backup file.
Defaults to `~/.oldnewsrc'.
.TP 10
.B \-savePostings file
The name of the file in which to save postings and messages (via the
`save' button in the composition window).
Defaults to `~/Articles'.
.TP 10
.B \-saveString string
Use 'string' as the default in the 'save' dialog box.
.TP 10
.B \-signatureFile file
The signature file to use.
Defaults to `~/.signature'.
.TP 10
.B +/\-signatureNotify
When sending mail or posting, display a message saying which signature
file is being used.
.TP 10
.B +/\-executableSignatures
If a signature file is executable, attempt to execute it and use its
output as the signature text.  Three arguments are provided: the
current newsgroup (or "NIL" if none), the current posting mode
("post", "followup", "reply", "forward" or "gripe"), and the name of
the file containing the text of the article being replied to (or "NIL"
if none).  Non-executable signature files are already read (rather
than executed), regardless of the setting of this option.  Also, if
the execution of a signature file fails, it is read rather than
executed.
.TP 10
.B +/\-localSignatures
If enabled, signature files are searched for in the same manner as
local kill files, except that the file searched for is called
SIGNATURE instead of KILL.  For example, to find a signature file for
a posting in news.software.readers, \*(XR will look for
`~/News/news/software/readers/SIGNATURE',
`~/News/news/software/SIGNATURE', `~/News/news/SIGNATURE', and
`~/News/SIGNATURE', in that order, and use the first one it finds.
.TP 10
.B +/\-sortedSubjects
Display the subject lines in the subject window sorted by subject.
.TP 10
.B +/\-subjectRead
When using the space bar to scroll, when an article
is finished, the space-bar scrolling invokes \fBsubject next\fP
instead of \fBnext unread\fP.
.TP 10
.B \-stripHeaders list
The header fields to strip from the article; a comma separated case-insensitive
list of field names (\fIi.e.,\fP keywords,message-id).
If the word `none' is specified instead of a list of fields,
then no headers will be stripped
(This can be used in user X resources to override
a resource specified in the global \*(XR application defaults, or on
the command line to override a resource specified in either the
application defaults or the user X resources.).
.TP 10
.B \-tmpDir directory
The directory to use for the temporary storage of articles fetched
from the server.
If this option and the corresponding X resource do not exist,
\*(XR will look for the environment variable \fBTMPDIR\fP.
The default is `/tmp'.
.TP 10
.B \-topLines number
The number of lines to be used for the top
text window (where the unread groups and article
subjects are listed).  The default is 10.
.TP 10
.B +/\-typeAhead
Allow/disallow typeahead.  Defaults to allow typeahead.
.TP 10
.B +/\-updateNewsrc
Update the newsrc file when leaving \*(AR mode.
.TP 10
.B \-verboseKill actions
By default, when processing KILL files, the subject of each article
that is marked read, marked unread, or saved is displayed, and a
summary of all such articles is displayed when done processing the
KILL file.  This option allows you to select which subjects and
summaries to display.  The
.B actions
specified should contain one or more of "j", "m" and "s".  "j" means
to display articles that are marked read, "m" means to display
articles that are marked unread, and "s" means to display articles
that are saved.  If
.B actions
is empty, then no information is displayed when processing KILL files.
.TP
.B \-unreadIconName name
.TP
.B \-unreadIconPixmap pixmap
When there is unread news and \*(XR is iconified, set the icon name
and/or pixmap as specified instead of using the default.
.TP 10
.B \-watchUnread list
Only check for unread news in groups matching one of the listed
regular expressions when determining whether to display the unread
icon name and/or pixmap.  The listed regular expressions can be
separated by spaces, tabs, commas and/or newlines.
.TP 10
.B \-ngButtonList list
.TP 10
.B \-artButtonList list
.TP 10
.B \-artSpecButtonList list
.TP 10
.B \-addButtonList list
.TP 10
.B \-allButtonList list
Use the given list of buttons for the particular
mode in the order given rather than all of the buttons for the
mode in the default order.
The list is a comma separated list of button names.
The names of the buttons appear next after the button label
in the button descriptions above.
For example, a list of buttons for \*(NG mode might be:
ngQuit, ngRead, ngCatchUp, ngRescan, ngSubscribe, ngPost
.TP 10
.B \-ngBindings bindings
.TP 10
.B \-allBindings bindings
.TP 10
.B \-addBindings bindings
.TP 10
.B \-artBindings bindings
Use the given bindings for the key/mouse bindings for
the particular mode.
The default key bindings are as close to the
.I rn
key bindings
as possible.
See the X toolkit documentation on `Translation Tables' 
for information on the format of `bindings'.
The actions defined in \*(XR are the same as the button names.
For example, a set of bindings for \*(NG mode might be:
.nf
    xrn.ngBindings: \\
       <Key>Q:		ngQuit()	\\n\\
       <Key>N:		ngRead()	\\n\\
       <Key>P:		ngPrev()
.fi
.\"
.SH X RESOURCES
.PP
\*(XR supports some X resources that do not have corresponding command
line arguments (however, see the documentation of the
.B \-xrm
command line argument in
.BR X (1)
for information about setting any X
resource from the command line):
.TP 10
.B domainName
Your internet domain (e.g., ".Berkeley.EDU", ".orst.edu").  Equivalent
to setting the DOMAIN environment variable.  You probably don't have
to specify this; if you do, \*(XR will tell you so when you try to
post or send mail.
.PP
Furthermore, \*(XR takes a number of specifications for colors, fonts,
border widths, and other program options.
.pp
The format for an \*(XR X resource is
.sp
.ce 100
xrn.x.y....z.a: value
.ce 0
.sp
where \fIx.y....z\fP specifies the path from the top level of
\*(XR to a particular item
(think of \*(XR as a hierarchical collection of windows, panes, and buttons,
and \fIx.y....z\fP is a path from the top of the hierarchy to a node
in the hierarchy),
\fIa\fP is the type of default (\fIi.e.,\fP font, border,
foreground, background, borderWidth), and \fIvalue\fP is the value of
the default (\fIi.e,.\fP a color name or hex representation, a font name,
a numeric value).
Specifying a default for a item at some point in the hierarchy will set
that default for all items from that point down in the hierarchy.
A higher level default can be overridden by specifying
a default at a lower level directly.
.sp
XRN widget hierarchy:
.nf
...xrn (Shell)
vpane (Paned)
  titlebar (Label)  (optional)
  index (Text)
  indexinfo (Label)
  indexbuttons (Box)
      buttonName (Command)
  articleText (Text)
  textinfo (Label)
  textbuttons (Box)
      buttonName (Command)

Composition (Shell)
  vpane (Paned)
    label (Label)
    text (Text)
    box (Box)
       abort (Command)
       send (Command)
       save (Command)
       includeArticle (Command)
       includeFile (Command)

dialogs...
.fi
.sp
Examples of defaults are:
.in +0.3i
.nf
#
xrn.newsrcFile:		~/.newsrc
xrn.nntpServer:		pasteur
xrn.organization:	UC Berkeley XRN Design Team
xrn.replyTo:		user@machine.domain
xrn.iconGeometry:	+64+521
xrn.leaveHeaders:	subject,from
xrn.includeHeader:	off
xrn.signatureFile:	~/.signature
xrn.geometry:		=750x770+10+10
xrn.deadLetters:	~/dead.letters
xrn.savePostings:	~/Articles
xrn.topLines:		9
xrn.saveMode:		mailbox,headers,onedir
xrn.minLines:		3
xrn.maxLines:		6
xrn.tmpDir:		/tmp
xrn.mailer:		/usr/lib/sendmail \-oi \-t
#
xrn.Gripe.geometry:	+50+50
#
xrn.ngButtonList: ngQuit,ngRead,ngCatchUp,ngRescan,ngSubscribe,ngPost
xrn.artButtonList: artQuit,artNextUnread,artCatchUp,artPost,artNextGroup
#
xrn.ngBindings: \\
   <Key>Q:		ngQuit()	\\n\\
   <Key>N:		ngRead()	\\n\\
   <Key>P:		ngPrev()
#
xrn*background:		plum
xrn*foreground:		red
xrn*font:		9x15
xrn*border:		LightGray
#
xrn*Text*Background:	DarkSlateGray
xrn*Text*Foreground:	yellow
xrn*ScrollBarMgr.thickness: 22
xrn*ScrollBar.background: DarkSlateGray
xrn*ScrollBar.foreground: yellow
xrn*ScrollBar.border: White
xrn*Label.background:		cyan
xrn*Label.foreground:		blue
xrn*Command.foreground:		White
xrn*Command.background:		coral
#
xrn*Box.ngQuit.foreground:	Black
xrn*Box.ngQuit.background:	red
#
xrn*dialog*font:		9x15
xrn*dialog*background:		LimeGreen
xrn*dialog*foreground:		CornflowerBlue
xrn*dialog*Label.foreground:	NavyBlue
xrn*dialog*Command.foreground:	Black
xrn*dialog*Command.background:	yellow
xrn*dialog*Text.background:	Wheat
xrn*dialog*Text.foreground:	SteelBlue
xrn*dialog*borderWidth:		2
#
.fi
.in -0.3i

.SH FILES
.TP 15
~/.newsrc
description of the groups and the articles read in each group
.TP 15
~/.oldnewsrc
backup of ~/.newsrc (created at startup)
.TP 15
~/.signature*
signatures for use when sending messages
.TP 15
~/News
directory where articles are saved
.TP 15
~/Articles
where `saved' postings and messages are stored
.TP 15
~/dead.letter
where failed postings and messages are stored
.TP 15
~/.xrnlock
lock file
xSERVER_FILE_STARTx
.TP 15
xSERVER_FILEx	location of the news server hostname (optional)
xSERVER_FILE_ENDx
xHIDDEN_FILE_STARTx
.TP 15
xHIDDEN_FILEx	location of the hiddenhost name (optional)
xHIDDEN_FILE_ENDx
xPATH_FILE_STARTx
.TP 15
xPATH_FILEx	location of the path host name (optional)
xPATH_FILE_ENDx
xDOMAIN_FILE_STARTx
.TP 15
xDOMAIN_FILEx	location of the domain name (optional)
xDOMAIN_FILE_ENDx
xUUCPNAME_STARTx
.TP 15
xUUCPNAMEx		location of the UUCP name for your host (optional)
xUUCPNAME_ENDx
xSENDMAIL_STARTx
.TP 15
xSENDMAILx		command for sending mail
xSENDMAIL_ENDx

.SH ENVIRONMENT VARIABLES
.TP 11
NNTPSERVER
hostname of the news server
.TP 11
TMPDIR
temporary directory
.TP 11
DOMAIN
name of your internet domain (".Berkeley.EDU", ".orst.edu")
.TP 11
HIDDENHOST
full domain-style name of the host that you want your return path to
be from (e.g., "decvax.dec.com", "Berkeley.EDU")
.TP 11
HIDDENPATH
name of the host that you want put in the Path field of messages
.TP 11
USER
login name of the user
.TP 11
HOME
home directory of the user
.TP 11
FULLNAME
full name of the user, used for the From field of messages

.SH SEE ALSO
emacs(1), readnews(1), rn(1), sh(1) sprintf(3), vnews(1), X(1), nntpd(8)

.SH COMMENTS
.PP
The name (\*(XR) is a bit of a misnomer.
\*(XR is not an X interface to `rn' (the terminal-based news reading
program by Larry Wall), but is an X-based news reader that has
had part of the functionality of `rn' added since a number of our
users are (were?) `rn' users (all of the code is new).
Much of the `rn' funcionality that \*(XR currently has was not in the original
plan (KILL files, for example).
.sp
The user interface look and feel is modeled after that of `XMH'
(by Terry Weissman).
.sp
The \*(NS file is updated on executing the `quit' command in \*(NG
mode, during every `rescan', and by `checkpoint'.
If the `updateNewsrc' option is set, the \*(NS file will be updated
every time \*(AR mode is exited.
.sp
\*(XR catches signals and X errors and will clean up on error exit
(remove temporary files, update the \*(NS file).
The cleanup will be done and then a death notifier box will
be posted (if the signal is SIGHUP or SIGINT,
the death notifier will be skipped
and the program will exit).
The "click to exit" button must be pressed in the death notifier box
for the program to exit.
.sp
XREFS are handled by \*(XR, however only articles that
are actually read (not marked as read by 'catchup' or 'mark as read')
have their XREFS chased and only groups that are currently subscribed
to have XREFed articles marked as read.
.sp
The default specifications for color and fonts can be confusing
(thousands of different X resources can be specified for \*(XR,
no two users' \*(XR displays need to be the same).
.sp
\*(XR uses the XHDR command of the Berkeley NNTP news server
(XHDR is not part of the protocol defined by RFC 977).
\*(XR will detect the presence of this command and complain
if it does not exist.
.sp
Since the NNTP protocol does not define a unique response code
for server timeout, timeout recovery may not work if the format
of the timeout error message changes.
.sp
\*(XR assumes a mailer that understands domain-based mail addresses.
.sp
\*(XR notices that the `.newsrc' file has been updated by another program while
\*(XR is running and informs the user (and gives the user the option to quit
without updating the `.newsrc' or to continue on).
.sp
Article temporary files can be removed and \*(XR will recover.
.sp
\*(XR strips `<character>^H' from articles.
.sp
The v{f,s}printf implementation included with \*(XR is from 
Robert A. Larson <blarson@skat.usc.edu>.
.sp
The strtok implementation included with \*(XR is from
Henry Spencer <henry@zoo.toronto.edu>.
.sp
PointerForeground is the resource name for the color of the 
cursor (pointer).  Some other programs use PointerColor/CursorColor.
.SH BUGS
.PP
.sp 
See TODO for a larger list of bugs and things that need to be done.
.sp
Incomplete KILL file support: the THRU line is not updated, the only
actions supported are 'm', 'j', and 's', and matching is always done
against both the ``From:'' and ``Subject:'' lines of postings.
.sp
See config.h for a list of defines you may want to use based
on problems that may exist in your version of the X11 toolkit and widgets.
.sp
See COMMON-PROBLMS for a list of common problems and solutions to the
problems.
.sp
Report bugs and requests for features to `bug\-xrn@cam.ov.com'.
.sp
Requests to be placed on the \*(XR users mailing list should be sent to
`xrn\-users\-request@cam.ov.com'.  The only thing that comes
across this mailing list is announcements of new releases and
patches for serious problems so don't expect very much traffic.
.\"
.SH "AUTHORS"
.PP
Jonathan Kamens (OpenVision Technologies, jik@cam.ov.com)
.PP
Ellen M Sentovich (UC Berkeley, ellen@ic.berkeley.edu)
.PP
Rick L Spickelmier (formerly UC Berkeley, now Objectivity, Inc.,
ricks@berkeley.edu, ricks@objy.com)
.PP
See the ChangeLog file for other people who have contributed to \*(XR.
