David Hollis wrote:
On Fri, 2006-05-26 at 11:11 -0600, Philip Prindeville wrote:
I have a laptop that travels with me from work (where there's the
use of web proxies) to home (where I don't), and was overwhelmed
by the number of config files that I have to switch over every time
I move from one place to the other.
Most CLI apps will honor http_proxy/ftp_proxy environment variables for
proxying. GUI apps may or may not support that, I can't say that I've
tried. Gnome (and I'm sure KDE) have their own control panel setting
for that, but that only applies to apps that make use of their VFS
library. If they do their own web access, they may not honor it.
That's not sufficient. If you have a running system, which you unplug,
suspend, and plug back in, and resume on a new network... there is no
way to propagate new environment variables into existing processes.
And even if it were, it would not take effect with running processes.
It's easier to do it with a library that can check the status of the config
file each time a new connection request is made.
-Philip
--
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list