[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Fwd: Re: gnu/screen + mutt - mailcap creates a new terminal instance



On Sat, Jun 13, 2009 at 01:10:13PM EDT, Chris Jones wrote:
> ----- Forwarded message from Tony Baldwin <photodharma@gmail.com> -----
> 
> Date: Sat, 13 Jun 2009 13:51:15 -0400
> From: Tony Baldwin <photodharma@gmail.com>
> To: Chris Jones <cjns1989@gmail.com>
> Subject: Re: gnu/screen + mutt - mailcap creates a new terminal instance
> 
> Chris Jones wrote:
> > When I needed to view an url embedded in an e-mail, I would hit CTRL-B
> > which my .muttrc causes the selected url to be piped to the "urlview"
> > uitility.
> >
> > Since obviously I run mutt in a terminal, a gnu/screen window actually,
> > urlview would correctly launch the ELinks browser in the same terminal.
> 
> Could I see that portion of your muttrc?  I've been copying/pasting the
> urls to a browser window, but opening in elinks with a keybinding would
> be convenient.  Especially if I could do it in another tab of the
> terminal (using roxterm).  if i click on them, they open in Epiphany,
> and I can't, for the life of me, figure out why, when iceweasel is set
> as my default browser.
> 
> sorry, I'm not helping much, am I?  But, I'm curious how to get that
> going with elinks.  I'm kind of new at using mutt.
> 
> thanks
> tony

Couldn't see any good reason why you replied to me instead of the list
so I forwarded it back lo debian-user.  Hope this isn't a breach of
netiquette.

I have this in my ~/.muttrc:

#----------------------------------
# urlview - invoke w/ Ctrl-B
#----------------------------------
macro     index \cb |urlview\n
macro     pager \cb |urlview\n

As far as I can remember it was part of the muttrc I used as a template,
so you may already have it.

On recent debian systems, you can also use urlscan that has a few
enhancements and a prettier interface.

As having urlview open the url in a new tab of a tabbed terminal
environment, I don't know how it can be done.. I've done that with the
"raggle" RSS aggregator under gnu/screen, so it should be feasible.

CJ



Reply to: