> Date: Tue, 22 Feb 2005 06:18:06 -0500
> From: "L.V.Gandhi" <[EMAIL PROTECTED]>
> To: [email protected]
> Subject: Re: [LIH]script problem
> 
> On Tue, 22 Feb 2005 15:19:45 +0530, Akash <[EMAIL PROTECTED]>
> wrote:
> > On Tue, 22 Feb 2005 18:25:34 +0900, Thaths <[EMAIL PROTECTED]>
> wrote:
> > > On Tue, 22 Feb 2005 04:16:02 -0500, L.V.Gandhi
> <[EMAIL PROTECTED]> wrote:
> > > > [EMAIL PROTECTED]:/home/lvgandhi# ./setproxy
> > > > [EMAIL PROTECTED]:/home/lvgandhi# echo $http_proxy
> > > >
> > > > [EMAIL PROTECTED]:/home/lvgandhi# cat setproxy
> > > > export http_proxy=http://150.1.35.36:3128
> > > > export ftp_proxy=http://150.1.35.36:3128
> > > > [EMAIL PROTECTED]:/home/lvgandhi# export
> http_proxy=http://150.1.35.36:3128
> > > > [EMAIL PROTECTED]:/home/lvgandhi# export
> ftp_proxy=http://150.1.35.36:3128
> > > > [EMAIL PROTECTED]:/home/lvgandhi# echo $http_proxy
> > > > http://150.1.35.36:3128
> > > >
> > > >  any solutions?
> > 
> > assuming this for bash, try this
> > 
> > prompt$ . setproxy
> > 
> > note the space in between the dot and setproxy
> Thanks. It has worked. But in mandrake script used to give desired
> result even with ./setproxy
> Any idea about the reason why it is not working in debian (kanotix)
> 

You can also call the script as shown above from ~/.bash_login or
~/.bashrc, if you want the above variables to be set globally.

Have not used Mandrake, but the above behavior is consistent on SuSE,
FCx, Slackware.

-- Arun Khan


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
linux-india-help mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to