* Re: [Q] How can I get color-text in OpenVMS/AXP?
1996-01-30 5:00 [Q] How can I get color-text in OpenVMS/AXP? Jason,Choi
@ 1996-01-30 5:00 ` Andy V
0 siblings, 0 replies; 2+ messages in thread
From: Andy V @ 1996-01-30 5:00 UTC (permalink / raw)
"Jason,Choi" <jhchoi@otech.otech.co.kr> writes:
>I tried to find out how to get color text at DECterm in OpenVMS/AXP
>for days. but just failed.
>But I couldn't find out how to get RED "hello, world" or BLUE "hello,
>world" at DECterm in OpenVMS/AXP.
$ esc[0,8] = 27
$ write sys$output esc, "[41mHello, World!", esc, "[m"
Works for me!
You do have a color display, I hope :-)
For your reference:
30 black
31 red
32 green
33 yellow
34 blue
35 magenta
36 cyan
37 white
38 white
39 white
(I think some of the `white' entries here are really `default', so they
might not be white if you have different default colors.)
Change the first digit to `4' (i.e. 41, 42...) and you set the color
for the background of the letters.
Andy V
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Q] How can I get color-text in OpenVMS/AXP?
@ 1996-01-30 5:00 Jason,Choi
1996-01-30 5:00 ` Andy V
0 siblings, 1 reply; 2+ messages in thread
From: Jason,Choi @ 1996-01-30 5:00 UTC (permalink / raw)
Hello, All
I'm Jason, Choi in seoul, korea.
I tried to find out how to get color text at DECterm in OpenVMS/AXP
for days. but just failed.
you know, I coded some C program which produce "hello, world" in reverse
video mode or be underlined like the following :
main()
{
/* <ESC>[7mhello,world<ESC>[m */
putchar(0x1b);
putchar('[');
putchar('7');
putchar('m');
printf("hello, world\n");
putchar(0x1b);
putchar('[');
putchar('m');
}
and I succeeded.
But I couldn't find out how to get RED "hello, world" or BLUE "hello,
world" at DECterm in OpenVMS/AXP.
I think that getting a RED or BLUE text is similar to that of reverse.
Please help me. And I would appreciate your kindness.
Thanks.
Jason, Choi
E-mail: jhchoi@otech.otech.co.kr
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1996-01-30 5:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-01-30 5:00 [Q] How can I get color-text in OpenVMS/AXP? Jason,Choi
1996-01-30 5:00 ` Andy V
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox