Re: Echo colored text to console

2000-09-09 Thread eric clover
i had requested something like this a while back except that i wanted something that would take text from a term and have it popup in a window in a X session. like typing "hi honey" in a term session that is ssh'd into a machine and have a window popup in X and have "hi honey" in it. anyone know o

Re: Echo colored text to console

2000-09-09 Thread Steve Borho
On Fri, Sep 08, 2000 at 12:41:19PM -0400, [EMAIL PROTECTED] wrote: > If I type /dev/tty12> the text Hello World > appears on the virtual console number 11. Does anyone know how I could > change this text to another color? you need to send the proper tty strings. I'm not sure where to find them

Re: Echo colored text to console

2000-09-08 Thread Luke C Gavel
On Fri, 8 Sep 2000 [EMAIL PROTECTED] wrote: > If I type /dev/tty12> the text Hello World > appears on the virtual console number 11. Does anyone know how I could > change this text to another color? > Yes. Check out the Bash-Prompt-HOWTO at www.linuxdoc.org for the ESC codes that manipulate c

Re: Echo colored text to console

2000-09-08 Thread Ben Logan
Howdy, You have to send it an ANSI escape. First, you need to either use 'echo -e' (the -e switch allows it to interpret backslash sequences) or the 'printf' command. Now, escape sequences for colors (you can also do cursor movement with them) are of the form "\033[0;34m", so to turn the text b

Echo colored text to console

2000-09-08 Thread chadws
If I type /dev/tty12> the text Hello World appears on the virtual console number 11. Does anyone know how I could change this text to another color? -- Is your email secure? http://www.pop3now.com (c) 1998-2000 secureFront Technologies, Inc. All rights reserved. _