Re: [mutt-nntp] inline images
--xHFwDpU9dbj6ez1V Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Rocco Rutte [EMAIL PROTECTED], 2002-06-07 23:49 -0400: Hi, =20 * Andre Berger [02-06-08 04:45:05 +0200] wrote: How can I view inline images like =20 --begin example-- =20 begin 666 car30001.jpg M_]C_X `02D9)1@`!`0```0`!``#_X2'317AI9@``24DJ``@(``\!`@`6 [snip] ;17D$:2OL,:D@G/\ZZ!BR\G-,*U5'=3DW/_9 ` end =20 --end example-- =20 in mutt-nntp (Orjan's patch)? I tried to pipe the message to xv and the like but it seems those image viewers don't recognoze the STDIN. Probably my setup... =20 Ever tried uudecode(1)? You can just pipe the article through it and should get the files. Maybe you want to use a short shell script as a wrapper which also sets=20 the download directory for your ware^H^H^Hfiles. =20 If you clean the directory up afterwards, you can use=20 the output of ls to call your image viewer. =20 It could look similar to: =20 #!/bin/sh dir=3D$HOME/tmp/downloads/warez cd $dir uudecode -c xv `ls $dir/*.jpg` =20 HTH, Cheers, Rocco It did. Though my uudecode doesn't support the -c flag. So my solution is: macro pager \cV decode-copy/tmp/nntp.tempenteryshell-escapeuudeview = -i -b -p /tmp/ -d /tmp/nntp.temp gqview /tmp/ rm /tmp/nntp.temp\n B= ilder ansehen (Inline) which makes a decoded copy /tmp/nntp.temp, calls uudeview (which decodes everything it can w/o asking into /tmp/), calls gqview (an image viewer) on /tmp/ so that I can see/save/whatever images in /tmp, and finally removes the decoded msg /tmp/nntp.temp Thank you very much -Andre --xHFwDpU9dbj6ez1V Content-Type: application/pgp-signature Content-Disposition: inline -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9AaWGWkhBtALlJZ0RAtP/AKC5tJJ02Hoiao5xOsQGn26OIlyPfwCeJ/Em dLbc8xyr3KrshHOY2c5U7rw= =QTht -END PGP SIGNATURE- --xHFwDpU9dbj6ez1V--
Re: [mutt-nntp] inline images
Hi, * Andre Berger [02-06-08 08:45:05 +0200] wrote: It did. Though my uudecode doesn't support the -c flag. So my solution is: On my system (FreeBSD 4.5-p6) 'uudecode -c' extracts all parts instead of only the first. I usually don't pass a filename as an argument since a) there may be multiple files and b) why not use the name given. I don't have 'uudeview' but if it supports extracting everything to a specific folder using the original filenames, you can just save your news articles to a dedicated directory at once (tag the messages and save them). Vvv.nntp (the nntp patch I use) saves them to a mbox folder and I simply run 'uudecode -c /path/to/file' to extract everything at once. The advantage is that you don't waste server capacities (which doesn't matter if you've got a local one). Anyways, glad to help. Cheers, Rocco msg28750/pgp0.pgp Description: PGP signature
Re: Managing mailboxes with fixed prefix
David T-G [EMAIL PROTECTED] wrote: ...and then Jussi Ekholm said... This is probably a stupid question, but I'll ask it anyway because it has been bothering me since I first subscribed to mutt-user. ;-) Not stupid :-) Yeah! Didn't someone say, that: There is no stupid questions, there is only stupid people. And wasn't that someone our dear mimbari, Draal, in Babylon 5? :-D What's the thing with mailboxes with filename starting with IN It's just a convention, rather than anything as lofty as a standard, and when folks see it they often take it up for themselves. Ah, I see. Then, I use a little different sorting methods and folder names. ;-) I don't have any folder, which would contain some string which would imply that the mail is coming in -- except 'inbox', of course. When I started working with email I simply used =F.* for 'f'olders that caught list mail; my mutt-users (and mutt-rpm and mutt-announce, BTW) mail comes into =F.mutt I've set Procmail to sort every mailing list into a different folder, thus mutt-users goes to =mutt-users. And mutt-dev goes to =mutt-dev. And all debian-* lists are sorted the same way, too. Then I have some local mailboxes, like =logcheck, =cron and so on. And every read mail goes to =archive/same_named_folder. I'm pretty satisfied with it, and it's pretty logical. For me, at least. :-) You can also check back in the archives for various posts talking about organizing mail folders and such. Lots of people have tried various methods, each with their merits but none sufficiently perfect to take over the world :-) Hehe, I know what you mean. :-) I have to admit; I'm the kind of guy, who wants to organize *everything*. So, I'm constantly modifying my ~/.muttrc and every other possible thing. My next big project is to fully re-organize the keymappings of Slrn. Mutt comes next. :-) -- Jussi Ekholm [EMAIL PROTECTED] | GNU/Linux user number 269376 http://erppimaa.cjb.net/~ekhowl/ | GnuPG Public Key ID: 1410081E msg28751/pgp0.pgp Description: PGP signature
Muttprint for Cygwin (was Re: Mutt/Cygwin shortcomings)
On Fri, Jun 07, 2002 at 03:31:43PM +0200, Olaf Foellinger wrote: 3) no Muttprint or functional equivalent; in .muttrc set print_command=$HOME/bin/print $ cat ~/bin/print #!/bin/sh cat .printout lpr -S server -P printer .printout where server is a windows print server with lpd enabled. This script solved my more basic problem of getting _anything_ to my printer from the Cygwin command line. However, it does not pretty print in the style of Muttprint (see http://muttprint.sourceforge.net/pics/sampe.png). However, enscript has recently appeared in the Cygwin distribution, so putting Olaf's script together with a suggestion Darren made on this list a few months ago yields: $ cat ~/bin/muttprint #!/bin/sh enscript -Email .printout c:/winnt/system32/lpr -S server -P printer .printout which at least highlights the headers differently from the text body, but does not suppress header lines such as Received:, X-*:, etc, in the manner of Muttprint. The script uses the full path for lpr because the Cygwin lpr behaves differently. Tom -- Dr. Thomas Baker[EMAIL PROTECTED] Institutszentrum Schloss Birlinghoven mobile +49-171-408-5784 Fraunhofer-Gesellschaft work +49-30-8109-9027 53754 Sankt Augustin, Germany fax +49-2241-14-2619
Re: about 'mutt-users' mailing list
David T-G [EMAIL PROTECTED] wrote: ...and then Jussi Ekholm said... This thing has happened for me twice or thrice already, so now I decided to ask what's going on. I am subscribed to this list, but on some occasions (the two or three incidents I mentioned) I have received an email where I was told, that I wasn't subscribed to mutt-users. [...] To: [EMAIL PROTECTED] That is, I admit, interesting, since that's the address I see above, which implies that you are subscribed with *that* address. Yup, that's why it made me so confused. And as I said, it wasn't the first time I got this message - so, the confusion and actually even frustration made me whine about this here. :-) Let's see, here... I see that Cedric has approved a few recent mails from you, but not this one to which I am replying... I know it's a silly question, but are you *really* sure you're [still] subscribed from this address? Well, I'm quite, quite sure - because after I received that message I pasted here, I sent a new (my third or fourth, I think) subscription message to [EMAIL PROTECTED] ;-) And I'm *100%* sure, that I've never unsubscribed from the list myself... If you want to join the list, send email to [EMAIL PROTECTED], with subscribe mutt-users in the message text (not the subject). It never hurts to try, you know :-) Already mentioned above, but still - I've done that about four times, because this wasn't the first time it happened to me. And always after sending subscription mail to Majordomo, everything seems to go smoothly again. I'm hoping, that *now* my subscription would last a bit longer than before... *g*. ... the list software and the moderator(s) have been known to kick people off for bounced messages, but if you haven't had any other mail hiccups this is unlikely. Umm... at least *I* haven't done it. I don't know, if someone has been impersonating me or something - I guess it's possible. I know for sure, that at least *one* person has knowingly (with bad intentions, of course) added me to many spam lists. Who knows what else he has done... I'm thinking of reporting this guy's behaviour to his ISP, but all I got for evidence is logs from IRC. They aren't very valuable, now are they? -- Jussi Ekholm [EMAIL PROTECTED] | GNU/Linux user number 269376 http://erppimaa.cjb.net/~ekhowl/ | GnuPG Public Key ID: 1410081E msg28753/pgp0.pgp Description: PGP signature
Re: recommend good address book
David T-G [EMAIL PROTECTED] wrote: ...and then Kevin Coyner said... I'm enjoying using Mutt, although mangling the messages, but am wondering whether there is a good console type address book to use with it? 1) I don't use it, but I hear that abook is pretty good. I use it, and it's pretty good, IMHO. There's just one thing I'd like to know; is it in *any way* possible to use abook's addresses in case of forwarding of bouncing mails? I've read the help screen that pops up when you press '?' in abook, but for no avail. This is actually the only thing why I'm still keeping both, aliases and abook.addressbook... -- Jussi Ekholm -- [EMAIL PROTECTED] -- http://erppimaa.cjb.net/ msg28754/pgp0.pgp Description: PGP signature
Re: about 'mutt-users' mailing list
Steve Kennedy [EMAIL PROTECTED] wrote: The goa-head.org mail starts bouncing, it gets unsubbed ... I forgot to mention this: goa-head.org is just a redirect to my real email address - a friend of mine put up this redirecting just because I think, that goa-head.org is much cooler than the real address... ;-) So, this could be the reason, huh? Was I stupid to subscribe with a redirect address? Should I unsubscribe with goa-head.org and subscribe again with that real one? Then again, I wouldn't be able to send mail to this list from goa-head.org, which is my public address in Usenet and mailing lists. -- Jussi Ekholm [EMAIL PROTECTED] | GNU/Linux user number 269376 http://erppimaa.cjb.net/~ekhowl/ | GnuPG Public Key ID: 1410081E msg28755/pgp0.pgp Description: PGP signature
Re: about 'mutt-users' mailing list
Jussi Ekholm wrote: Steve Kennedy [EMAIL PROTECTED] wrote: The goa-head.org mail starts bouncing, it gets unsubbed ... I forgot to mention this: goa-head.org is just a redirect to my real email address - a friend of mine put up this redirecting just because I think, that goa-head.org is much cooler than the real address... ;-) So, this could be the reason, huh? The problem comes from your other address: | - The following addresses had permanent fatal errors - | ekhowl@***.fi | | - Transcript of session follows - | procmail: Unknown user ekhowl | 550 ekhowl@***.fi... User unknown More information off-list if you need some. -- Cedric
Re: [OT] scriting abook, was: recommend good address book
* Mike Arrison [EMAIL PROTECTED], 2002-06-06 16:39 -0400: Kevin, I'm enjoying using Mutt, although mangling the messages, but am wondering whether there is a good console type address book to use with it? I agree that abook is good. In fact, it is the first project that to which I've felt obliged and able to contribute. Its source is simple, so if you don't like the way it does something, or you want to add a feature, it's easy. Yeah Open Source! -Mike Arrison Talking about abook, is there a way to extract the snailmail address of certain user for use in shell srcipts and the like? -Andre
Re: Managing mailboxes with fixed prefix
On Sat, Jun 08, 2002 at 12:39:11PM +0300, Jussi Ekholm wrote: I've set Procmail to sort every mailing list into a different folder, thus mutt-users goes to =mutt-users. And mutt-dev goes to =mutt-dev. And all debian-* lists are sorted the same way, too. Then I have some local mailboxes, like =logcheck, =cron and so on. And every read mail goes to =archive/same_named_folder. I'm pretty satisfied with it, and it's pretty logical. For me, at least. :-) I would use your system if it wasn't for large volume lists like debian-user. When I don't read mail for say 24 hours there are perhaps 200 to 300 new messages in debian-user. If I want to clear messages quickly, but avoid deleting stuff that I want to keep for reference or a reply, I open IN-* to see all new mail for that list. From there it goes either to =* or I delete it. After that I open =* and can focus on messages that need further attention. By the way I also have ~/Mail/archive/*. So a message I want to keep for eternity has been in three different mailboxes read/controlled by mutt. Thank god for mutt this isn't the nightmare I would have perceived it to be just a couple of weeks ago. At the time I was using Win/Eudora for mail. Handling every message three times in a mailer like that would drive me crazy. Does anyone keep everything from a list like debian-user on their hard-drive to have a local archive? I can imagine doing something like that, because searching the web-based archives is a pain. Is this a practical solution in regards to the size of the mailbox (ie. disk usage and speed of searching)? Bob msg28758/pgp0.pgp Description: PGP signature
Re: [mutt-nntp] inline images
--C7zPtVaVf+AK4Oqc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Rocco Rutte [EMAIL PROTECTED], 2002-06-08 09:34 -0400: Hi, =20 * Andre Berger [02-06-08 08:45:05 +0200] wrote: =20 It did. Though my uudecode doesn't support the -c flag. So my solution is: =20 On my system (FreeBSD 4.5-p6) 'uudecode -c' extracts all parts instead of only the first. I usually don't pass a filename as an argument since a) there may be multiple files and b) why not use the name given. My uudecode is out of date, and I have trouble compiling a new one. As I plan to upgrade to Debian 3.0 in the near future, I didn't bother. andre@mir:~$ uudecode -v =20 uudecode - GNU sharutils 4.2.1 andre@mir:~$ uudecode --help Usage: uudecode [FILE]... Mandatory arguments to long options are mandatory to short options too. -h, --help display this help and exit -v, --versionoutput version information and exit -o, --output-file=3DFILE direct output to FILE I don't have 'uudeview' but if it supports extracting everything to a specific folder using the original filenames, you can just save your news articles to a dedicated directory at once (tag the messages and save them). It doesn't keep the original filename, and the images have their original names. Which is potentially problematic only if I want to keep the images of message A, don't put them in my ~/Images folder, and there are images with the same name in message B. Hmm. There is a flag in uudeview that force overwriting existing file, -o.=20 Vvv.nntp (the nntp patch I use) saves them to a mbox folder and I simply run 'uudecode -c /path/to/file' to extract everything at once. That seems to be possible here too, using tagging. Given it would be possible to pipe tagged messages into one file(?). The solution I have now is so far good enough for me, but I might try this out later. The advantage is that you don't waste server capacities (which doesn't matter if you've got a local one). =20 Anyways, glad to help. =20 Cheers, Rocco I appreciate it! A nice weekend to everyone! -Andre --C7zPtVaVf+AK4Oqc Content-Type: application/pgp-signature Content-Disposition: inline -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9AhAMWkhBtALlJZ0RArmVAKDrpv30Mr4Na0Te25yHAHYz7wLIDgCg3lKM biDvOaTnnHNdV4WjyCNizyU= =aDRI -END PGP SIGNATURE- --C7zPtVaVf+AK4Oqc--
Re: Managing mailboxes with fixed prefix
* Robert Ian Smit [EMAIL PROTECTED], 2002-06-08 10:23 -0400: On Sat, Jun 08, 2002 at 12:39:11PM +0300, Jussi Ekholm wrote: [on archiving] Does anyone keep everything from a list like debian-user on their hard-drive to have a local archive? I can imagine doing something like that, because searching the web-based archives is a pain. Is this a practical solution in regards to the size of the mailbox (ie. disk usage and speed of searching)? I use mbox format (faster than Maildir) mailboxes, and a combination of scoring and copying to archive what I consider to be important. Essentially, the scoring: set index_format=%4C %2M%Z (%2N) %[%y%m%d] %-17.17F (%3l) %s set score_threshold_delete=0 set score_threshold_flag=30 set score_threshold_read=15 unscore * score '~A' 20 score '~=' - score '~P|~p|~Q' 20 folder-hook . 'score ~=|(!(~p|~P|~Q|~F)~d14d) -' # Flagged as ! is colored cyan color index cyan default '~F' This deletes all messages that are either duplicate or not related to me or not flagged as important, if they are older than two weeks. folder-hook . 'save-hook . =save.%B' This saves messages to a folder with the same name as the current folder but preceded by save. when you hit s macro index \eS 1\n\eV^T~A\nT(~P|~p|~Q|~F)~r3w\n;s\n Delete old; archive macro pager \eS q1\n\eV^T~A\nT(~P|~p|~Q|~F)~r3w\n;s\n Delete old; archive When you hit Esc S, your surviving messages older than three weeks are moved to the respective folder preceeded by save. as set above. The only problem is if there are no messages. In this case mutt wants to copy the first message in the folder, and I can't find a way around that. That's why I've set #ask for confirmation on moves folder-hook . 'set move=ask-yes' I hope this helps! -Andre msg28760/pgp0.pgp Description: PGP signature
bind for mailing list
I would like to bind 'r' to 'list-reply' when the message is from a mailing list I'm subscribed to. A catch-all one command would be nice. ~l message is addressed to a known mailing list Should I use message-hook, folder-hook or what? # Hmm, don't think so... ~l is not a folder folder-hook ~l bind index r list-reply # Doesn't work message-hook ~l bind index r list-reply # Works of course for all messages bind index r list-reply Thoughts?
Re: [OT] scriting abook, was: recommend good address book
Andre, On Sat, Jun 08, 2002 at 09:55:04AM -0400, Andre Berger wrote: Talking about abook, is there a way to extract the snailmail address of certain user for use in shell srcipts and the like? -Andre Its funny, but I don't think there is a way currently. That's a good feature request. If you know any C, you can add another export function in the filter.c file. I think even a custom exporter would be easy to write at somepoint. Whereby you could specifiy your output format with a series of printf like commands %Name %Street %City %State %Zip Wouldn't that be nifty? Maybe I'll work on that, of if someone smarter wants to jump in here. -Mike Arrison
Re: bind for mailing list
Hi, * Kurt Hindenburg [02-06-08 17:15:07 +0200] wrote: I would like to bind 'r' to 'list-reply' when the message is from a mailing list I'm subscribed to. A catch-all one command would be nice. # Hmm, don't think so... ~l is not a folder folder-hook ~l bind index r list-reply # Doesn't work message-hook ~l bind index r list-reply # Works of course for all messages bind index r list-reply The problem is that you can define complex patterns but only one command. That means, you can take exactly one action (which may be a list of multiple ones) if a pattern matches. How should mutt decide wether you want to reply to the list or to the author? I don't really know why someone would merge the great different answering functions... Cheers, Rocco
Re: [mutt-nntp] inline images
Hi, * Andre Berger [02-06-08 16:45:04 +0200] wrote: * Rocco Rutte [EMAIL PROTECTED], 2002-06-08 09:34 -0400: My uudecode is out of date, and I have trouble compiling a new one. As I plan to upgrade to Debian 3.0 in the near future, I didn't bother. andre@mir:~$ uudecode -v uudecode - GNU sharutils 4.2.1 Well, it isn't difficult to guess that a Linux distribution ships with a GNU implementation while BSD doesn't. Vvv.nntp (the nntp patch I use) saves them to a mbox folder and I simply run 'uudecode -c /path/to/file' to extract everything at once. That seems to be possible here too, using tagging. Given it would be possible to pipe tagged messages into one file(?). Some problems with word ``pipe'' here. ``Pipe'' means nothing else than catching output of process A and passing it to B as input. So to say, the pipe function in mutt does cat(1) all tagged messages to a command. Of course, if your command (uudeview, uudecode, whatever) can handle multiple encoded files, you can tag-pipe all messages at once. A nice weekend to everyone! ...while it's raining outside all day. Cheers, Rocco
maildir vs mbox
I don't want to start a religious war, but is there consensus opinion as to whether mbox or Maildir is better? I know mutt supports both automatically, so it's probably a bit of a mute question, but mutt also gives you the option of specifying which format new folders are set up in, so I thought I'd ask. Thanks Kevin --
Re: maildir vs mbox
Hi, * Kevin Coyner [EMAIL PROTECTED] [02-06-08 23:23]: I don't want to start a religious war, but is there consensus opinion as to whether mbox or Maildir is better? I know mutt supports both automatically, so it's probably a bit of a mute question, but mutt also gives you the option of specifying which format new folders are set up in, so I thought I'd ask. I don't think there is a consensus. It depends on file system and your personal preferences. It's not too complicated to change your folder to try it yourself. Just make a backup, change $mbox_type and copy all messages in the new folders. Thorsten -- The smart way to keep people passive and obedient is to strictly limit the spectrum of acceptable opinion, but allow very lively debate within that spectrum. - Noam Chomsky
trash patch
I thought I'd give the trash patch a try, but being inexperienced with command line patches, I've run into the following error, although I thought I had the right syntax [kosuke@sumida mutt-1.4]$ patch -p1 patch-1.4.trash.txt can't find file to patch at input line 4 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -- |diff -pruN mutt-1.4.orig/commands.c mutt-1.4/commands.c |--- mutt-1.4.orig/commands.cWed Apr 3 12:54:19 2002 |+++ mutt-1.4/commands.cSat Jun 1 23:42:05 2002 -- File to patch: I've got the patch (patch-1.4.trash.txt) in the same directory as the rest of the source files of mutt. Any tips would be appreciated. Thanks Kevin --