summaryrefslogtreecommitdiffstats
path: root/usr.bin/mail
Commit message (Collapse)AuthorAgeFilesLines
* Use `The .Nm utility'charnier2002-04-201-9/+14
|
* remove __Pimp2002-03-223-219/+216
|
* #include <sys/time.h> instead of depending on namespace pollution inbde2002-02-251-0/+2
| | | | | <sys/stat.h> for the declaration of struct timeval. Intentionally don't follow the local style of polluting the local headers.
* Remove NO_WERRORs and WARNS=n's. To be revisited after GCC3.markm2002-02-081-1/+0
|
* Show arguments of command line optionscharnier2002-01-221-11/+21
| | | | Reviewed by: ru
* Link mail(1) to mailx per POSIX. Mail(1) isn't 100% POSIX compliant,mikeh2002-01-192-4/+7
| | | | | | but it is pretty close. Not objected to by: -standards
* mdoc(7) police: oops, forgot about those interim XXX'es.ru2002-01-101-8/+4
|
* mdoc(7) police: tidy up.ru2002-01-101-212/+237
|
* Fix comment.mikeh2001-12-231-1/+1
|
* Add support for ~_, ~x, ~i, ~a, ~A, ~<, and ~r! tilde-escapes. Improvemikeh2001-12-223-27/+138
| | | | | | tilde-escapes documentation. Mostly obtained from: NetBSD
* Add missing {} to 'for'. It fix coredump (result of NetBSD changes merge)ache2001-12-191-1/+2
|
* Add (unsigned char) cast to ctype macrosache2001-12-199-34/+34
| | | | | | | 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.
* Sync with most of NetBSD's changes, including:mikeh2001-12-1818-157/+439
| | | | | | | | | | | | | | | | | *) 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
* Install files via FILES.ru2001-12-171-4/+3
|
* I'm working on cleaning this up, however it probably won't be done formikeh2001-12-121-0/+2
| | | | | awhile. Turn off WARNS so that this doesn't break the build when WARNS is turned on higher up. Also add $FreeBSD$.
* Don't add space after comma unless there was already one (prevents amikeh2001-09-231-4/+4
| | | | | | | | 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
* File positions are off_t nowdays, not long, so:ache2001-09-024-7/+8
| | | | | | | | | | | | | 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.
* Handle snprintf() returning -1.brian2001-08-201-1/+1
| | | | MFC after: 2 weeks
* Removed duplicate VCS ID tags, as per style(9).ru2001-08-133-6/+0
|
* mdoc(7) police: protect trailing full stops of abbreviationsru2001-08-101-1/+1
| | | | with a trailing zero-width space: `e.g.\&'.
* Remove whitespace at EOL.dd2001-07-151-2/+2
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* mdoc(7) police: fixed formatting bugs in rev. 1.27.ru2001-07-051-3/+5
|
* Add the -E flag to not send messages that have an empty body. This ismikeh2001-06-283-8/+19
| | | | | | | | useful for piping cron script error output by mail. PR: bin/9494 Obtained from: NetBSD MFC after: 2 weeks
* Nuke unused variables.dd2001-06-241-1/+1
|
* Support mail boxes that have dates without seconds (SysV) and thosemikeh2001-06-181-4/+33
| | | | | | | | that have a timezone as <-|+>nnnn (eg. imapd). PR: bin/11746 Obtained from: OpenBSD MFC after: 2 weeks
* Respect REPLYTO in mailrc.mikeh2001-06-144-10/+8
| | | | | | PR: bin/8322 Submitted by: Philipp Mergenthaler <philipp.mergenthaler@stud.uni-karlsruhe.de> MFC after: 2 weeks
* Cleanup mail(1)'s varying styles by converting to using style(9).mikeh2001-05-2726-1460/+1453
| | | | | | | | | Also take a stab at cleaning up BDECFLAGS and convert all uses of NOSTR, NIL, NONE, NOVAR, NOGRP, NOGE to NULL. Also kill 'register' to get diffs somewhat closer to OpenBSD/NetBSD. There are no functional changes however. Reviewed by: nra (visual inspection)
* Allow mail(1) to be able to read Eudora mailboxes by transformingmikeh2001-05-111-1/+13
| | | | | | | lines that end in <CR><LF> to just <LF>. Reviewed by: imp Obtained from: OpenBSD
* Merge various changes from OpenBSD and NetBSD.mikeh2001-03-2528-470/+478
| | | | | | | | | | | | | | | | o remove panic() in favor of err(3) and use err(3) functions consistently throughout o use stat(2)'s S_IS* macros rather than S_IF* o [r]index -> str[r]chr o convert some static buffers to dynamic ones o use real tempfiles rather than reopening the same templates o rename some functions that clash with libc o convert wait_status from union to int and use wait(2) status macros o fix multiple potential buffer overflows o fix a few comments o add $FreeBSD$ Reviewed by: nra, nectar (earlier version)
* Eliminate mdocNG warnings caused by misplaced or extraneous macro calls.ru2001-02-281-1/+1
|
* mdoc(7) police: split punctuation characters + misc fixes.ru2001-02-011-6/+9
|
* mdoc(7) police: fixed broken references.ru2001-01-161-2/+1
|
* Prepare for mdoc(7)NG.ru2000-12-191-1/+1
|
* Eliminate groff(1) warnings.ru2000-11-291-27/+28
|
* *** empty log message ***kris2000-11-271-1/+1
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-27/+27
|
* Avoid use of direct troff requests in mdoc(7) manual pages.ru2000-11-101-1/+1
|
* Add $FreeBSD$phk2000-10-243-3/+9
| | | | | Rename local offsetof() macro to boffsetof() to avoid clashing with the offsetof() from <stddef.h>
* Complete migration of aliases file to /etc/mail/aliases.gshapiro2000-08-131-1/+1
| | | | | The maintainers of share/examples/diskless/README.TEMPLATING and mergemaster have been contacted so those may be updated as well.
* #include <errno.h> where needed. Kill extern int errno;.imp2000-04-141-1/+2
| | | | Minor warnings in tip corrected.
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-011-1/+2
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* Document startup behaviour of mail(1).jkoshy1999-11-081-0/+18
| | | | | PR: docs/1577 Submitted by: Joseph Koshy <koshy@india.hp.com>
* $Id$ -> $FreeBSD$peter1999-08-282-2/+2
|
* Ignore the MAIL environment variable when the -u flag is set.jmz1999-05-201-0/+1
| | | | PR: bin/8665
* Allocate aligned memory according to sizeof(char *).simokawa1999-01-131-2/+2
| | | | | Approved by: jkh Obtained from: NetBSD
* vfork -> fork. The child calls abort(), which calls stdio.bde1998-10-101-1/+1
|
* vfork -> fork. This home made popen() had the same bug as the librarybde1998-10-101-1/+1
| | | | | | | popen(), but worse. The child calls execvp(), which calls malloc() a bit more than execl(), and it calls non-library functions that call malloc() and who-knows-what else (stdio is called in at least some error cases).
* Fixed gross breakage in previous commit. The malloc sizes for thebde1998-10-101-12/+13
| | | | | | | | | | | temporary file names were uninitialized if TMPDIR was set and 1 too small otherwise. Fixed style bugs in previous commit. Fixed missing checks for malloc failure in previous commit. Report malloc failure consistently, at least in temp.c.
* Removed debugging cruft.bde1998-10-101-1/+0
| | | | Broken in: previous commit
OpenPOWER on IntegriCloud