Solved

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

Posted on 2016-08-18
4
98 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 16

Expert Comment

by:Hanno P.S.
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 P.S. 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that undeā€¦
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

730 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