[comp.binaries.apple2] AUFS fixer init for GS appleshare

toddpw@truebalt.caltech.edu (Todd P. Whitesel) (05/19/91)

If you are using the CAP AppleShare package from your GS and are sick of
$0053 errors, try this init out. It patches out the GS/OS vectors (both
stack and P16; don't worry, it doesn't crash Orca) and checks for Open,
GetDirEntry, and GetFileInfo calls. If the parameter block contains the
necessary information, the filetype values will be forced to binary if
the filesystem is AppleShare and the filetypes are invalid (they will be
if they come from the AUFS server). Mac AppleShare is not interfered with.

If there is lots of demand then I will extend the init to use the Mac filetype
information to store the ProDOS info (AUFS will then remember filetypes).

WARNING: files written to the server will be binary (no CR to LF translation)
but files read from the server are almost always text (LF to CR translation).
This makes it hard to read binaries from the unix host.

Todd Whitesel
toddpw @ tybalt.caltech.edu

FiLeStArTfIlEsTaRt
ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789()
DAUFS           AIAfAAAAAY74DIQA2uJAbSQMEcgtAIAfAo0O
AAgoAAAAZBAAAAAAEAAAAAgABAQAAAAgAAAAAAAAAAAAAEAAAAAAAwCAgAwQgACI
gACIgACIF5HDyBHezNXZh9GTZJPZAAAAAAAAAAAAAAgCAAAACAAAAwOAHCAAAAQA
AIwcAgAAAAAACQAABAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAAJBANAAAAgAAAgACI
gACIgACIgAiCgACIgACIAACIAEg2AAAAHCAAAAQAEAAAAAgAAAQAAAAAAAAAAAAA
AAAAAIAAAAAAAADAAAQRAAAAgACIgACIgACIgoAIgACIgACIgACIBco8LCAAitEC
0DgRryFAQK2SAQPALtKXpL2q4p))Ag6rx1Z4q(KAdGOAvCwchDAsAobnAI7r82Z4
PiGAhDAsy(IaoFOAAg6jPiW4hDgqrtKKwuPGCjAILsDMgq1W3CQAcksAUAPIgYQy
J)A8wDCEronCBAIK)z1(U)))btTAUXA1JU6A3OQhFUoA3iMyHUoA3iMyJUoAYIQp
AYQa6JQhAiyK7jBAIcBsjCjwckcBSAPIgYQyJ3A8wDCEAiCCctfA))))IlwoIlwo
IlwoHM6SoAwgAorIIgEA7cBsbp1CJjQpwDCHGkcJMBPIgARy6JH8GM6KjywgKMIB
DCwoCMaC7gwgHkGGotBAnuGKHksCiAJAAABoJqwtw)PAGkKGKcJAJrwpQCQDsAKD
AkKAKcJAXiMy5KoCKc6)AMQygGCk3CACAkoCXA))AYQqnqwlEksCLAJApiMyXCAA
IjsCCqwln(vjGksChAJAA4AoJqwtw)PAGk6FKcJAJrwpQCwBIj8CAAQqIrwlKcJy
)PmgAMw9BAAAA4MAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AUEW