how to configure Surfraw on OSX?
Once you've installed it (I used Macports) your ~/.surfraw.conf file should look like this, at a minimum:

SURFRAW_graphical=yes
SURFRAW_graphical_browser=open


The open command opens the default GUI application for whatever it's passed. In this case it's passed a http:// URL so it opens it in the default browser.