In linux I can use export command
export http_proxy=192.168.2.3
export https_proxy=192.168.2.3
Is there something like that in Haiku?
In linux I can use export command
export http_proxy=192.168.2.3
export https_proxy=192.168.2.3
Is there something like that in Haiku?
Haiku unfortunately doesn’t have global proxy settings yet.
Most native applications don’t support the use of a proxy at all.
WebPositive does,if you launch it in Terminal with all_proxy=http://192.168.2.3 WebPositive
Most ported Qt and GTK application also support proxies if you launch them from the terminal with the proxy line.
Specifically for Qt applications,there’s also a global setting in the Network tab of Qt Configurator.
Note that you have to do it twice,since Qt5 and Qt6 have separate configurations: Qt Configurator (=Qt5) and Qt6 Configurator.
So is there any schedule about the global proxy settings?
No,I don’t think there is.
As you may know,each Haiku developer works on what they find important,there is no schedule that tells someone what to do next.
It could happen tomorrow,or in 5 years.
The export command works just like on Linux: only for the shell where you run it, and apps started inside that shell.
Maybe you can try to add it to some SetupEnvironment script that is run at startup, or maybe to laucnh daemon configuration?
But if the app is not QT-BASE,like git,then what can I do?
I can just ask AI
For git, basic web search suggests using:
git config --global http.proxy http://<username>:<password>@<proxy-server-url>:<port>