Bug in www LineMode client: Non-Interactive option + protected document

murphy@dccs.upenn.edu
Wed, 20 Jul 1994 15:43:12 -0400


If I give the -n option to the www line mode client program,
and I've asked it to fetch something which is a "protected"
document, it prints the following message to stderr, and waits for
input from the terminal.

WWW: Document is protected. Enter username for Access Log Thang at stwing.resnet.upenn.edu
WWW: Username:

This is a bug, in my opinion. If -n is specified, and a document
requires a username and password, then the program should assume it
CANNOT get the file, that the file is unavailable. It can print a
message to stderr saying WHY it's unavailable, but it should NOT stop
and wait for input from the terminal. After all, I've said '-n' and
put it into the background. Who knows, maybe I've even called it from
crontab!

--lam
____________________________________________
| |
| Linda A Murphy |
| murphy@dccs.upenn.edu |
| http://lam.dccs.upenn.edu/~murphy/ |
| Lead Programmer/Analyst |
| PennNet Services Development & Support |
| Data Communications & Computing Services |
| University of Pennsylvania |
|__________________________________________|