Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 264315 - net-dialup/wvdial-1.60 : feature request : read parameter(s) from stdin instead of config file or environment variable
Summary: net-dialup/wvdial-1.60 : feature request : read parameter(s) from stdin inste...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-30 17:37 UTC by Etienne Hilson
Modified: 2009-05-20 12:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ;)