Skip to main content
removed unnessary TIA, formatting,
Source Link
Anthon
  • 81.4k
  • 42
  • 174
  • 228

I use several types of terminals in my Slackware 13 distribution: xterm, rxvt, Konsole, and xfce's terminal emulator (Terminal 0.4.6). All of them read my .dir_colors file and, for the most part assign colors to file-types as I wish. The exception are html files and css files, (e.g. blah.html and blee.css).

The rxvt terminal has no problems, but none of the other terminals will colorize these files properly. The terminal emulator displays: [00:33mblee.css, (the first character looks like a small 2x2 array of 1's and 0's in a box. The above is cut-and-paste from the terminal.). Konsole displays: 33mblah.html. xterm doesn't even try to colorize html and css files, but leaves them white (default text color).

I would like to understand whatWhat is going on. Any ideas?

I use several types of terminals in my Slackware 13 distribution: xterm, rxvt, Konsole, and xfce's terminal emulator (Terminal 0.4.6). All of them read my .dir_colors file and, for the most part assign colors to file-types as I wish. The exception are html files and css files, (e.g. blah.html and blee.css).

The rxvt terminal has no problems, but none of the other terminals will colorize these files properly. The terminal emulator displays: [00:33mblee.css, (the first character looks like a small 2x2 array of 1's and 0's in a box. The above is cut-and-paste from the terminal.). Konsole displays: 33mblah.html. xterm doesn't even try to colorize html and css files, but leaves them white (default text color).

I would like to understand what is going on. Any ideas?

I use several types of terminals in my Slackware 13 distribution: xterm, rxvt, Konsole, and xfce's terminal emulator (Terminal 0.4.6). All of them read my .dir_colors file and, for the most part assign colors to file-types as I wish. The exception are html files and css files, (e.g. blah.html and blee.css).

The rxvt terminal has no problems, but none of the other terminals will colorize these files properly. The terminal emulator displays: [00:33mblee.css, (the first character looks like a small 2x2 array of 1's and 0's in a box. The above is cut-and-paste from the terminal.). Konsole displays: 33mblah.html. xterm doesn't even try to colorize html and css files, but leaves them white (default text color).

What is going on?

I use several types of terminals in my Slackware 13 distribution: xterm, rxvt, Konsole, and xfce's terminal emulator (Terminal 0.4.6). All of them read my .dir_colors file and, for the most part assign colors to file-types as I wish. The exception isare html files and css files, (e.g. blah.html and blee.css).

The rxvt terminal has no problems, but none of the other terminals will colorize these files properly. The terminal emulator displays: [00:33mblee.css [00:33mblee.css, (the first character looks like a small 2x2 array of 1's and 0's in a box. The above is cut-and-paste from the terminal.). Konsole displays: 33mblah.html33mblah.html. xterm doesn't even try to colorize html and css files, but leaves them white (default text color).

I would like to understand what is going on. Any ideas? TIA.

I use several types of terminals in my Slackware 13 distribution: xterm, rxvt, Konsole, and xfce's terminal emulator (Terminal 0.4.6). All of them read my .dir_colors file and, for the most part assign colors to file-types as I wish. The exception is html files and css files, (e.g. blah.html and blee.css).

The rxvt terminal has no problems, but none of the other terminals will colorize these files properly. The terminal emulator displays: [00:33mblee.css, (the first character looks like a small 2x2 array of 1's and 0's in a box. The above is cut-and-paste from the terminal.). Konsole displays: 33mblah.html. xterm doesn't even try to colorize html and css files, but leaves them white (default text color).

I would like to understand what is going on. Any ideas? TIA.

I use several types of terminals in my Slackware 13 distribution: xterm, rxvt, Konsole, and xfce's terminal emulator (Terminal 0.4.6). All of them read my .dir_colors file and, for the most part assign colors to file-types as I wish. The exception are html files and css files, (e.g. blah.html and blee.css).

The rxvt terminal has no problems, but none of the other terminals will colorize these files properly. The terminal emulator displays: [00:33mblee.css, (the first character looks like a small 2x2 array of 1's and 0's in a box. The above is cut-and-paste from the terminal.). Konsole displays: 33mblah.html. xterm doesn't even try to colorize html and css files, but leaves them white (default text color).

I would like to understand what is going on. Any ideas?

Source Link
bev
  • 663
  • 4
  • 8
  • 18

dir-color failure in html and css files in several terminals

I use several types of terminals in my Slackware 13 distribution: xterm, rxvt, Konsole, and xfce's terminal emulator (Terminal 0.4.6). All of them read my .dir_colors file and, for the most part assign colors to file-types as I wish. The exception is html files and css files, (e.g. blah.html and blee.css).

The rxvt terminal has no problems, but none of the other terminals will colorize these files properly. The terminal emulator displays: [00:33mblee.css, (the first character looks like a small 2x2 array of 1's and 0's in a box. The above is cut-and-paste from the terminal.). Konsole displays: 33mblah.html. xterm doesn't even try to colorize html and css files, but leaves them white (default text color).

I would like to understand what is going on. Any ideas? TIA.