[comp.unix.xenix] Trouble with "dial

tyager@mkunix.DEC.COM (Tom Yager) (03/20/88)

Hey, folks--
Recently, I tried to compile a short program using the dial() function
under SCO Xenix '386. I read the instructions in the manual (what there
is of them) and whipped up a quickie program that SHOULD work. But it
doesn't.

The entry in /usr/lib/uucp/L-devices for the only ACU listed says:
ACU tty1A /usr/lib/uucp/dialDEC112 1200
which works perfectly with 'cu' and 'uucico.' Does the dial() function
not bother with this? The reason I ask is that when I run the program
with this entry, it bombs reporting
/dev//usr/lib/uucp/dialDEC113: No such file or device
No, the "113" is not a typo! When I change the entry to read
ACU tty1A tty1A 1200
it enables the line (brings DTR high), sits for about 20 seconds, then
times out, sending nothing out the port. Of course, I know that without
a dialer definition it doesn't know what to send. I also know that
changing either of the device entries (tty1A) to something else results
in the dial() function returning immediately with an error: they must
both be device names.

Again, keep in mind that my dialer program, dialDEC112, does work with
cu and uucico. What am I doing wrong here?! I'm sure it must be
something really stupid.

Thanks in advance to all. If someone can get dial() to work under '386,
would you please mail me a small sample, along with the definition line
from L-devices?

(TY)

-- 
Tom Yager, Digital Ultrix Support ("It MUST be the hardware!")
U.S. Mail: DEC, 14 Walkup Drive YWO/C9, Westborough, MA 01581
uucp:      ...decvax!mkunix!tyager
"Eat a live toad in the morning; nothing worse will happen all day."