Page 1 of 1

Re: Debian Terminal Colors - How?

Posted: Fri Apr 20, 2012 5:47 pm
by Britaniola
I'd like to have the non-GUI terminal show colors for directories, prompts and the like. How do I go about changing from the default Linux term to something like xterm-color?

Bill

BTW...before I get the usual RTFM replies, I've tried looking on the net, using the package manager to DL xterm, Googling it, R'ingTFM, etc.

Please be kind and feed the n00bs!

Re: Debian Terminal Colors - How?

Posted: Fri Apr 20, 2012 6:19 pm
by walney
Prolly manage it by typing:

export TERM=ansi

at the command prompt

Re: Debian Terminal Colors - How?

Posted: Fri Apr 20, 2012 6:34 pm
by Britaniola
walney said:


Prolly manage it by typing:

export TERM=ansi

at the command prompt



Thanks for the answer but it didn't work.

Bill

Re: Debian Terminal Colors - How?

Posted: Fri Apr 20, 2012 6:37 pm
by jojopi
There is nothing wrong with the TERM setting.  The issue is that /home/pi in the distributed image starts out completely empty, without the usual dot files.

To fix it run the following command as user pi, and then log back in.cp -a /etc/skel/.??* ~/

Re: Debian Terminal Colors - How?

Posted: Fri Apr 20, 2012 6:47 pm
by Britaniola
jojopi said:


There is nothing wrong with the TERM setting.  The issue is that /home/pi in the distributed image starts out completely empty, without the usual dot files.

To fix it run the following command as user pi, and then log back in.cp -a /etc/skel/.??* ~/

You nailed it! Thanks. I never thought of the missing files in the user home.

"I see colors."

Re: Debian Terminal Colors - How?

Posted: Fri Apr 20, 2012 6:50 pm
by walney
walney said:


Prolly manage it by typing:

export TERM=ansi

at the command prompt



D'oh... must engage brain before mouth.


Re: Debian Terminal Colors - How?

Posted: Wed Jul 23, 2014 11:55 am
by sanjeev4cs
i had done by copy my .bashrc in linux system(ubuntu) , which have already enabled color terminal .
1. step
/* for precaution : - make back up of .bashrc in Raspberry */
[email protected] : cp .bashrc .bashrc.backup
2. step
/* copy .bashrc from your system(ubuntu) to raspberry pie
scp .bashrc [email protected]:/root/
3. step
Reboot