From ant-user-return-20614-qmlist-jakarta-archive-ant-user=jakarta.apache.org@jakarta.apache.org Thu May 16 21:01:24 2002 Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 39338 invoked from network); 16 May 2002 21:01:23 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 16 May 2002 21:01:23 -0000 Received: (qmail 8565 invoked by uid 97); 16 May 2002 21:01:16 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 8545 invoked by uid 97); 16 May 2002 21:01:15 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 8533 invoked by uid 98); 16 May 2002 21:01:15 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <80A38867B1DBD511A8C9009027764C8C6E3047@lexchange.lexgen.com> From: Alan Yu Feng To: "'ant-user@jakarta.apache.org'" Subject: Ant telnet task problem on Redhat 7.1 Date: Thu, 16 May 2002 16:01:05 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I searched the mailing list and seems that I am the only one having this problem. Anyway, here it is: When I use the ant (v1.4) telnet task to telnet a linux server (Redhat 7.1), if the command line is too long (> about 70 characters), it will be truncated into the next line when it is echoed back in the input stream. The direct result of it is the returns immediately without waiting for the command to finish execution. In the output, it shows that the telnet task identifies itself as of terminal type of "network", which the linux server doesn't know how to handle. Does someone have similar experience and how did you solve it? The work around I did was use "\" to manually break long command into several lines. But it looks really messy in terms readability. And the same script worked fine with Solaris server executed by ant version. Any input is appreciated, thanks! Yu (Alan) Feng Software Engineer Bioinformatics *************************************************************************** The contents of this communication are intended only for the addressee and may contain confidential and/or privileged material. If you are not the intended recipient, please do not read, copy, use or disclose this communication and notify the sender. Opinions, conclusions and other information in this communication that do not relate to the official business of my company shall be understood as neither given nor endorsed by it. *************************************************************************** -- To unsubscribe, e-mail: For additional commands, e-mail: