I think that all the colored output is simply additional characters that
are sent with the text to display and then it's simply translated.  The
absence of those additional bytes shouldn't do anything except cause the
text to be mono.  I use windows all the time and depending on what I use to
connect to karaf, I either have extra garbage characters, text with no
color or colored text... sshing results in no color either way, never hit a
problem.

Ryan
On May 22, 2014 3:07 PM, "Guillaume Nodet" <[email protected]> wrote:

> We'd need the terminfo database in order to do so I think.
> From a technical pov, it would be easy enough to disable ansi support
> based on the TERM variable for SSH connections, though i'm not really sure
> how well karaf would behave.
>
>
> 2014-05-22 19:19 GMT+02:00 Zhemzhitsky Sergey <
> [email protected]>:
>
>>  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.
>>
>>
>>
>
>

Reply via email to