How to force input from tty
Posted
by ZelluX
on Stack Overflow
See other posts from Stack Overflow
or by ZelluX
Published on 2010-05-05T08:24:18Z
Indexed on
2010/05/05
8:28 UTC
Read the original article
Hit count: 254
I'd like to write a program which reads user input only from tty, instead of redirected stdin pipes, like passwd and ssh do. Is there any approach?
Many thanks
© Stack Overflow or respective owner