Telnet output lost when piped

From: patricio.mora@juntadeandalucia.es
Date: Thu Mar 08 2007 - 12:49:14 EST


Hello.
I have a script configured to be called through inetd, which echos a phrase
when telnet'ed. Everytime I put the line "telnet server port" to the right of
a pipe, and also when I call it from crontab., the echo doesn't appear. In a
terminal the command goes as expected. Through cron I see the usual
"Probing 10.244....
 Connected to ...
 Escape character is ...
 Connection closed by foreign host"
But no hint of my echo. I've played with TERMs types and redirections to no
result. Any ideas how to get the whole output?
Thanks in advance.
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:41:44 EDT