lynx-dev
[Top][All Lists]
Advanced

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

lynx-dev %s %t


From: Philip Webb
Subject: lynx-dev %s %t
Date: Mon, 24 Aug 1998 04:29:59 -0400 (EDT)

my attempt -- hopefully now nearly finished -- to revise the account
of the print & download options in  lynx.cfg  has brought out
another question about Lynx source itself.

# <command>    is the command your system will execute:
#              the 1st %s in the command will be replaced
#              by the temporary filename used by Lynx;
#              a 2nd %s will be replaced by a filename of your choice,
#              for which Lynx will prompt, offering a suggestion;
#              if the command format of your printer/downloader requires
#              a different layout, you will need to use a script
#              (see the last 2 download examples below).

# in Kermit, -s %s is the filename sent, -a %s the filename on arrival
# (if they are given in reverse order here, the command will fail):
#DOWNLOADER:Use Kermit to download to the terminal:kermit -i -s %s -a %s:TRUE

i have tested this: if -s & -a are entered in the above order, all is ok,
but if  lynx.cfg  has  -a %s -s %s , the download fails:
Lynx tells MS-Kermit to use the local filename  /tmp/L29410-0.HTM  (eg),
which DOS can't find, since there's no subdirectory  /tmp  in my XT.

apparently, this feature was added to Lynx in February 1995
in response to a complaint by a user & it does seem rather hasty.
one would expect Lynx to look for different place-holders --
 %s = the temporary filename used by Lynx 
 %t = a filename of the user's choice  -- ,
thereby avoiding the problem with Kermit above
& the need for the script in the ZModem example in  lynx.cfg .

if someone will point me to the vicinity of the source for this,
i'll put it on my list of minor fixes to have a go at;
if anyone else can do it more quickly, so much the better.

-- 
========================,,============================================
SUPPORT     ___________//___,  Philip Webb : address@hidden
ELECTRIC   /] [] [] [] [] []|  Centre for Urban & Community Studies
TRANSIT    `-O----------O---'  University of Toronto

reply via email to

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