You can pick up a copy of the whole system from getplan.shar.
addentry.cgi call the editor (in editor.c etc) to add an entry
addpage.c Program to set up the arguments for makeroad; this is called from addpage.cgi
addpage.cgi make a new road attribute file; calls addpage to parse CGI args, and makeroad to do the work
addpageform.cgi Create the form for adding a new road; the form then uses addpage.cgi for its action
anchor.c output text with HTML anchors
anchor.h exports for anchor.c
ascii.c Outputs a streetplan as ASCII graphics.
ascii.h Exports from ascii.c.
attr.c Parse an attribute file (see ../doc/authoring/format.html), producing entry structures.
attr.h Defines the `entry' data structure.
browser-test.cgi receive the results of the browser test page
cgi.c Parse CGI arguments, caching them as they are asked for.
cgi.h exports for cgi.c
compile.cgi compile on the web server (no longer used as I have now found a local machine with a suitable compiler)
delete.cgi remove (suppress) an entry (normally a dummy entry) by marking it as deleted
edit.c This file outputs edit forms for entries, with the appropriate fields for each type and kind of entry.
edit.cgi calling script for the forms-driven attribute data editor
edit.h exports for edit.c
editor.c The program for accepting an edit to a streetplan or other entry.
further-options.cgi Generate a form that lets the user set more options than are presented at the bottom of each page, then go back to the page they called this form up from
get-name.c I don't think I use this any more -- 961127
getplan.c The main program for outputting a streetplan or other entry.
getplan.cgi main CGI script for the streetplan system, to call the program whose main routine is in getplan.c
graphics.c handle the graphics control file (see ../doc/tech/graphics.html)
graphics.h exports for graphics.c
grid.h Exports from make-grid.c, and defines the cell, row and grid structures.
indexer.c program to generate the index files for the search facility; called from indexer.cgi
indexer.cgi reconstruct the search facility index files, using the program in indexer.c
layout-areas assemble area layout data for each area from the area-layout-data entries of all the roads that mention that area; either run locally by the streetmaster, or from layout-areas.cgi
layout-areas.cgi CGI script generate area layout data, using layout-areas
layout-edges.awk
linkname convert a name into the form we use for links: all lower-case, non-letters replaced by dashes
list-all-files list all the attribute file names to stdout
list-all-links list all links mentioned in all attribute files, to stdout
list-files-perl.cgi
list-files.cgi CGI script to list all the attribute files for a given type of feature -- uses sed and grep to parse CGI arguments
list-missing-links list to stdout all the links that are mentioned in any attribute file but not defined by any
list-missing-roads
locate-missing-links indicate which attribute files have links which are not defined anywhere
make-grid.c Converts a list of entry structures to a grid of cell structures.
makeroad generate a new road file, with dummy entries in it; called from addpage.cgi, with arguments converted from CGI format by program in addpage.c
merger.c merger program for the streetmaster to use to move edits from ../edit-requests/new-entries.attr and ../edit-requests/new-edits.attr into the main data files
misc.c html headers and trailers, debugging, time of day, whatever
misc.h exports for misc.c, and a few other things
missing-links.cgi List all links already linked to but not yet entered into the database
missing-roads.cgi List all roads already linked to but not yet entered into the database
namefromlink try to construct a proper name from a link -- approximately reverse of linkname
parse-logs script for the streetmaster to use to extract information from the log files
propername auxiliary for makeroad
putedit.c does much of the work for the program in editor.c
putedit.h exports and defines for putedit.c
readattr.h exports and definitions for reading attribute files
readbuffers.h define input buffers for file readers
save.c write attribute data back to files
save.h exports for save.c
search-by-shell.cgi
search.c
search.cgi CGI wrapper for the search engine
searchform.cgi generate a search form, with hidden fields such that when the user gets the search results page and goes to one of the entries found, the entry will be presented in the style they were using when they selected search from the menu at the bottom of the page
sel-opt.c Mark the selected option (in generating an option list in an HTML form); called from addpageform.cgi
setup.cgi
sizes.c Calculate the sizes of things, e.g. width of columns for export.
sizes.h Exports for sizes.c.
spread.c Takes the raw grid from make-grid.c and widens and deepens any cells that cover more than one grid square.
spread.h Exports from spread.c.
style.h Defines the style structure (for remembering how to output things), and macros to output links in different styles from the current one
substitution.c This implements substitutions, as described in getplan argument documentation.
substitution.h exports for substitution.c
table.c Output grid as table; also contains the routines for outputting a single entry (as done within each table cell).
table.h exports for table.c
testaddentry shell script for developer to run the editor (in editor.c etc) manually
testaddpage script for the developer to run the attribute file creator manually
testarea script for the developer to run the main script automatically to produce an area page, for testing
testedit script for the developer to run the page editor (in editor.c etc) automatically
testrun script for the developer to run the main script automatically, for testing
xpargifs make the gif backgrounds transparent
Daniel Sturdy (proprietor)
Last modified: Wed Nov 27 18:11:50 1996