BSD 4_3 development
[unix-history] / usr / contrib / rn / Rnmail.1
CommitLineData
6048dd29
C
1''' $Header: Rnmail.1,v 4.3.1.2 85/08/01 14:22:08 lwall Exp $
2'''
3''' $Log: Rnmail.1,v $
4''' Revision 4.3.1.2 85/08/01 14:22:08 lwall
5''' Added MAILRECORD, DOTDIR.
6'''
7''' Revision 4.3.1.1 85/05/10 11:30:44 lwall
8''' Branch for patches.
9'''
10''' Revision 4.3 85/05/01 11:34:28 lwall
11''' Baseline for release with 4.3bsd.
12'''
13.de Sh
14.br
15.ne 5
16.PP
17\fB\\$1\fR
18.PP
19..
20.de Sp
21.if t .sp .5v
22.if n .sp
23..
24'''
25''' Set up \*(-- to give an unbreakable dash;
26''' string Tr holds user defined translation string.
27''' Bell System Logo is used as a dummy character.
28'''
29.ie n \{\
30.tr \(bs-\*(Tr
31.ds -- \(bs-
32.if (\n(.H=4u)&(1m=24u) .ds -- \(bs\h'-12u'\(bs\h'-12u'-\" diablo 10 pitch
33.if (\n(.H=4u)&(1m=20u) .ds -- \(bs\h'-12u'\(bs\h'-8u'-\" diablo 12 pitch
34.ds L" ""
35.ds R" ""
36.ds L' '
37.ds R' '
38'br\}
39.el\{\
40.ds -- \(em\|
41.tr \*(Tr
42.ds L" ``
43.ds R" ''
44.ds L' `
45.ds R' '
46'br\}
47.TH RNMAIL 1 LOCAL
48.SH NAME
49Rnmail - a program for replying via mail
50.SH SYNOPSIS
51.B Rnmail destination_list
52.br
53 or
54.br
55.B Rnmail -h headerfile [oldarticle]
56.br
57 or
58.br
59.B Rnmail
60.SH DESCRIPTION
61Rnmail is a friendly interface for mailing replies to news articles.
62It will ask several questions, then allow you to enter your letter,
63and then mail it off.
64If you type h and a carriage return at any point,
65.I Rnmail
66will tell you what it wants to know.
67.PP
68The -h form is used when invoked from
69.IR rn .
70If your editor can edit multiple files, and you want the article to which
71you are replying to show up as an alternate file, define the environment
72variable MAILPOSTER as \*(L"Rnmail -h %h %A\*(R".
73You can also modify the the MAILHEADER environment variable to change the
74header file that
75.I rn
76passes to Rnmail.
77.SH ENVIRONMENT
78.IP DOTDIR 8
79If defined, specifies a place other than your home directory where 'dot' files
80may be stored.
81This is primarily for accounts which are shared by more than one person.
82.Sp
83Default: $HOME
84.IP EDITOR 8
85The editor you want to use, if VISUAL is undefined.
86.Sp
87Default: whatever your news administrator installed, usually vi.
88.IP HOME 8
89Your home directory.
90.Sp
91Default: $LOGDIR
92.IP LOGDIR 8
93Your home directory if HOME is undefined.
94.IP LOGNAME 8
95Your login name, if USER is undefined.
96.Sp
97Default: value of \*(L"whoami\*(R".
98.IP MAILRECORD 8
99If defined, contains the name of a file to which the finished message will
100be appended.
101.Sp
102Default: message not saved
103.IP ORGANIZATION 8
104Either the name of your organization, or the name of a file containing the
105name of your organization.
106.Sp
107Default: whatever your news administrator chose.
108.IP USER 8
109Your login name.
110.Sp
111Default: $LOGNAME
112.IP VISUAL 8
113The editor you want to use.
114.Sp
115Default: $EDITOR
116.SH FILES
117$DOTDIR/.letter
118.br
119~/dead.letter
120.SH SEE ALSO
121rn(1), Pnews(1), mail(1)
122.SH DIAGNOSTICS
123.SH BUGS
124Uses /bin/mail in the absence of sendmail.