|
8.8.1 ExampleHere's a function that prompts for a password with echoing turned off. Note the technique using a separate tcgetattr() call and a try ... finally statement to ensure that the old tty attributes are restored exactly no matter what happens:
See About this document... for information on suggesting changes. |