From owner-freebsd-hackers Mon Jul 1 3:19:14 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5EE4F37B400 for ; Mon, 1 Jul 2002 03:19:11 -0700 (PDT) Received: from tao.org.uk (genius.tao.org.uk [212.135.162.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 91A7043E0A for ; Mon, 1 Jul 2002 03:19:10 -0700 (PDT) (envelope-from joe@tao.org.uk) Received: by tao.org.uk (Postfix, from userid 100) id DD497CE; Mon, 1 Jul 2002 11:18:56 +0100 (BST) Date: Mon, 1 Jul 2002 11:18:56 +0100 From: Josef Karthauser To: Bosko Milekic Cc: Matthew Hunt , freebsd-hackers@FreeBSD.ORG Subject: Re: Some small projects for mutt(1) Message-ID: <20020701101856.GB5847@genius.tao.org.uk> Mail-Followup-To: Josef Karthauser , Bosko Milekic , Matthew Hunt , freebsd-hackers@FreeBSD.ORG References: <20020620152454.A23499@unixdaemons.com> <20020620131039.A7042@wopr.caltech.edu> <20020620161838.A24262@unixdaemons.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="H1spWtNR+x+ondvy" Content-Disposition: inline In-Reply-To: <20020620161838.A24262@unixdaemons.com> User-Agent: Mutt/1.3.99i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --H1spWtNR+x+ondvy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 20, 2002 at 04:18:38PM -0400, Bosko Milekic wrote: >=20 >=20 > Interesting. How would you have a key bound sequence in mutt set off > the script on the message, though? For instance, if I do a "ctrl+B", how > would you ensure that the Right Thing happens, without modifying mutt > code? >=20 Like this: # Urlview macro index \cv |urlview\n macro pager \cv |urlview\n =20 # Hot keys macro index \cn l~N\n macro index \ca lall\n That fragment from my .muttrc says that control-v is used to invoke the script urlview (which is in the ports and produces a list of urls in the email message, and allows me to selection one which gets piped to a browser). I've also go ctrl-N and ctrl-A set for each message selection. Joe --H1spWtNR+x+ondvy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iEYEARECAAYFAj0gLJAACgkQXVIcjOaxUBaViACg5p5HLJUK6GyMwtNqnYT2/Cew b9MAnin5PeKvhK/PP9dfJ45Q/PcbiK0K =3JR2 -----END PGP SIGNATURE----- --H1spWtNR+x+ondvy-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message