Deleted Added
full compact
mail.1 (89669) mail.1 (95124)
1.\" Copyright (c) 1980, 1990, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 16 unchanged lines hidden (view full) ---

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" @(#)mail.1 8.8 (Berkeley) 4/28/95
1.\" Copyright (c) 1980, 1990, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 16 unchanged lines hidden (view full) ---

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" @(#)mail.1 8.8 (Berkeley) 4/28/95
33.\" $FreeBSD: head/usr.bin/mail/mail.1 89669 2002-01-22 19:49:48Z charnier $
33.\" $FreeBSD: head/usr.bin/mail/mail.1 95124 2002-04-20 12:18:28Z charnier $
34.\"
35.Dd April 28, 1995
36.Dt MAIL 1
37.Os
38.Sh NAME
39.Nm mail ,
40.Nm Mail ,
41.Nm mailx

--- 9 unchanged lines hidden (view full) ---

51.Nm
52.Op Fl EiInNv
53.Fl f
54.Op Ar name
55.Nm
56.Op Fl EiInNv
57.Op Fl u Ar user
58.Sh INTRODUCTION
34.\"
35.Dd April 28, 1995
36.Dt MAIL 1
37.Os
38.Sh NAME
39.Nm mail ,
40.Nm Mail ,
41.Nm mailx

--- 9 unchanged lines hidden (view full) ---

51.Nm
52.Op Fl EiInNv
53.Fl f
54.Op Ar name
55.Nm
56.Op Fl EiInNv
57.Op Fl u Ar user
58.Sh INTRODUCTION
59.Nm Mail
60is an intelligent mail processing system, which has
59The
60.Nm
61utility is an intelligent mail processing system, which has
61a command syntax reminiscent of
62.Xr ed 1
63with lines replaced by messages.
64.Pp
65The following options are available:
66.Bl -tag -width indent
67.It Fl v
68Verbose mode.

--- 70 unchanged lines hidden (view full) ---

139and
140.Pa /etc/mail.rc
141in order, unless explicitly told not to by the use of the
142.Fl n
143option.
144Next, the commands in the user's personal command file
145.Pa ~/.mailrc
146are executed.
62a command syntax reminiscent of
63.Xr ed 1
64with lines replaced by messages.
65.Pp
66The following options are available:
67.Bl -tag -width indent
68.It Fl v
69Verbose mode.

--- 70 unchanged lines hidden (view full) ---

140and
141.Pa /etc/mail.rc
142in order, unless explicitly told not to by the use of the
143.Fl n
144option.
145Next, the commands in the user's personal command file
146.Pa ~/.mailrc
147are executed.
148The
147.Nm
149.Nm
148then examines its command line options to determine whether a
150utility then examines its command line options to determine whether a
149new message is to be sent, or whether an existing mailbox is to
150be read.
151.Ss "Sending Mail"
152To send a message to one or more people,
153.Nm
154can be invoked with arguments which are the names of people to
155whom the mail will be sent.
156You are then expected to type in

--- 141 unchanged lines hidden (view full) ---

298but any reply returned to the machine will have the system wide
299alias expanded as all mail goes through
300.Xr sendmail 8 .
301.Ss "Network Mail (ARPA, UUCP, Berknet)"
302See
303.Xr mailaddr 7
304for a description of network addresses.
305.Pp
151new message is to be sent, or whether an existing mailbox is to
152be read.
153.Ss "Sending Mail"
154To send a message to one or more people,
155.Nm
156can be invoked with arguments which are the names of people to
157whom the mail will be sent.
158You are then expected to type in

--- 141 unchanged lines hidden (view full) ---

300but any reply returned to the machine will have the system wide
301alias expanded as all mail goes through
302.Xr sendmail 8 .
303.Ss "Network Mail (ARPA, UUCP, Berknet)"
304See
305.Xr mailaddr 7
306for a description of network addresses.
307.Pp
306.Nm Mail
307has a number of options which can be set in the
308The
309.Nm
310utility has a number of options which can be set in the
308.Pa .mailrc
309file to alter its behavior; thus
310.Dq Li "set askcc"
311enables the
312.Va askcc
313feature.
314(These options are summarized below.)
315.Sh SUMMARY

--- 393 unchanged lines hidden (view full) ---

709the header) is saved.
710Extremely useful for such tasks as sending and receiving source
711program text over the message system.
712.It Ic xit
713.Pq Ic x
714A synonym for
715.Ic exit .
716.It Ic z
311.Pa .mailrc
312file to alter its behavior; thus
313.Dq Li "set askcc"
314enables the
315.Va askcc
316feature.
317(These options are summarized below.)
318.Sh SUMMARY

--- 393 unchanged lines hidden (view full) ---

712the header) is saved.
713Extremely useful for such tasks as sending and receiving source
714program text over the message system.
715.It Ic xit
716.Pq Ic x
717A synonym for
718.Ic exit .
719.It Ic z
717.Nm Mail
718presents message headers in windowfuls as described under the
720The
721.Nm
722utility presents message headers in windowfuls as described under the
719.Ic headers
720command.
721You can move
722.Nm Ns 's
723attention forward to the next window with the
724.Ic z
725command.
726Also, you can move to the previous window by using

--- 376 unchanged lines hidden (view full) ---

1103spaces or tabs.
1104.It Va toplines
1105If defined, gives the number of lines of a message to be printed out
1106with the
1107.Ic top
1108command; normally, the first five lines are printed.
1109.El
1110.Sh ENVIRONMENT
723.Ic headers
724command.
725You can move
726.Nm Ns 's
727attention forward to the next window with the
728.Ic z
729command.
730Also, you can move to the previous window by using

--- 376 unchanged lines hidden (view full) ---

1107spaces or tabs.
1108.It Va toplines
1109If defined, gives the number of lines of a message to be printed out
1110with the
1111.Ic top
1112command; normally, the first five lines are printed.
1113.El
1114.Sh ENVIRONMENT
1111.Nm Mail
1112utilizes the
1115The
1116.Nm
1117utility utilizes the
1113.Ev HOME
1114and
1115.Ev USER
1116environment variables.
1117Also, if the
1118.Ev MAIL
1119environment variable is set, it is used as the
1120location of the user's mailbox instead of the

--- 65 unchanged lines hidden ---
1118.Ev HOME
1119and
1120.Ev USER
1121environment variables.
1122Also, if the
1123.Ev MAIL
1124environment variable is set, it is used as the
1125location of the user's mailbox instead of the

--- 65 unchanged lines hidden ---