<feed xmlns='http://www.w3.org/2005/Atom'>
<title>browser, branch support-for-BROWSER-environment-variable</title>
<subtitle>Package browser provides helpers to open files, readers, and urls in a browser window.</subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/browser/'/>
<entry>
<title>Add support for the BROWSER environment variable</title>
<updated>2019-06-23T18:42:45+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2019-06-23T16:45:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/browser/commit/?id=884bf54a000924670c0a0d86f4c10c2278ff2daf'/>
<id>884bf54a000924670c0a0d86f4c10c2278ff2daf</id>
<content type='text'>
Allow user-defined URL-opening commands via the BROWSER environment
variable. This enables using a non-default browser, or changing the
browser for a single command.

For example, on Mac:

    $ export BROWSER='open -a Firefox'

Windows:

    &gt; setx BROWSER "start iexplore"

In UNIX environments, the command is run through `$SHELL -c`, or
`/bin/sh` if `$SHELL` is not set. On Windows, it uses `cmd /c`.

Ensure that URLs are properly quoted between UNIX and Windows
environments in `fmtBrowserCmd()`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Allow user-defined URL-opening commands via the BROWSER environment
variable. This enables using a non-default browser, or changing the
browser for a single command.

For example, on Mac:

    $ export BROWSER='open -a Firefox'

Windows:

    &gt; setx BROWSER "start iexplore"

In UNIX environments, the command is run through `$SHELL -c`, or
`/bin/sh` if `$SHELL` is not set. On Windows, it uses `cmd /c`.

Ensure that URLs are properly quoted between UNIX and Windows
environments in `fmtBrowserCmd()`.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #13 from jrsearles/fix/windows-hide-console</title>
<updated>2018-09-16T01:17:32+00:00</updated>
<author>
<name>Dave Cheney</name>
</author>
<published>2018-09-16T01:17:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/browser/commit/?id=0a3d74bf9ce488f035cf5bc36f753a711bc74334'/>
<id>0a3d74bf9ce488f035cf5bc36f753a711bc74334</id>
<content type='text'>
Hide console in windows when launching process</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Hide console in windows when launching process</pre>
</div>
</content>
</entry>
<entry>
<title>Hide console in windows when launching process</title>
<updated>2018-09-15T22:49:56+00:00</updated>
<author>
<name>Joshua Searles</name>
</author>
<published>2018-09-15T22:49:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/browser/commit/?id=755be2c54b4e61b204e8a89c9464e0fe13eae057'/>
<id>755be2c54b4e61b204e8a89c9464e0fe13eae057</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>followup to openbsd merge #7</title>
<updated>2017-05-05T12:59:00+00:00</updated>
<author>
<name>Dave Cheney</name>
</author>
<published>2017-05-05T12:59:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/browser/commit/?id=c90ca0c84f15f81c982e32665bffd8d7aac8f097'/>
<id>c90ca0c84f15f81c982e32665bffd8d7aac8f097</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #7 from pascaldekloe/master</title>
<updated>2017-02-02T20:35:43+00:00</updated>
<author>
<name>Dave Cheney</name>
</author>
<published>2017-02-02T20:35:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/browser/commit/?id=8189194c9f158043d6d45a0b939a47a924ea4b13'/>
<id>8189194c9f158043d6d45a0b939a47a924ea4b13</id>
<content type='text'>
Support OpenBSD</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Support OpenBSD</pre>
</div>
</content>
</entry>
<entry>
<title>Support OpenBSD.</title>
<updated>2017-01-31T11:41:50+00:00</updated>
<author>
<name>Pascal S. de Kloe</name>
</author>
<published>2017-01-31T11:41:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/browser/commit/?id=43f29a377b861cfd0a9ad38d03307977e64a1b2c'/>
<id>43f29a377b861cfd0a9ad38d03307977e64a1b2c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #4 from shibukawa/master</title>
<updated>2016-01-18T05:35:52+00:00</updated>
<author>
<name>Dave Cheney</name>
</author>
<published>2016-01-18T05:35:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/browser/commit/?id=9302be274faad99162b9d48ec97b24306872ebb0'/>
<id>9302be274faad99162b9d48ec97b24306872ebb0</id>
<content type='text'>
Fix Windows code to allow multiple GET parameters</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix Windows code to allow multiple GET parameters</pre>
</div>
</content>
</entry>
<entry>
<title>Fix Windows code to allow multiple GET parameters</title>
<updated>2016-01-18T05:26:46+00:00</updated>
<author>
<name>Yoshiki Shibukawa</name>
</author>
<published>2016-01-18T05:26:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/browser/commit/?id=c13e00210eb1b377f37b8baea84913fc63db11f5'/>
<id>c13e00210eb1b377f37b8baea84913fc63db11f5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #3 from flynn/fixlinux</title>
<updated>2015-11-16T21:31:03+00:00</updated>
<author>
<name>Dave Cheney</name>
</author>
<published>2015-11-16T21:31:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/browser/commit/?id=5a9dc85e4de606c9e32b769c9ff17fed84f687f9'/>
<id>5a9dc85e4de606c9e32b769c9ff17fed84f687f9</id>
<content type='text'>
Don't use `sensible-browser` directly (linux)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Don't use `sensible-browser` directly (linux)</pre>
</div>
</content>
</entry>
<entry>
<title>Don't use `sensible-browser` directly (linux)</title>
<updated>2015-11-16T18:29:17+00:00</updated>
<author>
<name>Jesse Stuart</name>
</author>
<published>2015-11-16T18:29:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/browser/commit/?id=1111d28c951aa8f5816b080a48658dde7ab02bb8'/>
<id>1111d28c951aa8f5816b080a48658dde7ab02bb8</id>
<content type='text'>
`sensible-browser` blocks the current process and doesn't open the
expected browser (using system vs user default).

`xdg-open` is non-blocking, uses the user default browser, and falls
back to using `sensible-browser`.

See https://github.com/flynn/flynn/issues/2125#issuecomment-156953583

Signed-off-by: Jesse Stuart &lt;jesse@jessestuart.ca&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`sensible-browser` blocks the current process and doesn't open the
expected browser (using system vs user default).

`xdg-open` is non-blocking, uses the user default browser, and falls
back to using `sensible-browser`.

See https://github.com/flynn/flynn/issues/2125#issuecomment-156953583

Signed-off-by: Jesse Stuart &lt;jesse@jessestuart.ca&gt;
</pre>
</div>
</content>
</entry>
</feed>
