Xref: utzoo comp.dcom.modems:1380 comp.unix.questions:5491 Path: utzoo!utgpu!water!watmath!clyde!rutgers!im4u!ut-sally!utah-cs!utah-gr!uplherc!sp7040!obie!wes From: wes@obie.UUCP (Barnacle Wes) Newsgroups: comp.dcom.modems,comp.unix.questions Subject: Re: dial in / out on same line Summary: Two devices for single modem line Message-ID: <30@obie.UUCP> Date: 4 Feb 88 05:35:37 GMT References: <142@mccc.UUCP> <564@virginia.acc.virginia.edu> <10321@mimsy.UUCP> <3015@lll-winken.llnl.gov> Organization: UinTech, Layton, UT Lines: 21 In article <3015@lll-winken.llnl.gov>, casey@lll-crg.llnl.gov (Casey Leedom) writes: > In article <10354@mimsy.UUCP> chris@mimsy.UUCP (Chris Torek) writes: > > Nonetheless, I believe two devices is most appropriate. After all, > > the modem is, virtually speaking, two devices! > > ...But fundamentally you're right, > we're talking about two different pseudo devices which are implemented on > the same physical device. Sorry for the stones. Right. As a matter of fact, MicroPort supports different 'pseudo devices' for the tty ports in their '286 and '386 System V: /dev/tty0 also maps to /dev/ttym0 and /dev/ttyM0. You can run a getty on M0, and call out on m0. If anything but getty (i.e. a login process) has M0 open, the m0 open will fail. When m0 is opened, the M0 process just blocks until m0 is closed. Clever, and works pretty well. -- {backbones}!utah-cs!utah-gr!uplherc!sp7040!obie!wes "Against Stupidity, The Gods Themselves Contend in Vain." -- Asimov