lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Lynx-dev] Lynx pre-processing


From: Patrick
Subject: Re: [Lynx-dev] Lynx pre-processing
Date: Wed, 6 Aug 2008 19:09:36 -0700

On Wed, 6 Aug 2008 15:25:30 +0200
Rado S wrote:

> Moin moin, on a different original topic ...
> 
> =- Henry Nelson wrote on Tue  5.Aug'08 at 13:41:12 +0900 -=
> 
> > {...} or pass the content to a pre-processor for Lynx.
> 
> How does this work exactly?
> I'd like lynx to act as pager for example for pdf2txt and word2txt
> converters, so I don't have to employ "less".

echo foo | lynx -stdin

You'd get better results with HTML output than plaintext, of
course.  Seems it always treats standard input as HTML.

Or...
echo "<XMP>`cat some_text_file.txt`</XMP>" | lynx -stdin

But that seems like cheating.

I think he meant something else though, like a local program as a
proxy, or the command at the end of a lynxcgi URL; that is, a
program called *by* Lynx to get some useful info out of some file
or other, not something that calls Lynx to display its output.



Patrick.
-- 
Harvard Law:
        Under the most rigorously controlled conditions of
        pressure, temperature, volume, humidity, and other
        variables, the organism will do as it damn well pleases.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]