I don't see much that's helpful in the ACL manual
http://preview.tinyurl.com/y8nfazw --- how user-homedir-pathname behaves on windows
Beyond that, I'd suggest sending email to bugs@franz.com to ask for advice.
For that matter, Gary King was kinda deputized to speak for Allegro in this forum. Gary, are you there? Could you help Faré dig up information about where to dump special files in Windows with ACL?
Hi Robert,
I am here but not as much as I'd like to be...
Using an environment variable on Windows seems like a good plan to me. We could document which vars to use and then use the get/set env stuff already in AG to be consistent across platforms.
Does anyone know where the Lispworks get-folder-path destinations actually point?
On Mar 16, 2010, at 10:14 AM, Robert Goldman wrote:
I don't see much that's helpful in the ACL manual
http://preview.tinyurl.com/y8nfazw --- how user-homedir-pathname behaves on windows
Beyond that, I'd suggest sending email to bugs@franz.com to ask for advice.
For that matter, Gary King was kinda deputized to speak for Allegro in this forum. Gary, are you there? Could you help Faré dig up information about where to dump special files in Windows with ACL?
-- Gary Warren King, metabang.com Cell: (413) 559 8738 Fax: (206) 338-4052 gwkkwg on Skype * garethsan on AIM * gwking on twitter
I don't have access to a windows machine or a windows lisp implementation, but in asdf 1.642, I cargo-culted some paths, based on http://www.lispworks.com/documentation/lw60/LW/html/lw-1316.htm#marker-10268... and http://windowsxp.mvps.org/usershellfolders.htm (which I found by googling for get-folder-path and for common-appdata).
I presume to be correct, one would have to always consult the registry keys first. I don't know how to do that in any Lisp. I don't even know if there are actually defined environment variables USERPROFILE and ALLUSERSPROFILE...
NB: the code is wholly untested. It would be great if some windows users would test and report any bug, or even better, provide a patch.
PS: 1.643 is released, with a slight API fix to system-relative-pathname. Although slightly incompatible, the new API is compatible with what was previously documented, and I'm documenting more. It was also recent and not too much used, so shouldn't be an issue.
[ François-René ÐVB Rideau | Reflection&Cybernethics | http://fare.tunes.org ] The only way for a reporter to look at a politician is down. — H.L. Mencken
On 16 March 2010 13:51, Gary King gwking@metabang.com wrote:
Hi Robert,
I am here but not as much as I'd like to be...
Using an environment variable on Windows seems like a good plan to me. We could document which vars to use and then use the get/set env stuff already in AG to be consistent across platforms.
Does anyone know where the Lispworks get-folder-path destinations actually point?