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.
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.