+                                RCARD 01-001 ,                               Hunter Goatley1                          goathunter@WKUVX1.BITNET -                              October 22, 1991   F RCARD is a program that will read a DECwindows CardFiler card file andI display it on non-DECwindows terminals using the SMG$ routines.  It works I with the files produced by DECwindows v5.4 and Motif v1.0 (yes, the files  are different).   H RCARD can be compiled with either VAX C or GNU C.  The file MAKE.COM can be used to compile it.  C To use it, just define a symbol and give the name of the card file:     	$ rcard :== $dev:[dir]rcard.exe. 	$ rcard phone			!Defaults to SYS$DISK:[].CARD  J Once the file has been read into memory, a window will appear containing aG menu of card subjects.  You can scroll through the menu using up-arrow, F down-arrow, NextScreen, and PrevScreen.  When the cursor is positionedH on the subject for the card you want to see, press RETURN.  A new windowH will pop up containing the text of the card.  You can scroll through theG card's contents and press either "Q" or ^Z to exit the card and go back G to the subject menu.  You can also press "N" or "P" to move to the next ? or previous card, respectively without closing the card window.   & Please note the following limitations:  K   o  The file format was based on observation only; I didn't have access to B      the DECW$CARDFILER sources.  RCARD could break in the future.I   o  Card files containing DDIF images *cannot* be viewed using RCARD.  I J      never could figure out how the images were stored so that RCARD couldG      skip over them.  Instead, the program bombs with a horrible access ;      violation and stack dump.  So much for error checking. J   o  Card files cannot be created or modified by RCARD (the "R" stands forF      "read").  Since I couldn't identify all of the information in the<      files, I didn't want to claim to be able to write them.I   o  Really large files could crash the program.  The entire file is read D      into memory, so it is limited by whatever process limits are in      effect.  I I wrote the program because I was using the DECwindows CardFiler while at H work and didn't have any easy way to look at the information while I wasI dialed in from home.  The program isn't very robust; I never store images & in the files, so it works well for me.  . The distribution contains the following files:   	AAAREADME.TXT		This file + 	MAKE.COM		Command procedure to build RCARD ! 	RCARD.C			The C source for RCARD 5 	LIBDEF.H		Header for LIB$ symbols (needed for GNU C) 5 	SMGDEF.H		Header for SMG$ symbols (needed for GNU C)   0 Questions, comments, or suggestions are welcome.  K Hunter Goatley, VAX Systems Programmer	    E-mail: goathunter@WKUVX1.BITNET 7 Academic Computing, STH 226		    Voice:  (502) 745-5251  Western Kentucky University  Bowling Green, KY 42101 