[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
LYNX-DEV lynx.cfg diff repost
From: |
Mike Brown |
Subject: |
LYNX-DEV lynx.cfg diff repost |
Date: |
Mon, 16 Dec 1996 19:35:01 -0800 (PST) |
It was pointed out to me that the diff I posted should have been in
'diff -c' format, so here goes. Also I forgot to mention, this
is applied against Fote's lynx.cfg from his 16 Dec 1996 mods. --Mike
*** lynx.cfg.old Sat Dec 14 04:01:40 1996
--- lynx.cfg Mon Dec 16 14:36:08 1996
***************
*** 755,786 ****
#PRINTER:Specify your own print command:echo -n "Enter a print command\: ";
read word; sh -c "$word %s":FALSE
# Downloader definitions
! # any number of downloaders may be defined by using multiple
# downloader definition sets. Downloaders may be any program
# that could be useful to your users, they do not necessarily
# have to be a download protocol program. The most common use
! # of a downloader is to use Ckermit or some other transfer
# program so that the user may easily transfer files back to
# their local machine over a serial link.
#
! # the definition of a downloader is of the form
# DOWNLOADER:<downloadername>:<downloader command>:<downloader option>
#
# <downloader name> is the name that the user will see.
# <downloader command> is the command line arguments for downloading a file.
# The %s will be replaced with the file being downloaded.
! # If a second %s is given the second %s will be replaced
# by a suggested filename that is nicer than the tempfile
# name given in the first %s. This does not replace the
# first %s in the command line. If your command needs
! # the suggest file name on the command line only, then
! # I suggest creating a script that will first copy the
# first %s file name to the second %s file name, and then
# execute the downloading command using the second %s
file
! # name (e.g., 'sz' needs such a script interposed).
# <downloader option> specifies whether the downloader should be disabled for
! # anonymous users. The options are
! # TRUE or FALSE;
# TRUE means the downloader will always be ENABLED
# regardless of the anonymous settings (however,
# all downloading is disabled by -validate).
--- 755,786 ----
#PRINTER:Specify your own print command:echo -n "Enter a print command\: ";
read word; sh -c "$word %s":FALSE
# Downloader definitions
! # Any number of downloaders may be defined by using multiple
# downloader definition sets. Downloaders may be any program
# that could be useful to your users, they do not necessarily
# have to be a download protocol program. The most common use
! # of a downloader is to use sz, kermit or some other transfer
# program so that the user may easily transfer files back to
# their local machine over a serial link.
#
! # The definition of a downloader is of the form
# DOWNLOADER:<downloadername>:<downloader command>:<downloader option>
#
# <downloader name> is the name that the user will see.
# <downloader command> is the command line arguments for downloading a file.
# The %s will be replaced with the file being downloaded.
! # If a second %s is given, the second %s will be replaced
# by a suggested filename that is nicer than the tempfile
# name given in the first %s. This does not replace the
# first %s in the command line. If your command needs
! # only the suggested filename on the command line, then
! # you should create a script that will first copy the
# first %s file name to the second %s file name, and then
# execute the downloading command using the second %s
file
! # name. 'sz' typically needs such a script; an example
! # is given below.
# <downloader option> specifies whether the downloader should be disabled for
! # anonymous users. The options are TRUE or FALSE;
# TRUE means the downloader will always be ENABLED
# regardless of the anonymous settings (however,
# all downloading is disabled by -validate).
***************
*** 788,799 ****
# the user is anonymous.
#
# You must put the whole definition on one line.
- #
# If you must use a colon, precede it with a backslash!
#
! # examples
#DOWNLOADER:Use Kermit to download to the local terminal:kermit -i -s %s -a
%s:TRUE
#DOWNLOADER:Use Zmodem to download to the local terminal:sz %s:TRUE
# Uploader definitions (implemented only with Unix DIRED_SUPPORT;
# see the Makefile in the top directory,
--- 788,801 ----
# the user is anonymous.
#
# You must put the whole definition on one line.
# If you must use a colon, precede it with a backslash!
#
! # examples -- uncomment with caution
! #
#DOWNLOADER:Use Kermit to download to the local terminal:kermit -i -s %s -a
%s:TRUE
#DOWNLOADER:Use Zmodem to download to the local terminal:sz %s:TRUE
+ # (if the simple sz %s entry results in weird filenames, use this one:)
+ #DOWNLOADER:Use Zmodem to download to the local terminal:set %s %s;
td=/tmp/lynx.sz.$$; mkdir $td; ln -s $1 $td/"$2"; sz $td/"$2"; rm -r $td:TRUE
# Uploader definitions (implemented only with Unix DIRED_SUPPORT;
# see the Makefile in the top directory,
;
; To UNSUBSCRIBE: Send a mail message to address@hidden
; with "unsubscribe lynx-dev" (without the
; quotation marks) on a line by itself.
;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- LYNX-DEV lynx.cfg diff repost,
Mike Brown <=