Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Executing coprocess causes echo of input to be lost 1

Status
Not open for further replies.

SteveR77

Programmer
Sep 18, 2000
813
US
When I run a Korn shell script in Solaris that has a statement like -

passwd 2>/dev/null |&

Once I exit from the script I can no longer see my keyboard input even though it is still being accecpted.

The only resolution that I have is to exit and come back into the environment.

Thanks in advance for the assistance.
 
The passwd command turns off echo on the tty, so you can expect the keyboard input to disappear until passwd exits, or until you expressly reenable echo, like so:

stty echo



Rod Knowlton
IBM Certified Advanced Technical Expert pSeries and AIX 5L

 
Thanks everyone. The stty echo worked, and will work in every UNIX/Linux environment.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top