Subject: bin/3080: /etc/magic entry for Apple II NuFX archive is incorrect
To: None <>
From: Dave Huang <>
List: netbsd-bugs
Date: 01/04/1997 18:29:55
>Number:         3080
>Category:       bin
>Synopsis:       /etc/magic entry for Apple II NuFX archive is incorrect
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan  4 16:35:01 1997
>Originator:     Dave Huang
Name: Dave Huang     |   Mammal, mammal / their names are called /
INet:   |   they raise a paw / the bat, the cat /
FurryMUCK: Dahan     |   dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 21 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++
>Release:        January 3, 1997
System: NetBSD 1.2B NetBSD 1.2B (SPIFF) #1: Wed Jan 1 18:43:50 CST 1997 i386

The /etc/magic entry for Apple II ShrinkIt archives (aka NuFX or
NuFile Exchange) is incorrect. The ID for NuFX files is "NuFile", but
with the high bit alternating between 0 and 1, i.e. 0x4e 0xf5 0x46
0xe9 0x6c 0xe5. The first /etc/magic entry, "NuFile" would actually be
for a corrupted archive, one transferred through a 7-bit link,
perhaps. The second entry, "N\xf5F\xe9l\xe5", doesn't work because of
the "\xf5F" being interpreted as one character, instead of two.

Run file on a ShrinkIt archive (available from Apple II software
archives, such as :)

--- /usr/src/usr.bin/file/magdir/apple	Fri Oct 13 22:07:08 1995
+++ apple	Sat Jan  4 18:12:28 1997
@@ -6,5 +6,4 @@
 0	string		\x0aGL			Binary II (apple ][) data
 0	string		\x76\xff		Squeezed (apple ][) data
 0	string		SIT!			StuffIt (macintosh) text
-0	string		NuFile			NuFile archive (apple ][) data
-0	string		N\xf5F\xe9l\xe5		NuFile archive (apple ][) data
+0	string		N\365F\351l\345		NuFile archive (apple ][) data