|
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.
thanks, -boo running Lynx on OS X, where spaces do crop up a lot _______________________________________________ Lynx-dev mailing list address@hidden http://lists.nongnu.org/mailman/listinfo/lynx-dev
-- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net
[Prev in Thread] | Current Thread | [Next in Thread] |