"Manuel A. Camacho Q." <[EMAIL PROTECTED]> 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. 



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to