In my lubuntu machine terminal the Arabic letters are being displayed from left-to-right and they are not bound together (Altogether on a text editor everything is working correctly).  The reason for wanting terminal to display Arabic is that I'm trying to develop a Python program which uses graphical elements like TextBox (actually Entry in tkinter). I found different modules to output strings consisting of Arabic letters in a correct form but while the user is typing in the Textbox it displays the same way as in my terminal (from left to right and with isolated individual letters).   How can I get these scripts to display correctly?
96252
I'm trying to write Arabic in the terminal app but it does not recognize right-to-left text and does not bind the Arabic letters together as it should.  I tried this solution  but it did not work.  Are there any plans to implement Arabic support in the gnome terminal? KDE Konsole terminal works without any problems.
10414
How can I list all the printable ASCII characters in the terminal?
115653
When I execute a command from a terminal that prints coloured output (such as ls or gcc), the coloured output is printed. From my understanding, the process is actually outputting , and the terminal formats the colour.  However, if I execute the same command by another process (say a custom C application) and redirect the output to the application's own output, these colours do not persist.  How does a program decide whether or not to output text with colour format? Is there some environment variable?
78595
I have a ruby terminal script that I would like to print out hyperlinks. I achieve that like so:  puts("\e]8;;https://example.com\aThis is a link\e]8;;\a")   This works perfectly fine in a "normal" terminal (gnome-terminal btw) window.  But I need to run this script within GNU screen, where the escape-sequence simply has no effect. Other sequences (like colors for example) work fine, the hyperlink one (which according to the  might be a gnome-terminal-only thing) doesn't. (screen is running inside gnome-terminal)  How can I get screen to acknowledge my link sequence and display it properly?
35812
I run a script in terminal and the output printed in the terminal I also save in a text file. How can I display that text in Gedit colored similar to what I can see in the terminal? I thought there could be a plugin. Update I might not have been as clear as I planed, so I would like to see similar coloring changes in the plain text file as appears in terminal, not for shell scripts but if I have an error message (e.g. compiler error) than those line to be differentiated from other printouts in terminal. $ rosrun my_pkg my_node &gt;&gt; terminal_printout Update 2 My gedit version is 3.10.4 ii  libgtksourceview-3.0-1:amd64   3.10.2-0ubuntu1 amd64 sared libraries for the GTK+ syntax highlighting widget ii  libgtksourceview-3.0-common    3.10.2-0ubuntu1 all common files for the GTK+ syntax highlighting widget
112589
I've just realized I have a file on my system; it lists normally:  $ ls -la TΕSТER.txt  -rw-r--r-- 1 user user 8 2013-04-11 18:07 TΕSТER.txt $ cat TΕSТER.txt  testing   ... yet, it crashes a piece of software with a UTF-8/Unicode related error. I was really puzzled, since I couldn't tell why such a file is a problem; and finally I remembered to check the output of ls with hexdump:  $ ls TΕSТER.txt  TΕSТER.txt $ ls TΕSТER.txt | hexdump -C 00000000  54 ce 95 53 d0 a2 45 52  2e 74 78 74 0a           |T..S..ER.txt.| 0000000d   ... Well, obviously there are some bytes in between/instead of some letters, so I guess it is a Unicode encoding problem. And I can try to echo the bytes back to see what is printed:  $ echo -e "\x54\xCE\x95\x53\xD0\xA2\x45\x52\x2E\x74\x78\x74" TΕSТER.txt   ... but I still cannot tell which - if any - Unicode characters these are.   So is there a command line tool, which I can to inspect a string on the terminal, and get Unicode information about it's characters?
66338
I want to know if there's any way to check if my program can output terminal output using colors or not.   Running commands like less and looking at the output from a program that outputs using colors, the output is displayed wrong, like  [ESC[0;32m0.052ESC[0m ESC[1;32m2,816.00 kbESC[0m]  Thanks
93444
In terminal, the usual prompt text user@machine isn't green/blue as usual. Instead is is just white like the rest of the text. If I ssh into my server however, the colours are the same. Perhaps I've accidentally hit a button?  The settings in Edit → Profile Preferences → Colors look fine. The selected palette shown there is Linux Console.  I've tried using apt remove gnome-terminal &amp;&amp; apt install gnome-terminal but that still hasn't worked. I've also tried using the MATE Terminal method and using UXTerm but both of which are doing the same issue.
63580
Recently I re-installed Windows XP English, and after setting the locale to Japanese, and installing my favorite fonts, all Japanese text in the GUI became strange. The GUI font is Tahoma (default).  In the past it would render foreign scripts with Windows' own fonts, but now, for some reason, it's using one of my own installed fonts, and a bad one at that! (the font I call Kiddie in this screenshot)    I deleted this font, and then windows took one of the very unreadable semi-cursive fonts. I re-installed the Kiddy font and windows immediately used that again (all without rebooting)  Does anyone know how to change/alter/configure the windows font fallback strategy? I don't care if it takes third-party software.
36992
Is it possible to automatically "add" \left and \right commands in front of all brackets? The source code should be left intact, but LaTeX should interpret every pair of brackets as if they were preceded by such commands. This is because adding \left and \right commands is time consuming and makes source code longer and less readable. I considered defining new commands such as \lb and \rb for \left( and \right), but it doesn't seem very elegant to me: what if I also want to add square brackets for example?  Any ideas? Thanks.
18896
I've heard that you should use \[ ... \] for displayed equations instead of  $$ ... $$, but why is that?  I'd assumed that it's so that you can more easily tell which are starting and which are ending delimiters, but if I always use a syntax-highlighting text editor, I can see that easily based on the color of the symbols.  Is there any reason for this suggestion?
18313
Is there a way to set a specific TTF font to be used on the console? (I believe you might have to convert it to a bitmap font?)  If it needs to be converted, what tools can I use to do the conversion? Otherwise, how do I pick Ubuntu Monospace for my console font?  (I already have the Ubuntu Monospace font installed from the beta PPA for it.)  Edit: I already set gnome-terminal to use Ubuntu Mono. Now I'm wanting to set the all-text screens I get when I press Ctrl+Alt+F1 to use the same font.
28145
I am trying to input code listings with unicode characters and everything seems to work (more or less) except some unicode characters being displayed out of order. For example instead of  służąca do obsługi  I get  łżąsuca do łobsugi  How can I fix that? EDIT: I was asked for providing some code, but unfortunately I doubt it will be any helpful. Basically code like this: \documentclass[11pt,polish]{article}  \usepackage{fontspec} \usepackage{listings} \usepackage{xunicode} \usepackage{xltxtra} \usepackage{babel}  \setmainfont{Charis SIL} % Some font with good unicode support  \begin{document} \begin{lstlisting} służący \end{lstlisting} \end{document}  will output this:  łżą sucy  (yes there is a line break, I don't know where it came from, when I input code in form of a file there are characters out of order, but no line breaks).
32104
I'm aware of libraries in languages such as Ruby and Javascript to make colorizing your terminal scripts easier by using color names like "red".  But is there something like this for shell scripts in Bash, or Ksh, or whatever?
76396
I'm on OSX 10.11.1 and occasionally my bash terminal gets mangled. It often happens when I accidentally cat a binary file. The result can be seen on the image below. The output becomes weird, and I can't type ascii characters anymore.    Even though this happens occasionally, I couldn't find a way to consistently reproduce the issue. Online search recommends doing cat /bin/*, but that works sporadically, only after a couple dozen tries.  I want to do this so I can find an easy solution how to handle this in tmux.  How do I consistently get bash to a "mangled" state? Is there maybe a magic unicode character that can do this?
12249
This is all in iTerm2 on OS X.  I used to have  export TERM='xterm-256color'   in my .bashrc. This meant Vim in tmux did use 256 colors.  And once I added  set -g xterm-keys on   then keyboard shortcuts with modifiers worked fine in Vim. Namely: shift+left/right that I mapped to switch Vim tabs, ctrl+up/down that I mapped to move ("bubble") lines, and shift+left/right which worked out of the box to jump by word in the command-line mode (e.g. when typing something like :e foo bar baz).  However, this setup had the problem that the Vim background color only shows behind text, as mentioned .  So I removed  export TERM='xterm-256color'   from my .bashrc and instead put this in my .tmux.conf:  set -g default-terminal "screen-256color"   That fixed the Vim background color, but broke the keyboard shortcuts - they do unexpected things (move the cursor, delete text) instead.  By using ctrl+v to insert the verbatim output from the key combinations (as described ), I was able to work around it:  map [1;5A &lt;C-Up&gt; map [1;5B &lt;C-Down&gt; map [1;2D &lt;S-Left&gt; map [1;2C &lt;S-Right&gt; cmap [1;2D &lt;S-Left&gt; cmap [1;2C &lt;S-Right&gt;   This makes the shortcuts work, but it doesn't feel like the right solution. Could anyone tell me what's happening here and how to fix it?
63703
Every time I type it the terminal flashes but doesn't insert it. If I paste in a command that has a [ it will paste everything except the ['s  This has been happening before I updated to 10.11, but has become a massive issue, I can't use jq at all because of it.  I also have the same issue with iTerm2.