Can I change the color of text output to pterm with printf by using some
simple ESC codes, or do I need ncurses?
I want to write a simple filter that highlights certain parts of compiler
output, e.g., errors.
Thanks
Markus
I run my pterms in QNX mode. You can look at the Esc codes under Dev.com in
the utilities manual to change color, etc. I think you can do the same if
you run in ascii mode. They’re just different Esc codes.
“Markus Loffler” <loffler@ces.clemson.edu> wrote in message
news:9cmnpl$t2v$1@inn.qnx.com…
Can I change the color of text output to pterm with printf by using some
simple ESC codes, or do I need ncurses?
I want to write a simple filter that highlights certain parts of compiler
output, e.g., errors.
Thanks
Markus
I start dev.con with default options, which should be qnx.
TERM is qansi-m.
I tried ansi and qnx escape codes but they don’t seem to work
Markus
“Bill Caroselli @ Q-TPS” <BillCaroselli@Q-TPS.com> wrote in message
news:9cmri4$205$1@inn.qnx.com…
I run my pterms in QNX mode. You can look at the Esc codes under Dev.com
in
the utilities manual to change color, etc. I think you can do the same if
you run in ascii mode. They’re just different Esc codes.
“Markus Loffler” <> loffler@ces.clemson.edu> > wrote in message
news:9cmnpl$t2v$> 1@inn.qnx.com> …
Can I change the color of text output to pterm with printf by using some
simple ESC codes, or do I need ncurses?
I want to write a simple filter that highlights certain parts of
compiler
output, e.g., errors.
Thanks
Markus
\
Take a look at the page
http://www.wco.com/~kin/ref/computer/escape/out.html
There you can find all sequences. Don’t forget
if there saying ESC there meaning the real escape code.
–
Bye Sascha( sascha@bitctrl.de )
Sascha Morgenstern
BitCtrl Systems GmbH
Weißenfelser Straße 67
Germany - 04229 Leipzig
Phon. +49 341 490 670
FAX. +49 341 490 67 15
eMail: sascha@bitctrl.de
WWW: http://www.bitctrl.de
“Markus Loffler” <loffler@ces.clemson.edu> schrieb im Newsbeitrag
news:9cn181$5c8$1@inn.qnx.com…
I start dev.con with default options, which should be qnx.
TERM is qansi-m.
I tried ansi and qnx escape codes but they don’t seem to work
Markus
“Bill Caroselli @ Q-TPS” <> BillCaroselli@Q-TPS.com> > wrote in message
news:9cmri4$205$> 1@inn.qnx.com> …
I run my pterms in QNX mode. You can look at the Esc codes under
Dev.com
in
the utilities manual to change color, etc. I think you can do the same
if
you run in ascii mode. They’re just different Esc codes.
“Markus Loffler” <> loffler@ces.clemson.edu> > wrote in message
news:9cmnpl$t2v$> 1@inn.qnx.com> …
Can I change the color of text output to pterm with printf by using
some
simple ESC codes, or do I need ncurses?
I want to write a simple filter that highlights certain parts of
compiler
output, e.g., errors.
Thanks
Markus
\