karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Pieber (JIRA)" <j...@apache.org>
Subject [jira] Commented: (KARAF-496) Karaf prompt displayed twice
Date Tue, 15 Mar 2011 10:41:29 GMT

    [ 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

> 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

View raw message