Commit Graph

79 Commits

Author SHA1 Message Date
Dima Dorfman f247324df7 Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
Ruslan Ermilov dc12be5258 MAN[1-9] -> MAN. 2001-03-27 10:52:19 +00:00
Ruslan Ermilov d0353b836e mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
Ruslan Ermilov 65d9e0e006 Remove hard-sentence breaks, canonify .Dd (no leading zero). 2000-12-12 14:46:55 +00:00
Alexey Zelkin 2f3408b204 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
David E. O'Brien 5576244cd6 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
Ruslan Ermilov f4d874a1db mdoc(7) police: do not split author names in the AUTHORS section. 2000-11-22 09:35:58 +00:00
Ruslan Ermilov 8fe908ef0c mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
Ruslan Ermilov 726b61ab5f Avoid use of direct troff requests in mdoc(7) manual pages. 2000-11-10 17:46:15 +00:00
David E. O'Brien de16accdd0 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 Somers aab6541484 Include sys/types.h 2000-10-16 08:13:59 +00:00
Brian Feldman dc5413843d Add the RealMedia file format. Also, add the $FreeBSD$. 2000-07-03 04:59:37 +00:00
Archie Cobbs 6a469f6dc1 Identify timezone data files by their ``TZif'' magic number.
Add $FreeBSD$ tag.
2000-03-14 21:28:22 +00:00
Sheldon Hearn 87faa07bec 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
Mike Pritchard f3c2973db7 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
Alexey Zelkin c6d6e7726f 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 Wemm c3aac50f28 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
Wes Peters 1f20fb8802 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
Poul-Henning Kamp 38fc822d7f Don't go looking for weird #includes if major isn't a macro. 1999-05-10 18:06:37 +00:00
Warner Losh 94a553c632 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
David E. O'Brien 216a4d993b New file formats.
Obtained from:	NetBSD-current/src/usr.bin/file/magdir
1998-11-15 03:35:10 +00:00
David E. O'Brien 0fe4a4090f Additional file formats.
Obtained from:	NetBSD-current/src/usr.bin/file/magdir/msdos
1998-11-15 03:34:31 +00:00
Warner Losh ad180a3533 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
John Polstra de486d8863 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
John Polstra 7a567f3a04 Fix "file" so that it prints the program names from core files
correctly.
1998-10-03 04:38:58 +00:00
David E. O'Brien be0cde6f10 Remove useless `BINOWN=root' now that it is the default. 1998-09-19 22:42:06 +00:00
Martin Cracauer 35923ba71d 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
Poul-Henning Kamp 86f347ae38 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
Philippe Charnier 306005e78c .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 07:48:45 +00:00
John Birrell ae25b713c6 Can't use ~0L to compare against a uint32. Use ~((uint32) 0) instead. 1998-02-20 04:57:33 +00:00
John Birrell 2a0373c39a Add #include <string.h> to get prototypes. 1998-02-20 04:54:00 +00:00
Philippe Charnier fb9d8a6886 Convert to mdoc. Move Id to the top. 1998-02-04 07:29:20 +00:00
Philippe Charnier 76cd8d66fe 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 Price 298c00f5f9 /etc/magic -> /usr/share/misc/magic
PR:		docs/4872
1997-11-04 03:56:56 +00:00
Andrey A. Chernov b7536ed531 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
David E. O'Brien 5f88d2b8b4 Add magic for FIGlet fonts and controlfiles
Obtained from:	Figlet v2.2 release.
1997-06-29 10:06:56 +00:00
Mike Pritchard 1e97ca0116 Remove the etc-magic target since we no longer install the
/etc/magic symlink.
1997-04-04 02:42:53 +00:00
Mike Pritchard 9753286fae The magic file now lives in /usr/share/misc.
Closes PR# 3187.

Submitted by:	Ollivier Robert <roberto@keltia.freenix.fr>
1997-04-04 02:41:01 +00:00
John Polstra a8e37af87a Fix broken built-in ELF file handling, caused by missing prototypes
and use of off_t.  Correct the types of Elf64_Addr and Elf64_Off.
1997-03-29 22:26:03 +00:00
Warner Losh 1c8af87873 compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.
1997-03-29 04:34:07 +00:00
Mike Pritchard 69a98adb93 I had to rename one additional file in the last file import, so
update this script to reflect that.
1997-03-20 23:34:11 +00:00
Mike Pritchard f5d13782b3 The author picked up this file from FreeBSD, but gave it a different name
in file v3.22, so this one is going away.
1997-03-18 19:39:26 +00:00
Mike Pritchard 76918e1ad4 Merge to resolve conflicts with file 3.22 merge. 1997-03-18 19:37:41 +00:00
Mike Pritchard 0f8988b492 This commit was generated by cvs2svn to compensate for changes in r23988,
which included commits to RCS files with non-trunk default branches.
1997-03-18 18:00:03 +00:00
Mike Pritchard 094f1e246b Upgrade to file version 3.22.
Obtained from: ftp://ftp.deshaw.com/pub/file/file-3.22.tar.gz
1997-03-18 18:00:03 +00:00
Peter Wemm c115df18cd Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
Peter Wemm 53faa0dade Revert $FreeBSD$ to $Id$ 1997-02-22 19:29:21 +00:00
Poul-Henning Kamp f2071a9cf6 Add framemaker 5.0.
This file could be rationalized I belive.
1997-02-04 17:06:19 +00:00
Jordan K. Hubbard 1130b656e5 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
Joerg Wunsch 4205b53dc0 Move the check for ASCIIness earlier. This avoids the following
misdetection:

j@uriah 307% file X.hga
X.hga: 80386 COFF executable not stripped
j@uriah 308% strings X.hga | head -3
~f&`i
.text
.data
j@uriah 309% strings X.hga | file -
standard input:              assembler program text

New version:

j@uriah 310% strings X.hga | ./file -
standard input:              International language text

Reviewed by:	christos@deshaw.com (Christos Zoulas)
1996-12-20 22:19:18 +00:00