Title: | DECWINDOWS 26-JAN-89 to 29-NOV-90 |
Notice: | See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit |
Moderator: | STAR::VATNE |
Created: | Mon Oct 30 1989 |
Last Modified: | Mon Dec 31 1990 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 3726 |
Total number of notes: | 19516 |
I've a customer who's system is running with VMS 5.3 and DECwindows. He wants to know if it's possible to modify the colour of the background and forground of the terminal by an application or DCL-command. I think, that he would set the window to a VT340 and then he could use the ESC-sequences to change the colour. Is this a way or is there any other possibility to change this. -- Christian
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
3659.1 | ... | WIDGIT::WEST | SCARY : A programmer with a screwdriver. | Wed Nov 14 1990 09:41 | 12 |
Do they wish to change the colors dynamically or just when the decterm is created ? They could use the CREAT/TERM command to give each DECterm a different color appearance. I do believe that the ESC sequences do work (at least to a point). I've used them in the past (via the 241_COLOR.COM file), but not anymore. -=> Jim <=- | |||||
3659.2 | STAR::KLEINSORGE | Fred Kleinsorge, VMS Development | Thu Nov 15 1990 18:30 | 19 | |
You can change colors in two ways. The first is to send either ReGIS or SIXEL sequences to change the colormap values. This is the classic VT240/340 means of changing the background and foreground globally. However, you will need to figure out which map foreground and background are using. The second, and simpler and standard, is ANSI colors SGR's. These sequences allow you to set the background and foreground to any of eight colors independently of the screen background and any other text colors. These are gotten to by <ESC>[3f;4bm where the "f" and "b" are numbers from 0 to 7 to select one of the eight colors (black, red, green, blue, cyan, magenta, white, yellow). The sequence is the same as the one that selects things like BOLD, and the parameters are just new ones not in earlier DEC terminals. |