version 1.40, 2010/06/29 16:41:56 |
version 1.41, 2010/06/29 17:42:35 |
|
|
vinit(); /* init variables */ |
vinit(); /* init variables */ |
setparity("none"); /* set the parity table */ |
setparity("none"); /* set the parity table */ |
|
|
/* |
if (ttysetup(number(value(BAUDRATE)))) { |
* Hardwired connections require the |
|
* line speed set before they make any transmissions |
|
* (this is particularly true of things like a DF03-AC) |
|
*/ |
|
if (HW && ttysetup(number(value(BAUDRATE)))) { |
|
fprintf(stderr, "%s: bad baud rate %ld\n", __progname, |
fprintf(stderr, "%s: bad baud rate %ld\n", __progname, |
number(value(BAUDRATE))); |
number(value(BAUDRATE))); |
(void)uu_unlock(uucplock); |
(void)uu_unlock(uucplock); |
exit(3); |
exit(3); |
} |
} |
con(); |
con(); |
if (!HW && ttysetup(number(value(BAUDRATE)))) { |
|
fprintf(stderr, "%s: bad baud rate %ld\n", __progname, |
|
number(value(BAUDRATE))); |
|
(void)uu_unlock(uucplock); |
|
exit(3); |
|
} |
|
cucommon: |
cucommon: |
/* |
/* |
* From here down the code is shared with |
* From here down the code is shared with |