[Prev][Next][Index][Thread]

Re: sharing a comport?



Ira Abramov <ira@scso.com> wrote:

>  > It CAN'T be fine - you should NEVER use cua* devices - well, except with
>  > setserial, probably. Change the corresponding inittab line to use ttyS*.
>  cua*
>  > devices assume only one process can access them.
>  
>  I know you are not supposed to use them, but how else can you have mgetty
>  picking up the line for incoming calls, while at the same time calling out
>  with sendfax, pppd, diald, minicom or whatever?

Of course, you can't USE them simultaneously - or do you really want that an
outfoing fax will interrupt your current ppp session?! Each process USING (not
watching!) a ttyS device locks it, so others see it and don't try to catch it,
even if they need.

Evgeny


--
   ____________________________________________________________
  / Evgeny Stambulchik  <fnevgeny@plasma-gate.weizmann.ac.il>  \
 /  Plasma Laboratory, Weizmann Institute of Science, Israel \  \
 |  Phone : (972)8-934-3610  == | == FAX   : (972)8-934-3491 |  |
 |  URL   :    http://plasma-gate.weizmann.ac.il/~fnevgeny/  |  |
 |  Finger for PGP key >=====================================+  | 
 |______________________________________________________________| 


Follow-Ups: References: