Xref: utzoo unix-pc.general:3708 comp.sys.att:7529 Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!sun-barr!newstop!sun!amdahl!rtech!binky!roger From: roger@binky.uucp (Roger Taranto) Newsgroups: unix-pc.general,comp.sys.att Subject: Re: Rn won't work om modem port? Message-ID: <1989Sep9.035035.7815@binky.uucp> Date: 9 Sep 89 03:50:35 GMT References: <332@lock60.UUCP> Reply-To: roger@binky.UUCP (Roger Taranto) Organization: Binky, Inc., Alameda, CA Lines: 15 In article <332@lock60.UUCP> mhw@lock60.UUCP (Mark H. Weber) writes: > Rn works fine from the console, or from /dev/tty000. But when I log in >through the modem port via /dev/ph1, I get a "Can't open /dev/tty" error >message as soon as I start rn. Any hints? In term.c, there is a line that looks like: devtty = open("/dev/tty",0); You need to change it to: devtty = open("/dev/tty",O_RDWR); (or, use 2 instead of O_RDWR) Can we get this added to the frequently-asked-questions posting? -Roger roger@binky.UUCP ...!{pacbell,ucbcad,rtech}!binky!roger