DIAPOS ------ An interactive slide editor --------------------------- on VT100 -------- J.P. LAMARGOT P. PFEUTY I.R.S.I.D. 185 AVENUE DU PRESIDENT ROOSEVELT 78105 SAINT-GERMAIN EN LAYE FRANCE Tel 3 451-24-01 SEPTEMBRE 1984 1. Introduction. ---------------- DIAPOS is a "KED-like" slide editor running under RT11 on a VT100 (or compatible) terminal.Text insertion is made juste in the same manner as if you were using KED . Some keys ,of the auxilary key- pad, have been redefined to provide new commands. DIAPOS is based on a modified version of KEDEDT,from Paul Lustgraaf (Univ. of IOWA),that can be found on the Anaheim Symposium Tape. 2. How does DIAPOS work -------------------------- DIAPOS has two states : - creation of the document - visualisation of the document The latter function is accessible at anytime with the magic key 3 .The slide is automatically displayed when you exit from DIAPOS , this allows you to take a picture with a camera or a video hard-copy if any . During the creation of a document ,you can insert or suppress pieces of text . These can be of two types : - printable character strings - escape sequences which enable video-advance func- tions of VT100 . Among these we have : - character set selection (normal or semi-graphic) - character size (single or double width,double heigth/double width ) - writing attributes (normal,reverse video,underline). These sequences are introduced at the required place ,using auxilary keypad keys.The second screen line reminds the last choice. As under KED ,the PF2 key helps you at any time;this help points out the differences with KED . 3. DIAPOS versus KED. --------------------------------- DIAPOS is a subset of KED ,and the following functions are not implemented : HELP, SPECINS, PAST, FILL, REPLACE, RESET, SUBSTITUTE FIND, CUT, APPEND, SELECT, ENTER, COMMAND and FINDNEXT Therefore ,the command mode is completly ignored,as well as the creation and use of macros.Finally the TAB key is not recognized. Using an invalid key will be signaled by a ring . DIAPOS uses these functions in the following way : - HELP gives information concerning the auxilary keypad keys.This key is strictly limited to this function.It does not give any error messages nor directory of commands. - FIND ---> ALPHA introduces the escape sequence which controls the alpha-numeric mode. - FINDNEXT ---> GRAPH: selects the semi-graphic mode. - APPEND ---> NORMAL: selects the normal writing attributes. - REPLACE ---> UNDERLINE: selects the underline attribute. - PASTE ---> REVERSE: selects the reverse video attribute. - SPECINS ---> VIEW: interprets the escape sequences and shows ,therefore,the final result . - SELECT ---> SINGLE: selects the single width for characters. - RESET ---> DBLWID: selects the double width for characters. - ENTER ---> DBLHTOP: selects the double height/double width (upper line) for characters. - SUBSTITUTE ---> DBLHBOT: selects the double height/ double width (lower line) for characters. All these special functions are underlined on the HELP screen. As the final result cannot exceed the screen size,you can only create 24 lines of text per slide. 4. Using DIAPOS ---------------- DIAPOS is run simply typing R(UN) DIAPOS You need first to execute the RT11 command SET TT NOCRLF The screen is then cleared,and the message "Editeur de trans- parents" is printed on the first line of screen in double width and reverse video. DIAPOS asks you for a filename to edit and check if this name is correct (length between 1 to 10).An error message is typed for any invalid filename :"DIAPOS-W-Invalid filename ". If the file does not already exist ,DIAPOS asks you "DIAPOS-W-This file does not exist .Do you want to create it [O/N] ?".If the file already exists ,DIAPOS will begin to copy it with a .BAK extension ,as KED ,then will display this file on screen. In both cases, you can insert,delete,remove pieces of text (as long as you do not exceed 24 lines).You can see the result of your work at any time ,using key 3 --->VIEW. When your are done , you exit from DIAPOS with key 7 ---> EXIT (in this case , the slide is shown on the full screen),then you can take a picture .To clear the screen an create an exit file (.DIA extension) you press the space bar. You can also exit with two CTRL-C (in this case you have a quick exit without display nor exit file. 5. Example. ----------- A distribution file : DIAPOS.DIA has been created in the following way: 10 times < ><9>Premier essai<9> 15 times< ><6>l<.>qqqqqqqqk<9> 15 times< ><6>x< >DIAPOS< >x<9> 15 times< ><6>x< >DIAPOS< >x<9> 15 times< ><6><.>mqqqqqqqqj<9> You can see the result at any time by simply typing <3>. You go back to the normal display with the space bar. 6. DIAPOS building ------------------- 6.1. Operating systems ----------------------- DIAPOS uses the following requests : .TTYOUT, .TTINR and .PRINT as well as the ASKLIB and VTLIB librairies which are specific to RT11. DIAPOS is therefore only available under RT11 TSX,RTEM operating systems. 6.2. Environment ----------------- DIAPOS is written in FORTRAN and task image files are pro- duced according to the target system and host compiler.A correct behaviour on other machines or systems cannot,therefore,be guaranteed. However,DIAPOS as distributed incudes all source files,as well as a command file which allow an easy rebuilding (DIABLD.COM). A.2. Compiling ----------------- To compile DIAPOS and assemble EDIDIA and VT100 ,you have to use command file DIACPL.COM. To compile source files needed for ASKLIB and VTLIB librairies ,use command files ASKCPL.VTM and VTCPL.VTM. A.3. Linking ------------- This is done using the command file DIALNK.COM .Be sure that the ASKLIB and VTLIB librairies have been built before linking DIAPOS. A.4. Automatic building of DIAPOS ------------------------------------- File DIABLD.COM allows this nice work. Remark: --------- Before using any of these command files,you first need to assign the input(INP:) and output (OUP:) devices to physical devices.Example: ASS DL0: INP: ASS DY0: OUP: A.5. Checking ------------- You can check the good installation with the distribution file :DIAPOS.DIA. B. Indirect command files -------------------------- B.1. Compiling (DIACPL.COM). ------------------------------ FORT/EXTEND/OBJ:OUP:DIAPOS INP:DIAPOS MAC/OBJ:OUP:EDIDIA INP:EDIDIA MAC/OBJ:OUP:VT100 INP:VT100 B.2. Linking (DIALNK.COM). --------------------------- LINK/EXE:OUP:DIAPOS OUP:(DIAPOS,EDIDIA,VT100,ASKLIB,VTLIB) B.3. Complete building (DIABLD.COM). ---------------------------------- @INP:VTBLD @INP:ASKBLD @INP:DIACPL @INP:DIALNK RUN INP:DIAPOS