Hi JB,

I'd like automate some karaf tasks by means of using linux expect tool, so I'd 
like the karaf's output to be without ansi color codes and escape sequences to 
be able to match against "expect tool" expressions easier.


Best Regards,
Sergey


-----Original Message-----
From: Jean-Baptiste Onofré [mailto:[email protected]] 
Sent: Thursday, May 22, 2014 9:50 PM
To: [email protected]
Subject: Re: Karaf colored output

Hi Sergey,

Not sure to follow you: do you want to disable color or you don't have color 
and you want it ?

did you try rxvt or xterm (to enable color) ?

to disable any "unknown" term should work.

Regards
JB

On 05/22/2014 07:19 PM, Zhemzhitsky Sergey wrote:
> Hi karaf gurus,
>
> Is it somehow possible to disable karaf’s shell colored output?
>
> It seems that karaf’s does not interpret TERM environment variable, 
> because if I connect to karaf either like this “TERM=xterm-old ssh 
> localhost -p 8101” or like this “ssh localhost -p 8101” the output is 
> colored in both cases.
>
> If I connect, to the linux with “TERM=xterm-old” the colored output is 
> disabled.
>
> Best Regards,
>
> Sergey
>
> _______________________________________________________
>
> CONFIDENTIALITY NOTICE: This email and any files attached to it may be 
> confidential. If you are not the intended recipient you are notified 
> that using, copying, distributing or taking any action in reliance on 
> the contents of this information is strictly prohibited. If you have 
> received this email in error please notify the sender and delete this 
> email.
>

--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to