Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site ucbvax.ARPA Path: utzoo!watmath!clyde!burl!ulysses!ucbvax!wiscvm.arpa!MANAGER%UMDHEP.BITNET From: MANAGER%UMDHEP.BITNET@WISCVM.ARPA Newsgroups: fa.info-vax Subject: SMG utility Message-ID: <8509051711.AA21491@UCB-VAX.ARPA> Date: Fri, 6-Sep-85 20:35:27 EDT Article-I.D.: UCB-VAX.8509051711.AA21491 Posted: Fri Sep 6 20:35:27 1985 Date-Received: Sat, 7-Sep-85 07:49:12 EDT Sender: daemon@ucbvax.ARPA Reply-To: info-vax@ucb-vax.berkeley.edu Organization: The ARPA Internet Lines: 23 The documentation for the SMG routines once again appears to be inadequate. I tried to follow their directions for using SMG$GET_TERM_DATA, with little success. The manual called for using symbols SMG$K_, but these were not defined and I could find them nowhere in any of the C include files. The answer is that they are defined in $SMGTRMPTR in SYS$LIBRARY:FORSYSDEF.TLB. There was no SMGTRMPTR.H, so I modified the FORTRAN version for C. If anybody wants a copy of SMGTRMPTR.H (it's not too difficult to do your own from the FORTRAN version), I'm willing to take requests. These definitions are useful for determining the various capabilities of a given terminal. If you want to enable reverse video, I don't think you can do it from Curses (I couldn't), but you can get the info to do it from SMG (at least, you SHOULD be able to). I haven't tried SMG$GET_TERM_DATA yet, so anyone who has successfully or unsuccessfully used it might drop me a line. Thanks, Todd Aven