lynx-dev
[Top][All Lists]
Advanced

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

Re: lynx-dev Using lynx as a filter


From: Thomas Dickey
Subject: Re: lynx-dev Using lynx as a filter
Date: Mon, 3 Sep 2001 08:44:37 -0400
User-agent: Mutt/1.2.5i

On Mon, Sep 03, 2001 at 02:31:39PM +0200, Miroslaw J. Wiechowski wrote:
> Hi,
> 
> I am trying to use lynx as a filter converting HTML emails
> to plain text. 
> 
> When a mail comes to a certain address, a perl program is 
> activated via the procmail mechanism. This program will
> split the mail into header and body. Then the body is
> converted from HTML to plain text in the following way:
> 
>     @txt = (`lynx -dump -width=65 $bodyfile`);
> 
> It works very well when I manually start this perl program.
> However, when the program is started by procmail, the
> variable @txt is simply empty. 
> 
> Also in the procmail log file there will be a strange
> message:
> 
> "Your terminal lacks the ability to clear the screen or position the cursor."

that's probably lynx 2.8.3 (fixed that bug shortly after release).

The current version of lynx is 2.8.4

It's available at
        http://lynx.browser.org
        ftp://lynx.isc.org/lynx-2.8.4
2.8.5 Development & patches:
        http://lynx.isc.org/current/index.html

-- 
Thomas E. Dickey <address@hidden>        <address@hidden>
http://dickey.his.com                              http://invisible-island.net
ftp://dickey.his.com                                ftp://invisible-island.net

; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden

reply via email to

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