Commit Graph

4 Commits

Author SHA1 Message Date
Stephen Heumann c4286a024e Add options to give somewhat better compatibility with the AFP server in OS X 10.5.
*The OS X server doesn't support ProDOS-type file type info, so trying to set it will give an error. This normally causes GS/OS to give an error when creating a file. There is now an option to ignore the error and proceed with creating the file, although the file type still won't be set.

*The OS X server seems to restrict each write operation to a small size based on the ASP quantum, so there is now an option for this. Using this option means we may write less than requested, but the AppleShare FST can detect this and proceed to write the rest.
2017-04-22 18:46:26 -05:00
Stephen Heumann 350204f78a Switch to using two-character codes for options and parsing them in the zone name.
This allows more options, and it avoids having to manually specify the strings for all option combinations.
2017-04-22 15:39:02 -05:00
Stephen Heumann 78a300f799 Add an option to tell the server that the GS is going to sleep after each command sent.
This tells the server to keep the session alive (typically for at least several hours) without sending or expecting tickles. This is useful in cases where our run queue procedure is not run regularly or at all, e.g. in text-mode shells.

The implementation here is geared toward compatibility with Netatalk and differs from Apple's published standards in a couple ways. It may or may not work with other servers.
2017-04-21 21:09:57 -05:00
Stephen Heumann 695f2d8611 Implement infrastructure (in init and CDev) to support options encoded in the zone name. 2017-04-14 22:16:55 -05:00