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

Zane H. Healy healyzh at avanthar.avanthar.com
Thu Jul 1 19:46:28 EDT 2021


David Jones <osuvman50 at gmail.com> wrote:
> I've found in practice you need to tread carefully when trying to use
> SMG$READ_KEYSTROKE as a drop in replacement for another OS's 'getch' type
> functions.  By 'keystroke', it means it's going to try to recognize escape
> sequences from keyboard function keys and such (e.g.  SMG$K_TRM_UP for the
> up arrow).

The program I'm writing only runs on VMS, so it should be fine.  At least I
hope so. :-)

Zane




More information about the Info-vax mailing list