Screen corruption with telnet, ssh
I have a shell script which invokes multiple processes and each of the processes write output to the terminal by using terminal functions like "tput cup x y" and "echo "xxx".
I have ensured that there is no race condition when the processes simultaenously write to the terminal by implementing a lock mechanism. This works perfectly when I run the script from my linux machine console. However, when I use telnet/ssh to connect to the machine and then invoke the script, I find that though there is no screen corruption most of the times, sometimes there is corruption. What could be the reason? Thanks and Regards, Subu |
All times are GMT -5. The time now is 09:57 AM. |