Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!allbery From: allbery@uunet.UU.NET (Brandon S. Allbery - comp.sources.misc) Newsgroups: comp.sources.misc Subject: v09i007: map program no. 1 of 2 Message-ID: <72709@uunet.UU.NET> Date: 26 Nov 89 20:14:37 GMT Sender: allbery@uunet.UU.NET Reply-To: gunnaro@hafro.is (Gunnar Orvarsson) Organization: Marine Research Institute, Reykjavik Lines: 641 Approved: allbery@uunet.UU.NET (Brandon S. Allbery - comp.sources.misc) Posting-number: Volume 9, Issue 7 Submitted-by: gunnaro@hafro.is (Gunnar Orvarsson) Archive-name: map_go/part01 map program: no. 1 of 2 This shell archive contains a reference manual for the program, and a README file where some changes are described. Unwrap this file ( no. 1) first. #---------------------------------- cut here ---------------------------------- # This is a shell archive. Remove anything before this line, # then unpack it by saving it in a file and typing "sh file". # # Wrapped by Gunnar Orvarsson on Mon Nov 20 15:52:10 1989 # # This archive contains: # Map # # Error checking via wc(1) will be performed. LANG=""; export LANG echo mkdir - Map mkdir Map echo x - Map/README cat >Map/README <<'@EOF' Program: MAP Author: Hughonnun s.f. Purpose: To draw a map with the options selected by the user. Parameters: The VENIX operating system supplies this program with two parameters: (1) the number of arguments specified on the command line when this program was executed; and (2) an array containing a copy of the arguments specified. A detailed description of this can be found in chapter two of 'VENIX PROGRAMMING GUIDE'. Description: This program calls a variety of external functions. Some are always called, and some are only called if the user has specified that particular option. An example is the 'tic' function, which is only called when the user wants to make ticmarks on the map's edges. Latest changes: Map can now run in colour on bst. Map can output in colour on hpgl printers. Map can use diffrent line modes on hpgl printers and on X-servers. ex: short-dashes, long-dashes etc. (see map manual). The window command has been written for use with the plot filters. The predefined station type symbols described in the 'MAP REFERENCE MANUAL' (see -o station) have been altered. They are: Type Symbol Description --- ------------------ 1 An empty triangle. 2 A filled triangle. 3 A plus sign. 4 An empty square box. 5 A filled square box. 6 An empty circle. 7 An empty diamond. 8 An x. Examples: See examples of using map in the directory Examples. Various maps are kept in the directory /usr/local/src/Kort. Usage: A complete script description is provided in the 'MAP REFERENCE MANUAL'. Map can be used in the following ways: Output on screen: hafro> map