On Sat, 4 Mar 2000, Morten Bo Johansen wrote:
> > Then try it and explain how. There's nothing about that feature in the
> > most manpage and when I read a zip archive with most I get this:
>
> If I read your wish correctly you can use less and place a line like this
> in your lynx.cfg:
>
> VIEWER:application/zip:less %s:NON_XWINDOWS
> VIEWER:application/zip:less %s&:XWINDOWS
>
> Then press enter to view the contents of the archive and 'd' to download.
Do you mean that by doing that you can see the directory of a zip archive? If
I do what you say and try to see the directory (contents) of a zip archive,
less asks something like this:
"/tmp/L61548-1TMP.zip" may be a binary file. See it anyway?
If I answer "y" less displays garbage on the screen because it doesn't have a
binary mode like most. To see the directory (contents) of a zip archive I use
VIEWER:application/zip:unzip -v %s | $PAGER
in my .lynx.cfg or
application/zip;unzip -v %s | $PAGER
in my .mailcap. If your less displays the directory of a zip file then it's
using an input preprocessor through the LESSOPEN environment variable or a
script.
> Maybe you can find something better for X. Xless didn't seem to work when I
> just tried it now.
Sorry, but I don't use X-Window. However, maybe the problem you had on
X-Window was caused by the "&" in your VIEWER line, which puts the process in
the background and nothing is displayed.
Ismael
--
________________________________________________________________
| |
| ISMAEL CORDEIRO | mailto:[EMAIL PROTECTED] |
| Production sound mixer | http://ismael.cordeiro.com/ |
| Montr�al - Qu�bec - Canada | ftp://ftp.pubnix.net/users/ismael |
|________________________________________________________________|