building a service to accessed via telnet client, want colors ?

sidwelle
sidwelle used Ask the Experts™
on
In building a service to accessed from a telnet client, is there any type of escape codes or ansi codes that the service can send back to the telnet windows that would cause to change the color of the text   foreground and/or background ?

Thank you.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Hanno P.S.IT Consultant and Infrastructure Architect

Commented:
Hi,

the problem is not the service but the client you use.
E.g. if you use an xterm client type for telnet you can use the usual ANSI escape sequences to perfom these tasks.

Cheers,
JustUNIX
IT Consultant and Infrastructure Architect
Commented:
A comprehensive list of ansi escape sequences can be found here.
for basic security reasons, I would suggest using SSH as the transport instead of telnet...

Author

Commented:
I found the ANIS code late last night, but nothing this complete.  

ArneLovius:  SSH would be best, but I am captured data from a legacy system and that dictates the protocol used.

Thank You.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start Today