version 1.7, 2003/06/03 02:56:06 |
version 1.8, 2003/06/10 22:20:44 |
|
|
/* the char gen code below is lifted from lpd */ |
/* the char gen code below is lifted from lpd */ |
|
|
static char * |
static char * |
scnline(key, p, c) |
scnline(int key, char *p, int c) |
int key; |
|
char *p; |
|
int c; |
|
{ |
{ |
int scnwidth; |
int scnwidth; |
|
|
|
|
|
|
|
|
static int |
static int |
dropit(c) |
dropit(int c) |
int c; |
|
{ |
{ |
switch(c) { |
switch(c) { |
|
|
|
|
} |
} |
|
|
static void |
static void |
scan_out(scfd, scsp, dlm) |
scan_out(int scfd, char *scsp, int dlm) |
int scfd, dlm; |
|
char *scsp; |
|
{ |
{ |
char *strp; |
char *strp; |
int nchrs, j; |
int nchrs, j; |
|
|
* for each word, print up to 10 chars in big letters. |
* for each word, print up to 10 chars in big letters. |
*/ |
*/ |
int |
int |
main(argc, argv) |
main(int argc, char *argv[]) |
int argc; |
|
char **argv; |
|
{ |
{ |
char word[10+1]; /* strings limited to 10 chars */ |
char word[10+1]; /* strings limited to 10 chars */ |
|
|