Problems with Modem::Vgetty

Alex Povolotsky (tarkhil@asteroid.svib.ru)
Thu, 26 Nov 1998 14:57:45 +0300


 <199811261054.LAA02085@gloin.fi.muni.cz>Jan Kasprzak writes:
>Alex Povolotsky wrote:
>: Attempt to use Modem::Vgetty results in lots of warnings like
>: 
>: Filehandle Symbol::GEN2 never opened at /usr/local/lib/perl5/5.00502/i386-fr
>eebsd/IO/Handle.pm line 379.

>	Can you please send me at least parts of the voice program
>you are using? The "uninitialized value" and other Perl warnings may
You will laugh - it's answering_machine.pl. 
>in fact be originated from your code which passes some uninitialized argument
>to the Modem::Vgetty module.
>	On the other hand, the vgetty error apparently does not have
>anything to do with the Perl module. It seems that the modem does not
>support the compression from your .rmd file. You can try to create
Look closely to modem log. The error message is actually _Perl_ _warning_. 
When running the same thing from vm shell, I get lots of warnings to stderr, 
but all works. The same (_S_A_M_E_) .rmd file is played by vgetty just fine.
>the new welcome.rmd file with another compression method (using pvftormd,
>for example). I would expect that the "vm play welcome.rmd" command would
>fail with the same error.
No. it does _NOT_ fail.
>	I am sending a carbon copy of this mail to mgetty list. You will
>probably need to tell us at least the type of your modem and send more
>detailed logs (set the higher loglevel in voice.conf and mgetty.conf).
Modem is Rockwell-based Inpro IDC 2814BXL/VR, the best thing that can be done 
on Rockwell chipset.

Everything works just nice, but all perl scripts using Modem::Vgetty gives THE 
SAME warnings to stderr, and every perl script running from vgetty fails with 
THE SAME errors.

Alex.