[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
lynx-dev Using lynx as a filter
From: |
Miroslaw J. Wiechowski |
Subject: |
lynx-dev Using lynx as a filter |
Date: |
Mon, 03 Sep 2001 14:31:39 +0200 |
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."
The Operating System is Linux.
Will be grateful for any comments.
Miroslaw J. Wiechowski
; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden
- lynx-dev Using lynx as a filter,
Miroslaw J. Wiechowski <=