Return-Path: Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 29226 invoked from network); 25 Jun 2003 12:02:37 -0000 Received: from india-ironport-1.cisco.com (64.104.129.195) by daedalus.apache.org with SMTP; 25 Jun 2003 12:02:37 -0000 Received: from andiamo.com (64.104.129.221) by india-ironport-1.cisco.com with ESMTP; 25 Jun 2003 17:55:09 +0000 Received: from cbin3-mira-01.cisco.com (localhost [127.0.0.1]) by india-msg-core-1.cisco.com (8.12.2/8.12.6) with ESMTP id h5PHUkbM018567 for ; Wed, 25 Jun 2003 17:30:47 GMT Received: from andiamo.com (andlx-jitu.cisco.com [64.104.131.208]) by cbin3-mira-01.cisco.com (Mirapoint) with ESMTP id AGR03511; Wed, 25 Jun 2003 17:24:49 +0530 (IST) Message-ID: <3EF98F57.1050603@andiamo.com> Date: Wed, 25 Jun 2003 17:32:31 +0530 From: Jitu User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: commons-user@jakarta.apache.org Subject: telnet - Reading till the end without prompt Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Does anyone know, how can i use commons-net telnet apis, so as to be able to read till the very end, even without knowing the prompt to expect ? Right now, if i do not know the prompt, my program will simply hang... Thanks