- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Setting background color with SMG$ calls
Operating System - OpenVMS
1753488
Members
4555
Online
108794
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2008 01:36 PM
11-28-2008 01:36 PM
Setting background color with SMG$ calls
I am calling smg$put_line from BASIC and setting attributes like foreground color and inverse video. I know how to set color using smg$m_user1 in the rendition-set argument, referring to smgterm.txt. What I would like to do is set both the foreground and background colors, for which I know the escape codes, but I don't know how to properly define.
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2008 10:12 AM
11-29-2008 10:12 AM
Re: Setting background color with SMG$ calls
If you have a support contract, call up HP and ask them to find the following support article for you, and other old examples that were once around:
Example-C How To Display Color Text Using SMG$ Routines
The SMG$M_USER1 through SMG$M_USER8 can be used to set user-defined attributes for the rendition-set argument to the following calls: SMG$CHANGE_RENDITION
http://h18000.www1.hp.com/support/asktima/appl_tools/CHAMP_SRC940221001554.html
This example code was once directly available, but looks to have been moved or deleted now; neither the James search tool nor Google return these old examples.
Example-C How To Display Color Text Using SMG$ Routines
The SMG$M_USER1 through SMG$M_USER8 can be used to set user-defined attributes for the rendition-set argument to the following calls: SMG$CHANGE_RENDITION
http://h18000.www1.hp.com/support/asktima/appl_tools/CHAMP_SRC940221001554.html
This example code was once directly available, but looks to have been moved or deleted now; neither the James search tool nor Google return these old examples.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP