You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Mike Hummel <mh...@mhus.de> on 2019/03/23 07:38:51 UTC

Re: Disable gogo shell block mode

FYI

I found the solution, use

setopt BRACKETED_PASTE

and

unsetopt BRACKETED_PASTE

to switch between modes.


> On 14. Feb 2019, at 15:49, Mike <mh...@mhus.de> wrote:
> 
> Hello,
> 
> I was looking around bud didn't find a solution to disable the gogo shell block mode (used paste text in the console). Using docker and detaching the console always leave the block mode in the terminal. This means C&P in the terminal will surround the text with ~00Text~01 and the command fails.
> 
> A workaround is to disable mode by command
> 
> printf "\e[?2004l"
> 
> but more comfortable would be to disable the mode in gogo. Some hints?
> 
> Also great is the possibility to switch between modes. Programatically also.
> 
> Thx
> 
> Mike
> 
>