proxy

Package: WA2L/WinTools 1.2.08
Section: Library Commands (3)
Updated: 02 September 2017
Index Return to Main Contents

 

NAME

proxy - apply proxy settings

 

SYNOPSIS

WA2LWinTools/lib/proxy [ -h | -V | -p ]

proxy

 

AVAILABILITY

WA2L/WinTools

 

DESCRIPTION

this command is used to set the %HTTP_PROXY% and %HTTPS_PROXY% settings as defined in the etc/proxy.hostname.cfg , etc/proxy.domainname.cfg or etc/proxy.cfg configuration files.

The hostname is resolved from the %COMPUTERNAME% environment variable, the domainname from %USERDOMAIN%.

The configuration file containing the hostname has preference over the proxy.domainname.cfg file, if it exists on the related host.

The configuration file containing the domainname has preference over the proxy.cfg file, if it exists on the related host.

 

OPTIONS

 
apply settings from related configuration file.

-h
program usage.

-V
print program version.

-p
print currently applied %HTTP_PROXY% and %HTTPS_PROXY% settings.

 

ENVIRONMENT

%COMPUTERNAME%
host name of the computer.

%USERDOMAIN%
domain name where the computer is member of.

%HTTP_PROXY%
proxy for tools using the HTTP protocol.

%HTTPS_PROXY%
proxy for tools using the HTTPS protocol.

 

EXIT STATUS

0
no error.

4
usage message printed.

5
program version printed.

 

FILES

etc/proxy.hostname.cfg
etc/proxy.domainname.cfg
etc/proxy.cfg
optional configuration file to define proxy settings. See proxy.cfg(4) for more information.

 

EXAMPLES

-

 

SEE ALSO

wintoolsintro(1), curl(1), proxy.cfg(4), wget(3), wintoolsdownload(1m), wtshell(1m)

 

NOTES

-

 

BUGS

-

 

AUTHOR

proxy was developed by Christian Walther. Send suggestions and bug reports to wa2l@users.sourceforge.net .

 

COPYRIGHT

Copyright © 2020 Christian Walther

This is free software; see WA2LWinTools/man/COPYING for copying conditions. There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


 

Index

NAME
SYNOPSIS
AVAILABILITY
DESCRIPTION
OPTIONS
ENVIRONMENT
EXIT STATUS
FILES
EXAMPLES
SEE ALSO
NOTES
BUGS
AUTHOR
COPYRIGHT

This document was created by man2html using the manual pages.
Time: 16:32:44 GMT, September 14, 2024