[cs631apue] echo "Kookaburra has left the tree" | ./aed -e | ./aed -d

lbustama lbustama at stevens.edu
Mon Dec 9 03:07:42 EST 2013


Hi,

I'm using repassphrase(3) to read the user provided password.

when I run "echo "Kookaburra has left the tree" | ./aed -e | ./aed -d" 
the password prompt for the two instances of the program overlap, and 
echoing turns on after the first instance of the program has completed 
reading it's password.


lbustama at avalon:~/cs631/HW5$ echo "Kookaburra has left the tree" | ./aed 
-e | ./aed -d
Password: Password:
Again:
secretpassword <<<<<<<<<<<<<<<<<<<ECHOING IS BACK ON

Kookaburra has left the tree

any suggestions on how to fix this?

Thanks,

Luis


More information about the cs631apue mailing list