lynx_and_pics

This is part of The Pile, a partial archive of some open source mailing lists and newsgroups.



Subject: Re: Lynx and pics. 
From: Joe Brenner <doom@kzsu.stanford.edu>
Date: Sun, 03 Sep 2000 13:55:48 -0700

Manuel A. Camacho Q." <mcamacho@habitat.co.cr> wrote: 

> I read somewhere that it is possible to surf with lynx under X and to
> set it in such a way that you can open pics with a viewing software
> (such as ee). Is this possible? If so, how do I set up lynx to do this?

Well, this sounded like a suitably beserk thing to want to
be able to do, so I set about figuring out how to do it 
(by the way, a lot of the information you need is available
just by hitting "h" in lynx and reading everything in
sight... admittedly this can take a while). 

The single most useful reference turns out to be the 

   /etc/lynx.cfg 

file itself. Nearly every option is documented heavilly
here, with examples of how you might want to set them.

I've come to the conclusion that 90% or more of what you
were asking for can be gotten from doing this: 

(1) Copy the global configuariont file to your home directory: 
   cp /etc/lynx.cfg ~/lynx.cfg

(2) Add this to your  .bash_profile:

   # Playing with a local lynx config
   LYNX_CFG=~/lynx.cfg; export LYNX_CFG

(3) Make these change to ~/lynx.cfg: 

   MAKE_LINKS_FOR_ALL_IMAGES:TRUE
   XLOADIMAGE_COMMAND:ee %s &

Note, I didn't need to make this change, and it doesn't
appear to be needed for viewing gifs: 

   VIEWER:image/gif:ee %s&:XWINDOWS

(which makes me wonder what it's for).


By the way, my personal preference would be to use "xv"
(despite the less-free licensing) rather than "ee" as you
suggested.  For one thing, the "xv" windows seem to pop-up a
lot faster on my machine than an "ee" window.

And I've tried "ee" before and in general I found it annoying
(e.g. it doesn't support standard X flags like -geometry). 

(I've also tried Enlightenment several times, and found it
annoying too... my current theory is to stay away from
Rasterman and stick to programmers that know how to run a
spell checker).

There are other options, of course.  The lynx docs make
reference to a free program called "xli", and one wonders
why it's not included in the redhat disto.

Oh, and by the way, you might notice that ~/.lynxrc
file in your home directory: as far as I can tell, this is
read and written by the lynx program when you play with the
"o" command to set options inside the program: which means
that in my opinion, it's grossly mis-named.  An "rc" file
should be manually editable, and you should be able to stick
the same sort of settings in it that they're using lynx.cfg
for. 

===

Subject: RE: Lynx and pics.
From: "Juha Saarinen" <juha_saarinen@email.msn.com>
Date: Mon, 4 Sep 2000 09:00:26 +1200

%-> I read somewhere that it is possible to surf with lynx under X and to
%-> set it in such a way that you can open pics with a viewing software
%-> (such as ee). Is this possible? If so, how do I set up lynx to do this?

Yes -- check out http://www.hippo.ru/~hvv/lynxcfg_toc.html#IFACE_TO_PRGS for
details on how to do it.

===

Subject: RE: Lynx and pics. 
From: "Juha Saarinen" <juha_saarinen@email.msn.com>
Date: Mon, 4 Sep 2000 14:00:00 +1200

%-> There are other options, of course.  The lynx docs make
%-> reference to a free program called "xli", and one wonders
%-> why it's not included in the redhat disto.

It is -- well, in a way it is. Xloadimage = xli from what I can gather.

===

Subject: Re: Lynx and pics. 
From: "Adam Sleight" <adams@linearcorp.com>
Date: Mon, 04 Sep 2000 22:55:46 -0700

can I suggest:
image viewer with thumbnail previews, etc.  
http://chbg.sourceforge.net

also something like lynx
http://links.sourceforge.net

===


the rest of The Pile (a partial mailing list archive)

doom@kzsu.stanford.edu