On Wed, Sep 19, 2001 at 03:40:02PM -0400, Thomas Dickey wrote:
> On Wed, Sep 19, 2001 at 09:20:57AM -0400, Jean-Sebastien Morisset wrote:
>> Hi all.
>>
>> I often receive plain/text e-mails with URLs in them. Normally, I would
>> call up urlview, select the url, and then lynx would start-up to display
>> that page. My problem is that some of the URLs point to images. :-) If I
>> use the standard urlview->lynx technique, lynx will download the image,
>> start xv (my prefered image viewer), and then exit. When lynx exits, it
>> removes the temporary file it downloaded, which causes xv to display an
>> error about not finding the specified file. :-)
>>
>> Anyone have any ideas how I can download and view image URLs?
>
> wrap the call to lynx in a shell script that hardlinks the file to a
> different name, and removes the file when the script is done.
No can do. Lynx creates a temporary filename which is deleted as lynx
exits - which is right after downloading the image. :-)
Thanks,
js.
--
Jean-Sebastien Morisset, Sr. UNIX Administrator <[EMAIL PROTECTED]>
Personal Homepage <http://jsmoriss.mvlan.net/>
This is Linux Country. On a quiet night you can hear Windows NT reboot!
---------------- please pgp encrypt all correspondence ----------------
PGP signature