Re: [repost] macro to open mailbox in new multi-gnome-terminal tab
On 01.04.05,14:08, Matt Price wrote:
> hey, posted this a couple of days ago, haven't seen it, sorry if it
> ends up as a duplicate...
>
> hi folks,
>
> I'm playing around with multi-gnome-terminal and have defined a nice
> class of windows with a bunch of mailboxes opened in various tabs.
> I'd like to define a browser macro that would allow me to open up the
> selected mailbox in a new tab. I've put a screenshot on the web at
> http://www.derailleur.org/mgt-mutt.jpeg . You can see at the bottom
> the multi-gnome-terminal command that produced window 7 ("tlug"):
>
> multi-gnome-terminal -T -n tlug -e "mutt -f =.tlug" &
>
> but I don't know how to do this automagically, as I'm not sure how the
> mbox name is stored in the browser.
>
> I tried :
> macro browser O "<pipe-entry>multi-gnome-terminal -T -n tlug -e 'mutt
> -f =.tlug'\n"
> but I get a "key not defined" error. Anyone have any other hints?
>
> Thanks much,
>
> matt
>
>
This will work I believe:
macro index .<F3> '!multi-gnome-terminal -T -n tlug -e "mutt"'<enter>
- Jostein
--
Jostein Berntsen <jbernts@xxxxxxxxxxxx>