Padraic | 8 Aug 2012 10:47

help with Surfraw configuration

Hi folks,

I have installed surfraw from the ports and would like some help setting 
(windows) firefox as the graphical browser.

I have set an alias and script in my .bashrc so that 'firefox' opens the 
browser in a new tab. Putting 'firefox' into the surfraw.conf in /etc 
doesn't work however.

Would anyone be able to help?

Padraic

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
Yaakov (Cygwin/X | 9 Aug 2012 05:40
Picon
Gravatar

Re: help with Surfraw configuration

On Wed, 2012-08-08 at 09:47 +0100, Padraic wrote:
> I have installed surfraw from the ports and would like some help setting 
> (windows) firefox as the graphical browser.
> 
> I have set an alias and script in my .bashrc so that 'firefox' opens the 
> browser in a new tab. Putting 'firefox' into the surfraw.conf in /etc 
> doesn't work however.
> 
> Would anyone be able to help?

Try using 'cygstart' instead; that will use your default Windows
browser.

Yaakov

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
Nicholas DiPiazza | 9 Aug 2012 05:57
Picon

Re: help with Surfraw configuration

Please see this sof question I created:
http://stackoverflow.com/questions/11725306/bash-script-that-can-seamlessly-
call-a-windows-exe-without-having-to-call-cygpat/11725617#11725617 

By creating a link to the EXE you can often get what you want automatically.

-Nicholas 

-----Original Message-----
From: Yaakov (Cygwin/X) [mailto:yselkowitz@...] 
Sent: Wednesday, August 08, 2012 10:41 PM
To: cygwin-ports-general
Subject: Re: [Cygwin-ports-general] help with Surfraw configuration

On Wed, 2012-08-08 at 09:47 +0100, Padraic wrote:
> I have installed surfraw from the ports and would like some help 
> setting
> (windows) firefox as the graphical browser.
> 
> I have set an alias and script in my .bashrc so that 'firefox' opens 
> the browser in a new tab. Putting 'firefox' into the surfraw.conf in 
> /etc doesn't work however.
> 
> Would anyone be able to help?

Try using 'cygstart' instead; that will use your default Windows browser.

Yaakov

----------------------------------------------------------------------------
(Continue reading)

Yaakov (Cygwin/X | 9 Aug 2012 07:10
Picon
Gravatar

Re: help with Surfraw configuration

On Wed, 2012-08-08 at 22:57 -0500, Nicholas DiPiazza wrote:
> Please see this sof question I created:
> http://stackoverflow.com/questions/11725306/bash-script-that-can-seamlessly-
> call-a-windows-exe-without-having-to-call-cygpat/11725617#11725617 
> 
> By creating a link to the EXE you can often get what you want automatically.

How is that easier than configuring 'cygstart' as surfraw's browser?
You don't need cygpath here, since we're talking about a website
address.

Yaakov
Cygwin Ports

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

Gmane