You are not logged in.

#1 2014-09-05 15:34:46

xmd512
Member
Registered: 2014-09-05
Posts: 1

Changing colors of individual letters in the terminal input,output

Hey, this is my first post so hi everyone
I usually lurk around on forums and find answers for almost anything but this time i'm kind of lost

I have a disturbing grapheme-color synesthesia, in my head I see some letters and numbers as colors, and when i'm faced with large chunks of text (like in the terminal, or on wikipedia) i usually start mixing up everything because of all the colors that I see.
ex:  in my head e is soft green, o is dark red, 6 is lila, 2 is a little lighter than arch blue,...
I use to have a plugin on my web browser that changed the color of the characters into the colors of the characters in my head, and I was wondering if this could be possible to have on the linux terminal.
This used to be really helpfull and let my brain go on sleep mode while i could peacefully read really fast & work for hours and hours straight.

So is there a way to color a,e,i,o,m,n,u,y,1,2,3,4,5,6,7,8,9,0 in the terminal's input & output ?

Thanks

Offline

#2 2014-09-06 22:52:36

jwm-art
Member
Registered: 2011-02-01
Posts: 87

Re: Changing colors of individual letters in the terminal input,output

<speculation>
Maybe some kind of filtering program that would scan all command output and insert ansi escape codes for the appropriate colours might work for most but not all commands. Something that all command output would be piped to... stdout, stderr.
</speculation>

Offline

#3 2014-09-06 23:10:20

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: Changing colors of individual letters in the terminal input,output

 Welcome to the Arch Linux Forums xmd512, I hope you use that condition to your advantage. As far as I see, there is no designated tool for that specific application, but it should be possible to at least some extent, like jwm-art speculated. Here are some references for colouring [bash shell]:
https://wiki.archlinux.org/index.php/Category:Eye_candy
https://wiki.archlinux.org/index.php/Co … t_and_Bash
http://misc.flogisoft.com/bash/tip_colo … formatting
 There is this utility ansi-color, which simplifies those escape sequences significantly. For bash specifically however, I will be of little to no help.

Offline

#4 2014-09-06 23:26:11

lolilolicon
Member
Registered: 2009-03-05
Posts: 1,722

Re: Changing colors of individual letters in the terminal input,output

To have text colorized universally automatically, it probably has to be done by the terminal emulator. Hopefully it can be relatively easily done with a urxvt perl extension, but I don't know of one in existence.


This silver ladybug at line 28...

Offline

Board footer

Powered by FluxBB