Read and write /dev/ttya?
Barry Margolin
barmar at think.com
Sat Jan 19 14:23:36 AEST 1991
In article <MONTNARO.91Jan18213947 at spyder.crd.ge.com> montanaro at crdgw1.ge.com (Skip Montanaro) writes:
>The getc() just hangs. What am I doing wrong?
Does the device send carriage return after its response? If not, you have
to put the terminal device in the mode where it returns characters
immediately. You don't say what flavor of Unix you're using, so I can't
tell you the exact ioctl to use.
--
Barry Margolin, Thinking Machines Corp.
barmar at think.com
{uunet,harvard}!think!barmar
More information about the Comp.unix.programmer
mailing list