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. > > >
