Many small edits.
This commit is contained in:
parent
741f510ce7
commit
c8b6342d3c
160 changed files with 2204 additions and 864 deletions
|
|
@ -21,7 +21,7 @@ char *mapindex(char *);
|
|||
proj projection;
|
||||
|
||||
|
||||
static char *mapdir = "/lib/map"; /* default map directory */
|
||||
static char *mapdir = "#9/map"; /* default map directory */
|
||||
struct file {
|
||||
char *name;
|
||||
char *color;
|
||||
|
|
@ -150,6 +150,7 @@ main(int argc, char *argv[])
|
|||
double dd;
|
||||
if(sizeof(short)!=2)
|
||||
abort(); /* getshort() won't work */
|
||||
mapdir = unsharp(mapdir);
|
||||
s = getenv("MAP");
|
||||
if(s)
|
||||
file[0].name = s;
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ fn demo {proj=$1; shift;
|
|||
echo t $type
|
||||
echo 'm -8192 -8192'
|
||||
echo t $proj - $label
|
||||
MAP=world MAPDIR=/lib/map map $proj $* -s -d 5
|
||||
MAP=world MAPDIR=$PLAN9/map map $proj $* -s -d 5
|
||||
}
|
||||
sleep 5
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue