Commit Graph

9451 Commits

Author SHA1 Message Date
plunky d00be208b6 expand list of service classes that we know 2007-02-17 09:19:06 +00:00
hubertf 6a0e6d5715 Moved ctype.h from header to source file in usr.bin/tip.
Also removed unused getopt header.

Patch contributed by Slava Semushin <slava.semushin@gmail.com>
in private mail.
2007-02-16 20:25:33 +00:00
dogcow 60918448c9 dipotre -> dioptre.
(nobody's noticed this typo since the file was originally added in 1993...)
2007-02-15 22:37:27 +00:00
christos bccb1cb6c7 bump version, from Anon Ymous 2007-02-15 17:18:15 +00:00
reed a87b66bd95 Add "catman" to the SEE ALSO. 2007-02-10 19:27:39 +00:00
ad 8966ad6a93 Further changes to use compat process flags mapped by sysctl. To be
revisited soon.
2007-02-10 18:20:12 +00:00
ad 401499f30e Sync with kernel changes introduced by merging the newlock2 branch. 2007-02-09 22:08:48 +00:00
drochner 628f1591c1 include <signal.h> where signal(3) is used 2007-02-08 21:36:58 +00:00
perry 851b2b6abe Add a missing "can". Update date. 2007-02-08 13:32:53 +00:00
hubertf 79b63fa656 #include inttypes.h, for strtoimax(3).
Suggested by Slava Semushin <slava.semushin@gmail.com> in private email.
2007-02-07 15:21:21 +00:00
hubertf 6df5e55489 Remove unused ctype.h header.
Contributed by Slava Semushin <slava.semushin@gmail.com> in private mail.
2007-02-07 14:20:58 +00:00
hubertf 4442954cb6 * Remove unused header ctype.h
* Remove __P

Contributed by Slava Semushin <slava.semushin@gmail.com> in private mail.
2007-02-07 14:11:30 +00:00
hubertf 1a7e106bf0 * Remove unneeded ctype.h
* remove unneeded {}s
* add some whitespace for readability

Contributed by Slava Semushin <slava.semushin@gmail.com> in private mail.
2007-02-07 14:06:57 +00:00
njoly e7544f933f compat linux32 depends on compat netbsd32, and thus needs
EMUL_FLAG_NETBSD32.

ok by manu
2007-02-07 13:58:12 +00:00
perry 9cf20bf4dc make -rm an alias for -delete 2007-02-06 15:33:22 +00:00
perry bf9831bfd2 Document -rm as an alias for -delete, and document that both -delete
and -rm are extensions.
2007-02-06 15:33:21 +00:00
elad a706fb0965 Add -delete from FreeBSD. 2007-02-06 13:25:01 +00:00
he 3da5bad40a Add a cheesy workaround marked XXX for the situation where the
strtod() implementation available in the environment does not
handle hex floats.

Discussed with and suggested by christos
2007-02-06 00:08:31 +00:00
jwise b6bad2e5f2 Since MAN_DEBUG is constant, go from if (MAN_DEBUG) to #if MAN_DEBUG 2007-02-05 19:46:24 +00:00
dsl 8732462d65 Add code to ensure that .if/.endif are correctly nested with .for/.endfor
and also include files don't have mismatched .if/.endif
It has been suggested that make used to have this test, but I can't
remember removing any code that might have performed it.
2007-02-04 19:23:49 +00:00
christos e903e46b14 deal with hex doubles. 2007-02-02 20:02:18 +00:00
christos ca93cf9ea4 fix spello (from Anon Ymous) 2007-02-02 15:48:54 +00:00
wiz b7d64c2725 Fix typo. 2007-02-02 07:27:15 +00:00
christos a9ee9264a7 document -xdev [from Anon Ymous] 2007-02-01 19:00:16 +00:00
wiz c8db62531e Sort sections. New sentence, new line. 2007-02-01 06:54:40 +00:00
martin 6bcac52d39 Apply fix from PR bin/35526 from Xin LI: fix typo in message 2007-01-31 08:23:22 +00:00
plunky defc1075ef This comprises a rewrite, which
- adds a server mode for incoming bluetooth connections
	- does not cfmakeraw the slave tty as this caused problems
	- does not hold open the slave tty as this prevented multiple opens
	- modifies the termios for stdio so that this can be used directly
	  by a user.
2007-01-31 08:12:21 +00:00
elad a8c0f0c72e Move paxctl from usr.bin/paxctl to usr.sbin/paxctl, and make it an admin
tool (man-page moved from section 1 to section 8).
2007-01-30 19:40:07 +00:00
chs aaf6e758a0 skip over the "self" sa when printing upcalls. 2007-01-28 21:29:59 +00:00
wiz 19a6ec96b4 Make HTML-ready. Drop trailing whitespace. 2007-01-28 07:54:55 +00:00
plunky 315d0953b6 minor adjustment to .Bl .. .El after reading mdoc(7) 2007-01-25 20:29:56 +00:00
plunky d2ce8afd8d make it clearer that its a single-use PIN 2007-01-25 20:28:54 +00:00
dsl 9ac7863b40 Check of open conditionals before we trash 'curFile' - so we can actually
report the filename of the error (without core dumping!).
Also fix tests for reporting errors to the debug_file, and don't add $PWD
to (stdin).
2007-01-24 21:43:01 +00:00
abs 06ffa3913a if ioctl(fd, CDIOCPLAYMSF,...) fails, do not warn("ioctl(CDIOREADTOCENTRYS)"); 2007-01-24 10:36:33 +00:00
wiz 6aacb705f6 4 -> 4.0, since Nx does not accept all arguments without complaint. 2007-01-23 22:23:48 +00:00
christos 12d4fbef5e don't overwrite variables on the stack. From Anon Ymous. 2007-01-22 19:07:13 +00:00
joerg a69e0dfa1d exit(3) needs stdlib.h. 2007-01-22 11:46:43 +00:00
ad c89ec7afee pushinit(): fix a use-after-free bug. 2007-01-20 21:16:23 +00:00
dsl bbdea71364 Don't delete '\' from before '#' in shell command lines.
Probably fixes build of pkgsrc:editors/xemacs.
Pointed out by Richard Earnshaw.
2007-01-18 20:22:44 +00:00
wiz 2f0d7fe863 Use Pq. 2007-01-18 00:15:05 +00:00
christos c3761c950c Sync with reality. Delete unsupported and describe run level chars. 2007-01-17 16:37:41 +00:00
hubertf 48b31403c5 Remove duplicate #includes
From Slava Semushin <slava.semushin@gmail.com>, via private mail
2007-01-17 00:21:43 +00:00
christos 66fbdf9319 Avoid coredumping. Found by accidentally running make instead of gmake
in java's control/make directory.
2007-01-15 01:26:32 +00:00
apb a291dbbc01 In preparation for making TOOL_LORDER use TOOL_JOIN, TOOL_MKTEMP and
TOOL_SED:

* Parameterise JOIN, MKTEMP, NM, SED, and SORT.  Previously
  only NM and MKTEMP were parameterised.
* Rewrite some duplicated code using a loop.
* More careful quoting of shell variables.
* `...` -> $(...)
2007-01-14 16:29:35 +00:00
apb a059c305e2 Include nbtool_config.h, to make join(1) buildable as a host tool. 2007-01-14 16:15:26 +00:00
christos c7295a4c51 - rename {x,}error -> cfg{x,}error and {x,}warn -> cfg{x,}warn so that we
can use err(3) and warn(3) to display errors instead of using inconsistent
  fprintf's.
- remove emalloc/estrdup etc. We have them in libutil.
2007-01-13 23:47:36 +00:00
cube 718ffd7615 Handle defopt lists properly, as ':=' syntax introduce an additional
element...  For that, introduce nvcat(nv1, nv2).
2007-01-12 21:49:51 +00:00
cube 072ab00089 Change the name of the resulting kernel binary, because "lint" confuses
our Makefiles.  While there, add a couple comments to explain how all
attachments are found.
2007-01-10 15:17:43 +00:00
cube 904262675b Add new syntaxic sugar to provide a value in lint (i.e., config -L)
configurations for defparams.  It will be used _only_ by config -L.

This will greatly help automating tests with lint configurations,
hopefully.
2007-01-09 13:03:47 +00:00
elad d2e4f7167b Remove advertising clause from all of my stuff. 2007-01-09 12:49:36 +00:00
wiz 81c929da0c Bump date for previous (year was wrong). 2007-01-09 06:58:46 +00:00
cube 6ebb2291dc Print pseudo-devices in their own section and print all of them (d'oh). 2007-01-08 18:08:24 +00:00
cube aa3d024933 One %s is enough to print one string. 2007-01-08 17:50:43 +00:00
christos e3717c1851 Introduce a TALKHOST environment variable to make talk work through NAT.
From Anon Ymous.
2007-01-08 17:10:59 +00:00
cube 59c945452a Introduce a new option to config(1): -L. What it does is takes a regular
configuration file (although it is meant to be used mostly with
std.${ARCH}), and prints out a configuration file that includes it and
select every single option and parameter, and define an instance for every
single possible attachment.  IOW, selects everything, into a would-be
"LINT" config.

The resulting config really isn't meant to be runnable, but should be
somewhat buildable on most archs.  It still needs adjustments because some
options are peculiar (e.g., ACPI_DSDT_FILE wants an existing file as its
value), so it's not yet possible to do "config -L; config; build" in an
automated way.
2007-01-08 16:08:08 +00:00
wiz 1e1b91be4d Remove dot and end of SEE ALSO. 2007-01-08 07:22:42 +00:00
wiz b8808a8b5c Improve formatting, fix typo, bump date for previous. 2007-01-08 07:18:25 +00:00
cube f55d783c32 - Document "source /path" and "build /path".
- Move documentation for "package", because as I learned tonight, it's not
  allowed before setmachine.  You get to discover scary new stuff about
  config(1) each time you look at it.
2007-01-07 23:22:04 +00:00
rillig cb42376f86 See also: ktrace(2). 2007-01-07 15:33:48 +00:00
isaki 21b8eaae35 Correct indent. It's important around many #ifdefs. 2007-01-07 10:36:56 +00:00
cube db31f3b5e0 Mention that newlines mid-statement are allowed, and clarify how
needs-count and needs-flag work, notably for simple attributes.
2007-01-06 21:58:54 +00:00
cube c93963e680 Make deffilesystem check all defined options, not just defopttab (which
ought to be empty nowadays).
2007-01-06 18:54:32 +00:00
cbiere 0086d50320 Respect the environment variable TMPDIR if set. 2007-01-06 14:29:44 +00:00
cbiere 4b96ead963 Pointing before a memory object is not proper C. Use an index instead of
pointer arithmetic.
2007-01-06 14:11:20 +00:00
cbiere a8d0a33445 - Applied patch by David Holland from PR bin/35354.
- Use EXIT_SUCCESS/EXIT_FAILURE instead of 0/1.
 - Additional check for regular file.
 - Use pread() instead of lseek() + read().
 - Check for partial read to prevent out-of-bounds memory access.
 - Added FIXME to onintr(): This is no proper signal handler albeit might
   not really matter here.
2007-01-06 14:00:36 +00:00
cbiere 2fe9526c5d - Use EXIT_SUCCESS/EXIT_FAILURE instead of 0/1.
- Reject unreasonable command-line arguments.
 - No need to cast sizeof() to u_int for malloc().
 - ttyconv: Simplified and replaced magic '5'.
2007-01-06 13:31:06 +00:00
ober a57d36e7f8 Update to include Zaurus Port. 2007-01-06 03:56:13 +00:00
christos 6acd8da97d Don't limit lines to 8K. 2007-01-06 02:18:24 +00:00
wiz 596987c9f5 Bump date for previous. 2007-01-06 01:15:43 +00:00
christos 1424501a85 Ansi, KNF, no functional change. 2007-01-05 23:17:32 +00:00
jschauma 68ea33e34d Note that uniq uses a max line length of 8192 bytes. 2007-01-05 18:28:13 +00:00
christos 8d9a441486 Appease wizd, from Anon Ymous. 2007-01-05 03:52:35 +00:00
christos d834d54792 From Anon Ymous:
1) Don't miss the pipe command when grabbing the command name.
2) Convert some key constants to defines.
2007-01-03 00:39:16 +00:00
christos 07a95a1d4c 1) Fix a really stupid table termination error in mime_decode.c.
2) When doing attachments set the "name=" parameter of the
Content-Type field, in addition to the (already) set "filename="
parameter of the Content-Disposition field.  Some utilities (e.g.,
metamail) use this parameter for the filename even though (I believe)
the "filename=" parameter of the Content-Disposition field is
preferred by the standard (I can't find this explicitly except for
"application/octet-stream" types - see RFC1521 sec 7.4.1 and RFC2046
sec 4.5.1).  My impression is that the "name=" parameter of the
Content-Types field is really intended for use when retrieving a file
not in the message, e.g., "message/external-body" Content-Types, and
not for the filename.
(Thanks to wiz@ for noticing this in his spam logs.)

3) Be more careful when determining the Content-Type of 1-byte
attachments.  libmagic(3) isn't helpful on such small files.
2007-01-03 00:24:36 +00:00
dsl 8a7693fba6 Don't delete whitespace before a "\\\n" sequence. Somewhere I'd misread
the required behaviour and replaced it with something more sensible - except
for makefiles that contain "\n\t\\\n shell command"...
2007-01-02 23:22:37 +00:00
christos 8d5de8f839 From Anon Ymous:
1) Remove a stray "SRCS+=" line from the Makefile.
2) Document the "nospec" option of "regex-search".
3) Fix some typos and formatting in the manpage.
2007-01-02 03:09:13 +00:00
dsl 8b25f96e43 Remove the (now redundant) MAKE_BSIZE, BUF_DEF_SIZE from buf.c is used instead. 2007-01-01 21:48:43 +00:00
dsl 4d3c468f96 Rework the code that separates the makefile into lines.
Instead of copying the file byte by byte into an expanding line buffer, just
scan the file buffer for (unescaped) newlines.
Escaped newlines (etc) are processed by modifying the file buffer later.
Speeds up 'nbmake obj' by a factor of 2.
I suspect it will do wonders for parts of pkgsrc as well, since it largely
eliminates cpu cycles from the false part of .ifs.
2007-01-01 21:47:32 +00:00
dsl d6cad2789c Request the 'verbose' node print when aborting and scheduling nodes. 2007-01-01 21:42:42 +00:00
dsl 75dd4686a9 Add the other half of the fix to stop stuff that depends on .WAIT nodes
being always rebuilt.
2007-01-01 21:39:58 +00:00
dsl 388fdf7f68 Don't force things that have dependencies against .WAIT nodes to be rebuilt.
This is what causes all of ksh to be built every time through.
2007-01-01 21:35:40 +00:00
dsl 3780cb6cd8 Remove 'else' after 'return', and similar whitspace changes.
Extra debug on where files are actually found.
2007-01-01 21:31:51 +00:00
dsl b7483eac69 Since the 'buf' code here is only used by make, we don't need two names
for the default buffer size of 256.
Also allow for the trailing 0 byte!
2007-01-01 21:29:01 +00:00
dogcow d7e50df65a more NQNFS removal fallout 2006-12-27 21:53:58 +00:00
dogcow 0dbd865aab arg might be improperly initialized; fix that.
(also, since we check arg == NULL, s/arg = 0/arg = NULL/.)
2006-12-27 18:47:20 +00:00
pooka a61b6925e7 support reading wtmp/wtmpx from stdin with -f -
from bin/35329 by David A. Holland
2006-12-27 18:03:26 +00:00
alc c6ea7a850f CID-4199: move the test (line != NULL) one line up to check the
return value of strdup()

ok christos@
2006-12-27 17:55:05 +00:00
alc 0c17aa264d Fix a typo in ht_free() which caused the last list of the hashtable to be ignored.
It caused config(1) to crash on the following assert() if the list was used.

This bug shows up after the recent change in files.c which fixed a memory leak.

pointed out by dogcow@
reviewed by cube@
2006-12-27 17:50:27 +00:00
alc 2f403ebe4f CID-4275: don't leak `fixdevmtab' 2006-12-26 00:07:18 +00:00
christos b01c8fbc21 From Anon Ymous
1) Add support for message selection based on the message body.  The
pattern matching is done on the MIME decoded body as would be seen by
the print command.

2) Don't hook editline when doing headers only: that mode is never
interactive and it messes up piping if output is redirected to a
command that expects tty input, such as 'more'.
2006-12-25 18:43:29 +00:00
wiz e76d290058 Fix example; from sat@freebsd via jmc@openbsd. 2006-12-24 10:07:18 +00:00
wiz 6e478b060b Mention that the argument file is not modified. From jmc@openbsd. 2006-12-24 08:35:21 +00:00
jdc 40b89794d7 Don't print "default" when the netmask is non-zero.
Also tested by mlelstv@.
2006-12-23 11:05:14 +00:00
wiz 201b173539 Consistently use Ev for PAGER. 2006-12-23 09:26:10 +00:00
wiz 6056ee8d62 Use Nm instead of Xr to ourselves. 2006-12-23 09:08:46 +00:00
wiz f7ccc579cc Punctuation nits. 2006-12-23 08:48:29 +00:00
wiz bf6c34fe61 Use Sx for section cross-references. 2006-12-23 08:42:59 +00:00
wiz a6ce50109e Remove trailing whitespace. 2006-12-23 08:40:11 +00:00
wiz 4cc41386ba Fix a typo. Use Nx. 2006-12-23 07:25:41 +00:00
erh d96de9f7f0 Correctly handle '\' at the end of a variable in the non-expanding case. 2006-12-22 20:28:31 +00:00
ad c7a999e12a Note that ACOMPAT and ASU are no longer recorded. 2006-12-22 08:00:20 +00:00
dsl d8f5679725 Fix breakage of previous commit. 2006-12-21 20:05:37 +00:00
dsl c26f3a4858 Fix detection and reporting of dependency loops in parallel makes.
make's unit_tests should now run again.
2006-12-20 20:46:35 +00:00
wiz 6c0754a434 Drop trailing whitespace. 2006-12-19 19:06:44 +00:00
christos 4ad17e5702 No need to leave a lot of space between the error number and the message. 2006-12-19 19:02:49 +00:00
christos c613b70040 Xr lint 7; noticed by Anon Ymous 2006-12-19 19:00:20 +00:00
christos 920d4bcbef from Anon Ymous:
Convert a "(void)&" construct to volatile.
Make two variables in wwiomux.c volatile that gcc -Wextra complained about.
Do proper initialization of lcmd_arg tables and flag some variables
__unused so this will compile with gcc -Wextra.
2006-12-18 20:04:55 +00:00
christos 471243e4da volatile fixes, from Anon Ymous 2006-12-18 15:17:38 +00:00
christos 7d2ef9d984 From Anon Ymous:
Convert "(void)&" constructs to "volatile".
Check gid against (gid_t)-1 rather than >= 0; gid_t is unsigned.
Flag some parameters __unused so this will compile with -Werror.
2006-12-18 15:14:42 +00:00
christos 83508cedc2 From Anon Ymous:
Removed two "(void)&" constructs as there is no setjmp() or vfork() insight.
Flagged a few parameters __unused so this will compile with -Wextra now.
2006-12-18 15:06:16 +00:00
christos 019209fdbc volatile fixes from Anon Ymous 2006-12-18 14:18:40 +00:00
jmmv c5e6a57d43 Add the list of differences between more and less provided by mrg@ in
PR bin/31415.
2006-12-17 16:16:53 +00:00
bouyer 3697550e70 Don't depend on lubutil if we're building host tools. Fix tools build on
non-NetBSD hosts.
2006-12-16 12:59:16 +00:00
dsl c822b38662 Use open/read/close instead of stdio for makefiles.
Commons up the code for reading files and buffers, and allows a further
change where we don't copy the data out of the buffer when generating 'lines.
This will speed up makefile parsing (esp .if clauses).
2006-12-16 08:59:29 +00:00
dsl edc84458bf Fix a comment that has been wrong since rev 1.1, minor layout fix. 2006-12-16 08:51:12 +00:00
christos 581e519fb5 From Anon Ymous:
1) When detaching, don't try to close things we shouldn't (after
   doing the header).  Specifically, mip->mi_head_end was not
   getting set correctly in mime_sendmessage().

2) Change paging to be closer to its old behavior: next, dt, and dp
   should only page if the crt variable is set; and don't automatically
   page most other commands - the user can always pipe them into more.
2006-12-15 20:26:03 +00:00
he 494446754f Adapt chflags to the move of string_to_flags() and flags_to_string()
to libutil.
2006-12-14 20:57:00 +00:00
he cb49bdddc9 Adapt find to the move of string_to_flags() and flags_to_string() to
libutil.
2006-12-14 20:55:56 +00:00
he 0a97c3f688 Complete the move of string_to_flags() and flags_to_string() from the
bin/ls sources to libutil:
 o Bump libutil minor version number
 o Fix uses to include <util.h> to pick up the function definitions
 o Fix most uses of flags_to_string() to release the now-malloc()ed result
2006-12-14 20:09:35 +00:00
chuck 92a710ed6c take into account the 150 frame start offset time when computing the
duration of a track.  call lba2msf like this:
	lba2msf(len - 150, &m, &s, &f);
                    ^^^^^
from rev 1.41 of FreeBSD usr.sbin/cdcontrol/cdcontrol.c, Dmitry Afanasiev.

XXX: note that this is a mis-use of lba2msf() because 'len' is the length
     of the track in frames, not a logical block address (lba).
2006-12-14 18:15:16 +00:00
christos ffe3445041 pass lint; from Anon Ymous 2006-12-14 17:09:43 +00:00
christos 239d1ed129 kill the (void)&foo; from Anon Ymous 2006-12-14 14:18:03 +00:00
christos 748af04e26 gcc4 does not care about &foo; use volatile instead. From Anon Ymous 2006-12-13 18:04:08 +00:00
christos eea42e044a Fix timezone and date parsing. From Anon Ymous. 2006-12-10 06:06:47 +00:00
christos c83bfb9f05 - Change all emalloc to ecalloc, since the previous implementation of emalloc
zeroed out the buffers.
- Provide a macro for the tab rounding.
2006-12-09 21:42:40 +00:00
dsl 82e7102f1f Revert part of a recent commit.
ParseEOF() shouldn't close the original file.
2006-12-07 21:34:16 +00:00
dsl a294d83a63 Put the big block of code that was common to ParseDoInclude() and
ParseTraditionalInclude() into a separate routine.
Fix the 'use after free' and 'free on item not malloced' that got added
to ParseTraditionalInclude() in Feb 2006 (rev 1.111).
Kill the 'PTR' struct and put both its members into IFile.
Remove the parameter from ParseEOF(), 1 of the 3 calls passed the wrong value!
Fortunately another test stopped anything nasty happening, we'll use that
test instead.
2006-12-07 21:07:01 +00:00
dsl f01b961f16 Add anewline to the end of the error message output when the debug log
file cannot be opened.
2006-12-06 20:38:21 +00:00
christos 8d6767f0e6 When "autoprint" and "crt" were set, the pager was getting bypassed.
Thanks to Patrick Klos for reporting the problem. (from Anon Ymous)
2006-12-06 17:55:00 +00:00
christos 6e70cbd24e From Anon Ymous:
Partially restore the "crt" variable: if set, the [pP]rint and [tT]ype
commands invoke the PAGER making them identical to the [pP]age and
[mM]more commands.  Its value is now ignored.  If anyone really
objects, I will do my best to restore the old behavior, but it really
doesn't fit very well into the current paging architecture.
2006-12-06 16:26:24 +00:00
mjf 686f9932fe PR/35194: 0 is returned from confstr(3) in two cases:
- when an error occurred and errno is set appropriately
		- when the variable is undefined.

Thanks to Guy Harris for pointing this out.
2006-12-06 12:02:02 +00:00
mjf c74271d8ea PR/35194: confstr(3) returns 0 on failure, not -1. 2006-12-06 11:05:32 +00:00
christos 67e2fbb036 fix a core-dump and do some more error checking via asserts. From Anon Ymous 2006-12-05 03:47:41 +00:00
dsl 014cba747c There really is no point calling estrdup() to get a copy of the makefile name
into every 'gnode' (aka target), instead just copy a pointer to the string
and avoid freeing the original name when we close the file.
I can't imagine any makefile set where this gives a larger footprint!
2006-12-04 21:34:47 +00:00
dsl 8416a0f46b Unknot this code slightly by avoiding 'break/return; else' and by putting
the short parts of some conditionals first.
First step towards speeding up the parsing of makefiles (esp. the unwanted
parts of .if clauses).
There should be no changes to the logic.
2006-12-03 20:40:44 +00:00
dsl 8b27f0807d Some minor changes:
- Only test 'printVars' once.
  Has side effect of not trying to find the 'main' target for '-V varname'.
- Only reap the single child process in Cmd_Exec(),
  I think this is for 'xx != cmd' so probobably no other children should exist.
- Don't read and parse .depend if '-r' and '-V varname' are set.
  I suspect that .depend shouldn't affect the output of any -V command...
2006-12-03 20:37:39 +00:00
christos 1194ba0741 Document the new threading etc. features. From Anon Ymous. 2006-12-03 18:09:09 +00:00
christos 9f409e218e eliminate an alloca use. 2006-12-03 01:18:34 +00:00
dsl dc6b659187 Simplify the code that processes .if lines.
It doesn't need a two-dimensional array to remember the states of .if lines.
It would be even simpler if we didn't try to detect .else and .elif lines
that follow .else lines.
Unfortunately this isn't the code that is stupendously slow...
2006-12-02 15:50:45 +00:00
elad 4cfb3b3658 Conflict was resolved, so revert previous.
Okay dogcow@.
2006-11-30 01:59:45 +00:00
jdc a7a53c1fdb Use getopt() for arguments. Suggested by tls@. 2006-11-29 14:46:27 +00:00
jdc 69ea108b97 Add missing cu synopsis and options. 2006-11-29 14:45:39 +00:00
jdc 2ee4ce050d Add Taylor cu compatibility: -f and "dir" 2006-11-29 14:44:45 +00:00
dogcow 48de5cde28 deal with VERIEXEC_LOAD/SPKRTONE conflict 2006-11-29 03:48:57 +00:00
christos 75df0a7821 block a few more signals, from anon 2006-11-29 01:29:46 +00:00
christos c77cd73835 don't block sigterm otherwise a forked process that sends a sigterm to itself
never exits (gv), from anon
2006-11-29 01:25:28 +00:00
christos 3a9442af4c pointers should be either casted to intptr_t or even better not casted... 2006-11-28 20:29:25 +00:00
christos f20e38f662 pass lint. 2006-11-28 18:46:04 +00:00
christos f309875081 From Anon Ymous:
1) Statification of modules.

2) Implement the 'detach' and 'Detach' commands for extracting mime
   parts from messages.

3) Teach mail to output "In-Reply-To" and "References" header fields
   when replying so others can thread us.

4) Implement threading, sorting, and tagging, supported by the
   following commands: 'flatten', 'reverse', 'sort', 'thread',
   'unthread', 'down', 'tset', 'up', 'expose', 'hide', 'tag',
   'untag', 'invtags', 'tagbelow', 'hidetags', 'showtags'.
   See the manpage for details (when available - soon).

5) Implement a 'deldups' command to delete duplicate messages based on
   their "Message-Id" field, e.g., in replies to a mailing list that
   are also CCed to a subscriber.  (This can also be accomplished with
   the threading and tagging commands.)

6) Implement 'ifdef' and 'ifndef' commands, and make the conditionals
   nestable (i.e., implement a conditional stack).  The if/else/endif
   commands existed before, but they were primitive and undocumented.
   The 'if' command currently recognizes the "receiving", "sending",
   and "headersonly" mode keywords.

7) Teach the message selecting routine to understand regular
   expressions if "regex-search" is defined.  Otherwise only case
   insensitive substring matches are done (as in the past).

8) Teach the message selection routine to understand boolean
   expressions.  Improved "colon-modifier" support.  See the manpage
   for details (when available - soon).

9) Extend paging to all commands (where relevant).

10) Add shell like piping and redirection of (standard) output (if
   "enable-piping" is defined).  Extend completion to these contexts.

11) The manpage should follow soon!!!!
2006-11-28 18:45:32 +00:00
christos f56cde20e9 PR/35135: David A. Holland: timespec patches for utmpentry.c 2006-11-27 16:54:10 +00:00