Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 92372 invoked from network); 3 Dec 2006 08:02:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Dec 2006 08:02:14 -0000 Received: (qmail 44175 invoked by uid 500); 3 Dec 2006 08:02:18 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 44123 invoked by uid 500); 3 Dec 2006 08:02:18 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 44112 invoked by uid 99); 3 Dec 2006 08:02:18 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Dec 2006 00:02:18 -0800 X-ASF-Spam-Status: No, hits=3.9 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,HTML_MESSAGE,MSGID_FROM_MTA_HEADER,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of dannewikman@hotmail.com designates 65.54.246.206 as permitted sender) Received: from [65.54.246.206] (HELO bay0-omc3-s6.bay0.hotmail.com) (65.54.246.206) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Dec 2006 00:02:05 -0800 Received: from hotmail.com ([64.4.17.74]) by bay0-omc3-s6.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.1830); Sun, 3 Dec 2006 00:01:45 -0800 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 3 Dec 2006 00:01:45 -0800 Message-ID: Received: from 82.182.86.78 by BAY111-DAV2.phx.gbl with DAV; Sun, 03 Dec 2006 08:01:41 +0000 X-Originating-IP: [82.182.86.78] X-Originating-Email: [dannewikman@hotmail.com] X-Sender: dannewikman@hotmail.com From: "Daniel Wikman" To: Subject: TelnetClient problem? Date: Sun, 3 Dec 2006 08:51:02 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000A_01C716B8.2916C4A0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 X-OriginalArrivalTime: 03 Dec 2006 08:01:45.0374 (UTC) FILETIME=[46A74BE0:01C716B1] X-Virus-Checked: Checked by ClamAV on apache.org ------=_NextPart_000_000A_01C716B8.2916C4A0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi all! I wonder if someone has seen this and know a "cure" for this behaviour. = I wrote a program based=20 on the commons.net TelnetClient class. When using the program towards a = Unix or Linux box=20 directly everything works fine, but when using telnet towards a serial = blackbox, I always get an=20 extra newline added when writing commands (it seems like TelnetClient or = the underlying stream=20 makes line terminations a la windows... The fun part is that if I make = my own TelnetClient program=20 based on Java.util.ProcessBuilder it works just fine. I'd really like to = make my program independent=20 of the "/usr/bin/telnet" to make it work on windows platform as well. = Does anyone know what=20 option that controls this in TelnetClient?=20 BR /Daniel ------=_NextPart_000_000A_01C716B8.2916C4A0--