* VT100 Keys
@ 1994-07-29 18:36 John P. Morphet
1994-07-31 2:30 ` Andrew Crocker
0 siblings, 1 reply; 4+ messages in thread
From: John P. Morphet @ 1994-07-29 18:36 UTC (permalink / raw)
Sorry to bother this group with such a basic question.
Where can I get a list of the VT100 keys and their escape sequences? Is
it in a file somewhere that I can FTP.
Thanks
John Morphet
jmorphet@asys.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: VT100 Keys
1994-07-29 18:36 VT100 Keys John P. Morphet
@ 1994-07-31 2:30 ` Andrew Crocker
1994-08-07 20:01 ` OpenGL, Shared Libaries, FFS John Lovell
0 siblings, 1 reply; 4+ messages in thread
From: Andrew Crocker @ 1994-07-31 2:30 UTC (permalink / raw)
John P. Morphet (jmorphet@asys.com) wrote:
: Sorry to bother this group with such a basic question.
: Where can I get a list of the VT100 keys and their escape sequences? Is
: it in a file somewhere that I can FTP.
A file SYS$SYSTEM:SMGTERMS.TXT contains all the escape sequences for the
range of terminals supported by SMG. This includes VT100s.
Andrew Crocker
CSI Australia
crockera@iinet.com.au
^ permalink raw reply [flat|nested] 4+ messages in thread
* OpenGL, Shared Libaries, FFS
1994-07-31 2:30 ` Andrew Crocker
@ 1994-08-07 20:01 ` John Lovell
1994-08-08 13:48 ` Andy Vesper
0 siblings, 1 reply; 4+ messages in thread
From: John Lovell @ 1994-08-07 20:01 UTC (permalink / raw)
Hi, is anyone out there running OpenGl on Alpha's running VMS?
I am trying to build some SGI sample programs, with not too much
success.
Is there documentation I can get to say which libraries to link to,
for example?
Which leads me to:
How can I find the list of subroutines in a shareable image. I tried
$LIB/LIS/SHARE DECW$OPENGLSHR.EXE
for example, but no luck...
In particular, the SGI routines call a subroutine FFS to identify the
first bit set in an int. Is this routine in a standard library/include
file? I see oblique mention of it in PEXMACROS.H.
How about Open Inventor. Is there an chance that if Open GL works on the
Alpha (VMS not OSF) then Open Inventor will work?
Regards (and sadly confused)
John Lovell
lovell@sugar-land.anadrill.slb.com
713-275-7630
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: OpenGL, Shared Libaries, FFS
1994-08-07 20:01 ` OpenGL, Shared Libaries, FFS John Lovell
@ 1994-08-08 13:48 ` Andy Vesper
0 siblings, 0 replies; 4+ messages in thread
From: Andy Vesper @ 1994-08-08 13:48 UTC (permalink / raw)
In article <323eji$498@hermes.ridgefield.sdr.slb.com>,
lovell@sdr.slb.com (John Lovell) writes:
>Hi, is anyone out there running OpenGl on Alpha's running VMS?
>I am trying to build some SGI sample programs, with not too much
>success.
There certainly are people running OpenGL on OpenVMS/AXP. The sample
programs available directly from SGI should work, but there may be
some small operating system or hardware dependencies left. The easiest
way to get OpenGL example programs is to install that portion of
Open3D (the software product which contains OpenGL support plus PEX
support). This includes .MMS files and .COM files to help build the
examples.
>Is there documentation I can get to say which libraries to link to,
>for example?
There is not much documentation on OpenGL itself (we reference the
_OpenGL Programming Guide_ (Addison Wesley, ISBN 0-201-63274-8) as
the best way to learn to program in OpenGL), but there is a document
entitled _Using OpenGL_ (order number AA-Q1TDC-TE) that describes
how to compile and link OpenGL programs on both OpenVMS and DEC OSF/1
operating systems. There are also guidelines for writing code that
runs correctly whether a `long' has 32 or 64 bits, plus some notes about
the implementation on various graphics subsystems.
To answer your immediate question:
To link OpenGL programs on OpenVMS, create a linker options
file as follows:
$ CREATE OPENGL.OPT
!
SYS$SHARE:DECW$OPENGLUSHR.EXE/SHARE
SYS$SHARE:DECW$OPENGLSHR.EXE/SHARE
!
SYS$SHARE:DECW$XLIBSHR/SHARE
<CTRL/Z>
Use the LINK command line as follows:
$ LINK TEST, OPENGL.OPT/OPT
If you are using the OpenGL Widget, add
SYS$SHARE:DECW$OPENGLWIDGETSHR.EXE/SHARE
to the options file. By the way, this is also in the release notes.
>How can I find the list of subroutines in a shareable image. I tried
>
>$LIB/LIS/SHARE DECW$OPENGLSHR.EXE
$ ANALYZE/IMAGE/OUTPUT=T.TMP SYS$LIBRARY:DECW$OPENGLSHR.EXE
$ SEARCH T.TMP "Symbol:"
Perhaps a better way to understand how to use the routines would be
a perusal of SYS$LIBRARY:GL.H. The function prototypes help with
argument numbers and types, sometimes even the use of the
arguments:
extern void glColor3f (GLfloat red, GLfloat green, GLfloat blue);
is pretty obvious, although:
extern void glFogf (GLenum pname, GLfloat param);
doesn't really give a lot of information.
>In particular, the SGI routines call a subroutine FFS to identify the
>first bit set in an int. Is this routine in a standard library/include
>file? I see oblique mention of it in PEXMACROS.H.
That is a UNIX-ism. The version of libtk/getset.c that Digital delivers
as part of the OpenGL example programs contains a definition:
static int ffs (unsigned int mask)
{
int num;
unsigned int bit;
if (mask == 0) return 0;
for (num = 1, bit = 1; (mask & bit) != 0; num++, bit <<= 1) {}
return num;
}
>How about Open Inventor. Is there an chance that if Open GL works on the
>Alpha (VMS not OSF) then Open Inventor will work?
Open Inventor is not currently available for sale on OpenVMS; I can't say
when or if it will be. I suggest you ask the question in comp.graphic.opengl.
>Regards (and sadly confused)
I am sorry that you are confused. If there is something we could be doing
better with our documentation, please let us know.
Andy V (Only a Digital Spoke, not a Digital Spokesperson)
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1994-08-08 13:48 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-07-29 18:36 VT100 Keys John P. Morphet
1994-07-31 2:30 ` Andrew Crocker
1994-08-07 20:01 ` OpenGL, Shared Libaries, FFS John Lovell
1994-08-08 13:48 ` Andy Vesper
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox