?
Solved

Colors with telnet

Posted on 2005-04-20
4
Medium Priority
?
244 Views
Last Modified: 2008-02-01
I am using telnet from Windows but Linux puts out colors with a black background and I can't read some of the colors.

Does anyone know how to change the Linux telnet colors and background?

Eddy
0
Comment
Question by:ESQuicksall
3 Comments
 

Author Comment

by:ESQuicksall
ID: 13828909
I found out how to do it. Here it is:

edit /home/<user_name>/.bashrc to add the following line. This will hide the colors when you do the directory listing in a telnet session.
 
alias ls="ls --color=never"
0
 
LVL 7

Expert Comment

by:macker-
ID: 13829665
Hi Eddy,

That would work.  Many distros will alias ls to enable colors by default.  A more direct solution is to change your TERM type so that Linux itself is aware that your session can't support colors.

To do this, you can manually set it in .bashrc or similar with:

TERM="vt100"
export TERM

(or export TERM="vt100")

Rather than disable colors, if possible, I'd recommend a different terminal client.  putty (putty32.exe) is an excellent freeware client, and SecureCRT is a top-notch commercial client.
0
 

Accepted Solution

by:
CetusMOD earned 0 total points
ID: 15789860
PAQed with points refunded (125)

CetusMOD
Community Support Moderator
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month16 days, 22 hours left to enroll

862 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