Re: urlview - open firefox tab

2009-02-27 Thread Cameron Simpson
On 27Feb2009 09:07, Joseph wrote: > On 02/27/09 17:40, Cameron Simpson wrote: >> Ok, try this in your .urlview file: >> COMMAND exec >>urlview.out 2>&1; set -x; firefox -remote >> openURL\(%s,new-tab\) >> i.e. insert "exec >>urlview.out 2>&1; set -x;" into the front of your >> COMMAND string. >>

Re: urlview - open firefox tab

2009-02-27 Thread Brian Salter-Duke
On Fri, Feb 27, 2009 at 12:24:24PM +0100, Joost Kremers wrote: > On Thu, Feb 26, 2009 at 10:20:22PM -0700, Joseph wrote: > > On 02/26/09 22:02, Kyle Wheeler wrote: > >> > >>> firefox -remote openURL('http://www.cskk.ezoshosting.com/cs/',new-tab)... > >>> sh: -c: line 0: syntax error near unexpected

Re: urlview - open firefox tab

2009-02-27 Thread Joseph
On 02/27/09 17:40, Cameron Simpson wrote: Ok, try this in your .urlview file: COMMAND exec >>urlview.out 2>&1; set -x; firefox -remote openURL\(%s,new-tab\) i.e. insert "exec >>urlview.out 2>&1; set -x;" into the front of your COMMAND string. Then use urlview from mutt and examine the urlvie

Re: urlview - open firefox tab

2009-02-27 Thread Joost Kremers
On Thu, Feb 26, 2009 at 10:20:22PM -0700, Joseph wrote: > On 02/26/09 22:02, Kyle Wheeler wrote: >> >>> firefox -remote openURL('http://www.cskk.ezoshosting.com/cs/',new-tab)... >>> sh: -c: line 0: syntax error near unexpected token `(' >> >> Well, sure - bare parentheses mean something to your she

Re: urlview - open firefox tab

2009-02-26 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thursday, February 26 at 10:20 PM, quoth Joseph: > in urlview I have: > OMMAND firefox -remote openURL\(%s,new-tab\) > > When I try to open any URL: > Executing: firefox -remote > openURL\('http://domainkeys.sourceforge.net/',new-tab\)... > Error:

Re: urlview - open firefox tab

2009-02-26 Thread Cameron Simpson
On 26Feb2009 22:23, Joseph wrote: > On 02/27/09 15:32, Cameron Simpson wrote: >> | That's good! >> >> Indeed. The next test step is like this: >> echo http://www.mutt.org/ | urlview - >> Does that work? > > Yes, this works OK; Firefox opens new URL in a tab. Ok, try this in your .urlview file:

Re: urlview - open firefox tab

2009-02-26 Thread Joseph
On 02/27/09 15:32, Cameron Simpson wrote: | That's good! Indeed. The next test step is like this: echo http://www.mutt.org/ | urlview - Does that work? Yes, this works OK; Firefox opens new URL in a tab. I Googling about this error but can not pin point the reason. -- #Joseph GPG KeyID: E

Re: urlview - open firefox tab

2009-02-26 Thread Joseph
On 02/26/09 22:02, Kyle Wheeler wrote: firefox -remote openURL('http://www.cskk.ezoshosting.com/cs/',new-tab)... sh: -c: line 0: syntax error near unexpected token `(' Well, sure - bare parentheses mean something to your shell. That's why you have to put the backslashes in front of them. It'

Re: urlview - open firefox tab

2009-02-26 Thread Cameron Simpson
On 26Feb2009 22:02, Kyle Wheeler wrote: | On Thursday, February 26 at 07:32 PM, quoth Joseph: | > firefox -remote openURL\(www.mutt.org,new-tab\) | > Error: Failed to send command: 500 command not parseable | | Hmmm, so, perhaps openURL requires the http:// in front? | | > but: | > firefox -remo

Re: urlview - open firefox tab

2009-02-26 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thursday, February 26 at 07:32 PM, quoth Joseph: > firefox -remote openURL\(www.mutt.org,new-tab\) > Error: Failed to send command: 500 command not parseable Hmmm, so, perhaps openURL requires the http:// in front? > but: > firefox -remote 'openUR

Re: urlview - open firefox tab

2009-02-26 Thread Joseph
On 02/27/09 12:29, Cameron Simpson wrote: It's possible that the brackets are not sufficiently escaped; it depends what is happening to that string on its way to the shell. Has this worked in the past, or is this a new setup? I think it was working OK with Firefox 2.0 The next step is to do

Re: urlview - open firefox tab

2009-02-26 Thread Cameron Simpson
On 26Feb2009 16:54, Joseph wrote: > On 02/27/09 10:43, Cameron Simpson wrote: >>> I tried: added. "COMMAND echo..." I think I'm getting the correct syntax in >>> shell, eg: >>> URL: www.dentimax.com >>> >>> Firefox 3.0.6 is configured to open new URL in TAB but nothing is >>> happening. >> >> It's

Re: urlview - open firefox tab

2009-02-26 Thread Joseph
On 02/27/09 10:43, Cameron Simpson wrote: I tried: added. "COMMAND echo..." I think I'm getting the correct syntax in shell, eg: URL: www.dentimax.com Firefox 3.0.6 is configured to open new URL in TAB but nothing is happening. It's possible that the brackets are not sufficiently escaped; it

Re: urlview - open firefox tab

2009-02-26 Thread Cameron Simpson
On 26Feb2009 15:43, Joseph wrote: > On 02/26/09 22:53, Joost Kremers wrote: > [snip] >> change the COMMAND to >> >> COMMAND echo firefox -remote openURL\(%s,new-tab\) >> >> and see what the shell actually receives. >> >> btw, recent versions of firefox allow a simple 'firefox '. if you have >> co

Re: urlview - open firefox tab

2009-02-26 Thread Joseph
On 02/26/09 22:53, Joost Kremers wrote: [snip] change the COMMAND to COMMAND echo firefox -remote openURL\(%s,new-tab\) and see what the shell actually receives. btw, recent versions of firefox allow a simple 'firefox '. if you have configured ff to open a new page in a new tab rather than a

Re: urlview - open firefox tab

2009-02-26 Thread Joost Kremers
On Thu, Feb 26, 2009 at 02:09:06PM -0700, Joseph wrote: > I have ./home/me/.urlview > REGEXP (((http|https|ftp|gopher)|mailto)[.:][^ >"\t]*|www\.[-a-z0-9.]+)[^ > .,;\t>">\):] > COMMAND firefox -remote openURL\(%s,new-tab\) > > in mutt macros > acro index \cb |urlview\n macro pager \cb |urlview\n

urlview - open firefox tab

2009-02-26 Thread Joseph
I have ./home/me/.urlview REGEXP (((http|https|ftp|gopher)|mailto)[.:][^ >"\t]*|www\.[-a-z0-9.]+)[^ .,;\t>">\):] COMMAND firefox -remote openURL\(%s,new-tab\) in mutt macros acro index \cb |urlview\n macro pager \cb |urlview\n CTRL-B shows URL's but nothing no new tab appears in firefox when