Commit Graph

91 Commits

Author SHA1 Message Date
mjl fb60b363d0 Added missing mailx tilde escapes that POSIX wants (~<!, ~a, ~A, ~i).
Updated man page and tilde help file for missing ~ escapes.
Closes PR 782 by Simon J. Gerraty after four years and two weeks.
1999-02-17 20:48:48 +00:00
lukem dcab0210a0 convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
dean 11976ebb30 fixes for PR 3886, 4719, 5424
mail is more consistent in a su'd environment
unset works if the variable is in the environment
fixed off by one error with 'z' scrolling
1999-02-09 04:51:30 +00:00
he fbb55f0364 Set the 'crt' flag by default. This enables the pager, so that
messages > 24 lines do not scroll off the screen.  Fixes PR 6965
by Yours Truly.
1999-02-08 20:48:25 +00:00
kleink 75ff0c2532 Fix preprocessor logic bogon; from Michael Eriksson <eramer@era-t.ericsson.se>
in PR bin/6681.
1999-01-06 15:53:39 +00:00
christos ec1efbf3e5 Fix ifdef mess. 1998-12-19 16:35:10 +00:00
christos 2d72555862 char -> unsigned char 1998-12-19 16:34:38 +00:00
christos 288075599a union wait -> int 1998-12-19 16:34:04 +00:00
christos b1d8c6168d index -> strchr 1998-12-19 16:33:24 +00:00
christos 681c2d939c char -> unsigned char, index -> strchr 1998-12-19 16:33:08 +00:00
christos dcc0ef7552 char -> unsigned char 1998-12-19 16:32:52 +00:00
christos 9189a0e37d char -> unsigned char, index -> strchr, s.w_termsig -> WTERMSIG(s) 1998-12-19 16:32:34 +00:00
christos bd077f6919 char -> unsigned char 1998-12-19 16:31:57 +00:00
christos 09edb00354 char -> unsigned char, s.w_coredump -> WCOREDUMP(s) 1998-12-19 16:31:41 +00:00
christos 25b1fd1911 char -> unsigned char, index -> strchr, rindex -> strrchr 1998-12-19 16:30:52 +00:00
wsanchez 55ce51b29f Get rid of commons.
Rename vfree() to v_free() to avoid conflict in out libc's vfree().
1998-10-08 17:36:55 +00:00
lukem 9dee5d2b46 don't install in /usr/share if NOSHARE is defined 1998-09-27 17:22:03 +00:00
hubertf 878450be44 messages are in /var/mail, not /usr/spool/mail 1998-08-27 21:24:41 +00:00
ross f670fa10c5 Add { and } to shut up egcs. Reformat the more questionable code. 1998-08-25 20:59:36 +00:00
mycroft 55ac0c2da3 const poisoning. 1998-07-26 21:58:46 +00:00
mrg 2beab49a06 - use an array MAXHOSTNAMELEN+1 size to hold hostnames
- ensure hostname from gethostname() is nul-terminated in all cases
- minor KNF
- use MAXHOSTNAMELEN over various other values/defines
- be safe will buffers that hold hostnames
1998-07-06 06:45:41 +00:00
ross 6afb00016c Don't segfault just because a line starts with null.
linebuf[count - 1] = 0, nice try
1998-06-10 05:28:16 +00:00
kleink 6f197c5b08 Include <time.h>, needed for various definitions. 1998-04-02 10:31:09 +00:00
perry 3fe138c146 RCS Id Police. 1998-01-09 08:03:16 +00:00
christos 1b853377db Make this work with obj dirs 1997-12-21 15:48:30 +00:00
bad d78ba35458 Fix a pasto that would cause coredumps on exit when the mailbox has been
changed and new mail has arrived in the mean time.  (PR bin/4644 Ken Wellsch)
While I'm here, fix typo in comment.
1997-12-07 21:27:10 +00:00
bad a444ae6099 Work around gcc -Wuninitialized lossage. 1997-11-26 22:41:36 +00:00
bad 2f2497e5de Detect more errors while manipulating mailbox files and tell the user
about them.  Don't truncate mailbox files when a write error has occured.
1997-11-25 17:58:15 +00:00
bad 6a203aafce Do not propagate local pipe and file address that are marked for deletion
into the mail header.
1997-11-25 17:55:52 +00:00
mrg 9f84449ae5 add missing .Nm sections. 1997-11-11 14:39:59 +00:00
mikel 27ccca6ffd fix numerous typos 1997-11-07 07:57:21 +00:00
mycroft ff7fbfe809 Make sure to clear the child's signal mask in all cases. 1997-10-31 22:48:12 +00:00
mycroft bd73dc49c1 Oops; previous change was incomplete. 1997-10-31 22:21:37 +00:00
mycroft 4dc2ef91eb Slight simplification of some signal handling goo. 1997-10-31 22:18:05 +00:00
christos a2e8434f60 revert previous. It was dumb. 1997-10-31 22:15:52 +00:00
christos c8963b13e9 Forgot to commit this somehow [part of the signal mask botch fix] 1997-10-31 21:23:46 +00:00
mycroft 004f255040 Use S_IS*(), not S_IF*. 1997-10-19 19:27:40 +00:00
mycroft d8703622b5 Use _POSIX_VDISABLE, not 0, to disable special characters. 1997-10-19 16:49:15 +00:00
mrg 069922f852 fix compile warnings on the alpha. 1997-10-19 14:12:22 +00:00
mycroft eae3d4c198 Fill in the microseconds fields for utimes(2). 1997-10-19 13:48:21 +00:00
lukem 7c81c8f378 WARNSify, fix .Nm usage, deprecate register, use <err.h> 1997-10-19 05:02:57 +00:00
matt 6db79ef042 Allow mailboxes to be in <cr><lf> format. 1997-10-18 15:48:48 +00:00
mycroft e96e918e60 Use bsd.subdir.mk as appropriate. 1997-10-11 09:34:07 +00:00
christos dbcb6055f7 PR/4150: sigint/sighup stays blocked after first letter cancellation. 1997-09-25 19:56:15 +00:00
mikel 1ac5792267 update printf formats to match type of line counts 1997-07-09 05:29:48 +00:00
mikel 70875d29b0 protect more variables against gcc longjmp() clobbering 1997-07-09 05:25:45 +00:00
mikel f50e8d7409 make matchto() return type explicit 1997-07-09 05:23:36 +00:00
mikel adaf168e3f add prototype for incfile() 1997-07-09 05:22:00 +00:00
jtc 4ca4391165 /usr/spool/mail -> /var/mail 1997-07-09 02:53:39 +00:00
phil a8316bbccd Fixed bug where long lines (>1023 characters in current implementation)
were viewed as multiple lines by both standard input and ~<file.
Closes PR 3463.
1997-07-07 22:57:52 +00:00