[comp.lang.c] SMG$ Documentation

rankin@eql.caltech.edu (Pat Rankin) (12/04/90)

In newsgroup comp.lang.c, article <dbreece.660195289@silver>,\
 dbreece@silver.ucs.indiana.edu (Dave Breece) writes...
> Does anyone know if is there such a thing as VMS RTL documentation for
> SMG$ routines?

     I find this a rather strange question.  The command
|$ help rtl smg$
shows entries for over 100 subroutines.  If you're running VMS v4.x,
these may not have been present in the online help--I don't recall.
The first half of volume 5C of the programming doc set is devoted to SMG.

> Also, is there any public domain C source code
> available that uses the SMG$  routines?

     Some sample menu-oriented stuff was posted to vmsnet.sources a
couple of weeks ago.  It was in C.

     The 'curses' portion of the C Run-Time Library (VAXCRTL) is layered
on top of SMG.  You may find it easier to use than direct SMG calls, as
long as you don't need the extra functionality available.

catfood@NCoast.ORG (Mark W. Schumann) (12/04/90)

dbreece@silver.ucs.indiana.edu (Dave "Gandalf" Breece) writes:
>Does anyone know if is there such a thing as VMS RTL documentation for
>SMG$ routines?  Also, is there any public domain C source code
>available that uses the SMG$  routines?
>
>Any information at all would be appreciated.

I just do

            $ HELP/OUTPUT=SMGHELP.TXT SMG$

or some such at the system prompt.  Disclaimer:
I have not been using a VAX lately so the syntax may
not be exactly right, but I think you get the idea.

E-mail me for some simple examples of SMG$
routines in action...if you like FORTRAN.

By the way, this really belongs in comp.sys.vax or
whatever it is you VAXHAX use these days.   :-|

-- 
============================================================
Mark W. Schumann  3111 Mapledale Avenue, Cleveland 44109 USA
Domain: catfood@ncoast.org
UUCP:   ...!mailrus!usenet.ins.cwru.edu!ncoast!catfood
============================================================

gaertner@tertius.in-berlin.de (12/13/90)

The VAX/VMS documentation is devided into 3 parts:
  1) General User ,
  2) Programming ,
  3) System Mangement .

Part 2 contains the description of the system routines/services. One should
first read Programming Vol. 5A (Introduction to Run-Time-Library), which
describes the VAX/VMS data types, procedure calling standard and the 
correspondence between the VAX data types and the various language data types
(i.e. Pascal/Fortran/C data types).
Programming Vol. 5C describes the Screen Management Routines (SMG$); it starts
with an overview, followed by a reference section for all routines.

----

   Ralf Gaertner                   e-mail:   gaertner@fhi-berlin.mpg.dbp.de
   Fritz-Haber-Institute (FRG)