Path: ns-mx!iowasp.physics.uiowa.edu!maverick.ksu.ksu.edu!zaphod.mps.ohio-state.edu!mips!bridge2!jarthur!nntp-server.caltech.edu!toddpw From: toddpw@truebalt.caltech.edu (Todd P. Whitesel) Newsgroups: comp.binaries.apple2 Subject: AUFS fixer init for GS appleshare Message-ID: <1991May19.092104.3479@nntp-server.caltech.edu> Date: 19 May 91 09:21:04 GMT Sender: toddpw@nntp-server.caltech.edu (Todd P. Whitesel) Organization: California Institute of Technology, Pasadena Lines: 36 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