1
vote
2answers
88 views

how to put color variables in bash $'…'

I have defined in one file which I source from .bashrc, color constants.. like these.. txtgrn='\e[0;32m' # Green txtylw='\e[0;33m' # Yellow txtblu='\e[0;34m' # Blue txtpur='\e[0;35m' # ...
1
vote
1answer
205 views

Non-ASCII characters handled incorrectly on command line

I have a problem with non-ASCII characters in the Terminal on Mac. If I write: echo ÆØÅ Then press Enter, Arrow Up, Arrow Left, so the cursor is between the Ø and the Å, then write X, then the Å is ...
1
vote
1answer
189 views

how to make terminal utf-8

How can I make my terminal(bash) window uft-8, that it can show utf-8 characters? my operating system is : ubuntu 12.04 my desktop : gnome-shell How about native shell(outside of desktop)?
0
votes
1answer
671 views

How to change terminal character encoding

Today I uninstalled the GUI packages on my home CentOS installation. Now, when the machine starts, I get the login prompt. It acts finicky. Sometimes pressing enter just once after answering each ...
28
votes
2answers
9k views

Awesome symbols and characters in a bash prompt

I just ran across a screenshot of someone's terminal: Is there a list of all of the characters which can be used in a Bash prompt, or can someone get me the character for the star and the right ...
3
votes
1answer
8k views

How to change bash console font to display UTF-8 characters

I'm having some trouble with displaying UTF-8 characters correctly on bash. I was trying to extract some zipped files that contained accented characters in their names, and I was getting the invalid ...
9
votes
4answers
5k views

In bash, how can I convert a Unicode Codepoint [0-9A-F] into the printabale character?

I have a list of Unicode Codepoints, but I don't know of a "simple" way to convert these hex values into the actual characters they represent... I've heard that zsh has echo -e '\u0965', but I use ...