Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!zaphod.mps.ohio-state.edu!think.com!barmar From: barmar@think.com (Barry Margolin) Newsgroups: comp.unix.programmer Subject: Re: Read and write /dev/ttya? Message-ID: <1991Jan19.032336.29741@Think.COM> Date: 19 Jan 91 03:23:36 GMT References: Sender: news@Think.COM Organization: Thinking Machines Corporation, Cambridge MA, USA Lines: 12 In article montanaro@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@think.com {uunet,harvard}!think!barmar