You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Markus Rathgeb <ma...@gmail.com> on 2020/01/31 10:01:45 UTC

paste broken on client console

Hi,

I updated targets running a custom distribution to Karaf 4.2.8.
Now while maintaining that systems I realized a very annoying problem.
The copy and paste (to be precise, the "paste") is not working using
"bin/client" correctly.

The problem can be reproduced using the upstream Karaf distribution, too.
I am using a Linux system (host machine + target machines).

To reproduce:
* unpack Karaf 4.2.8
* start the Karaf process by "bin/karaf"
* open another terminal and connect to the instance using "bin/client"
* copy a text and paste it into the terminal running "bin/client"

Result:
* the text will not appear
* on enter no new line will be visible
* to escape the situation paste again or press ctrl+C

Using the pasted text does not work for me correctly.

That's a little bit annoying, because I cannot connect to the running
instance and paste commands and arguments... I need to type all the
long arguments list manually.

Can I set a special environment variable to a special value (e.g. TERM
or LC_COLORS) that works around the problem?

Best regads,
Markus

Re: paste broken on client console

Posted by Jean-Baptiste Onofre <jb...@nanthrax.net>.
Hi Markus,

Unfortunately no, 3.14.0 doesn’t fix neither InvocationTargetException and paste issue.

I will cut jline 3.14.1 including the fixes.

Regards
JB

> Le 2 mars 2020 à 15:26, Markus Rathgeb <ma...@gmail.com> a écrit :
> 
> Hi,
> 
> it seems there has been  anew jline3 release three days ago (3.14.0).
> Is this correct?
> 
> Does it contain the fix that's necessary to fix the Karaf shell?
> 
>> On Feb 10, 2020, at 2:59 PM, Jean-Baptiste Onofré <jb...@nanthrax.net> wrote:
>> 
>> Hi
>> 
>> I already have a fix and I?m looking for a workaround. Anyway a new jline release is required.
>> 
>> Regards
>> JB
>> 
>> Le lun. 10 f?vr. 2020 ? 20:17, Oleg Cohen <ol...@assurebridge.com> a ?crit :
>>> 
>>> Hi JB,
>>> 
>>> Sorry to bug on this :-) Is there any idea when you might fix this issue?
>>> 
>>> Thank you!
>>> Oleg
>>> 
>>>> On Feb 3, 2020, at 12:23 AM, Jean-Baptiste Onofr? <jb...@nanthrax.net> wrote:
>>>> 
>>>> Hi,
>>>> 
>>>> I found the commit causing issue in jline:
>>>> 
>>>> commit fea903cc9e78da64d66422f07db1b7890cf18b89
>>>> Author: Guillaume Nodet <gn...@gmail.com>
>>>> Date: Mon Nov 25 20:45:30 2019 +0100
>>>> 
>>>> Improve performances when pasting huge strings, fixes #479
>>>> 
>>>> I will fix that and cut a new jline release.
>>>> 
>>>> Regards
>>>> JB
>>>> 
>>>> On 02/02/2020 11:24, Markus Rathgeb wrote:
>>>>> Hi JB,
>>>>> 
>>>>> thanks for keeping us up to date.
>>>>> I subscribed to the jline release notification, so I can update my
>>>>> custom distributions to jline 3.13.4 if released.
>>>>> 
>>>>> Thanks!
>>>>> 
>>>>> Best regards,
>>>>> Markus
>>>>> 
>>>> 
>>>> --
>>>> Jean-Baptiste Onofr?
>>>> jbonofre@apache.org
>>>> http://blog.nanthrax.net
>>>> Talend - http://www.talend.com
>>> 
>> 


Re: paste broken on client console

Posted by Eric Lilja <mi...@gmail.com>.
Hi!

Is there any time to squeeze in an update of hibernate-validator (to
version 6.1.5.Final) in the 4.2.9 release?

Looking forward to 4.2.9, highly anticipated by many users, I suspect!

- Eric L

On Sun, May 17, 2020 at 8:09 AM Jean-Baptiste Onofre <jb...@nanthrax.net>
wrote:

> Hi,
>
> So I started the 4.2.9 release preparation. I will submit to vote today.
>
> Regards
> JB
>
> > Le 16 mai 2020 à 08:51, Markus Rathgeb <ma...@gmail.com> a écrit :
> >
> > Hi JB,
> > any news about the broken paste and help for the shell?
> > Karaf 4.2.9 is not released yet.
> > I need to introduce other developers to our codes and this two issues
> > are very annoying (command help does not work and you need to use
> > screen to have a working copy and paste).
> >
> > Has there been a jline release that is fixed?
> > Will it work on 4.2.8 custom distributions (I assume I can use a
> > feature / bundle override to use another jline version)?
> >
> > Best regards,
> > Markus
> >
> >
> > Am Di., 3. März 2020 um 14:44 Uhr schrieb Jean-Baptiste Onofre
> > <jb...@nanthrax.net>:
> >>
> >> Catcha ;)
> >>
> >> I will a full pass on jline then ;)
> >>
> >> Regards
> >> JB
> >>
> >> Le 3 mars 2020 à 14:43, Alex Soto <al...@envieta.com> a écrit :
> >>
> >> I know, trying to capitalize the moment :)
> >> On a different thread, I was seeking help trying to read a single
> character to implement pagination in one of my commands.
> >> It is s simple change since the impl class already has the method, it
> would help me.
> >>
> >> Best regards,
> >> Alex soto
> >>
> >>
> >>
> >>
> >> On Mar 3, 2020, at 8:33 AM, Jean-Baptiste Onofre <jb...@nanthrax.net>
> wrote:
> >>
> >> Hi Alex,
> >>
> >> You mean generally speaking for user usage ?
> >>
> >> Because, the two issues we are talking about here are not related to
> that ;)
> >>
> >> Regards
> >> JB
> >>
> >> Le 3 mars 2020 à 14:28, Alex Soto <al...@envieta.com> a écrit :
> >>
> >> JB,
> >>
> >> Maybe you can expose method  readCharacter() in
> org.jline.reader.LineReader interface?
> >>
> >>
> >> Best regards,
> >> Alex soto
> >>
> >>
> >>
> >>
> >> On Mar 2, 2020, at 9:55 AM, Jean-Baptiste Onofre <jb...@nanthrax.net>
> wrote:
> >>
> >> By the way, about the InvocationTargetException, I will have to cut a
> new Felix Gogo release (updating for the jline breaking change).
> >>
> >> Regards
> >> JB
> >>
> >> Le 2 mars 2020 à 15:26, Markus Rathgeb <ma...@gmail.com> a écrit :
> >>
> >> Hi,
> >>
> >> it seems there has been  anew jline3 release three days ago (3.14.0).
> >> Is this correct?
> >>
> >> Does it contain the fix that's necessary to fix the Karaf shell?
> >>
> >> On Feb 10, 2020, at 2:59 PM, Jean-Baptiste Onofré <jb...@nanthrax.net>
> wrote:
> >>
> >> Hi
> >>
> >> I already have a fix and I?m looking for a workaround. Anyway a new
> jline release is required.
> >>
> >> Regards
> >> JB
> >>
> >> Le lun. 10 f?vr. 2020 ? 20:17, Oleg Cohen <ol...@assurebridge.com>
> a ?crit :
> >>
> >>
> >> Hi JB,
> >>
> >> Sorry to bug on this :-) Is there any idea when you might fix this
> issue?
> >>
> >> Thank you!
> >> Oleg
> >>
> >> On Feb 3, 2020, at 12:23 AM, Jean-Baptiste Onofr? <jb...@nanthrax.net>
> wrote:
> >>
> >> Hi,
> >>
> >> I found the commit causing issue in jline:
> >>
> >> commit fea903cc9e78da64d66422f07db1b7890cf18b89
> >> Author: Guillaume Nodet <gn...@gmail.com>
> >> Date: Mon Nov 25 20:45:30 2019 +0100
> >>
> >> Improve performances when pasting huge strings, fixes #479
> >>
> >> I will fix that and cut a new jline release.
> >>
> >> Regards
> >> JB
> >>
> >> On 02/02/2020 11:24, Markus Rathgeb wrote:
> >>
> >> Hi JB,
> >>
> >> thanks for keeping us up to date.
> >> I subscribed to the jline release notification, so I can update my
> >> custom distributions to jline 3.13.4 if released.
> >>
> >> Thanks!
> >>
> >> Best regards,
> >> Markus
> >>
> >>
> >> --
> >> Jean-Baptiste Onofr?
> >> jbonofre@apache.org
> >> http://blog.nanthrax.net
> >> Talend - http://www.talend.com
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
>
>

Re: paste broken on client console

Posted by Jean-Baptiste Onofre <jb...@nanthrax.net>.
Hi,

So I started the 4.2.9 release preparation. I will submit to vote today.

Regards
JB

> Le 16 mai 2020 à 08:51, Markus Rathgeb <ma...@gmail.com> a écrit :
> 
> Hi JB,
> any news about the broken paste and help for the shell?
> Karaf 4.2.9 is not released yet.
> I need to introduce other developers to our codes and this two issues
> are very annoying (command help does not work and you need to use
> screen to have a working copy and paste).
> 
> Has there been a jline release that is fixed?
> Will it work on 4.2.8 custom distributions (I assume I can use a
> feature / bundle override to use another jline version)?
> 
> Best regards,
> Markus
> 
> 
> Am Di., 3. März 2020 um 14:44 Uhr schrieb Jean-Baptiste Onofre
> <jb...@nanthrax.net>:
>> 
>> Catcha ;)
>> 
>> I will a full pass on jline then ;)
>> 
>> Regards
>> JB
>> 
>> Le 3 mars 2020 à 14:43, Alex Soto <al...@envieta.com> a écrit :
>> 
>> I know, trying to capitalize the moment :)
>> On a different thread, I was seeking help trying to read a single character to implement pagination in one of my commands.
>> It is s simple change since the impl class already has the method, it would help me.
>> 
>> Best regards,
>> Alex soto
>> 
>> 
>> 
>> 
>> On Mar 3, 2020, at 8:33 AM, Jean-Baptiste Onofre <jb...@nanthrax.net> wrote:
>> 
>> Hi Alex,
>> 
>> You mean generally speaking for user usage ?
>> 
>> Because, the two issues we are talking about here are not related to that ;)
>> 
>> Regards
>> JB
>> 
>> Le 3 mars 2020 à 14:28, Alex Soto <al...@envieta.com> a écrit :
>> 
>> JB,
>> 
>> Maybe you can expose method  readCharacter() in org.jline.reader.LineReader interface?
>> 
>> 
>> Best regards,
>> Alex soto
>> 
>> 
>> 
>> 
>> On Mar 2, 2020, at 9:55 AM, Jean-Baptiste Onofre <jb...@nanthrax.net> wrote:
>> 
>> By the way, about the InvocationTargetException, I will have to cut a new Felix Gogo release (updating for the jline breaking change).
>> 
>> Regards
>> JB
>> 
>> Le 2 mars 2020 à 15:26, Markus Rathgeb <ma...@gmail.com> a écrit :
>> 
>> Hi,
>> 
>> it seems there has been  anew jline3 release three days ago (3.14.0).
>> Is this correct?
>> 
>> Does it contain the fix that's necessary to fix the Karaf shell?
>> 
>> On Feb 10, 2020, at 2:59 PM, Jean-Baptiste Onofré <jb...@nanthrax.net> wrote:
>> 
>> Hi
>> 
>> I already have a fix and I?m looking for a workaround. Anyway a new jline release is required.
>> 
>> Regards
>> JB
>> 
>> Le lun. 10 f?vr. 2020 ? 20:17, Oleg Cohen <ol...@assurebridge.com> a ?crit :
>> 
>> 
>> Hi JB,
>> 
>> Sorry to bug on this :-) Is there any idea when you might fix this issue?
>> 
>> Thank you!
>> Oleg
>> 
>> On Feb 3, 2020, at 12:23 AM, Jean-Baptiste Onofr? <jb...@nanthrax.net> wrote:
>> 
>> Hi,
>> 
>> I found the commit causing issue in jline:
>> 
>> commit fea903cc9e78da64d66422f07db1b7890cf18b89
>> Author: Guillaume Nodet <gn...@gmail.com>
>> Date: Mon Nov 25 20:45:30 2019 +0100
>> 
>> Improve performances when pasting huge strings, fixes #479
>> 
>> I will fix that and cut a new jline release.
>> 
>> Regards
>> JB
>> 
>> On 02/02/2020 11:24, Markus Rathgeb wrote:
>> 
>> Hi JB,
>> 
>> thanks for keeping us up to date.
>> I subscribed to the jline release notification, so I can update my
>> custom distributions to jline 3.13.4 if released.
>> 
>> Thanks!
>> 
>> Best regards,
>> Markus
>> 
>> 
>> --
>> Jean-Baptiste Onofr?
>> jbonofre@apache.org
>> http://blog.nanthrax.net
>> Talend - http://www.talend.com
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 


Re: paste broken on client console

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi

  

It?s already fixed on 4.2.x branch. I gonna release 4.2.9 tomorrow (on vote).

In the meantime, you can use 4.2.9-SNAPSHOT.

  

Regards

JB

  

Le sam. 16 mai 2020 ? 08:51, Markus Rathgeb <ma...@gmail.com> a ?crit :  

> Hi JB,  
> any news about the broken paste and help for the shell?  
> Karaf 4.2.9 is not released yet.  
> I need to introduce other developers to our codes and this two issues  
> are very annoying (command help does not work and you need to use  
> screen to have a working copy and paste).  
>  
> Has there been a jline release that is fixed?  
> Will it work on 4.2.8 custom distributions (I assume I can use a  
> feature / bundle override to use another jline version)?  
>  
> Best regards,  
> Markus  
>  
>  
> Am Di., 3. M?rz 2020 um 14:44 Uhr schrieb Jean-Baptiste Onofre  
> <jb...@nanthrax.net>:  
> >  
> > Catcha ;)  
> >  
> > I will a full pass on jline then ;)  
> >  
> > Regards  
> > JB  
> >  
> > Le 3 mars 2020 ? 14:43, Alex Soto <al...@envieta.com> a ?crit :  
> >  
> > I know, trying to capitalize the moment :)  
> > On a different thread, I was seeking help trying to read a single
character to implement pagination in one of my commands.  
> > It is s simple change since the impl class already has the method, it
would help me.  
> >  
> > Best regards,  
> > Alex soto  
> >  
> >  
> >  
> >  
> > On Mar 3, 2020, at 8:33 AM, Jean-Baptiste Onofre <jb...@nanthrax.net> wrote:  
> >  
> > Hi Alex,  
> >  
> > You mean generally speaking for user usage ?  
> >  
> > Because, the two issues we are talking about here are not related to that
;)  
> >  
> > Regards  
> > JB  
> >  
> > Le 3 mars 2020 ? 14:28, Alex Soto <al...@envieta.com> a ?crit :  
> >  
> > JB,  
> >  
> > Maybe you can expose method readCharacter() in org.jline.reader.LineReader
interface?  
> >  
> >  
> > Best regards,  
> > Alex soto  
> >  
> >  
> >  
> >  
> > On Mar 2, 2020, at 9:55 AM, Jean-Baptiste Onofre <jb...@nanthrax.net> wrote:  
> >  
> > By the way, about the InvocationTargetException, I will have to cut a new
Felix Gogo release (updating for the jline breaking change).  
> >  
> > Regards  
> > JB  
> >  
> > Le 2 mars 2020 ? 15:26, Markus Rathgeb <ma...@gmail.com> a ?crit :  
> >  
> > Hi,  
> >  
> > it seems there has been anew jline3 release three days ago (3.14.0).  
> > Is this correct?  
> >  
> > Does it contain the fix that's necessary to fix the Karaf shell?  
> >  
> > On Feb 10, 2020, at 2:59 PM, Jean-Baptiste Onofr? <jb...@nanthrax.net> wrote:  
> >  
> > Hi  
> >  
> > I already have a fix and I?m looking for a workaround. Anyway a new jline
release is required.  
> >  
> > Regards  
> > JB  
> >  
> > Le lun. 10 f?vr. 2020 ? 20:17, Oleg Cohen <ol...@assurebridge.com> a
?crit :  
> >  
> >  
> > Hi JB,  
> >  
> > Sorry to bug on this :-) Is there any idea when you might fix this issue?  
> >  
> > Thank you!  
> > Oleg  
> >  
> > On Feb 3, 2020, at 12:23 AM, Jean-Baptiste Onofr? <jb...@nanthrax.net> wrote:  
> >  
> > Hi,  
> >  
> > I found the commit causing issue in jline:  
> >  
> > commit fea903cc9e78da64d66422f07db1b7890cf18b89  
> > Author: Guillaume Nodet <gn...@gmail.com>  
> > Date: Mon Nov 25 20:45:30 2019 +0100  
> >  
> > Improve performances when pasting huge strings, fixes #479  
> >  
> > I will fix that and cut a new jline release.  
> >  
> > Regards  
> > JB  
> >  
> > On 02/02/2020 11:24, Markus Rathgeb wrote:  
> >  
> > Hi JB,  
> >  
> > thanks for keeping us up to date.  
> > I subscribed to the jline release notification, so I can update my  
> > custom distributions to jline 3.13.4 if released.  
> >  
> > Thanks!  
> >  
> > Best regards,  
> > Markus  
> >  
> >  
> > \--  
> > Jean-Baptiste Onofr?  
> > jbonofre@apache.org  
> > http://blog.nanthrax.net  
> > Talend - http://www.talend.com  
> >  
> >  
> >  
> >  
> >  
> >  
> >  
> >  
>


Re: paste broken on client console

Posted by Markus Rathgeb <ma...@gmail.com>.
Hi JB,
any news about the broken paste and help for the shell?
Karaf 4.2.9 is not released yet.
I need to introduce other developers to our codes and this two issues
are very annoying (command help does not work and you need to use
screen to have a working copy and paste).

Has there been a jline release that is fixed?
Will it work on 4.2.8 custom distributions (I assume I can use a
feature / bundle override to use another jline version)?

Best regards,
Markus


Am Di., 3. März 2020 um 14:44 Uhr schrieb Jean-Baptiste Onofre
<jb...@nanthrax.net>:
>
> Catcha ;)
>
> I will a full pass on jline then ;)
>
> Regards
> JB
>
> Le 3 mars 2020 à 14:43, Alex Soto <al...@envieta.com> a écrit :
>
> I know, trying to capitalize the moment :)
> On a different thread, I was seeking help trying to read a single character to implement pagination in one of my commands.
> It is s simple change since the impl class already has the method, it would help me.
>
> Best regards,
> Alex soto
>
>
>
>
> On Mar 3, 2020, at 8:33 AM, Jean-Baptiste Onofre <jb...@nanthrax.net> wrote:
>
> Hi Alex,
>
> You mean generally speaking for user usage ?
>
> Because, the two issues we are talking about here are not related to that ;)
>
> Regards
> JB
>
> Le 3 mars 2020 à 14:28, Alex Soto <al...@envieta.com> a écrit :
>
> JB,
>
> Maybe you can expose method  readCharacter() in org.jline.reader.LineReader interface?
>
>
> Best regards,
> Alex soto
>
>
>
>
> On Mar 2, 2020, at 9:55 AM, Jean-Baptiste Onofre <jb...@nanthrax.net> wrote:
>
> By the way, about the InvocationTargetException, I will have to cut a new Felix Gogo release (updating for the jline breaking change).
>
> Regards
> JB
>
> Le 2 mars 2020 à 15:26, Markus Rathgeb <ma...@gmail.com> a écrit :
>
> Hi,
>
> it seems there has been  anew jline3 release three days ago (3.14.0).
> Is this correct?
>
> Does it contain the fix that's necessary to fix the Karaf shell?
>
> On Feb 10, 2020, at 2:59 PM, Jean-Baptiste Onofré <jb...@nanthrax.net> wrote:
>
> Hi
>
> I already have a fix and I?m looking for a workaround. Anyway a new jline release is required.
>
> Regards
> JB
>
> Le lun. 10 f?vr. 2020 ? 20:17, Oleg Cohen <ol...@assurebridge.com> a ?crit :
>
>
> Hi JB,
>
> Sorry to bug on this :-) Is there any idea when you might fix this issue?
>
> Thank you!
> Oleg
>
> On Feb 3, 2020, at 12:23 AM, Jean-Baptiste Onofr? <jb...@nanthrax.net> wrote:
>
> Hi,
>
> I found the commit causing issue in jline:
>
> commit fea903cc9e78da64d66422f07db1b7890cf18b89
> Author: Guillaume Nodet <gn...@gmail.com>
> Date: Mon Nov 25 20:45:30 2019 +0100
>
> Improve performances when pasting huge strings, fixes #479
>
> I will fix that and cut a new jline release.
>
> Regards
> JB
>
> On 02/02/2020 11:24, Markus Rathgeb wrote:
>
> Hi JB,
>
> thanks for keeping us up to date.
> I subscribed to the jline release notification, so I can update my
> custom distributions to jline 3.13.4 if released.
>
> Thanks!
>
> Best regards,
> Markus
>
>
> --
> Jean-Baptiste Onofr?
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>
>
>
>
>
>
>
>

Re: paste broken on client console

Posted by Jean-Baptiste Onofre <jb...@nanthrax.net>.
Catcha ;)

I will a full pass on jline then ;)

Regards
JB

> Le 3 mars 2020 à 14:43, Alex Soto <al...@envieta.com> a écrit :
> 
> I know, trying to capitalize the moment :)
> On a different thread, I was seeking help trying to read a single character to implement pagination in one of my commands.
> It is s simple change since the impl class already has the method, it would help me.
> 
> Best regards,
> Alex soto
> 
> 
> 
> 
>> On Mar 3, 2020, at 8:33 AM, Jean-Baptiste Onofre <jb@nanthrax.net <ma...@nanthrax.net>> wrote:
>> 
>> Hi Alex,
>> 
>> You mean generally speaking for user usage ?
>> 
>> Because, the two issues we are talking about here are not related to that ;)
>> 
>> Regards
>> JB
>> 
>>> Le 3 mars 2020 à 14:28, Alex Soto <alex.soto@envieta.com <ma...@envieta.com>> a écrit :
>>> 
>>> JB,
>>> 
>>> Maybe you can expose method  readCharacter() in org.jline.reader.LineReader interface?
>>> 
>>> 
>>> Best regards,
>>> Alex soto
>>> 
>>> 
>>> 
>>> 
>>>> On Mar 2, 2020, at 9:55 AM, Jean-Baptiste Onofre <jb@nanthrax.net <ma...@nanthrax.net>> wrote:
>>>> 
>>>> By the way, about the InvocationTargetException, I will have to cut a new Felix Gogo release (updating for the jline breaking change).
>>>> 
>>>> Regards
>>>> JB
>>>> 
>>>>> Le 2 mars 2020 à 15:26, Markus Rathgeb <maggu2810@gmail.com <ma...@gmail.com>> a écrit :
>>>>> 
>>>>> Hi,
>>>>> 
>>>>> it seems there has been  anew jline3 release three days ago (3.14.0).
>>>>> Is this correct?
>>>>> 
>>>>> Does it contain the fix that's necessary to fix the Karaf shell?
>>>>> 
>>>>>> On Feb 10, 2020, at 2:59 PM, Jean-Baptiste Onofré <jb@nanthrax.net <ma...@nanthrax.net>> wrote:
>>>>>> 
>>>>>> Hi
>>>>>> 
>>>>>> I already have a fix and I?m looking for a workaround. Anyway a new jline release is required.
>>>>>> 
>>>>>> Regards
>>>>>> JB
>>>>>> 
>>>>>> Le lun. 10 f?vr. 2020 ? 20:17, Oleg Cohen <oleg.cohen@assurebridge.com <ma...@assurebridge.com>> a ?crit :
>>>>>>> 
>>>>>>> Hi JB,
>>>>>>> 
>>>>>>> Sorry to bug on this :-) Is there any idea when you might fix this issue?
>>>>>>> 
>>>>>>> Thank you!
>>>>>>> Oleg
>>>>>>> 
>>>>>>>> On Feb 3, 2020, at 12:23 AM, Jean-Baptiste Onofr? <jb@nanthrax.net <ma...@nanthrax.net>> wrote:
>>>>>>>> 
>>>>>>>> Hi,
>>>>>>>> 
>>>>>>>> I found the commit causing issue in jline:
>>>>>>>> 
>>>>>>>> commit fea903cc9e78da64d66422f07db1b7890cf18b89
>>>>>>>> Author: Guillaume Nodet <gnodet@gmail.com <ma...@gmail.com>>
>>>>>>>> Date: Mon Nov 25 20:45:30 2019 +0100
>>>>>>>> 
>>>>>>>> Improve performances when pasting huge strings, fixes #479
>>>>>>>> 
>>>>>>>> I will fix that and cut a new jline release.
>>>>>>>> 
>>>>>>>> Regards
>>>>>>>> JB
>>>>>>>> 
>>>>>>>> On 02/02/2020 11:24, Markus Rathgeb wrote:
>>>>>>>>> Hi JB,
>>>>>>>>> 
>>>>>>>>> thanks for keeping us up to date.
>>>>>>>>> I subscribed to the jline release notification, so I can update my
>>>>>>>>> custom distributions to jline 3.13.4 if released.
>>>>>>>>> 
>>>>>>>>> Thanks!
>>>>>>>>> 
>>>>>>>>> Best regards,
>>>>>>>>> Markus
>>>>>>>>> 
>>>>>>>> 
>>>>>>>> --
>>>>>>>> Jean-Baptiste Onofr?
>>>>>>>> jbonofre@apache.org <ma...@apache.org>
>>>>>>>> http://blog.nanthrax.net <http://blog.nanthrax.net/>
>>>>>>>> Talend - http://www.talend.com <http://www.talend.com/>
>>>>>>> 
>>>>>> 
>>>> 
>>> 
>> 
> 


Re: paste broken on client console

Posted by Alex Soto <al...@envieta.com>.
I know, trying to capitalize the moment :)
On a different thread, I was seeking help trying to read a single character to implement pagination in one of my commands.
It is s simple change since the impl class already has the method, it would help me.

Best regards,
Alex soto




> On Mar 3, 2020, at 8:33 AM, Jean-Baptiste Onofre <jb...@nanthrax.net> wrote:
> 
> Hi Alex,
> 
> You mean generally speaking for user usage ?
> 
> Because, the two issues we are talking about here are not related to that ;)
> 
> Regards
> JB
> 
>> Le 3 mars 2020 à 14:28, Alex Soto <alex.soto@envieta.com <ma...@envieta.com>> a écrit :
>> 
>> JB,
>> 
>> Maybe you can expose method  readCharacter() in org.jline.reader.LineReader interface?
>> 
>> 
>> Best regards,
>> Alex soto
>> 
>> 
>> 
>> 
>>> On Mar 2, 2020, at 9:55 AM, Jean-Baptiste Onofre <jb@nanthrax.net <ma...@nanthrax.net>> wrote:
>>> 
>>> By the way, about the InvocationTargetException, I will have to cut a new Felix Gogo release (updating for the jline breaking change).
>>> 
>>> Regards
>>> JB
>>> 
>>>> Le 2 mars 2020 à 15:26, Markus Rathgeb <maggu2810@gmail.com <ma...@gmail.com>> a écrit :
>>>> 
>>>> Hi,
>>>> 
>>>> it seems there has been  anew jline3 release three days ago (3.14.0).
>>>> Is this correct?
>>>> 
>>>> Does it contain the fix that's necessary to fix the Karaf shell?
>>>> 
>>>>> On Feb 10, 2020, at 2:59 PM, Jean-Baptiste Onofré <jb@nanthrax.net <ma...@nanthrax.net>> wrote:
>>>>> 
>>>>> Hi
>>>>> 
>>>>> I already have a fix and I?m looking for a workaround. Anyway a new jline release is required.
>>>>> 
>>>>> Regards
>>>>> JB
>>>>> 
>>>>> Le lun. 10 f?vr. 2020 ? 20:17, Oleg Cohen <oleg.cohen@assurebridge.com <ma...@assurebridge.com>> a ?crit :
>>>>>> 
>>>>>> Hi JB,
>>>>>> 
>>>>>> Sorry to bug on this :-) Is there any idea when you might fix this issue?
>>>>>> 
>>>>>> Thank you!
>>>>>> Oleg
>>>>>> 
>>>>>>> On Feb 3, 2020, at 12:23 AM, Jean-Baptiste Onofr? <jb@nanthrax.net <ma...@nanthrax.net>> wrote:
>>>>>>> 
>>>>>>> Hi,
>>>>>>> 
>>>>>>> I found the commit causing issue in jline:
>>>>>>> 
>>>>>>> commit fea903cc9e78da64d66422f07db1b7890cf18b89
>>>>>>> Author: Guillaume Nodet <gnodet@gmail.com <ma...@gmail.com>>
>>>>>>> Date: Mon Nov 25 20:45:30 2019 +0100
>>>>>>> 
>>>>>>> Improve performances when pasting huge strings, fixes #479
>>>>>>> 
>>>>>>> I will fix that and cut a new jline release.
>>>>>>> 
>>>>>>> Regards
>>>>>>> JB
>>>>>>> 
>>>>>>> On 02/02/2020 11:24, Markus Rathgeb wrote:
>>>>>>>> Hi JB,
>>>>>>>> 
>>>>>>>> thanks for keeping us up to date.
>>>>>>>> I subscribed to the jline release notification, so I can update my
>>>>>>>> custom distributions to jline 3.13.4 if released.
>>>>>>>> 
>>>>>>>> Thanks!
>>>>>>>> 
>>>>>>>> Best regards,
>>>>>>>> Markus
>>>>>>>> 
>>>>>>> 
>>>>>>> --
>>>>>>> Jean-Baptiste Onofr?
>>>>>>> jbonofre@apache.org <ma...@apache.org>
>>>>>>> http://blog.nanthrax.net <http://blog.nanthrax.net/>
>>>>>>> Talend - http://www.talend.com
>>>>>> 
>>>>> 
>>> 
>> 
> 


Re: paste broken on client console

Posted by Jean-Baptiste Onofre <jb...@nanthrax.net>.
Hi Alex,

You mean generally speaking for user usage ?

Because, the two issues we are talking about here are not related to that ;)

Regards
JB

> Le 3 mars 2020 à 14:28, Alex Soto <al...@envieta.com> a écrit :
> 
> JB,
> 
> Maybe you can expose method  readCharacter() in org.jline.reader.LineReader interface?
> 
> 
> Best regards,
> Alex soto
> 
> 
> 
> 
>> On Mar 2, 2020, at 9:55 AM, Jean-Baptiste Onofre <jb@nanthrax.net <ma...@nanthrax.net>> wrote:
>> 
>> By the way, about the InvocationTargetException, I will have to cut a new Felix Gogo release (updating for the jline breaking change).
>> 
>> Regards
>> JB
>> 
>>> Le 2 mars 2020 à 15:26, Markus Rathgeb <maggu2810@gmail.com <ma...@gmail.com>> a écrit :
>>> 
>>> Hi,
>>> 
>>> it seems there has been  anew jline3 release three days ago (3.14.0).
>>> Is this correct?
>>> 
>>> Does it contain the fix that's necessary to fix the Karaf shell?
>>> 
>>>> On Feb 10, 2020, at 2:59 PM, Jean-Baptiste Onofré <jb@nanthrax.net <ma...@nanthrax.net>> wrote:
>>>> 
>>>> Hi
>>>> 
>>>> I already have a fix and I?m looking for a workaround. Anyway a new jline release is required.
>>>> 
>>>> Regards
>>>> JB
>>>> 
>>>> Le lun. 10 f?vr. 2020 ? 20:17, Oleg Cohen <oleg.cohen@assurebridge.com <ma...@assurebridge.com>> a ?crit :
>>>>> 
>>>>> Hi JB,
>>>>> 
>>>>> Sorry to bug on this :-) Is there any idea when you might fix this issue?
>>>>> 
>>>>> Thank you!
>>>>> Oleg
>>>>> 
>>>>>> On Feb 3, 2020, at 12:23 AM, Jean-Baptiste Onofr? <jb@nanthrax.net <ma...@nanthrax.net>> wrote:
>>>>>> 
>>>>>> Hi,
>>>>>> 
>>>>>> I found the commit causing issue in jline:
>>>>>> 
>>>>>> commit fea903cc9e78da64d66422f07db1b7890cf18b89
>>>>>> Author: Guillaume Nodet <gnodet@gmail.com <ma...@gmail.com>>
>>>>>> Date: Mon Nov 25 20:45:30 2019 +0100
>>>>>> 
>>>>>> Improve performances when pasting huge strings, fixes #479
>>>>>> 
>>>>>> I will fix that and cut a new jline release.
>>>>>> 
>>>>>> Regards
>>>>>> JB
>>>>>> 
>>>>>> On 02/02/2020 11:24, Markus Rathgeb wrote:
>>>>>>> Hi JB,
>>>>>>> 
>>>>>>> thanks for keeping us up to date.
>>>>>>> I subscribed to the jline release notification, so I can update my
>>>>>>> custom distributions to jline 3.13.4 if released.
>>>>>>> 
>>>>>>> Thanks!
>>>>>>> 
>>>>>>> Best regards,
>>>>>>> Markus
>>>>>>> 
>>>>>> 
>>>>>> --
>>>>>> Jean-Baptiste Onofr?
>>>>>> jbonofre@apache.org <ma...@apache.org>
>>>>>> http://blog.nanthrax.net
>>>>>> Talend - http://www.talend.com
>>>>> 
>>>> 
>> 
> 


Re: paste broken on client console

Posted by Alex Soto <al...@envieta.com>.
JB,

Maybe you can expose method  readCharacter() in org.jline.reader.LineReader interface?


Best regards,
Alex soto




> On Mar 2, 2020, at 9:55 AM, Jean-Baptiste Onofre <jb...@nanthrax.net> wrote:
> 
> By the way, about the InvocationTargetException, I will have to cut a new Felix Gogo release (updating for the jline breaking change).
> 
> Regards
> JB
> 
>> Le 2 mars 2020 à 15:26, Markus Rathgeb <ma...@gmail.com> a écrit :
>> 
>> Hi,
>> 
>> it seems there has been  anew jline3 release three days ago (3.14.0).
>> Is this correct?
>> 
>> Does it contain the fix that's necessary to fix the Karaf shell?
>> 
>>> On Feb 10, 2020, at 2:59 PM, Jean-Baptiste Onofré <jb...@nanthrax.net> wrote:
>>> 
>>> Hi
>>> 
>>> I already have a fix and I?m looking for a workaround. Anyway a new jline release is required.
>>> 
>>> Regards
>>> JB
>>> 
>>> Le lun. 10 f?vr. 2020 ? 20:17, Oleg Cohen <ol...@assurebridge.com> a ?crit :
>>>> 
>>>> Hi JB,
>>>> 
>>>> Sorry to bug on this :-) Is there any idea when you might fix this issue?
>>>> 
>>>> Thank you!
>>>> Oleg
>>>> 
>>>>> On Feb 3, 2020, at 12:23 AM, Jean-Baptiste Onofr? <jb...@nanthrax.net> wrote:
>>>>> 
>>>>> Hi,
>>>>> 
>>>>> I found the commit causing issue in jline:
>>>>> 
>>>>> commit fea903cc9e78da64d66422f07db1b7890cf18b89
>>>>> Author: Guillaume Nodet <gn...@gmail.com>
>>>>> Date: Mon Nov 25 20:45:30 2019 +0100
>>>>> 
>>>>> Improve performances when pasting huge strings, fixes #479
>>>>> 
>>>>> I will fix that and cut a new jline release.
>>>>> 
>>>>> Regards
>>>>> JB
>>>>> 
>>>>> On 02/02/2020 11:24, Markus Rathgeb wrote:
>>>>>> Hi JB,
>>>>>> 
>>>>>> thanks for keeping us up to date.
>>>>>> I subscribed to the jline release notification, so I can update my
>>>>>> custom distributions to jline 3.13.4 if released.
>>>>>> 
>>>>>> Thanks!
>>>>>> 
>>>>>> Best regards,
>>>>>> Markus
>>>>>> 
>>>>> 
>>>>> --
>>>>> Jean-Baptiste Onofr?
>>>>> jbonofre@apache.org
>>>>> http://blog.nanthrax.net
>>>>> Talend - http://www.talend.com
>>>> 
>>> 
> 


Re: paste broken on client console

Posted by Jean-Baptiste Onofre <jb...@nanthrax.net>.
By the way, about the InvocationTargetException, I will have to cut a new Felix Gogo release (updating for the jline breaking change).

Regards
JB

> Le 2 mars 2020 à 15:26, Markus Rathgeb <ma...@gmail.com> a écrit :
> 
> Hi,
> 
> it seems there has been  anew jline3 release three days ago (3.14.0).
> Is this correct?
> 
> Does it contain the fix that's necessary to fix the Karaf shell?
> 
>> On Feb 10, 2020, at 2:59 PM, Jean-Baptiste Onofré <jb...@nanthrax.net> wrote:
>> 
>> Hi
>> 
>> I already have a fix and I?m looking for a workaround. Anyway a new jline release is required.
>> 
>> Regards
>> JB
>> 
>> Le lun. 10 f?vr. 2020 ? 20:17, Oleg Cohen <ol...@assurebridge.com> a ?crit :
>>> 
>>> Hi JB,
>>> 
>>> Sorry to bug on this :-) Is there any idea when you might fix this issue?
>>> 
>>> Thank you!
>>> Oleg
>>> 
>>>> On Feb 3, 2020, at 12:23 AM, Jean-Baptiste Onofr? <jb...@nanthrax.net> wrote:
>>>> 
>>>> Hi,
>>>> 
>>>> I found the commit causing issue in jline:
>>>> 
>>>> commit fea903cc9e78da64d66422f07db1b7890cf18b89
>>>> Author: Guillaume Nodet <gn...@gmail.com>
>>>> Date: Mon Nov 25 20:45:30 2019 +0100
>>>> 
>>>> Improve performances when pasting huge strings, fixes #479
>>>> 
>>>> I will fix that and cut a new jline release.
>>>> 
>>>> Regards
>>>> JB
>>>> 
>>>> On 02/02/2020 11:24, Markus Rathgeb wrote:
>>>>> Hi JB,
>>>>> 
>>>>> thanks for keeping us up to date.
>>>>> I subscribed to the jline release notification, so I can update my
>>>>> custom distributions to jline 3.13.4 if released.
>>>>> 
>>>>> Thanks!
>>>>> 
>>>>> Best regards,
>>>>> Markus
>>>>> 
>>>> 
>>>> --
>>>> Jean-Baptiste Onofr?
>>>> jbonofre@apache.org
>>>> http://blog.nanthrax.net
>>>> Talend - http://www.talend.com
>>> 
>> 


Re: paste broken on client console

Posted by Markus Rathgeb <ma...@gmail.com>.
Hi,

it seems there has been  anew jline3 release three days ago (3.14.0).
Is this correct?

Does it contain the fix that's necessary to fix the Karaf shell?

> On Feb 10, 2020, at 2:59 PM, Jean-Baptiste Onofré <jb...@nanthrax.net> wrote:
>
> Hi
>
> I already have a fix and I?m looking for a workaround. Anyway a new jline release is required.
>
> Regards
> JB
>
> Le lun. 10 f?vr. 2020 ? 20:17, Oleg Cohen <ol...@assurebridge.com> a ?crit :
>>
>> Hi JB,
>>
>> Sorry to bug on this :-) Is there any idea when you might fix this issue?
>>
>> Thank you!
>> Oleg
>>
>> > On Feb 3, 2020, at 12:23 AM, Jean-Baptiste Onofr? <jb...@nanthrax.net> wrote:
>> >
>> > Hi,
>> >
>> > I found the commit causing issue in jline:
>> >
>> > commit fea903cc9e78da64d66422f07db1b7890cf18b89
>> > Author: Guillaume Nodet <gn...@gmail.com>
>> > Date: Mon Nov 25 20:45:30 2019 +0100
>> >
>> > Improve performances when pasting huge strings, fixes #479
>> >
>> > I will fix that and cut a new jline release.
>> >
>> > Regards
>> > JB
>> >
>> > On 02/02/2020 11:24, Markus Rathgeb wrote:
>> >> Hi JB,
>> >>
>> >> thanks for keeping us up to date.
>> >> I subscribed to the jline release notification, so I can update my
>> >> custom distributions to jline 3.13.4 if released.
>> >>
>> >> Thanks!
>> >>
>> >> Best regards,
>> >> Markus
>> >>
>> >
>> > --
>> > Jean-Baptiste Onofr?
>> > jbonofre@apache.org
>> > http://blog.nanthrax.net
>> > Talend - http://www.talend.com
>>
>

Re: paste broken on client console

Posted by Oleg Cohen <ol...@assurebridge.com>.
Thank you for the update, JB!

> On Feb 10, 2020, at 2:59 PM, Jean-Baptiste Onofré <jb...@nanthrax.net> wrote:
> 
> Hi
> 
> I already have a fix and I?m looking for a workaround. Anyway a new jline release is required. 
> 
> Regards 
> JB
> 
> Le lun. 10 f?vr. 2020 ? 20:17, Oleg Cohen <ol...@assurebridge.com> a ?crit :
> Hi JB, 
> 
> Sorry to bug on this :-) Is there any idea when you might fix this issue? 
> 
> Thank you! 
> Oleg 
> 
> > On Feb 3, 2020, at 12:23 AM, Jean-Baptiste Onofr? <jb...@nanthrax.net> wrote: 
> > 
> > Hi, 
> > 
> > I found the commit causing issue in jline: 
> > 
> > commit fea903cc9e78da64d66422f07db1b7890cf18b89 
> > Author: Guillaume Nodet <gn...@gmail.com> 
> > Date: Mon Nov 25 20:45:30 2019 +0100 
> > 
> > Improve performances when pasting huge strings, fixes #479 
> > 
> > I will fix that and cut a new jline release. 
> > 
> > Regards 
> > JB 
> > 
> > On 02/02/2020 11:24, Markus Rathgeb wrote: 
> >> Hi JB, 
> >> 
> >> thanks for keeping us up to date. 
> >> I subscribed to the jline release notification, so I can update my 
> >> custom distributions to jline 3.13.4 if released. 
> >> 
> >> Thanks! 
> >> 
> >> Best regards, 
> >> Markus 
> >> 
> > 
> > -- 
> > Jean-Baptiste Onofr? 
> > jbonofre@apache.org 
> > http://blog.nanthrax.net 
> > Talend - http://www.talend.com 
> 


Re: paste broken on client console

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi

  

I already have a fix and I?m looking for a workaround. Anyway a new jline
release is required.

  

Regards

JB

  

Le lun. 10 f?vr. 2020 ? 20:17, Oleg Cohen <ol...@assurebridge.com> a
?crit :  

> Hi JB,  
>  
> Sorry to bug on this :-) Is there any idea when you might fix this issue?  
>  
> Thank you!  
> Oleg  
>  
> > On Feb 3, 2020, at 12:23 AM, Jean-Baptiste Onofr? <jb...@nanthrax.net> wrote:  
> >  
> > Hi,  
> >  
> > I found the commit causing issue in jline:  
> >  
> > commit fea903cc9e78da64d66422f07db1b7890cf18b89  
> > Author: Guillaume Nodet <gn...@gmail.com>  
> > Date: Mon Nov 25 20:45:30 2019 +0100  
> >  
> > Improve performances when pasting huge strings, fixes #479  
> >  
> > I will fix that and cut a new jline release.  
> >  
> > Regards  
> > JB  
> >  
> > On 02/02/2020 11:24, Markus Rathgeb wrote:  
> >> Hi JB,  
> >>  
> >> thanks for keeping us up to date.  
> >> I subscribed to the jline release notification, so I can update my  
> >> custom distributions to jline 3.13.4 if released.  
> >>  
> >> Thanks!  
> >>  
> >> Best regards,  
> >> Markus  
> >>  
> >  
> > \--  
> > Jean-Baptiste Onofr?  
> > jbonofre@apache.org  
> > http://blog.nanthrax.net  
> > Talend - http://www.talend.com  
>  
>


Re: paste broken on client console

Posted by Oleg Cohen <ol...@assurebridge.com>.
Hi JB,

Sorry to bug on this :-) Is there any idea when you might fix this issue?

Thank you!
Oleg

> On Feb 3, 2020, at 12:23 AM, Jean-Baptiste Onofré <jb...@nanthrax.net> wrote:
> 
> Hi,
> 
> I found the commit causing issue in jline:
> 
> commit fea903cc9e78da64d66422f07db1b7890cf18b89
> Author: Guillaume Nodet <gn...@gmail.com>
> Date:   Mon Nov 25 20:45:30 2019 +0100
> 
>    Improve performances when pasting huge strings, fixes #479
> 
> I will fix that and cut a new jline release.
> 
> Regards
> JB
> 
> On 02/02/2020 11:24, Markus Rathgeb wrote:
>> Hi JB,
>> 
>> thanks for keeping us up to date.
>> I subscribed to the jline release notification, so I can update my
>> custom distributions to jline 3.13.4 if released.
>> 
>> Thanks!
>> 
>> Best regards,
>> Markus
>> 
> 
> -- 
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com


Re: paste broken on client console

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi,

I found the commit causing issue in jline:

commit fea903cc9e78da64d66422f07db1b7890cf18b89
Author: Guillaume Nodet <gn...@gmail.com>
Date:   Mon Nov 25 20:45:30 2019 +0100

    Improve performances when pasting huge strings, fixes #479

I will fix that and cut a new jline release.

Regards
JB

On 02/02/2020 11:24, Markus Rathgeb wrote:
> Hi JB,
> 
> thanks for keeping us up to date.
> I subscribed to the jline release notification, so I can update my
> custom distributions to jline 3.13.4 if released.
> 
> Thanks!
> 
> Best regards,
> Markus
> 

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Re: paste broken on client console

Posted by Markus Rathgeb <ma...@gmail.com>.
Hi JB,

thanks for keeping us up to date.
I subscribed to the jline release notification, so I can update my
custom distributions to jline 3.13.4 if released.

Thanks!

Best regards,
Markus

Re: paste broken on client console

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Markus,

as I thought, the issue is due to jline 3.13.2 update:

https://issues.apache.org/jira/browse/KARAF-6543

The issue is still there in jline 3.13.3.

I'm fixing this for jline 3.13.4.

Regards
JB

On 31/01/2020 11:01, Markus Rathgeb wrote:
> Hi,
> 
> I updated targets running a custom distribution to Karaf 4.2.8.
> Now while maintaining that systems I realized a very annoying problem.
> The copy and paste (to be precise, the "paste") is not working using
> "bin/client" correctly.
> 
> The problem can be reproduced using the upstream Karaf distribution, too.
> I am using a Linux system (host machine + target machines).
> 
> To reproduce:
> * unpack Karaf 4.2.8
> * start the Karaf process by "bin/karaf"
> * open another terminal and connect to the instance using "bin/client"
> * copy a text and paste it into the terminal running "bin/client"
> 
> Result:
> * the text will not appear
> * on enter no new line will be visible
> * to escape the situation paste again or press ctrl+C
> 
> Using the pasted text does not work for me correctly.
> 
> That's a little bit annoying, because I cannot connect to the running
> instance and paste commands and arguments... I need to type all the
> long arguments list manually.
> 
> Can I set a special environment variable to a special value (e.g. TERM
> or LC_COLORS) that works around the problem?
> 
> Best regads,
> Markus
> 

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Re: paste broken on client console

Posted by Oleg Cohen <ol...@assurebridge.com>.
Hi guys,

I noticed the same issue with 4.2.8 (works fine in 4.2.7 and prior). I am on a Mac. ITerm2 v3.3.7. My $TERM = xterm.

Thank you,
Oleg

> On Jan 31, 2020, at 5:01 AM, Markus Rathgeb <ma...@gmail.com> wrote:
> 
> Hi,
> 
> I updated targets running a custom distribution to Karaf 4.2.8.
> Now while maintaining that systems I realized a very annoying problem.
> The copy and paste (to be precise, the "paste") is not working using
> "bin/client" correctly.
> 
> The problem can be reproduced using the upstream Karaf distribution, too.
> I am using a Linux system (host machine + target machines).
> 
> To reproduce:
> * unpack Karaf 4.2.8
> * start the Karaf process by "bin/karaf"
> * open another terminal and connect to the instance using "bin/client"
> * copy a text and paste it into the terminal running "bin/client"
> 
> Result:
> * the text will not appear
> * on enter no new line will be visible
> * to escape the situation paste again or press ctrl+C
> 
> Using the pasted text does not work for me correctly.
> 
> That's a little bit annoying, because I cannot connect to the running
> instance and paste commands and arguments... I need to type all the
> long arguments list manually.
> 
> Can I set a special environment variable to a special value (e.g. TERM
> or LC_COLORS) that works around the problem?
> 
> Best regads,
> Markus


Re: paste broken on client console

Posted by Markus Rathgeb <ma...@gmail.com>.
Hi JB,

the release not of Karaf 4.2.8 contains:
[KARAF-6372] - Upgrade to jline 3.12.1

If I look at KARAF-6372
(https://issues.apache.org/jira/browse/KARAF-6372) it has been marked
that it has already been fixed in 4.2.7.
I assume this has been labeled not correctly.

Am Fr., 31. Jan. 2020 um 14:43 Uhr schrieb Jean-Baptiste Onofré
<jb...@nanthrax.net>:
>
> Hi Markus,
>
> No it doesn't work by default outside screen.
>
> Let me find the TERM mapping (I'm pretty sure it's a change in jline).
>
> I keep you posted.
>
> Regards
> JB
>
> On 31/01/2020 14:30, Markus Rathgeb wrote:
> > Hi JB,
> >
> > does it work for you using "bin/client" without screen?
> >
> > I opened the "good old" xterm twice.
> > In one xterm I opened "bin/karaf".
> > In the other one I opened "bin/client".
> >
> > To test it in xterm I used the X linux feature to mark a text to copy
> > it and paste it by middle click or shift+insert.
> > * it works for "bin/karaf" without screen
> > * it works for "bin/karaf" with screen
> > * it does not work for "bin/client" without screen
> > * it does not work for "bin/client" with screen
> >
>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com

Re: paste broken on client console

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Markus,

No it doesn't work by default outside screen.

Let me find the TERM mapping (I'm pretty sure it's a change in jline).

I keep you posted.

Regards
JB

On 31/01/2020 14:30, Markus Rathgeb wrote:
> Hi JB,
> 
> does it work for you using "bin/client" without screen?
> 
> I opened the "good old" xterm twice.
> In one xterm I opened "bin/karaf".
> In the other one I opened "bin/client".
> 
> To test it in xterm I used the X linux feature to mark a text to copy
> it and paste it by middle click or shift+insert.
> * it works for "bin/karaf" without screen
> * it works for "bin/karaf" with screen
> * it does not work for "bin/client" without screen
> * it does not work for "bin/client" with screen
> 

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Re: paste broken on client console

Posted by Markus Rathgeb <ma...@gmail.com>.
Hi JB,

does it work for you using "bin/client" without screen?

I opened the "good old" xterm twice.
In one xterm I opened "bin/karaf".
In the other one I opened "bin/client".

To test it in xterm I used the X linux feature to mark a text to copy
it and paste it by middle click or shift+insert.
* it works for "bin/karaf" without screen
* it works for "bin/karaf" with screen
* it does not work for "bin/client" without screen
* it does not work for "bin/client" with screen

Re: paste broken on client console

Posted by Markus Rathgeb <ma...@gmail.com>.
It is working inside screen but without screen it is not working.
Will try to further investigate

Re: paste broken on client console

Posted by Markus Rathgeb <ma...@gmail.com>.
Hi JB,

some environments I assume they could be related:

COLORFGBG=0;15
COLORTERM=truecolor
JAVA_BIN=/home/rathgeb/bin/pkgs/java/jdk/8/OracleJDK/jdk1.8.0_202/bin
JAVA_HOME=/home/rathgeb/bin/pkgs/java/jdk/8/OracleJDK/jdk1.8.0_202
JAVA=/home/rathgeb/bin/pkgs/java/jdk/8/OracleJDK/jdk1.8.0_202/bin/java
LANG=en_US.utf8
LC_TIME=en_DK.utf8
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.cfg=00;32:*.conf=00;32:*.diff=00;32:*.doc=00;32:*.ini=00;32:*.log=00;32:*.patch=00;32:*.pdf=00;32:*.ps=00;32:*.tex=00;32:*.txt=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:
SHELL=/bin/bash
SHLVL=0
TERM=xterm-256color

I am using "konsole" (the KDE console).
I will also try different ones...

Re: paste broken on client console

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Markus,

it works fine for me. I tested in screen, started bin/client, type
bundle:list on a regular term, and paste using CTRL-SHIFT-V or mouse
middle button.
It works just fine.

My TERM is screen.xterm-256color.

What's yours ?

Regards
JB

On 31/01/2020 11:04, Jean-Baptiste Onofré wrote:
> Hi Markus,
> 
> Thanks for the report. Let me try to reproduce the problem on my machine
> (it could depend of the TERM in use).
> 
> Regards
> JB
> 
> On 31/01/2020 11:01, Markus Rathgeb wrote:
>> Hi,
>>
>> I updated targets running a custom distribution to Karaf 4.2.8.
>> Now while maintaining that systems I realized a very annoying problem.
>> The copy and paste (to be precise, the "paste") is not working using
>> "bin/client" correctly.
>>
>> The problem can be reproduced using the upstream Karaf distribution, too.
>> I am using a Linux system (host machine + target machines).
>>
>> To reproduce:
>> * unpack Karaf 4.2.8
>> * start the Karaf process by "bin/karaf"
>> * open another terminal and connect to the instance using "bin/client"
>> * copy a text and paste it into the terminal running "bin/client"
>>
>> Result:
>> * the text will not appear
>> * on enter no new line will be visible
>> * to escape the situation paste again or press ctrl+C
>>
>> Using the pasted text does not work for me correctly.
>>
>> That's a little bit annoying, because I cannot connect to the running
>> instance and paste commands and arguments... I need to type all the
>> long arguments list manually.
>>
>> Can I set a special environment variable to a special value (e.g. TERM
>> or LC_COLORS) that works around the problem?
>>
>> Best regads,
>> Markus
>>
> 

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Re: paste broken on client console

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Markus,

Thanks for the report. Let me try to reproduce the problem on my machine
(it could depend of the TERM in use).

Regards
JB

On 31/01/2020 11:01, Markus Rathgeb wrote:
> Hi,
> 
> I updated targets running a custom distribution to Karaf 4.2.8.
> Now while maintaining that systems I realized a very annoying problem.
> The copy and paste (to be precise, the "paste") is not working using
> "bin/client" correctly.
> 
> The problem can be reproduced using the upstream Karaf distribution, too.
> I am using a Linux system (host machine + target machines).
> 
> To reproduce:
> * unpack Karaf 4.2.8
> * start the Karaf process by "bin/karaf"
> * open another terminal and connect to the instance using "bin/client"
> * copy a text and paste it into the terminal running "bin/client"
> 
> Result:
> * the text will not appear
> * on enter no new line will be visible
> * to escape the situation paste again or press ctrl+C
> 
> Using the pasted text does not work for me correctly.
> 
> That's a little bit annoying, because I cannot connect to the running
> instance and paste commands and arguments... I need to type all the
> long arguments list manually.
> 
> Can I set a special environment variable to a special value (e.g. TERM
> or LC_COLORS) that works around the problem?
> 
> Best regads,
> Markus
> 

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com