[Fwd: Vgetty question]
Vandoorselaere Yoann (yoann@coldserver.com)
Thu, 24 Jun 1999 11:37:31 +0000
Ok,
starting with a new blank message :-)
For file locking i'm agree with what you said,
For the server question, and what difference between a process forking
itself or
inetd execing a new process, this is off topic ( at this time ).
What you said is I don't need vgetty to make what i want to make...
You said that, when my program is running , it just had to lock the tty
device,
and so vgetty doesn't take the call...
Now how do i do if the user doesn't want to take the call & click on the
answering machine button ?
I can remove the lock file, but vgetty will reinitialize itself and wait
for
the ring count defined in it's config file...
The time it do this, the person who is calling probably hangup it's
phone...
Now the person don't hang up, and vgetty record a message...
What about a way to stop the recording and take the call ?
To do all of that, there 2 solutions :
1: Adding one or two feature to vgetty, which make it useable by other
application...
2: Bother adding all the code already written in vgetty and so, the 2
program
would never run happily...
So please here is the following question :
1: How about adding SPEAKER_PHONE_MODE to *_set_device() ?
( Am i wrong or speaker phone mode is the same thing as local handset ?
).
2: How about making a *clean* way to talk to vgetty ( server or library
or pipe,
i don't care...) ?
Keep in touch
--
-- Yoann
It is well known that M$ products don't call free() after a malloc().
The Unix community wish them good luck for their future developments.