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
bde
714aeaae49
Finish importing Lite2's src/usr.bin, except for ex, diff, grep, mail,
...
pascal and vmstat.sparc. All changed files on the vendor branch should
already have been imported.
1997-07-06 06:54:14 +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
mpp
ccdea7307d
Remove the etc-magic target since we no longer install the
...
/etc/magic symlink.
1997-04-04 02:42:53 +00:00
mpp
50fe179bc7
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
jdp
680df75eef
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
imp
141381e1cb
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
mpp
23312b97ed
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
mpp
180a9eac68
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
mpp
c80207ab49
Merge to resolve conflicts with file 3.22 merge.
1997-03-18 19:37:41 +00:00
mpp
12c550bd9f
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
mpp
8bba93cbbd
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
peter
f390c26dd9
Revert $FreeBSD$ to $Id$
1997-02-22 19:58:13 +00:00
peter
ca6ca83982
Revert $FreeBSD$ to $Id$
1997-02-22 19:29:21 +00:00
phk
ffd9cd487a
Add framemaker 5.0.
...
This file could be rationalized I belive.
1997-02-04 17:06:19 +00:00
jkh
808a36ef65
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
581f3e28c3
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
bde
70b4f8641f
Restored installation of /etc/magic. It's now a symlink instead of a
...
file (like /etc/termcap). /usr/src/etc/Makefile depends on there
being an etc-magic install rule here, and who-knows-what depends on
`magic' being in /etc.
Fixed some style bugs - don't use -c for installing files in the obj
directory...
1996-12-13 11:49:16 +00:00
joerg
2f3249e305
Add another matching algorithhm to do heuristics for international
...
language text files.
Should finally close PR # bin/1925: file does not consider cyrillic
text..., though i've never got any response from the originator about
my suggestion.
While i was at it, also move out the `magic' file to /usr/share/misc,
there's nothing that magic with this file to justify its life under
/etc.
1996-12-11 14:09:12 +00:00
ache
dd2cd30e2e
Detect GUS patches now
1996-11-17 11:03:07 +00:00
cvs2svn
bc2c46da37
This commit was manufactured by cvs2svn to create branch 'VENDOR-file'.
1996-10-24 15:49:52 +00:00
erich
41a87ae833
Teach file about:
...
1) our branded elf's
2) mpeg audio/video/system streams
3) compiled java classes
1996-10-24 15:49:51 +00:00
andreas
c70c65cc5d
Added magic file for bzip in ./Magdir
...
Obtained from: bzip sources ;)
1996-09-27 21:57:12 +00:00
jdp
b861646aff
Make "file foo.core" print the program name properly again.
1996-09-05 15:55:57 +00:00
wosch
dfb9d51f1f
make install should not install any file in /etc.
1996-08-17 22:27:08 +00:00
jkh
e6f22d1cfb
New magic file with more politically correct identification of objects
...
and execs.
Submitted-By: Brent Nordquist <nordquis@winternet.com>
1996-07-05 19:26:52 +00:00
jdp
93a995d6da
Update an offset field for i386 a.out core files, so that the program
...
name comes out right again.
Note: Don't bring this change directly into the -stable branch. The
appropriate offset for -stable is different.
1996-04-18 19:05:58 +00:00
jdp
258c3bc7fe
Fix a typo in the syntax for indirect offsets.
1996-04-18 18:17:14 +00:00
mpp
69247d533f
Fixed some minor formatting problems to silence manck some more.
...
Corrected some bogus cross references to man pages that we don't/won't
have and either deleted them, or found a more appropriate man page
that we do have. Various other minor changes to silence manck.
Manck is currently down to about 200 lines of errors, down from
the 500 - 600+ when I started all this.
1996-02-12 01:20:38 +00:00
wollman
f719d2ace3
Recognize ld.so.hints file. Don't ask.
1996-02-07 21:02:20 +00:00
mpp
6e83fbce86
Correct some manual page cross reference errors. E.g. su is a section
...
one man page, not section eight. This is the first round of such changes
and only fixes man pages in manual section one.
1996-02-02 00:26:12 +00:00
mpp
511d4f82b2
Fix a bunch of spelling errors in a bunch of man pages.
1996-01-30 13:52:50 +00:00
mpp
7e3b21a299
Merged changes to resolve conflicts with file 3.19 import.
1996-01-23 12:40:36 +00:00
mpp
c335a06568
Upgrade to file version 3.19.
1996-01-23 12:29:07 +00:00
mpp
bed6c740ce
This commit was generated by cvs2svn to compensate for changes in r13584,
...
which included commits to RCS files with non-trunk default branches.
1996-01-23 12:29:07 +00:00
phk
0327f513f6
Recognize Acrobat files too.
1995-10-19 15:19:03 +00:00
joerg
e394e6cc8d
Implement a rather gross hack to identify i386 a.out core files.
...
Takes advantage of some bytes in our current tss structure that
reliably have particular values (due to our current architecture or
CPU requirements).
1995-09-21 20:10:52 +00:00
joerg
56c45001bb
Add X11 XPM and BDF description strings. Alas, bitmaps do not have
...
anything usable as "magic string".
1995-09-17 19:22:00 +00:00
phk
08830e41cb
Sanitize the PGP strings a bit.
1995-08-03 07:11:45 +00:00
bde
f5284ed86d
Change install' to
${INSTALL}' so that default install flags can be
...
specified in the top level Makefiles.
1995-07-25 00:37:58 +00:00
mpp
257ccda014
Add magic cookie for Zyxel modems ADPCM4 encoding.
...
Submitted by: Henrik Vestergaard Draboel <hvd@terry.ping.dk>
1995-07-24 03:59:15 +00:00
rgrimes
a14d555c87
Remove trailing whitespace.
1995-05-30 06:41:30 +00:00
ache
d80ca2327e
Fix %d and others printing
...
Reviewed by: davidg
Submitted by: Bill Fenner <fenner@parc.xerox.com>
1995-05-24 02:54:30 +00:00
gibbs
f5c5f067b7
Add recognition of HP Printer Job Language (PJL) commands.
1995-03-24 01:17:29 +00:00
csgr
a56c0e9d5c
Shell script containing the steps followed in importing file(1).
...
Reviewed by: Geoff.
Submitted by: Rod Grimes.
1994-09-03 23:08:40 +00:00
csgr
3a7fc439ea
Changes to file(1) for FreeBSD:
...
- Makefile: bmake the sucker
- file.1, magic.5: replace __MAGIC__ and __SECTION__
- add Magdir/freebsd
- add file to usr.bin/Makefile
A note on the FreeBSD magic entry:
The magic number "000000407" is reported as "impure format". This
stops file(1) telling us that our object files are "PDP-11 executables".
(Saying anything more than "impure format" would probably be bogus.
Submitted by: Geoff.
1994-09-03 19:31:29 +00:00
csgr
8d1a4c7e86
Bring in file 3.14 by Ian Darwin (and Christos Zoulas)
...
The following files were moved to different names:
- file.man -> file.1
- magic.man -> magic.5
The following file was removed:
- Magdir/Makefile
1994-09-03 19:16:28 +00:00
rgrimes
1e5214367d
BSD 4.4 Lite Usr.bin Sources
1994-05-27 12:33:43 +00:00