Re: Strange behaviour when accessing console via ssh client into a dockernized Karaf

2018-09-16 Thread Steinar Bang
> Jean-Baptiste Onofré : > By the way, Karaf 4.1.6 is also affected by this issue (whereas Karaf > 4.1.5 works fine). So I think it's a change we did in jline, as we > updated to jline 3.6.2 in Karaf 4.1.6 whereas Karaf 4.1.5 uses jline 3.6.0. > I think I already have a fix/workaround (I'm

Re: Strange behaviour when accessing console via ssh client into a dockernized Karaf

2018-09-16 Thread Jean-Baptiste Onofré
By the way, Karaf 4.1.6 is also affected by this issue (whereas Karaf 4.1.5 works fine). So I think it's a change we did in jline, as we updated to jline 3.6.2 in Karaf 4.1.6 whereas Karaf 4.1.5 uses jline 3.6.0. I think I already have a fix/workaround (I'm testing it locally). Anyway, both

Re: Strange behaviour when accessing console via ssh client into a dockernized Karaf

2018-09-16 Thread Jean-Baptiste Onofré
Hi Wouter, Yes, that's a different issue related to the kind of terminal when using OpenSSH. I created a specific Jira about that: https://issues.apache.org/jira/browse/KARAF-5916 I'm working on a fix for this one in the SshTerminal. It will be included in Karaf 4.2.2. Regards JB On

Re: Strange behaviour when accessing console via ssh client into a dockernized Karaf

2018-09-16 Thread wborn
Hi JB, I've also seen this issue occur without using Docker. E.g. when I start Karaf 4.2.1 (part of openHAB 2.4.0-SNAPSHOT) from the command line in the foreground with the shell console on Ubuntu 16.04.5 and then connect to it with SSH. So it seems this SSH issue is not limited to Docker

Re: Strange behaviour when accessing console via ssh client into a dockernized Karaf

2018-09-16 Thread Jean-Baptiste Onofré
Hi Thiago, FYI, the problem is already fixed on Karaf 4.2.2-SNAPSHOT. The problem is that the size of the terminal columns size is set to 0 while running in Docker. So, the fix is simply to set a "correct" size when size is 0: if (jlineTerminal.getSize().getColumns() == 0) {

Re: Strange behaviour when accessing console via ssh client into a dockernized Karaf

2018-09-14 Thread Jean-Baptiste Onofré
Hi Thiago, I think I have a fix, it will be included in Karaf 4.1.7 and 4.2.2 (plan for November). Regards JB On 14/09/2018 23:01, Thiago Moreira (timba) wrote: > >   Hey JB, do you have any updates on this? Is the problem related to > jline/karaf or both? > >   Thanks > > Thiago Moreira >

Re: Strange behaviour when accessing console via ssh client into a dockernized Karaf

2018-09-14 Thread Thiago Moreira (timba)
Hey JB, do you have any updates on this? Is the problem related to jline/karaf or both? Thanks Thiago Moreira +55 48 99911-6331 On Mon, Sep 3, 2018 at 10:45 AM Thiago Moreira (timba) < tmoreira2...@gmail.com> wrote: > > Nice JB, if there is anything that I can do for help let me know. >

Re: Strange behaviour when accessing console via ssh client into a dockernized Karaf

2018-09-03 Thread Thiago Moreira (timba)
Nice JB, if there is anything that I can do for help let me know. Thiago Moreira +55 48 99911-6331 On Mon, Sep 3, 2018 at 1:18 AM Jean-Baptiste Onofré wrote: > OK, I saw the response in the mail subject ;) > > Yeah, I saw that as well when using -tty in the docker. It seems the > term type

Re: Strange behaviour when accessing console via ssh client into a dockernized Karaf

2018-09-02 Thread Jean-Baptiste Onofré
OK, I saw the response in the mail subject ;) Yeah, I saw that as well when using -tty in the docker. It seems the term type in docker doesn't work fine with jline. I gonna work on a fix for 4.2.2. Regards JB On 03/09/2018 06:06, Jean-Baptiste Onofré wrote: > Hi, > > I guess you are using

Re: Strange behaviour when accessing console via ssh client into a dockernized Karaf

2018-09-02 Thread Jean-Baptiste Onofré
Hi, I guess you are using docker right ? Regards JB On 03/09/2018 02:00, Thiago Moreira (timba) wrote: > >   Hi again, > >   I'm upgrading my project from 4.0.9 (ServiceMix-7.0.1) to 4.2.1 but > when I try to access the console via ssh (ssh -p 8101 ka...@myserver.com >