/*
* Copyright 2005 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/*
* Copyright (c) 1983 Regents of the University of California.
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*/
#pragma ident "%Z%%M% %I% %E% SMI"
/*
* Routines for dialing up on DN-11
*/
#include "tip.h"
void alarmtr(void);
int
{
int timelim;
(void) printf("\nstarting call...");
(void) printf("line busy...");
else
(void) printf("acu open error...");
return (0);
}
return (0);
}
/*
* ignore this stuff for aborts
*/
(void) sleep(2);
}
/*
* open line - will return on carrier
*/
(void) printf("lost carrier...");
else
(void) printf("dialup line open failed...");
(void) alarm(0);
return (0);
}
(void) alarm(0);
;
if (lt != 0) {
return (0);
}
return (1);
}
void
alarmtr(void)
{
(void) alarm(0);
}
/*
* Insurance, for some reason we don't seem to be
* hanging up...
*/
void
dn_disconnect(void)
{
(void) sleep(2);
if (FD > 0)
}
void
dn_abort(void)
{
(void) sleep(2);
if (child > 0)
if (dn > 0)
if (FD > 0)
}