[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev help on EXTERNAL
From: |
Doug Kaufman |
Subject: |
Re: lynx-dev help on EXTERNAL |
Date: |
Fri, 31 Jul 1998 08:04:52 -0700 (PDT) |
On Fri, 31 Jul 1998, jaydeep desai wrote:
> Thanks, my problem was solved by changing the names of URL to http and
> ftp.
> It appears that lynx checks for url of current link with url in EXTERNAL
> statement, any executes corrosponding command, if match is found.
>
> However I was misguided(?) by following lines regarding url names in
> lynx.cfg:
>
> # 3) To allow for new URLs to be used through lynx.
> # URLs can be made up such as mymail: to spawn desired applications
> # via the external command.
> #
> # EXTERNAL:<url>:<command> %s:<norestriction>
> #
> # <url> Any given URL. This can be normal ones like ftp or http or it
> # can be one made up like mymail.
>
> What do these lines mean? What is "made-up URL"?
This means that you can make up a new type of URL and put it in a local
HTML document as a link. When you type "." while positioned on the link,
the command specified by EXTERNAL will be executed. So you could have a
link:
<A href="mymail://localhost/filename">Send Me Mail</A>
Activating this would activate the command specified by:
EXTERNAL:mymail:command %s:TRUE
Doug
__
Doug Kaufman
Internet: address@hidden (preferred)
address@hidden