BSD 4_3 development
[unix-history] / usr / contrib / nntp / rrn / Pnews.1
CommitLineData
25a197fc
C
1''' $Header: Pnews.1,v 4.3 85/05/01 11:33:50 lwall Exp $
2'''
3''' $Log: Pnews.1,v $
4''' Revision 4.3 85/05/01 11:33:50 lwall
5''' Baseline for release with 4.3bsd.
6'''
7.de Sh
8.br
9.ne 5
10.PP
11\fB\\$1\fR
12.PP
13..
14.de Sp
15.if t .sp .5v
16.if n .sp
17..
18'''
19''' Set up \*(-- to give an unbreakable dash;
20''' string Tr holds user defined translation string.
21''' Bell System Logo is used as a dummy character.
22'''
23.ie n \{\
24.tr \(bs-\*(Tr
25.ds -- \(bs-
26.if (\n(.H=4u)&(1m=24u) .ds -- \(bs\h'-12u'\(bs\h'-12u'-\" diablo 10 pitch
27.if (\n(.H=4u)&(1m=20u) .ds -- \(bs\h'-12u'\(bs\h'-8u'-\" diablo 12 pitch
28.ds L" ""
29.ds R" ""
30.ds L' '
31.ds R' '
32'br\}
33.el\{\
34.ds -- \(em\|
35.tr \*(Tr
36.ds L" ``
37.ds R" ''
38.ds L' `
39.ds R' '
40'br\}
41.TH PNEWS 1 LOCAL
42.SH NAME
43Pnews - a program for posting news articles
44.SH SYNOPSIS
45.B Pnews newsgroup title
46.br
47 or
48.br
49.B Pnews -h headerfile [oldarticle]
50.br
51 or
52.br
53.B Pnews
54.SH DESCRIPTION
55Pnews is a friendly interface for posting news articles.
56It will ask several questions, then allow you to enter your article,
57and then post it using the inews(1) program.
58If you type h and a carriage return at any point,
59.I Pnews
60will tell you what it wants to know.
61.PP
62The -h form is used when invoked from
63.IR rn .
64If your editor can edit multiple files, and you want the article to which
65you are replying to show up as an alternate file, define the environment
66variable NEWSPOSTER as \*(L"Pnews -h %h %A\*(R".
67You can also modify the the NEWSHEADER environment variable to change the
68header file that
69.I rn
70passes to Pnews.
71.SH ENVIRONMENT
72.IP DOTDIR 8
73Where to find your dot files, if they aren't in your home directory.
74.Sp
75Default: $HOME
76.IP EDITOR 8
77The editor you want to use, if VISUAL is undefined.
78.Sp
79Default: whatever your news administrator installed, usually vi.
80.IP HOME 8
81Your home directory.
82.Sp
83Default: $LOGDIR
84.IP LOGDIR 8
85Your home directory if HOME is undefined.
86.IP LOGNAME 8
87Your login name, if USER is undefined.
88.Sp
89Default: value of \*(L"whoami\*(R".
90.IP NAME 8
91Your full name.
92.Sp
93Default: name from /etc/passwd, or ~/.fullname.
94.IP ORGANIZATION 8
95Either the name of your organization, or the name of a file containing the
96name of your organization.
97.Sp
98Default: whatever your news administrator chose.
99.IP USER 8
100Your login name.
101.Sp
102Default: $LOGNAME
103.IP VISUAL 8
104The editor you want to use.
105.Sp
106Default: $EDITOR
107.SH FILES
108/tmp/article$$
109.br
110~/dead.article
111.SH SEE ALSO
112rn(1), Rnmail(1), inews(1)
113.SH DIAGNOSTICS
114.SH BUGS
115Not the speediest program in the world, but maybe that's a blessing to the
116net.