Original Usenet thread from alt.ascii-art, started 15 Jun 2001.
make things colorful
alt.ascii-art
· 5 messages · 15 Jun 2001 - 15 Jun 2001
i have a problem: have can have colorful ascii images on my login screen ? mustafa teke \|/ ____ \|/ ee-metu ~@-/ oO \-@ mus...@mustafateke.net /_( \__/ )_\ http://www.mustafateke.net \__U_/
mustafa teke wrote: > > i have a problem: > have can have colorful ascii images > on my login screen ? > > mustafa teke \|/ ____ \|/ > ee-metu ~@-/ oO \-@ > mus...@mustafateke.net /_( \__/ )_\ > http://www.mustafateke.net \__U_/ Hello, i use this in my .profile echo -e "\033[31m text red" # [3x for text color echo -e "\033[41m text with red background" # [4x for background color echo -e "\033[0m text standard # white without any effects you can use from [1m - [49m for any effects, bold, blink, reverse ... Have fun, Christian
>Hello, >i use this in my .profile > >echo -e "\033[31m text red" # [3x for text color >echo -e "\033[41m text with red background" # [4x for background >color >echo -e "\033[0m text standard # white without any effects > >you can use from [1m - [49m for any effects, bold, blink, reverse ... mmh won't that always only color one single line? ... -- \/ ,-------------------------. (oO) | we will infect you too! | vv __/`-------------------------' JL
"lastfuture (Peter Marquardt)" <las...@lastfuture.de> writes: > >Hello, > >i use this in my .profile > > > >echo -e "\033[31m text red" # [3x for text color > >echo -e "\033[41m text with red background" # [4x for background > >color 30 black, 31 red, 32 green, 33 yellow, 34 blue, 35 magenta, 36 cyan, 37 white for forground, 40-47 for background can be combined: \033[33;44m yellow on blue > >echo -e "\033[0m text standard # white without any effects Ehm. Only white (with black text) if that is your terminals preferences. This terminal it resets to green text on black. > >you can use from [1m - [49m for any effects, bold, blink, reverse ... Actually only a few of the one digit ones and then 30-37 and 40-47. All others are meaningless. 1 bold, 4 underlined, 5 blink, 7 reverse fore/back color Or course you may be surprised with the result. My terminal does bold->yellow (really bright green) and underline->yellowgreen (half overbright). Such is the world of terminals. Also combinable \033[1;31m bold and red. > mmh won't that always only color one single line? ... No. These codes set the attributes (color and style) for all following characters, until new setting or reset with \033[0m -- Neil Franklin, nei...@franklin.ch.remove http://neil.franklin.ch/ Hacker, Unix Guru, El Eng HTL/BSc, Sysadmin, Archer, Roleplayer - Intellectual Property is Intellectual Robbery
On Fri, 15 Jun 2001 18:06:47 +0200, lastfuture (Peter Marquardt) <las...@lastfuture.de> wrote: > >i use this in my .profile > >echo -e "\033[31m text red" # [3x for text color [snip] > >you can use from [1m - [49m for any effects, bold, blink, reverse ... > mmh won't that always only color one single line? ... \033[??m sets the colour until further notice. \033[0m will reset it. -- Harry Mason ("hjm200.ecs@soton@ac@uk" =~ tr/@./.@/)
Related ASCII art in the Gallery
Explore these categories from our collection of 11,000+ artworks:
Make your own ASCII art
Turn images, text or 3D into ASCII, or draw your own – right in your browser.
About this thread.
These messages were posted publicly to the newsgroup
alt.ascii-art
in 2001 and are mirrored here unchanged as part of the Historic Archives – only email addresses are masked.
The artwork and text belong to their original authors: if you copy a piece, keep the artist's initials or signature intact and credit them where you can.
Are you one of the authors? Contact us to get your posts attributed, connected to your artist profile, or removed.
Report this message
Help us keep the archive clean and accurate. Reports are reviewed by a person – nothing is changed automatically.