in reply to Modifying STDOUT and keeping control
machine:~ > telnet hostname 25 Trying 192.168.0.1... Connected to hostname. Escape character is '^]'. 220 hostname.domain ESMTP Postfix QUIT 221 Bye Connection closed by foreign host.
compare to:
machine:~ > telnet hostname 25 | tail +4 220 hostname.domain ESMTP Postfix QUIT Connection closed by foreign host. 221 ByeI'm not sure you won't still have line vs character mode issues, but it might help.
|
|---|