Timeline for Windows' "color a", "color b" equivalent on bash terminal
Current License: CC BY-SA 4.0
9 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 9, 2020 at 21:47 | history | edited | Thomas Dickey | CC BY-SA 4.0 | clarify |
| Apr 9, 2020 at 13:51 | comment | added | muyustan | I am adding how my terminal(default of Linux Mint 19.03) responds: ibb.co/g98D2j5 -- It looks like, setaf does not do anything and setab does not do exactly what your example shows. | |
| Apr 9, 2020 at 13:50 | comment | added | muyustan | @JdeBP actually, if it would be able to change the lines which comes next, it would be enough. However, even that is not satisfied in my situation. I am adding what my terminal looks like when I use the commands in this answer. See my comment below | |
| Apr 9, 2020 at 13:02 | comment | added | JdeBP | This is not the analogous command, because this is not what the color command does. To do what the color command does, one would need a DECCARA that could change colours (as some terminal emulators support as an extension), and a way to describe that via terminfo. The color command both sets the current pen/paper colours and changes the colours of all existing cells in the screen buffer. | |
| Apr 9, 2020 at 7:52 | history | edited | Thomas Dickey | CC BY-SA 4.0 | clarify |
| Apr 9, 2020 at 2:47 | comment | added | muru | @muyustan or something else might be interfering (say, you have a coloured prompt which resets the colours) | |
| Apr 9, 2020 at 0:13 | history | edited | Thomas Dickey | CC BY-SA 4.0 | clarify |
| Apr 8, 2020 at 23:23 | comment | added | muyustan | actually, I have tried these ones but either they did not work or I could not understand exactly. | |
| Apr 8, 2020 at 21:27 | history | answered | Thomas Dickey | CC BY-SA 4.0 |