vgetty: message_program?

Marc Eberhard (marc@poseidon.thphy.uni-duesseldorf.de)
Wed, 14 May 1997 16:36:46 +0200 (MET DST)


-----BEGIN PGP SIGNED MESSAGE-----

Hi!

Gert Doering wrote:
> Thomas Woelfer wrote:
> > there is something foul with my voice.conf
> > 
> > 1)
> > vgetty doesn't seem to know what to do with transmit_gain and
> > receive_gain
> [..]
> > 05/12 16:42:15 dem conf lib: read: 'receive_gain -1'
> > 05/12 16:42:15 dem something foul in config line: 'receive_gain -1'
> > 05/12 16:42:15 dem (most likely syntax error)
> > 05/12 16:42:15 dem conf lib: read: 'transmit_gain -1'
> > 05/12 16:42:15 dem something foul in config line: 'transmit_gain -1'
> > 05/12 16:42:15 dem (most likely syntax error)
> 
> It doesn't say "unknown keyword", it says "syntax error". AFAIK, the
> config routines doesn't yet permit negative values for integer arguments.
> 
> Sounds like a bug (in config.c) to me. 
> 
> Marc, is "-1" a valid thing to put in here?

Yes.

#
# Some modems support setting the receive gain. This value can be set in
# percent (0 to 100). 0 is off, 100 is maximum. To use the modem
# default value set this to -1. The default is -1.
#

receive_gain -1

#
# Some modems support setting the transmit gain. This value can be set in
# percent (0 to 100). 0 is off, 100 is maximum. To use the modem
# default value set this to -1. The default is -1.
#

transmit_gain -1

Bye,
Marc

- -------------------------------------------------------------------------------
Email: Marc.Eberhard@Uni-Duesseldorf.DE
WWW: http://Poseidon.ThPhy.Uni-Duesseldorf.DE/~marc/
PGP: http://Poseidon.ThPhy.Uni-Duesseldorf.DE/~marc/Marc_PGP.key

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv

iQCVAwUBM3nN+jR1rYTfG0TdAQG3bwP+NG1v/dRipkQht7x9vaQJCmx8WmyLSkwh
/0nZk/5v7UZMp8TpQFhBh3jEeqhBPXR3c+E7LIcDKWYiB4Xry+HMRQ2V9+mbnzCf
0q7/imnP5AsUt9YuVTJ6VBUZn3Ev5M15AaNRB7ummNBoW227ynMmyyER3ani6QaV
Im5YNa9xwEg=
=FSRh
-----END PGP SIGNATURE-----
.