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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sending keystrokes to a DOS app

Status
Not open for further replies.

jicote

Programmer
Jan 8, 2003
16
MX
Windows/DOS...

Do you know of any way to send keystrokes from Tcl to a DOS C program that waits for user input using function kbhit() in its source code?

what I understand is that this function cannot "listen" streams, i.e. redirection, is that true? any alternatives?

Thanks
Jorge
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top