[Top][All Lists]

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

Re: lynx-dev giving the current URL to an external program?

From: pg
Subject: Re: lynx-dev giving the current URL to an external program?
Date: Sat, 13 Apr 2002 08:42:19 -0600 (MDT)

In a recent note, Thomas Dickey said:

> Date: Sat, 13 Apr 2002 08:02:18 -0400
> On Sat, Apr 13, 2002 at 11:17:39AM +0200, clemensF wrote:
> > i would like to use an external program on the URL currently viewed, but i
> > need to give it not only the HTML (from source view) or the rendered
> > version, but also the URL of the document.  how can this be done?
> hmm - perhaps I need more sleep.  The external-viewer mechanism passes
> the URL of the document (normally bound to ".") or of the link (normally
> bound to ","), but I'm not sure how you are giving your program the
I'm not sure of the language here.  Does "external-viewer mechanism"
refer to (or include) viewers defined in the .mailcap file?  I've
long wished that lynx spawning a viewer would set all the environment
variables set by metamail spawning the same viewer (or merely spawn
metamail and let it do the dirty work).  This would require that
lynx pass metamail on stdin the full HTTP reply: headers plus body.
I know; I'll be invited to write the code.  When I have time ...

-- gil

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

reply via email to

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