lynx-dev
[Top][All Lists]
Advanced

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

LYNX-DEV one way to use Patch-O-Matic over slow link


From: Nelson Henry Eric
Subject: LYNX-DEV one way to use Patch-O-Matic over slow link
Date: Sat, 20 Sep 1997 12:10:45 +0900 (JST)

Okay.  Klaus has <a href="http://www.slcc.edu/cgi-bin/lynx/patch/";>
Patch-O-Matic</a> working like a charm.  Combined with "wget" and
"at", it should now be possible for virtually anyone to pull down
the latest image.

Assuming Unix (SunOS) and csh shell make a one-line alias:

alias lywget  'echo "/usr/bin/wget -i $HOME/lynx/wget.order -O 
$HOME/lynx/pat`date +%m%d`.gz -o $HOME/wglog`date +%H%M`" | at -m 04:00 
tomorrow'

This will execute the command in double quotes at 4AM the following day and
mail you a report.  The -i switch tells wget to look in "wget.order" for
the URL(s) to download, -O switch tells wget what to name the file (the
'date' stuff adds the month and day), and the -o switch will leave you with
a log of the transfer (with hours-minutes tacked on the log file name).
Get "wget" "from ftp://gnjilux.cc.fer.hr/pub/unix/util/wget/wget.tar.gz";
or a mirror.  "At" is a standard Unix application.

In "$HOME/lynx/wget.order" or your equivalent you'll want a single line:

http://144.35.10.96/cgi-bin/lynx/patch?old_level=2.7.1ac-0.60&new_level=2.7.1ac-0.@&compress=y&new=y
                                       ||

You'll have to hand edit this file to set the version number you want
to patch up from, i.e., change the "ac-0.60" to the distribution you have on
hand. 

The file will come compressed :-), so you would apply it from the directory
just above lynx2-7-1 with a command like:

gunzip -c pat0920.gz | patch -p0

Right after applying the patch, you may want to tar and gzip the patched
directory so that you can easily patch up from that point rather than going
back to the tarball you started from.  That should do it (and just in the
nick of time with classes starting up next week).

__Henry
;
; To UNSUBSCRIBE:  Send a mail message to address@hidden
;                  with "unsubscribe lynx-dev" (without the
;                  quotation marks) on a line by itself.
;

reply via email to

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