Skip to content

Add support for NetBSD. #39

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 11, 2021
Merged

Add support for NetBSD. #39

merged 1 commit into from
Sep 11, 2021

Conversation

fraggerfox
Copy link
Contributor

This patch adds support NetBSD and was tested in NetBSD 9.2.

$ ./main
http://www.google.com
/usr/pkg/bin/xdg-open: line 871: www-browser: command not found
/usr/pkg/bin/xdg-open: line 871: links2: command not found
/usr/pkg/bin/xdg-open: line 871: elinks: command not found
/usr/pkg/bin/xdg-open: line 871: links: command not found
/usr/pkg/bin/xdg-open: line 871: lynx: command not found
/usr/pkg/bin/xdg-open: line 871: w3m: command not found
xdg-open: no method available for opening 'file:///tmp/browser.1539593927.html'
2021/09/09 19:05:00 exit status 3
$ uname -a
NetBSD netbsd-build 9.2 NetBSD 9.2 (GENERIC) #0: Wed May 12 13:15:55 UTC 2021  [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC amd64

And it opens one of them if they are present.

@davecheney
Copy link
Member

TYVM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants