Lines 312-335
Link Here
|
312 |
putpad(CL); |
312 |
putpad(CL); |
313 |
edithost(HE); |
313 |
edithost(HE); |
314 |
|
314 |
|
315 |
/* if this is the first time through this, and an |
315 |
if (first_time && !(PL && PP)) { |
316 |
issue file has been given, then send it */ |
316 |
int fd = -1; |
317 |
if (first_time && IF) { |
|
|
318 |
int fd; |
319 |
|
317 |
|
320 |
if ((fd = open(IF, O_RDONLY)) != -1) { |
318 |
if (IF) { |
321 |
char * cp; |
319 |
if ((fd = open(IF, O_RDONLY)) != -1) { |
|
|
320 |
char * cp; |
322 |
|
321 |
|
323 |
while ((cp = getline(fd)) != NULL) { |
322 |
while ((cp = getline(fd)) != NULL) |
324 |
putf(cp); |
323 |
putf(cp); |
|
|
324 |
close(fd); |
325 |
} |
325 |
} |
326 |
close(fd); |
|
|
327 |
} |
326 |
} |
|
|
327 |
if (fd == -1 && IM && *IM) |
328 |
putf(IM); |
329 |
first_time = 0; |
328 |
} |
330 |
} |
329 |
first_time = 0; |
|
|
330 |
|
331 |
|
331 |
if (IM && *IM && !(PL && PP)) |
|
|
332 |
putf(IM); |
333 |
if (setjmp(timeout)) { |
332 |
if (setjmp(timeout)) { |
334 |
cfsetispeed(&tmode, B0); |
333 |
cfsetispeed(&tmode, B0); |
335 |
cfsetospeed(&tmode, B0); |
334 |
cfsetospeed(&tmode, B0); |