[comp.sys.att] UNIX PC and rn problem.

lenny@icus.UUCP (11/08/87)

I am having a problem getting rn working with the modem.  If I call up
my system on the modem, I get a "Can't open tty".  I remember there was
a problem mentioned about this a long time ago.  Did anyone have a suggestion
on how to fix this?  BTW:  I am running UNIX OS 3.51.


						-Lenny
-- 
    Lenny Tropiano      | UUCP: {mtune,uunet!swlabs!godfre}!quincy!\ 
  ICUS Computer Group   |  ...{ihnp4,chinet,safari,boulder,skeeve}! \icus!lenny
       PO Box 1         |           ...{cmcl2!phri,hoptoad}!dasys1! / 
Islip Terrace,  NY 11752|...{seismo,rutgers,cmcl2}!harvard!talcott!/ 

lenny@icus.UUCP (11/08/87)

I found the problem with rn not working from the UNIX PC's modem and failing
with a "Can't open tty".

Patch is in file: term.c,v 4.3.1.2 85/05/16 16:45:35 lwall Exp $

    1. Change the lines:

    	devtty = open("/dev/tty",0);
    		-to-
    	devtty = open("/dev/tty",O_RDWR|O_NDELAY); 

    2. Remove the line:

    	fcntl(devtty,F_SETFL,O_NDELAY);


Hope this helps..

						-Lenny
-- 
    Lenny Tropiano      | UUCP: {mtune,uunet!swlabs!godfre}!quincy!\ 
  ICUS Computer Group   |  ...{ihnp4,chinet,safari,boulder,skeeve}! \icus!lenny
       PO Box 1         |           ...{cmcl2!phri,hoptoad}!dasys1! / 
Islip Terrace,  NY 11752|...{seismo,rutgers,cmcl2}!harvard!talcott!/