Hi Martin

Thanks for the update. I won't be able to investigate for Karaf 4.4.2
and 4.3.8, but I will include investigation/eventually fix for next
release cycle.

Regards
JB

On Wed, Oct 5, 2022 at 9:14 AM Martin Lichtin via user
<[email protected]> wrote:
>
> I'm not sure this ever worked.. an easy way to reproduce the issue is
>
> ssh -v -p 8101 karaf@localhost 'x=0; while { %(x < 10) } { echo $x;sleep
> 2; %(x+=1) }'
>
> with the ssh client receiving the output only when the while loop ends.
>
>
> On 2022/09/10 05:48:36 Jean-Baptiste Onofré wrote:
>  > Hi Martin,
>  >
>  > Let me try to reproduce. Did it work with previous Karaf version ?
>  >
>  > Regards
>  > JB
>  >
>  > On Fri, Sep 9, 2022 at 10:04 PM Martin Lichtin via user
>  > <[email protected]> wrote:
>  > >
>  > > Using ssh to execute Karaf commands, there's buffering going on and one
>  > > cannot see a command output as it happens.
>  > > e.g.
>  > >
>  > > ssh -p 8101 karaf@localhost "ls; sleep 10"
>  > >
>  > > does not show the "ls" output, it's only flushed and visible after the
>  > > 10s sleep.
>  > >
>  > > For commands with large output (say 10k) one can see the buffering
> effect.
>  > >
>  > > Can this be changed somehow, to achieve instant output of a command?
>  > >
>  > >
>  >

Reply via email to