dds
5ea072fa21
Use static storage-class specifier where appropriate.
...
Found by: CScout
2007-11-08 11:13:03 +00:00
dds
bb2ff1033f
Make function's definition follow its declared visibility.
...
Found by: CScout
2007-11-08 09:09:02 +00:00
maxim
f608810850
o Really commit typo fixes to HEAD.
...
PR: docs/110809
Submitted by: naddy
2007-03-25 18:37:59 +00:00
dds
8a7716f761
Document the TMPDIR environment variable.
...
MFC after: 1 week
2006-01-05 10:19:42 +00:00
yar
e5de7a52cb
Sync usage screen with manpage.
...
MFC after: 5 days
2005-10-07 10:18:44 +00:00
yar
481c4ecdb9
Document the -d flag to mail(1) better, which comes handy when
...
you want to see, e.g., sendmail arguments mail(1) will use.
-H is not an independent flag, it's a modifier. Also explicitly
say that -H will cause mail(1) to exit as soon as it prints the headers.
MFC after: 5 days
2005-10-07 10:16:41 +00:00
cperciva
afe2192571
Remove the dates from these files. They serve no purpose and result in
...
these files spuriously changing each time they are built.
Also, add $FreeBSD$ tags, because cvs is unhappy otherwise.
2005-08-17 15:56:04 +00:00
ru
7ef60504e6
Bumped document date.
...
Dealt with hard sentence breaks and whitespace at EOL.
2004-05-19 09:51:31 +00:00
mikeh
39dab43424
These aren't all binary options.
2004-03-09 01:20:24 +00:00
mikeh
97dc367f93
Assign checkmode boolean earlier to handle the goto jump.
...
Might fix PR bin/63769.
2004-03-06 13:27:59 +00:00
mikeh
9d29f488ff
Add the -e (mail presence test), -H (header summary mode), and -F
...
(message save as first recipient) options for standards
conformance.
Submitted by: Wartan Hachaturow <wart@tepkom.ru> (with some changes)
PR: standards/61934
2004-02-29 20:44:44 +00:00
trhodes
9b883f99f1
Remove 2 more unused doc Makefiles.
2003-02-04 18:26:08 +00:00
mikeh
44c0edb0a0
The return-path is optional in a headline, therefore don't skip a
...
message if it is missing the return-path.
PR: bin/40314 (slightly different patch)
MFC after: 2 weeks
2003-01-09 05:08:37 +00:00
mikeh
f4872a600d
Correct a few more definitions, capitalize header fields consistently.
2003-01-09 03:36:47 +00:00
mikeh
8234c83805
Clarify ~. escape definition, remove duplicate entry, and shorten a
...
definition.
2003-01-09 01:14:54 +00:00
mikeh
139f1ec4fa
Document the ~. and ~? command escapes.
2003-01-09 01:08:33 +00:00
charnier
7dd9d47059
Replace various spelling with FALLTHROUGH which is lint()able
2002-08-25 13:23:09 +00:00
ru
a8adf98c82
Drop support for COPY, -c has been the default mode of install(1)
...
for a long time now.
Approved by: bde
2002-07-29 09:40:17 +00:00
ru
cd7c90d38f
s/${INSTALL} -c/${INSTALL} ${COPY}/
2002-07-18 12:07:49 +00:00
obrien
bc61fc95d8
Consistently use FBSDID
2002-06-30 05:25:07 +00:00
mikeh
034b3aea2d
Add support for the 'flipr' option per IEEE 1003.1-2001.
2002-06-25 05:34:27 +00:00
mikeh
94e2e299e4
Use strcasestr() instead of reimplementing it.
2002-06-25 05:28:32 +00:00
mikeh
92912abb16
Make the 'searchheaders' option behave how it was supposed to. If
...
enabled, the string '/to:y' will match strings in the To, Cc, and Bcc
header fields. Whereas, '/To:y' will match only the To field. Edit the
manpage and a code comment to indicate the correct behavior.
2002-06-25 05:24:30 +00:00
mikeh
289920516b
Rearrange a little, specifically:
...
- removed "Option string values" section and divided up amongst mail
options and environment section
- expanded environment section
- rearranged mail options
- added default values to the mail options for clarification
Reviewed by: ru
2002-06-25 05:16:11 +00:00
charnier
ad8a79e6a5
Use `The .Nm utility'
2002-04-20 12:18:28 +00:00
imp
1698cb216e
remove __P
2002-03-22 01:33:25 +00:00
bde
1108cb5744
#include <sys/time.h> instead of depending on namespace pollution in
...
<sys/stat.h> for the declaration of struct timeval. Intentionally
don't follow the local style of polluting the local headers.
2002-02-25 05:16:22 +00:00
markm
31d81e4fbc
Remove NO_WERRORs and WARNS=n's. To be revisited after GCC3.
2002-02-08 23:07:37 +00:00
charnier
0292afe82d
Show arguments of command line options
...
Reviewed by: ru
2002-01-22 19:49:48 +00:00
mikeh
774dd0c9ef
Link mail(1) to mailx per POSIX. Mail(1) isn't 100% POSIX compliant,
...
but it is pretty close.
Not objected to by: -standards
2002-01-19 23:47:21 +00:00
ru
873c69d70d
mdoc(7) police: oops, forgot about those interim XXX'es.
2002-01-10 14:27:04 +00:00
ru
dfa717614b
mdoc(7) police: tidy up.
2002-01-10 14:25:34 +00:00
mikeh
b2975fd8e9
Fix comment.
2001-12-23 06:12:41 +00:00
mikeh
45093b4f56
Add support for ~_, ~x, ~i, ~a, ~A, ~<, and ~r! tilde-escapes. Improve
...
tilde-escapes documentation.
Mostly obtained from: NetBSD
2001-12-22 22:16:48 +00:00
ache
3e366cfcab
Add missing {} to 'for'. It fix coredump (result of NetBSD changes merge)
2001-12-19 22:25:11 +00:00
ache
8d59503ab2
Add (unsigned char) cast to ctype macros
...
ftell->ftello, fseek->fseeko
File 'newsize' type int->off_t
Add visible (long) cast to fsize() when it called to small one message file and
result is assigned to long.
2001-12-19 21:50:22 +00:00
mikeh
e4034fe298
Sync with most of NetBSD's changes, including:
...
*) Sync with 4.4BSD-Lite2
*) Set usecs for utimes()
*) Add 'inc' command and 'autoinc' option that check for new mail
manually and automatically, respectively
*) Use POSIX signal handling and tty semantics
*) Handle long lines correctly when paging messages
*) Add ability to explicitly search 'To:' line
*) Various manpage cleanups
*) Support overriding '~/.mailrc' with $MAILRC
*) Support 'askbcc' and 'asksub' options
*) Fix various bugs
Reviewed by: ru (mail.1)
Obtained from: NetBSD
2001-12-18 20:52:09 +00:00
ru
7ed2dfe749
Install files via FILES.
2001-12-17 16:02:15 +00:00
mikeh
ceaaa7f6f5
I'm working on cleaning this up, however it probably won't be done for
...
awhile. Turn off WARNS so that this doesn't break the build when WARNS
is turned on higher up. Also add $FreeBSD$.
2001-12-12 15:42:19 +00:00
mikeh
ff0ca8acbc
Don't add space after comma unless there was already one (prevents a
...
rare overflow). Optimize loop slightly. Don't exit if realloc can't
shrink a buffer (just continue and use the larger buffer).
Obtained from: OpenBSD
MFC after: 2 weeks
2001-09-23 04:07:26 +00:00
ache
0bff53b958
File positions are off_t nowdays, not long, so:
...
fseek -> fseeko
ftell -> ftello
NOTE: fseek/ftell not works for >long offsets per POSIX:
[EOVERFLOW] For fseek( ), the resulting file offset would be a value which
cannot be represented correctly in an object of type long.
[EOVERFLOW] For ftell ( ), the current file offset cannot be represented
correctly in an object of type long.
2001-09-02 14:40:51 +00:00
brian
5bd90784a6
Handle snprintf() returning -1.
...
MFC after: 2 weeks
2001-08-20 14:46:40 +00:00
ru
95ce4d2cdc
Removed duplicate VCS ID tags, as per style(9).
2001-08-13 14:06:34 +00:00
ru
80f060f0cf
mdoc(7) police: protect trailing full stops of abbreviations
...
with a trailing zero-width space: `e.g.\&'.
2001-08-10 13:45:36 +00:00
dd
911ca14c87
Remove whitespace at EOL.
2001-07-15 08:06:20 +00:00
ru
36f138439b
mdoc(7) police: removed HISTORY info from the .Os call.
2001-07-10 14:16:33 +00:00
ru
b34776a031
mdoc(7) police: fixed formatting bugs in rev. 1.27.
2001-07-05 06:27:52 +00:00
mikeh
e65f95daf3
Add the -E flag to not send messages that have an empty body. This is
...
useful for piping cron script error output by mail.
PR: bin/9494
Obtained from: NetBSD
MFC after: 2 weeks
2001-06-28 02:40:07 +00:00
dd
7894e59b7f
Nuke unused variables.
2001-06-24 23:41:57 +00:00
mikeh
016a180889
Support mail boxes that have dates without seconds (SysV) and those
...
that have a timezone as <-|+>nnnn (eg. imapd).
PR: bin/11746
Obtained from: OpenBSD
MFC after: 2 weeks
2001-06-18 04:28:03 +00:00