[ 
https://issues.apache.org/jira/browse/KARAF-479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13036937#comment-13036937
 ] 

Bruce Bolingbroke commented on KARAF-479:
-----------------------------------------

This may also help. My console window is 120 chars wide. I cannot duplicate 
this problem in the root container. Only in the new containers that I create 
with admin:create. Here are the steps to reproduce the problem:

karaf@root> features:addUrl 
mvn:org.familysearch.nge/nge-activemq-config-feature/1.0.18-SNAPSHOT/xml/features
karaf@root> admin:create activemq
Creating new instance on SSH port 8103 and RMI ports 1101/44446 at: 
C:\tools\apache-karaf-2.2.1\instances\activemq
Creating dir:  C:\tools\apache-karaf-2.2.1\instances\activemq\bin
Creating dir:  C:\tools\apache-karaf-2.2.1\instances\activemq\etc
Creating dir:  C:\tools\apache-karaf-2.2.1\instances\activemq\system
Creating dir:  C:\tools\apache-karaf-2.2.1\instances\activemq\deploy
Creating file: 
C:\tools\apache-karaf-2.2.1\instances\activemq\etc\config.properties
Creating file: C:\tools\apache-karaf-2.2.1\instances\activemq\etc\jre.properties
Creating file: 
C:\tools\apache-karaf-2.2.1\instances\activemq\etc\custom.properties
Creating file: 
C:\tools\apache-karaf-2.2.1\instances\activemq\etc\java.util.logging.properties
Creating file: 
C:\tools\apache-karaf-2.2.1\instances\activemq\etc\org.apache.felix.fileinstall-deploy.cfg
Creating file: 
C:\tools\apache-karaf-2.2.1\instances\activemq\etc\org.apache.karaf.log.cfg
Creating file: 
C:\tools\apache-karaf-2.2.1\instances\activemq\etc\org.apache.karaf.features.cfg
Creating file: 
C:\tools\apache-karaf-2.2.1\instances\activemq\etc\org.ops4j.pax.logging.cfg
Creating file: 
C:\tools\apache-karaf-2.2.1\instances\activemq\etc\org.ops4j.pax.url.mvn.cfg
Creating file: 
C:\tools\apache-karaf-2.2.1\instances\activemq\etc\startup.properties
Creating file: 
C:\tools\apache-karaf-2.2.1\instances\activemq\etc\users.properties
Creating file: 
C:\tools\apache-karaf-2.2.1\instances\activemq\etc\system.properties
Creating file: 
C:\tools\apache-karaf-2.2.1\instances\activemq\etc\org.apache.karaf.shell.cfg
Creating file: 
C:\tools\apache-karaf-2.2.1\instances\activemq\etc\org.apache.karaf.management.cfg
Creating file: C:\tools\apache-karaf-2.2.1\instances\activemq\bin\karaf.bat
Creating file: C:\tools\apache-karaf-2.2.1\instances\activemq\bin\start.bat
Creating file: C:\tools\apache-karaf-2.2.1\instances\activemq\bin\stop.bat
karaf@root> admin:start activemq
karaf@root> admin:connect activemq
Connecting to host localhost on port 8103
Connected
        __ __                  ____
       / //_/____ __________ _/ __/
      / ,<  / __ `/ ___/ __ `/ /_
     / /| |/ /_/ / /  / /_/ / __/
    /_/ |_|\__,_/_/   \__,_/_/

  Apache Karaf (2.2.1)

Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit '<ctrl-d>' or 'osgi:shutdown' to shutdown Karaf.

karaf@activemq> features:addUrl 
mvn:org.familysearch.nge/nge-activemq-config-fea^C
ture/1.0.18-SNAPSHOT/xml/features
Command not found: ture/1.0.18-SNAPSHOT/xml/features
karaf@activemq>

Where you see the "^C" is where the console hangs (freezes). I pasted the 
entire line into the console and it freezes indefinitely until I hit Control-C 
and then it pastes the remainder of the line. It freezes at exactly 80 chars if 
you count the prompt. And it doesn't matter what I type or whether I use paste 
or not. Typing any characters will freeze the console at the 80th character.

> Console doesn't like it when the console window is to small - no line 
> wrapping for commands
> -------------------------------------------------------------------------------------------
>
>                 Key: KARAF-479
>                 URL: https://issues.apache.org/jira/browse/KARAF-479
>             Project: Karaf
>          Issue Type: Bug
>          Components: console
>    Affects Versions: 2.1.3
>         Environment: Windows, maybe ssh (putty on windows) too
>            Reporter: Achim Nierbeck
>
> On a 80 character console not all commands can be executed in a single line. 
> E.g. osgi:install file:<lengthy-fullpath-tobundle>/bundle/version

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to