Return to ul.c CVS log | Up to [local] / src / usr.bin / ul |
version 1.3, 1996/06/26 05:42:05 | version 1.4, 1997/01/15 23:43:27 | ||
---|---|---|---|
|
|
||
termtype = getenv("TERM"); | termtype = getenv("TERM"); | ||
if (termtype == NULL || (argv[0][0] == 'c' && !isatty(1))) | if (termtype == NULL || (argv[0][0] == 'c' && !isatty(1))) | ||
termtype = "lpr"; | termtype = "lpr"; | ||
while ((c=getopt(argc, argv, "it:T:")) != EOF) | while ((c=getopt(argc, argv, "it:T:")) != -1) | ||
switch(c) { | switch(c) { | ||
case 't': | case 't': |