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!

stty from tcl

Status
Not open for further replies.

srinadh

Programmer
Nov 26, 2002
1
CA
I need to do "stty rows x columns y" from my tcl program..

However if I run the program in background, the program goes into suspended mode:
[1] + Suspended (tty output) ./console_logs -l tmp
and waits to be put it to foreground with 'fg' to continue..

If I remove the stty command, then program runs to completion.


The reason for stty in my program is I need to send some commands to a remote node and get output. If I run the program from short windows, command is getting trimmed and remote node cannot understand it.
 
I don't know for certain but it makes sense to me that the TTY needs to be accessed by an "active" (i.e., foreground) program.

_________________
Bob Rashkin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top