how can i force Kwrite to show the same colors as the terminal does!?

how can i force Kwrite to show the same colors as the terminal does!?

http://www.flickr.com/photos/38172986@N05/7168914253/in/photostream

LOVE TO hear from you
greetings

On 2012-06-09 14:26, dilbertone wrote:
>
> how can i force Kwrite to show the same colors as the terminal does!?
>
>
> [image:
> http://www.flickr.com/photos/38172986@N05/7168914253/in/photostream]

I don’t understand-.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

Please, dilbertone, explain a bit further. My first thought is, that I would not know how and why my php code would look the same as output in a terminal

hello dear knurpht hello Carlos

well - i want to have kwrite showing the data in the same (colorized!!!) manner like my Terminal does - have a closer look at this image…

terminal_colors | Flickr - Photo Sharing!

btw - how can i show images here in this forum - sometimes it is lot easier to discuss some issues - if we have an image. so how would you insert above mentioned image
here in this thread.

thx for any and all help
greetings

On 2012-06-09 15:56, dilbertone wrote:

> well - i want to have kwrite showing the data in the same
> (colorized!!!) manner like my Terminal does - have a closer look at this
> image…

If you mean that you do a copy-paste and the colours dissapear, that’s
probably intentional: the colour data would destroy the posibility of
pasting a command to another terminal.

> btw - how can i show images here in this forum - sometimes it is lot
> easier to discuss some issues - if we have an image. so how would you
> insert above mentioned image
> here in this thread.

We use susepaste.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

You can’t do that in kwrite, gedit or kate. These are (simple) teksteditors. The colors used in these are the ones defined to be applied to code. And code is what they recognize, mostly by the extension of the file opened. So, if I create a php file, krwite/kate will interprete my writings as php, and thus display an “echo” in purple (it being a command), and “$echo” in blue (it being a variable).

The colors in these files are not available in the files (they’re plain text files), the editors interprete the files and then apply the colors.

hello dear Knurpht and Carlos - many thanks

greetings