Hey LQ Users-
I have a simple bash menu script that I have setup in xinetd as a service listening on port 3333. The script output (formatting) looks fine when running it from a SSH terminal and also when I telnet localhost 3333, however, it is completely skewed when running it from a remote pc via telnet. I have tried several different remote computers to verify it is not the local settings of the telnet client.
Is there any sort of formatting tricks or tips anyone can provide me to ensure the output is consistent when viewing over a remote telnet session?
The script I am using as an example is at:
http://www.troubleshooters.com/codecorn/sockets/
I have attached 2 screenshot examples, one showing the layout via a local telnet and one via a remote telnet session.
Also, I have searched all over looking for a thread on this, but only seem to find threads regarding creating telnet scripts for checking server stats etc.
Any help is appreciated!