Re: mailcap/slrn question
On Thu, 10 Aug 2000, Christopher Mosley wrote: On Thu, 10 Aug 2000, Dale Morris wrote: Does anyone have a working mailcap file that will display images from newsgroups in slrn? I can get mutt to display images using ee, but I've never been able to get slrn to display an image in a binary newsgroup. I always have to use Netscape News for binaries and slrn for regular text messages. I'd like to have slrn do everything. -- No, not working for your particular need. I once used .mailcap for displaying images files localy from a remote tin. I could remember how to do it again, but I remember it being very ungainly. I replaced that with a c program. Finally I used a script filter. You use the write to stdin and filter through key, | in tin. Must be something similar in slrn. Uudeview is a smart decoder for both mime 7 bit encoding (forgot its name right now) and uuencoded files - very useful for viewing those fine arts newsgroups. The apc vt320 escape sequence and kermit are not needed . They would both just be a viewing command for you - display probably. At one time I used an echo and read so you could choose the viewer on the fly, mtvp fo mpegs for instance. This was a pain because I got a raw terminal and had to change it and change it back. But what you are trying to do should be very accomplishable. I just checked out slrn and it does indeed use | for the pipe command. The below script will work when adjusted for directories, and with the kermit and apc_echo removed and a display line added. John Davis anwered the same question with a slang script, you can it find by searching deja news. Since a scripting language is imbedded in slrn there seems no reason not to use it for this It is a stacked based kind of C looking language. The big problem with trying to use mailcap (metamail) is what do you for bases64 files and uuencoded files without mime headers. #!/usr/bin/sh cat $HOME/News/See/Tmp uudeview -i -d -p $HOME/News/See $HOME/News/See/Tmp rm $HOME/News/See/Tmp Image=`ls $HOME/News/See/` kermit -s $HOME/News/See/$Image apc_echo run display $Image, output \13 rm $HOME/News/See/* #not done The problem is the the uudecoding , for instance in lynx without the decoding it becomes much easier and practical to use metamail. .mailcap image/*; putz %s ;needsterminal #!/bin/sh kermit -s $* PICTURE=`basename $*` apc_echo run display $PICTURE Make voyages, attempt them, there's nothing else. --Tennessee Williams -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
mailcap/slrn question
Does anyone have a working mailcap file that will display images from newsgroups in slrn? I can get mutt to display images using ee, but I've never been able to get slrn to display an image in a binary newsgroup. I always have to use Netscape News for binaries and slrn for regular text messages. I'd like to have slrn do everything. -- Make voyages, attempt them, there's nothing else. --Tennessee Williams
Re: mailcap/slrn question
Dale Morris [EMAIL PROTECTED] wrote: Does anyone have a working mailcap file that will display images from newsgroups in slrn? Have you tried asking in news.software.readers ng? For info on slrn configuration this should really be your first stop - lots of knowledgable people including JED himself. -- Gary Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
Re: mailcap/slrn question
On Thu, 10 Aug 2000, Dale Morris wrote: Does anyone have a working mailcap file that will display images from newsgroups in slrn? I can get mutt to display images using ee, but I've never been able to get slrn to display an image in a binary newsgroup. I always have to use Netscape News for binaries and slrn for regular text messages. I'd like to have slrn do everything. -- No, not working for your particular need. I once used .mailcap for displaying images files localy from a remote tin. I could remember how to do it again, but I remember it being very ungainly. I replaced that with a c program. Finally I used a script filter. You use the write to stdin and filter through key, | in tin. Must be something similar in slrn. Uudeview is a smart decoder for both mime 7 bit encoding (forgot its name right now) and uuencoded files - very useful for viewing those fine arts newsgroups. The apc vt320 escape sequence and kermit are not needed . They would both just be a viewing command for you - display probably. At one time I used an echo and read so you could choose the viewer on the fly, mtvp fo mpegs for instance. This was a pain because I got a raw terminal and had to change it and change it back. But what you are trying to do should be very accomplishable. #!/usr/bin/sh cat $HOME/News/See/Tmp uudeview -i -d -p $HOME/News/See $HOME/News/See/Tmp rm $HOME/News/See/Tmp Image=`ls $HOME/News/See/` kermit -s $HOME/News/See/$Image apc_echo run display $Image, output \13 rm $HOME/News/See/* #not done The problem is the the uudecoding , for instance in lynx without the decoding it becomes much easier and practical to use metamail. .mailcap image/*; putz %s ;needsterminal #!/bin/sh kermit -s $* PICTURE=`basename $*` apc_echo run display $PICTURE Make voyages, attempt them, there's nothing else. --Tennessee Williams -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null