Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 264315

Summary: net-dialup/wvdial-1.60 : feature request : read parameter(s) from stdin instead of config file or environment variable
Product: Gentoo Linux Reporter: Etienne Hilson <etienne.hilson>
Component: Current packagesAssignee: Gentoo Dialup Developers <net-dialup>
Status: RESOLVED UPSTREAM    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Etienne Hilson 2009-03-30 17:37:45 UTC
I would enjoy the following feature :
User could specify that one or more parameter should be read from stdin instead of config file or environment variable.
One special value should be set to mean "stdin" as value
example :
Password=-
or
Password=__STDIN__

If one parameter value is set to that special value, wvdial stops, reads (waits) the value from stdin, then continue.

It would be used mainly for the value of the password (but should be easily generic for all parameters), because some people have to use some passwords generated with some kind of calculator, and these password have a very limited lifetime (shorter than the time needed for the modem to dial...)

Thank you very much if you decide to do it :-)

Reproducible: Always

Actual Results:  
Username and password are filled automagically by wvdial

Expected Results:  
any parameter can be read from standard input.
example with password :
When the password prompt is detected, read a value from standard input and use that value.
Comment 1 Markus Ullmann (RETIRED) gentoo-dev 2009-05-20 12:16:53 UTC
please post this to wvdial developers, we just maintain the ebuilds for the app ;)