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

Different encodings at index and pager views

2009-02-26 Thread Carlos Pita
Hi, I'm noticing different encoding behavior for headers displayed at the index view and those at the pager view for the same email. For example, at the index view I can see subjects like: ?Opin? sobre Bebidas Alcoh?licas y gan? una TV LCD o una Notebook!, while the right chars show instead of ?

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: Different encodings at index and pager views

2009-02-26 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thursday, February 26 at 08:07 PM, quoth Carlos Pita: I'm noticing different encoding behavior for headers displayed at the index view and those at the pager view for the same email. For example, at the index view I can see subjects like:

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: Different encodings at index and pager views

2009-02-26 Thread Brendan Cully
On Thursday, 26 February 2009 at 20:07, Carlos Pita wrote: Hi, I'm noticing different encoding behavior for headers displayed at the index view and those at the pager view for the same email. For example, at the index view I can see subjects like: ?Opin? sobre Bebidas Alcoh?licas y gan? una

Re: Different encodings at index and pager views

2009-02-26 Thread Carlos Pita
This is probably a gmail bug: http://dev.mutt.org/trac/ticket/2997 I knew about that bug, I've even experienced it, but I can't find the relation with the problem I'm describing now. The headers in question are correctly utf-8 or latin-1 encoded, there is no trace of rfc 2047 encoding, be 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: Different encodings at index and pager views

2009-02-26 Thread Carlos Pita
Hi Kyle, You're not *forcing* the charset, you're *guessing* the charset. There's a semantic difference (of course, we computer folk love to I didn't mean I was forcing the charset to be one that it wasn't, of course, but telling mutt to interpret the binary data as having one or another

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: Different encodings at index and pager views

2009-02-26 Thread Carlos Pita
boundary3754908945113369111== From: Livra Encuestas norespo...@livra.com Subject: ?Opin? sobre Bebidas Alcoh?licas y gan? una TV LCD o una Notebook! Date: Thu, 26 Feb 2009 12:37:05 -0600 To: carlosjosep...@gmail.com Message-Id: 20090226183705.6152e1af0...@tweek.livra.com Yeah,

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: Different encodings at index and pager views

2009-02-26 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Friday, February 27 at 02:07 AM, quoth Carlos Pita: Yeah, you're right, they're poorly reencoding at some point. Why would they do that? Mmmm probably because they store the message in a database, rather than a text file. Does IMAP impose

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