Re: Karaf shell problem with long lines

2011-09-27 Thread akuhtz
Hello,

I've the same problem after upgrading to the current *karaf-2.2.3* on
Windows (haven't had any problems with 2.1.x). It's not only a copy-paste
problem, the same problem does occur if I type the characters directly into
the console. 
If someone gives me a hint where to start I could try to prepare a patch ...

Regards
Andi

--
View this message in context: 
http://karaf.922171.n3.nabble.com/Karaf-shell-problem-with-long-lines-tp2844868p3372094.html
Sent from the Karaf - User mailing list archive at Nabble.com.


Karaf shell problem with long lines

2011-04-20 Thread Cristiano Gavião

Hi,

I'm experiencing some weird behavior using karaf shell command with 
terminal's macosx.


When I tried to install a feature with a long line pasted inside one 
terminal window (with the size smaller than the copied line) I got a 
RuntimeException...


See:

I copied this from a text editor:


features:addurl 
mvn:org.jbehave.osgi/jbehave-osgi-karaf-features/1.0-SNAPSHOT/xml/features


and paste it on Karaf command shell... the text is truncated

karaf@root features:addurl 
mvn:org.jbehave.osgi/jbehave-osgi-karaf-features/1.0-SNAPSHOT/xml/featur


Could not add Feature Repository:
java.lang.RuntimeException: URL 
[mvn:org.jbehave.osgi/jbehave-osgi-karaf-features/1.0-SNAPSHOT/xml/featur] 
could not be resolved.


But if I enlarge the window size and try again, everything works ok... :-D

Could this be a Terminal's or Karaf's problem ?

cheers

Cristiano




Re: Karaf shell problem with long lines

2011-04-20 Thread Guillaume Nodet
Yes, and that i've fixed those issues trunk and 2.2.x branch, though
that's not released yet.

On Wed, Apr 20, 2011 at 23:56, Cristiano Gavião cvgav...@gmail.com wrote:
 Hi,

 I'm experiencing some weird behavior using karaf shell command with
 terminal's macosx.

 When I tried to install a feature with a long line pasted inside one
 terminal window (with the size smaller than the copied line) I got a
 RuntimeException...

 See:

 I copied this from a text editor:

 features:addurl
 mvn:org.jbehave.osgi/jbehave-osgi-karaf-features/1.0-SNAPSHOT/xml/features

 and paste it on Karaf command shell... the text is truncated

 karaf@root features:addurl
 mvn:org.jbehave.osgi/jbehave-osgi-karaf-features/1.0-SNAPSHOT/xml/featur

 Could not add Feature Repository:
 java.lang.RuntimeException: URL
 [mvn:org.jbehave.osgi/jbehave-osgi-karaf-features/1.0-SNAPSHOT/xml/featur]
 could not be resolved.

 But if I enlarge the window size and try again, everything works ok... :-D

 Could this be a Terminal's or Karaf's problem ?

 cheers

 Cristiano






-- 
Cheers,
Guillaume Nodet

Blog: http://gnodet.blogspot.com/

Open Source SOA
http://fusesource.com

Connect at CamelOne May 24-26
The Open Source Integration Conference
http://camelone.com/


Re: Karaf shell problem with long lines

2011-04-20 Thread Cristiano Gavião

Hi Guillaume,

thanks for the clarification

cheers

Cristiano

On 20/04/11 19:07, Guillaume Nodet wrote:

Yes, and that i've fixed those issues trunk and 2.2.x branch, though
that's not released yet.

On Wed, Apr 20, 2011 at 23:56, Cristiano Gaviãocvgav...@gmail.com  wrote:

Hi,

I'm experiencing some weird behavior using karaf shell command with
terminal's macosx.

When I tried to install a feature with a long line pasted inside one
terminal window (with the size smaller than the copied line) I got a
RuntimeException...

See:

I copied this from a text editor:

features:addurl
mvn:org.jbehave.osgi/jbehave-osgi-karaf-features/1.0-SNAPSHOT/xml/features

and paste it on Karaf command shell... the text is truncated

karaf@root  features:addurl
mvn:org.jbehave.osgi/jbehave-osgi-karaf-features/1.0-SNAPSHOT/xml/featur

Could not add Feature Repository:
java.lang.RuntimeException: URL
[mvn:org.jbehave.osgi/jbehave-osgi-karaf-features/1.0-SNAPSHOT/xml/featur]
could not be resolved.

But if I enlarge the window size and try again, everything works ok... :-D

Could this be a Terminal's or Karaf's problem ?

cheers

Cristiano