LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 10-17-2006, 08:38 PM   #1
moob8
Member
 
Registered: Sep 2006
Distribution: slackware
Posts: 132

Rep: Reputation: 15
slackware tin and pictures


Today I've been trying out tin newsreader. I was just wondering if there is a way to have it call an external image viewing program when a post has a picture attached. At the moment I have a workaround where I can save the picture to a file and then view that later but that's kind of awkward. Would like to just press a key in tin and *bam* xv or something brings up the picture.

Not sure if this is even possible. google returned no positive results.
 
Old 10-18-2006, 09:02 AM   #2
Kingscriber
Member
 
Registered: Nov 2004
Distribution: Slackware, CentOS
Posts: 85

Rep: Reputation: 16
Well, I don't know much about tin, unless there is some type of preference that allows you to do something like that, I honestly don't see how you can achieve that without doing any sort of programming / scripting.
 
Old 10-18-2006, 06:56 PM   #3
moob8
Member
 
Registered: Sep 2006
Distribution: slackware
Posts: 132

Original Poster
Rep: Reputation: 15
Well, the pine (not tin) man page gave me a needed hint. Make a file in /etc called mailcap. In it, list for each mime type a method of handling said mime type. Calling external programs is possible. So by copying over a sample mailcap file from the tin docs directory I've gotten it so that jpegs can be shown by tin (by calling xv). Nice.

Of course if the image was just popped in as uuencoding with no mime "wrapper", then tin won't recognize it. I guess I'll have to find another newsreader. :/
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pictures brianthegreat Linux - Software 3 11-14-2005 01:16 PM
Vim, textwidth, pine and tin mr666white Linux - Software 1 10-03-2004 01:07 PM
Pictures in wiki? Bad_Bob LQ Suggestions & Feedback 1 06-29-2004 09:09 AM
Disable Shell "!" in TIN? jonwatson Linux - Software 1 06-15-2004 09:30 AM
can you sort messages by subject with tin? amphibious Linux - Software 0 12-01-2003 10:31 PM


All times are GMT -5. The time now is 12:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration