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 shell. That's

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 21; set -x; firefox -remote openURL\(%s,new-tab\) i.e. insert exec urlview.out 21; set -x; into the front of your COMMAND string. Then use urlview from mutt and examine the urlview.out

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 token `('

Re: urlview - open firefox tab

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

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 I

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 CTRL-B

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 url'. if you have configured ff to open a new page in a new tab rather

Re: urlview - open firefox tab

2009-02-26 Thread Cameron Simpson
On 26Feb2009 15:43, Joseph syscon...@gmail.com 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 url'. if you

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 16:54, Joseph syscon...@gmail.com 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 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 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

Re: urlview - open firefox tab

2009-02-26 Thread Cameron Simpson
On 26Feb2009 22:02, Kyle Wheeler kyle-m...@memoryhole.net 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? | |

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.

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:

Re: urlview - open firefox tab

2009-02-26 Thread Cameron Simpson
On 26Feb2009 22:23, Joseph syscon...@gmail.com 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

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: Failed