Return-Path: Delivered-To: apmail-karaf-issues-archive@minotaur.apache.org Received: (qmail 61833 invoked from network); 15 Mar 2011 10:41:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Mar 2011 10:41:53 -0000 Received: (qmail 99455 invoked by uid 500); 15 Mar 2011 10:41:53 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 99434 invoked by uid 500); 15 Mar 2011 10:41:53 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 99426 invoked by uid 99); 15 Mar 2011 10:41:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Mar 2011 10:41:53 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Mar 2011 10:41:51 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 8A9A63AA83C for ; Tue, 15 Mar 2011 10:41:29 +0000 (UTC) Date: Tue, 15 Mar 2011 10:41:29 +0000 (UTC) From: "Andreas Pieber (JIRA)" To: issues@karaf.apache.org Message-ID: <1139452459.3358.1300185689564.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <342786632.8419.1299091478057.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Commented: (KARAF-496) Karaf prompt displayed twice MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/KARAF-496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13006869#comment-13006869 ] Andreas Pieber commented on KARAF-496: -------------------------------------- correction. I mean a different issue in linux :). This one is windows only (I can reproduce it) > Karaf prompt displayed twice > ---------------------------- > > Key: KARAF-496 > URL: https://issues.apache.org/jira/browse/KARAF-496 > Project: Karaf > Issue Type: Bug > Components: console > Affects Versions: 2.1.4, 2.2.0 > Environment: Windows > Reporter: Jarek Gawor > > When running Karaf on Windows with -Djline.terminal=jline.UnsupportedTerminal the Karaf prompt in the console is displayed twice after executing some command (i.e. pressing enter). > I believe the problem is in the jline library in ConsoleReader.readLine(InputStream) as the function will return after seeing first \r or \n. But on Windows \r\n is used as the EOL and the function does not consume the remaining \n. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira