[Pharo-project] VM - Internet Settings?
I would like to gauge how many Pharo-ers think that it would be great to have the Network/Internet Settings as part of the VM rather than the Image. I reckon the network setting are (just like display, sound, mouse and printer settings) dependent on the computer and environment an image is running on and not necessarily the image itself. -- View this message in context: http://forum.world.st/VM-Internet-Settings-tp2257076p2257076.html Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
On Wed, Jun 16, 2010 at 10:49 AM, Geert Claes <geert.wl.claes@gmail.com>wrote:
I would like to gauge how many Pharo-ers think that it would be great to have the Network/Internet Settings as part of the VM rather than the Image. I reckon the network setting are (just like display, sound, mouse and printer settings) dependent on the computer and environment an image is running on and not necessarily the image itself.
Here's the trick to set preferences for all images: http://book.pharo-project.org/book/TipsAndTricks/PharoRC Cheers, Laurent Laffont http://pharocasts.blogspot.com/ http://magaloma.blogspot.com/ --
View this message in context: http://forum.world.st/VM-Internet-Settings-tp2257076p2257076.html Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
laurent laffont wrote:
Here's the trick to set preferences for all images: http://book.pharo-project.org/book/TipsAndTricks/PharoRC
To connect to the Internet will be the same on the same machine for all Images, so it would be nice if the network settings should actually be derived from the OS, like most web browsers do. I can see that a working repository could fall more or less in the same category. Name, font and background is probably more an Image rather than an environment or VM thing though. -- View this message in context: http://forum.world.st/VM-Internet-Settings-tp2257076p2257142.html Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
By the way, could someone help me how to set my Image to "Use automatic configuration script" URL, something like "http://someproxy.company.com:8080/array.dll?Get.Routing.Script"? -- View this message in context: http://forum.world.st/VM-Internet-Settings-tp2257076p2257147.html Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
Hi You asked this question before I think on the users list. Someone would have to write a parser for the specific formats returned. In this case i think they are a ms specific text format. The more common auto config files are JavaScript and require a parser or mini execution environment to evaluate. Thanks mike On 16 Jun 2010, at 11:20, Geert Claes <geert.wl.claes@gmail.com> wrote:
By the way, could someone help me how to set my Image to "Use automatic configuration script" URL, something like "http://someproxy.company.com:8080/array.dll?Get.Routing.Script"? -- View this message in context: http://forum.world.st/VM-Internet-Settings-tp2257076p2257147.html Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Michael Roberts-2 wrote:
You asked this question before I think on the users list.
Hi Mikael, yep, I have been struggling with that one for a little while now (submitted an issue ticket too), just posted my debug findings :) -- View this message in context: http://forum.world.st/VM-Internet-Settings-tp2257076p2258364.html Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
Michael Roberts-2 wrote:
Someone would have to write a parser for the specific formats returned. In this case i think they are a ms specific text format. The more common auto config files are JavaScript and require a parser or mini execution environment to evaluate.
The "URL/array.dll?Get.Routing.Script" returns a Javascript file. See: http://support.microsoft.com/kb/270524 -- View this message in context: http://forum.world.st/VM-Internet-Settings-tp2257076p2258392.html Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
Hi Geert, I'm rather strongly for moving things the other way around (from VM to the image)! We'll have more control, and all in Smalltalk. Still, we need a better communication/integration between pharo and the hosting OS. Retrieving network setting from the OS (an not from a preference file) is typically the kind of thing that I'd like to have. Noury On 16 juin 2010, at 10:49, Geert Claes wrote:
I would like to gauge how many Pharo-ers think that it would be great to have the Network/Internet Settings as part of the VM rather than the Image. I reckon the network setting are (just like display, sound, mouse and printer settings) dependent on the computer and environment an image is running on and not necessarily the image itself. -- View this message in context: http://forum.world.st/VM-Internet-Settings-tp2257076p2257076.html Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
+1 ________________________________________ From: pharo-project-bounces@lists.gforge.inria.fr [pharo-project-bounces@lists.gforge.inria.fr] On Behalf Of Noury Bouraqadi [bouraqadi@gmail.com] Sent: Wednesday, June 16, 2010 8:03 AM To: Pharo-project@lists.gforge.inria.fr Subject: Re: [Pharo-project] VM - Internet Settings? Hi Geert, I'm rather strongly for moving things the other way around (from VM to the image)! We'll have more control, and all in Smalltalk. Still, we need a better communication/integration between pharo and the hosting OS. Retrieving network setting from the OS (an not from a preference file) is typically the kind of thing that I'd like to have. Noury On 16 juin 2010, at 10:49, Geert Claes wrote:
I would like to gauge how many Pharo-ers think that it would be great to have the Network/Internet Settings as part of the VM rather than the Image. I reckon the network setting are (just like display, sound, mouse and printer settings) dependent on the computer and environment an image is running on and not necessarily the image itself. -- View this message in context: http://forum.world.st/VM-Internet-Settings-tp2257076p2257076.html Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Bouraqadi Noury wrote:
I'm rather strongly for moving things the other way around (from VM to the image)!
I agree. Network settings are now defined in the OS and need to be set again in the Image. When I suggested moving the network settings to the VM I was thinking along the lines of how web browsers manage their connection to the Internet. Web browsers seem to either link directly to the OS network settings (IE and Chrome) or extract the settings from the OS (Firefox and Opera). Bouraqadi Noury wrote:
Retrieving network setting from the OS (an not from a preference file) is typically the kind of thing that I'd like to have.
Absolutely, I'd rather not duplicate the network settings in the Image but have the system use the OS's network settings so the same Image can be used on machines with different network settings without the need to change these settings. -- View this message in context: http://forum.world.st/VM-Internet-Settings-tp2257076p2257285.html Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
I have not taken this leap yet, but I have been assuming I would use os process to run ifconfig (ipconfig when forced<g>) and parse the output. Please feel free to beat me to it :) ________________________________________ From: pharo-project-bounces@lists.gforge.inria.fr [pharo-project-bounces@lists.gforge.inria.fr] On Behalf Of Geert Claes [geert.wl.claes@gmail.com] Sent: Wednesday, June 16, 2010 8:48 AM To: pharo-project@lists.gforge.inria.fr Subject: Re: [Pharo-project] VM - Internet Settings? Bouraqadi Noury wrote:
I'm rather strongly for moving things the other way around (from VM to the image)!
I agree. Network settings are now defined in the OS and need to be set again in the Image. When I suggested moving the network settings to the VM I was thinking along the lines of how web browsers manage their connection to the Internet. Web browsers seem to either link directly to the OS network settings (IE and Chrome) or extract the settings from the OS (Firefox and Opera). Bouraqadi Noury wrote:
Retrieving network setting from the OS (an not from a preference file) is typically the kind of thing that I'd like to have.
Absolutely, I'd rather not duplicate the network settings in the Image but have the system use the OS's network settings so the same Image can be used on machines with different network settings without the need to change these settings. -- View this message in context: http://forum.world.st/VM-Internet-Settings-tp2257076p2257285.html Sent from the Pharo Smalltalk mailing list archive at Nabble.com. _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Did a quick Google and it looks like the Chromium project has put quite some thought into it :) On Chrome, "chrome://net-internals/proxyservice.config" gives the OS proxy configuration. On windows they use WinINet (http://msdn.microsoft.com/en-us/library/aa383630(VS.85).aspx) functions. More info: http://dev.chromium.org/developers/design-documents/proxy-settings-fallback -- View this message in context: http://forum.world.st/VM-Internet-Settings-tp2257076p2257393.html Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
participants (5)
-
Geert Claes -
laurent laffont -
Michael Roberts -
Noury Bouraqadi -
Schwab,Wilhelm K