* markus schnalke 2013-05-28 13:07
> these days, lynx was often mentioned when a text browser was meant.
> Is there really someone (apart from mirabilos) who uses lynx? Don't
> you rather use w3m?

me.

rarely intereactively, though. More with -dump. I do query dictionaries
or similar which happen to have stable structure over time and one can
do things like:

        $ lynx -dump foo.bla | sed -n "/^Your query/,/^Similar words/ p"

Mostly I have this wrapped in a script or shell alias and often invoke
it from within vim.

For interactive browsing in the terminal, I indeed use w3m more often --
it renders often better. But, well not always, especially when menu and
content are not sequential. 

compare
        $ w3m -dump -cols 60 \
            "http://odict.leo.org/ende?lang=de&search=suck"; \
            | sed -n "/[0-9]\s*Treffer/,/Suchfilter einstellen close/ p"
        
        $ lynx -dump -nonumbers -nolist -nolog 
            "http://odict.leo.org/ende?lang=de&search=suck"; \
            | sed -n "/[0-9]\s*Treffer/,/Suchfilter einstellen close/ p" 

        $ lynx -dump -nonumbers -nolist -nolog 
            "http://odict.leo.org/ende?lang=de&search=suck"; \
            | sed -n "/[0-9]\s*Treffer/,/Suchfilter einstellen close/ { 
s/\[_\]\s*//; p}" 

In the end, it's a matter of taste, I guess.
--s.

Reply via email to