I just installed the downloadable version of Squeak 3.5 on a Windows XP machine.
I can start Squeak on local images (i.e. on the C: drive).
that is, this works from a cmd prompt:
cd /d c:\squeak squeak.exe squeak.image
I tried to open an image several ways, but am not able to start up images on network shares.
For instance, this doesn't work:
c:\squeak\squeak.exe \ned\homes\Squeak\3.6\squeak.image
even though I can in fact see the image file in the explorer.
Squeak complains that it can't find the file.
Why doesn't this work?
If I map a drive it works, though very very slowly:
map h: \ned\homes c:\squeak\squeak.exe h:\Squeak\3.6\squeak.image
But I was trying to avoid mapped drives, since they seem to be just "tacked on" to NT (i.e. they have to go through a translation to become native resource names, etc.) and they're something else that can break.
Ned,
c:\squeak\squeak.exe \ned\homes\Squeak\3.6\squeak.image
Squeak complains that it can't find the file.
Why doesn't this work?
Good question. I don't know. Can you open a network file when you run Squeak locally? (you may have to go to the primitive directly as I don't know if non-mapped network file systems are recognized correctly - there are quite a number of places where drive names are expected). If you can, then it's probably an issue with using fopen() (from msvcrt.dll) vs. CreateFile().
Cheers, - Andreas
On Wednesday 30 April 2003 07:34 pm, Andreas Raab wrote:
Ned,
c:\squeak\squeak.exe \ned\homes\Squeak\3.6\squeak.image
Squeak complains that it can't find the file.
Why doesn't this work?
Good question. I don't know. Can you open a network file when you run Squeak locally? (you may have to go to the primitive directly as I don't know if non-mapped network file systems are recognized correctly - there are quite a number of places where drive names are expected). If you can, then it's probably an issue with using fopen() (from msvcrt.dll) vs. CreateFile().
Yes, it seems to work OK.
f _ StandardFileStream new open: '\ned\homes\test2.txt' forWrite: true. f nextPutAll: 'testing'. f close.
f _ StandardFileStream new open: '\ned\homes\test2.txt' forWrite: false. f next: 200. " print it, it's OK" f close.
Did this ever get resolved? I recently wanted to do exactly this: open an image on a networked machine under XP and had the same problem (version 3.6). Also I note that when you get a file list, network shares (even mapped drives) do not appear. As Ned noted you can open network paths without much trouble. Any updates? Thanks.
Tim Andrews
On Wed, 30 Apr 2003 20:13:24 -0700, you wrote:
On Wednesday 30 April 2003 07:34 pm, Andreas Raab wrote:
Ned,
c:\squeak\squeak.exe \ned\homes\Squeak\3.6\squeak.image
Squeak complains that it can't find the file.
Why doesn't this work?
Good question. I don't know. Can you open a network file when you run Squeak locally? (you may have to go to the primitive directly as I don't know if non-mapped network file systems are recognized correctly - there are quite a number of places where drive names are expected). If you can, then it's probably an issue with using fopen() (from msvcrt.dll) vs. CreateFile().
Yes, it seems to work OK.
f _ StandardFileStream new open: '\ned\homes\test2.txt' forWrite: true. f nextPutAll: 'testing'. f close.
f _ StandardFileStream new open: '\ned\homes\test2.txt' forWrite: false. f next: 200. " print it, it's OK" f close.
Now here's a funny fing to file under the 'funniest things since mad Mick McMad won the Maddest Man competition' folder. After much pondering about what goes on in my VM when Morphic is in action, I found that changing the platform code attached to ioForceDisplayUpdate to do nothing made Morphic run 3-5 times faster. It's amazing - I know have snappy response menus, typing goes smoothly, drag-selecting is fine, all that stuff. So far I can only surmise that something about the prim implementation/usage was massively overpowering the graphics system. Right now though I'm just enjoying the new pleasures of a usable UI :-)
tim
Wow Tim. Please do that for my pentium next, would you. :)
squeak-dev@lists.squeakfoundation.org