Commit Graph

95 Commits

Author SHA1 Message Date
charnier
a07fb1cc07 Use `The .Nm utility' 2002-04-19 23:44:58 +00:00
ru
7ed2dfe749 Install files via FILES. 2001-12-17 16:02:15 +00:00
ru
02911c1b4a Fold example text into 80 column width display.
PR:		docs/32676
Submitted by:	Rich Morin <rdm@cfcl.com>
2001-12-13 09:13:01 +00:00
ru
4f2dd227d0 Update for FILE v3.37. 2001-10-09 07:31:02 +00:00
obrien
16c9c17233 Update for FILE v3.37.
FreeBSD no longer needs the daylight hack.
(we really should sync our timezone code up ...)
2001-10-08 22:57:03 +00:00
obrien
dd7a669ee7 Use a build-tool to create the .mgc files.
Submitted by:	ru (partial)
Obtained from:	NetBSD (basic idea)
Reviewed by:	bde, ru
2001-08-17 17:21:38 +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
ru
edf518377f Update for 3.36. 2001-08-09 14:38:45 +00:00
ru
b9953222d0 Update for 3.36.
Reduce diffs to distributed, man(7) format, version.
Markup nits.
2001-08-09 14:38:10 +00:00
obrien
b091fda7f3 Clean up this thing a little. 2001-08-08 16:19:30 +00:00
obrien
b8f4f22990 Support the new "-i" (output MIME type strings) option by installing
the MIME files (both regular and precompiled).
2001-08-08 16:10:16 +00:00
obrien
1e95bfdcca Build and use the precompiled magic file. Precompiled magic files have
been supported since version 3.35, however it is just with version 3.36
that file has become verbose about it.
2001-08-08 15:53:58 +00:00
obrien
a0b366b942 Update to version 3.36. 2001-07-30 03:50:24 +00:00
obrien
5a7612fe44 Update to version 3.36.
I had to hack print.c due to some new bits that only compile on NetBSD.
I could not figure what the analogous FreeBSD bits are.
2001-07-30 03:50:04 +00:00
dd
911ca14c87 Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
ru
89596e4538 MAN[1-9] -> MAN. 2001-03-27 10:52:19 +00:00
ru
8a6f8b5fe4 mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
ru
a703a84786 Remove hard-sentence breaks, canonify .Dd (no leading zero). 2000-12-12 14:46:55 +00:00
phantom
697c4f2cd8 Re-add home born file(1) and magic(5) manual pages. Update them to
current file(1) version (3.33)

Approved by:	obrien
2000-12-11 15:50:04 +00:00
obrien
734ffeb5ee Use the vendor's manpages (which are in old -man format) rather than
our modified one based on a much older version of the vendor's manpage.
2000-11-26 22:19:56 +00:00
ru
835a46c9c2 mdoc(7) police: do not split author names in the AUTHORS section. 2000-11-22 09:35:58 +00:00
ru
0d1334ca0c mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
ru
a6f5d950d8 Avoid use of direct troff requests in mdoc(7) manual pages. 2000-11-10 17:46:15 +00:00
obrien
f95e798de3 Switch over to using the Christos Zoulas maintained version in contrib/
This also gives use the same exact results as NetBSD, thus sharing more
code with our bretheren.
2000-11-05 09:06:06 +00:00
brian
9ccce83dc8 Include sys/types.h 2000-10-16 08:13:59 +00:00
green
17cd35207e Add the RealMedia file format. Also, add the $FreeBSD$. 2000-07-03 04:59:37 +00:00
archie
a31736f356 Identify timezone data files by their ``TZif'' magic number.
Add $FreeBSD$ tag.
2000-03-14 21:28:22 +00:00
sheldonh
49c4458c80 Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
2000-03-01 12:20:22 +00:00
mpp
8efad4996b Fxi various man pages to stop abusing the .Bx macro to generate
the string "FreeBSD".  Use the .Fx macro instead.  Also did some
minor re-wording/formatting to work around a deficiency with
the .Fx macro when it comes to puncuation characters other than
periods and commas.
2000-01-23 01:48:16 +00:00
phantom
353c1a6746 Correct spelling : ascii -> ASCII
PR:		docs/13702
Submitted by:	Stephen J. Roznowski <sjr@home.com>
Reviewed by:	mpp
1999-09-20 09:15:23 +00:00
peter
3b842d34e8 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
wes
0d2dd20d4a Vastly improve the speed of the file command by making
the expected size of the magic(5) database agree with the
real world.  Also, improve the behavior of the realloc
mechanism when the magic database does exceed expectations.

Reviewed by:	Peter Jeremy, Matt Dillon
Obtained from:	Peter Edwards <peter.edwards@isocor.ie>
1999-07-22 01:22:08 +00:00
phk
15ee2ac7e1 Don't go looking for weird #includes if major isn't a macro. 1999-05-10 18:06:37 +00:00
imp
b8e447f74e Add Hitachi SH-3, SH-4, ARM, PPC, 68k PA-ARCH and a few others to PE
file types.  Also add bit interpretation from NetBSD to give more
details about the file.
1999-01-09 00:43:27 +00:00
obrien
0fe57f402d New file formats.
Obtained from:	NetBSD-current/src/usr.bin/file/magdir
1998-11-15 03:35:10 +00:00
obrien
817362682f Additional file formats.
Obtained from:	NetBSD-current/src/usr.bin/file/magdir/msdos
1998-11-15 03:34:31 +00:00
imp
ceebcabfd1 Added Microsoft's PE formatted executables for mips, i386 and Alpha.
Also added entry for the debugger files as well.  The PE format is
used for all Win32 platforms (Win95, Win98, WinNT and WinCE), so it is
nice to be able to tell what kind of thing the foo.dll....  Don't have
any data for powerpc formats, however...
1998-10-22 04:41:34 +00:00
jdp
799457cc9c Don't try to print out the signal number that caused core to be
dumped.  It is not in a fixed location in the file, so at best,
garbage comes out.  I don't think this code was ever valid.
1998-10-09 01:43:08 +00:00
jdp
590984c836 Fix "file" so that it prints the program names from core files
correctly.
1998-10-03 04:38:58 +00:00
obrien
18dba2fe21 Remove useless `BINOWN=root' now that it is the default. 1998-09-19 22:42:06 +00:00
cracauer
78bcd559ac Correct zsh shell script entry.
PR:		bin/7657
Submitted by:	Dom Mitchell dom@phmit.demon.co.uk
1998-09-07 16:27:24 +00:00
phk
6c47025598 This PR contains additional magic for file(1) describing
various adventure game data files.

from Allen Garvin <earendil@faeryland.tamu-commerce.edu>
Edited by Dave Chapeskie <dchapes@ddm.on.ca> Jun 28, 1998

PR:		7466
Reviewed by:	phk
Submitted by:	The Frobozz Magic Homing Pigeon Company
1998-08-07 06:26:37 +00:00
charnier
409a50cddf .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 07:48:45 +00:00
jb
eb649fea4a Can't use ~0L to compare against a uint32. Use ~((uint32) 0) instead. 1998-02-20 04:57:33 +00:00
jb
bc76bfde94 Add #include <string.h> to get prototypes. 1998-02-20 04:54:00 +00:00
charnier
e96872ebce Convert to mdoc. Move Id to the top. 1998-02-04 07:29:20 +00:00
charnier
50e896a2ce Add rcsid. RU#. Use err(3) instead of local redefinition. Convert man page to
mdoc format. Add usage(). Remove rcs $ Log $ -> use cvs log instead.
1998-01-28 07:36:25 +00:00
steve
2fba0f4632 /etc/magic -> /usr/share/misc/magic
PR:		docs/4872
1997-11-04 03:56:56 +00:00
ache
1d704478e4 Check for invalid lower controls to not claim binary data with chars < 128 as
ASCII _text_
Cleanup names detection code
1997-10-04 01:03:28 +00:00
obrien
4e5976e297 Add magic for FIGlet fonts and controlfiles
Obtained from:	Figlet v2.2 release.
1997-06-29 10:06:56 +00:00