[Info-vax] C Examples of Calling SMG$ Routines?

Ian Miller gxys at uk2.net
Thu Jul 1 10:15:17 EDT 2021


On Sunday, June 27, 2021 at 6:13:06 PM UTC+1, Zane H. Healy wrote:
> In looking at the "OpenVMS RTL Screen Management (SMG$) Manual" on the VSI 
> website, they give examples of every language supported, except C/C++. The 
> manual itself says it's new as of 2019, but also says it's for HP OpenVMS 
> VAX/Alpha 7.3. :-) Looking at my copy of the manual for v6, all they did 
> was remove the code for "RPG II". 
> 
> Does anyone happen to have some basic examples of using the SMG$ Routines in 
> C? As it happens, the example does just what I need, since it shows how to 
> use SMG$READ_KEYSTROKE. 
> 
> Thanks, 
> Zane

Many moons ago I wrote a small C program which you can find in rk.zip at  http://eisner.decus.org/~miller/ which reads a key using SMG$READ_KEYSTROKE and puts the result in a DCL symbol. 



More information about the Info-vax mailing list