df.c revision 7c478bd95313f5f23a4c958a745db2134aa03244
/*
* 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.
*/
#ident "%Z%%M% %I% %E% SMI" /* from UCB 4.8 6/25/83 */
/*
* Dial the DF02-AC or DF03-AC
*/
#include "tip.h"
static sigjmp_buf Sjbuf;
static void timeout();
{
}
{
}
int df03;
{
register int f = FD;
int speed = 0;
char c = '\0';
printf("connection timed out\r\n");
return (0);
}
printf("\ndialing...");
#ifdef TIOCMSET
if (df03) {
} else
}
#endif
sleep(1);
read(f, &c, 1);
#ifdef TIOCMSET
}
#endif
return (c == 'A');
}
{
sleep(1);
}
df_abort()
{
}
static void
timeout()
{
}