[Top][All Lists]

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

Re: [Lynx-dev] how to associate file types with applications?

From: Thomas Dickey
Subject: Re: [Lynx-dev] how to associate file types with applications?
Date: Sat, 12 Mar 2005 18:40:06 -0500 (EST)

On Sat, 12 Mar 2005, Walter Ian Kaye wrote:

At 08:27p +0000 03/12/2005, Thorsten Glaser didst inscribe upon an electronic papyrus:

Well, for Unix it's
#XLOADIMAGE_COMMAND:xloadimage %s &
in /etc/lynx.cfg

So I suppose it's similar for Windows.

You might try

XLOADIMAGE_COMMAND:c:\winnt\system32\cmd /c %s

I can't check though, no windows ATM :)

Going back to Unix <g>, what if there are spaces in the application pathname?
Do they get encoded/escaped? If so, what method is used?

Lynx attempts to quote tokens when building a shell command.
The given example would be a problem since lynx cannot tell if

        /program files/bin/foo

is intended to be two tokens or one.  The expansion of the %s
should work properly though.

running Lynx on OS X, where spaces do crop up a lot

Lynx-dev mailing list

Thomas E. Dickey

reply via email to

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