Return-Path: X-Original-To: apmail-karaf-issues-archive@minotaur.apache.org Delivered-To: apmail-karaf-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4115A6B2C for ; Wed, 18 May 2011 14:42:30 +0000 (UTC) Received: (qmail 8962 invoked by uid 500); 18 May 2011 14:42:30 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 8942 invoked by uid 500); 18 May 2011 14:42:30 -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 8934 invoked by uid 99); 18 May 2011 14:42:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 May 2011 14:42:30 +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; Wed, 18 May 2011 14:42:27 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 682ACCF40F for ; Wed, 18 May 2011 14:41:47 +0000 (UTC) Date: Wed, 18 May 2011 14:41:47 +0000 (UTC) From: "Jarek Gawor (JIRA)" To: issues@karaf.apache.org Message-ID: <1841053403.22466.1305729707423.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <342786632.8419.1299091478057.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Assigned] (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:all-tabpanel ] Jarek Gawor reassigned KARAF-496: --------------------------------- Assignee: Jarek Gawor > 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 > Assignee: 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