3 	    --------------- 1ST_README.TXT --------------- = 	This file explains how to modify, set up and run the DECtalk &         banking demonstration program.  C 	Modifying the DECtalk Banking Demo (changing menu item selections) D 	-------------------------------------------------------------------    F 	To change any menu items (touch-tone key functions) included in this  	demo two things must be done.  1 	NOTE:  These changes are in the subroutine MENU.     G 	1.  The text contained in the menu prompt "main_menu$" must be changed # 	    to reflect the new menu items.   I 	2.  The program code that selects the actual menu choice (case statement F 	    in subroutine process_menu_entry) must be changed to execute the ! 	    appropriate function's code.    	    For example: E 	    If you want FINANCIAL INFORMATION to be item 3 on the main menu, = 	    you will change the menu prompt "main_menu$" to include:   > 	    "To hear a financial information demonstration, press 3."  A 	    Then in the code in subroutine PROCESS_MENU_ENTRY:, the menu 4 	    selection code for entry 3 will look like this:   	    CASE = DTK$K_TRM_THREE  		stat% = financial_info# 		IF (stat% AND STS$M_SUCCESS) = 0%  		THEN 			EXIT SUB  		END IF 		illegal_entry_count = 0%  ; 	    where "financial_info" is a function that performs the  	    demonstration desired.   < 	3.  To take any entry out of the demo, take that particular/ 	    text out of the menu prompt, and take the     		CASE = ...  ! 	    out of the SELECT statement.   $ 	Rebuilding the DECtalk Demo Program( 	---------------------------------------  ) 	To rebuild the DECtalk demo simply type     		$ MMS   C 	This will rebuild any changed files, and will re-link the program.   + 	CONNECTING THE DECTALK TO THE MicroVAX II  D 	-------------------------------------------------------------------9 	1.  The "free ends" of the two RS232 cables connected to 7 	    the MicroVAX II or the VAX should be connected to  A 	    DECtalk module 1 (connector J1) and module 4 (connector J4).   9 	2.  The Archer 4 line tap telephone adaptor that shipped 7 	    with the DECtalk rack only runs 2 telephone lines. = 	    LINE 1 on the Archer Line Tap is for the demo running on > 	    DECtalk module 1 and LINE 2 on the Archer Line Tap is for* 	    the demo running on DECtalk module 4.  = 	3.  Modify the configuration file (bank_demo.cfg) to contain 4 	    the terminal line that the RS232 cable for the < 	    DECtalk demo is connected to on the MicroVAX.  That is,? 	    if the DECtalk module is connected to terminal lines txb0: ( 	    the configuration file should read:  
 	    TXB0:  = 	4.  Set the device protection of each of the terminal lines  < 	    specified in the configuration file to WORLD READ/WRITE 	    access.  3 	    For example, for the above configuration, type   ) 	    $ set protection=(w:rw)/device txb0:   ; 	    (consult the DCL manual for more detailed information)   = 	5.  Set up an operator terminal to receive the "OPER11" type > 	    of message.  To have error messages logged to the console; 	    terminal, or any other terminal, type the REPLY/ENABLE $ 	    command at the DCL ($) prompt.    	    $ reply/enable=oper11    B 	    Note, OPCOM must be running on your system for error messages+ 	    to be logged to an operator terminal.	   @ 	6.  To start up the demo, enter the following two DCL commands:   	    $ set proc/priv=all 	    $ @bank_demo bank_demo.cfg   ; 	7.  The following will come back after the second command   	    is entered   B 	    %RUN-S-PROC-ID, identification of created process is 00000xxy  < 	    which indicates that the DECtalk demo has been started.  C 	8.  If you enter the DCL command, "show system" you should see one < 	    process with the name "DEMO_txxy" in the listing.  NoteA 	    "txxy" is the terminal line that the DECtalk is connected to A 	    on the MicroVAX.  If this process name is missing, then the  E 	    demo has stopped running because some error has occured.  To see > 	    which errors have occured, type the error file "txxy.err"C 	    where "txxy" is the terminal line the DECtalk is connected to.   > 	9.  If you want to stop running the demos enter the following 	    DCL command:    	    $ stop proc/id=00000xxy  3 	    where "00000xxy" is the process identification - 	    number gotten when the demo was started.   ? 	10. After the process has been stopped, type the following DCL 
 	    command:    	    $ copy TXyy: nla0:   : 	    where again, "TXyy:" is the name of the terminal line> 	    that the DECtalk is connected to.  After about 5 seconds,< 	    press either CTRL/C or CTRL/Y.  (The copy command hangs> 	    until either of these commands is entered).  Pressing the; 	    CTRL/C or CTRL/Y should cause the DCL ($) prompt to be  	    displayed again.     