Solved

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

Posted on 2016-08-18
4
89 Views
Last Modified: 2016-08-19
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.
0
Comment
Question by:sidwelle
  • 2
4 Comments
 
LVL 16

Expert Comment

by:Hanno Schröder
ID: 41762249
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
0
 
LVL 16

Accepted Solution

by:
Hanno Schröder earned 400 total points
ID: 41762250
A comprehensive list of ansi escape sequences can be found here.
1
 
LVL 37

Assisted Solution

by:ArneLovius
ArneLovius earned 100 total points
ID: 41762320
for basic security reasons, I would suggest using SSH as the transport instead of telnet...
1
 

Author Closing Comment

by:sidwelle
ID: 41762417
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.
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question