Solved

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

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Increment column based of a FK 8 31
Name Space error VS2015 1 25
Retrieve Active Directory Groups a User belongs to in VB.NET 3 19
How to repeat the data 4 18
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
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…

828 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