Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
The results are in! See what nearly 90,000 developers picked as their most loved, dreaded, and desired coding languages and more in the 2019 Developer Survey.

Questions tagged [ansi]

The tag has no usage guidance.

0
votes
1answer
38 views

Clearing a line when terminal window is narrowed

Consider the following code (written in PHP, but that's not important. Answers may use pure Bash). The goal is to fill a terminal line with characters for the entire width of the line. Now, if you ...
0
votes
2answers
52 views

Display ANSI colours with curl?

I'm currently trying to curl some raw text and have it displayed with interpreted ANSI colours in the Terminal. Currently, when I run curl http://example.com/test.txt (not the actual URL), it simply ...
0
votes
2answers
149 views

How can I make ANSI RGB color codes bold?

I've been learning how to customize my prompt with colors. I understand that you can define red text with \e[0;31m and define an RGB color (in the following example, R=255, G=95, B=255) as \e[38;2;...
0
votes
1answer
260 views

Changing the color of colored outputs

My terminal has a white background. When commands print yellow text to the terminal, I can't see the text clearly (due to low contrast). I thought: wouldn't it be great if all the yellow text that ...
12
votes
1answer
1k views

What type of encoding do these ANSI artworks use?

I've found this website; it has zip files (links on the main page) with all the artworks. Some of them have an .ans extension and they look like ANSI escape codes used on Linux/Unix, but when I open ...
0
votes
1answer
460 views

What is the ANSI escape equivalent of `tput sgr0`?

To avoid a subshell, what are the ANSI escape equivalents of tput sgr0 for an ANSI-compatible terminal?
-1
votes
1answer
38 views

How to change colors as user in Redhat linux server (iterm2, ssh)

My school server is Redhat 7.4 and I really hate the default colors which are printed in ls. bold and dark colors with a black backround is really hard for me to see any file names. I am currently ...
0
votes
0answers
90 views

Bash: print invisible timestamp in PS1

My current PS1 looks like this: ╭dotfiles ╰(ivan)• I'd like to add an invisible timestamp to it, so I can select/highlight it with the cursor when I want to see what time a command ran, but not ...
0
votes
2answers
193 views

ANSI in BitchX not displaying properly

I am attempting to get ANSI to display properly in a screen session using Iterm2 on OS X, the default TERM is set to screen.xterm-256color I tried export TERM=vt100 and export TERM=ansi and ...
1
vote
1answer
28 views

ansi: two fast questions about this term

I'm a little confused about ANSI and sql. Is the ansi/sql relationship the same as posix/unix? Is sql language an ansi standard?