From 17b1f2a59c6da38e7745059f87c22e5e62ebfcf7 Mon Sep 17 00:00:00 2001 Message-Id: <17b1f2a59c6da38e7745059f87c22e5e62ebfcf7.1713410150.git.mdw@distorted.org.uk> From: Mark Wooding Date: Tue, 4 Mar 2003 10:25:43 +0000 Subject: [PATCH] Fixes to elite-path and elite-editor. Describe installation on Woody. Organization: Straylight/Edgeware From: mdw --- README | 36 +++++++++++++++++++++++++++++++----- 1 file changed, 31 insertions(+), 5 deletions(-) diff --git a/README b/README index 88aae48..102cdd7 100644 --- a/README +++ b/README @@ -5,14 +5,24 @@ RIGHT ON COMMAND-LINE You need a C compiler and a working Tcl/Tk installation. (The elite-editor program needs Tk; the rest of the tools don't.) - The Makefile works on my Debian GNU/Linux box, but I'm not - making any promises about anyone else's. I've successfully + The Makefile works on my Debian GNU/Linux box (potato), but I'm + not making any promises about anyone else's. I've successfully built earlier versions of everything under Cygwin, against ActiveState's Tcl 8.4, but I've forgotten the Holy Runes. I do have the `.def' file I used to build the DLL, though, for whatever that's worth. (If you want to hack the Makefile to work under Windows, I'll take a patch.) + The runes for Debian woody are: + + $ make INCLUDES=/usr/include/tcl8.3 + $ ROOTLY make install prefix=/usr + + (where ROOTLY is some command which does things with root + privileges, say `sudo', `become root' or, at a pinch, `su -c') + because the Tcl installation no longer looks in /usr/local/lib, + worse luck. + The theory is that you should edit the Makefile for your system and say `make'; then, as some suitably privileged person, say `make install' and stand well back. Everything should then be @@ -135,7 +145,7 @@ RIGHT ON COMMAND-LINE - elite-path [-g GALAXY] [-w WEIGHT] PLANET PLANET ... + elite-path [-g GALAXY] [-w WEIGHT] [-a ACC] PLANET PLANET ... Computes a route through a GALAXY (default is standard galaxy 1), starting at the first PLANET listed, via the second, via the @@ -166,6 +176,21 @@ RIGHT ON COMMAND-LINE fuel Minimize absolute distance. For those on a tight budget. + The `-a' option controls what total is accumulated down the + right hand side of the summaries: + + none No running total down the right hand side. + + distance Accumulate distance, in lightyears. + + weight Accumulate the shortest-path weight function. + + Beneath the path is printed a total for distance and weight if + these are interesting and not already displayed. The weight for + `hops' and `fuel' are simply the hop count and distance in + lightyears respectively; the other weight functions use + appropriate square-law functions. + elite-reach [-d DIST] [GALAXY ...] @@ -406,7 +431,8 @@ RIGHT ON COMMAND-LINE the home and destination worlds, and the distance between them. You can type new names (or any old planet spec) into either to select different planets. The change will take place when you - press return or when the input focus moves. + press return or when the input focus moves. Pressing control- + return will pop up the appropriate planet info window. The `Compute path' lets you do the same kinds of computations as the elite-path tool. It plots a route from the home to the @@ -450,7 +476,7 @@ RIGHT ON COMMAND-LINE unrewarding) or pirates (risky and tedious), and start trading food and other cheap items. -$Id: README,v 1.5 2003/03/02 12:28:14 mdw Exp $ +$Id: README,v 1.6 2003/03/04 10:25:43 mdw Exp $ Local variables: mode: text -- [mdw]