1 |
< |
/* Copyright (c) 1987 Regents of the University of California */ |
1 |
> |
/* Copyright (c) 1991 Regents of the University of California */ |
2 |
|
|
3 |
|
#ifndef lint |
4 |
|
static char SCCSid[] = "$SunId$ LBL"; |
121 |
|
maptext(); |
122 |
|
/* print header */ |
123 |
|
printargs(argc, argv, stdout); |
124 |
< |
printf("\n\n"); |
124 |
> |
fputformat(COLRFMT, stdout); |
125 |
> |
putchar('\n'); |
126 |
|
/* write out bitmap */ |
127 |
|
writemap(stdout); |
128 |
|
|
392 |
|
} |
393 |
|
} |
394 |
|
free((char *)scanout); |
394 |
– |
} |
395 |
– |
|
396 |
– |
|
397 |
– |
printargs(ac, av, fp) /* print arguments to a file */ |
398 |
– |
int ac; |
399 |
– |
char **av; |
400 |
– |
FILE *fp; |
401 |
– |
{ |
402 |
– |
while (ac-- > 0) { |
403 |
– |
fputs(*av++, fp); |
404 |
– |
putc(' ', fp); |
405 |
– |
} |
395 |
|
} |