Solved

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

Posted on 2016-08-18
4
80 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 36

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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.
A short article about problems I had with the new location API and permissions in Marshmallow
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.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

929 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now