I\'ve been trying, with a little help to create an expect script to query a service via telnet.
Sometime the response is formatted oddly, in the expect debug response [1]