STANDARD DATA DICTIONARY #1.2 -- ALTERNATE EDITOR FILE                                                            3/24/25    PAGE 1
STORED IN ^DIST(1.2,  (4 ENTRIES)   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                                      (VERSION 22.2)   

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
This file stores information about the editors that can be used to edit VA FileMan WP fields. The LINE EDITOR and SCREEN EDITOR are
exported with VA FileMan, but instructions are given to allow site managers to enter local editors of their choice.  There is a
pointer in the NEW PERSON File to this file.  The pointed-to editor for that person is then used whenever the person edits a WP
field.  


              DD ACCESS: ^
              WR ACCESS: ^
             DEL ACCESS: ^
           LAYGO ACCESS: ^

POINTED TO BY: PREFERRED EDITOR field (#31.3) of the NEW PERSON File (#200) 
               

CROSS
REFERENCED BY: NAME(B)



1.2,.01       NAME                   0;1 FREE TEXT (Required)

              INPUT TRANSFORM:  K:$L(X)>30!(X?.N)!($L(X)<3)!'(X'?1P.E) X I $D(X) S %=$O(^DIST(1.2,"B",$E(X))) I $E(%)=$E(X) K X
              LAST EDITED:      DEC 12, 1990 
              HELP-PROMPT:      NAME MUST BE 3-30 CHAR., and start with a unique alpha char. 
              DESCRIPTION:
                                This is the name of the alternate editor. It must start with a unique character.  

              NOTES:            XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER

              CROSS-REFERENCE:  1.2^B 
                                1)= S ^DIST(1.2,"B",$E(X,1,30),DA)=""
                                2)= K ^DIST(1.2,"B",$E(X,1,30),DA)


1.2,1         ACTIVATION CODE FROM DIWE 1;E1,245 MUMPS (Required)

              INPUT TRANSFORM:  K:$L(X)>245 X D:$D(X) ^DIM
              LAST EDITED:      FEB 02, 1990 
              HELP-PROMPT:      This is Standard MUMPS code, used to set up the environment for editing a Standard FileMan 
                                word-processing field using this editor. 
              DESCRIPTION:      This field holds the MUMPS code to properly establish the environment that will allow use of this
                                editor to edit any VA FileMan word-processing type field.  Typically this code might move the text
                                into another MUMPS global (like ^UTILITY) or to some other file format for editing.  If the editor
                                is written in MUMPS, it should either use variables that do not begin with the letter "D", or
                                should NEW all its local variables to avoid problems on return to the FileMan editor.  
                                 
                                If the variable DIWE(1) is defined, it indicated that the user has switched to this editor from the
                                standard FileMan Line Editor, and upon return, the control will be returned to the line editor.  
                                 
                                This editor may set the variable DIWESW to 1, if they wish to allow the user to switch to an
                                alternate editor from this one.  
                                 
                                This editor is required to restore the edited text to standard FileMan word-processing format
                                before exiting.  

              WRITE AUTHORITY:  @

1.2,2         OK TO RUN TEST         2;E1,245 MUMPS

              INPUT TRANSFORM:  K:$L(X)>245 X D:$D(X) ^DIM
              LAST EDITED:      FEB 02, 1990 
              HELP-PROMPT:      This is Standard MUMPS code that sets $T to true if it is OK to use this editor. 
              DESCRIPTION:      This field holds MUMPS code used to pre-check the environment before allowing the user to enter
                                this editor.  This field should set the $TEST indicator.  If $TEST is true then it is OK for this
                                editor to run at this time.  If $T is false, the user will be returned to the FileMan line editor.  
                                 
                                If the field is null, it will be the same as $T=true 
                                 
                                An example would be a mixed VAX-PDP site using a VMS editor.  

              WRITE AUTHORITY:  @

1.2,3         RETURN TO CALLING EDITOR 3;E1,245 MUMPS

              INPUT TRANSFORM:  K:$L(X)>245 X D:$D(X) ^DIM
              LAST EDITED:      FEB 02, 1990 
              HELP-PROMPT:      This is Standard MUMPS code used to restore the environment needed by the VA FileMan line editor. 
              DESCRIPTION:      If the user switched to this editor from the FileMan line editor, then DIWE(1) exists.  This field
                                should contain MUMPS code used to reset the environment needed by the Line Editor.  

              WRITE AUTHORITY:  @

1.2,7         DESCRIPTION            7;0   WORD-PROCESSING #1.207   (NOWRAP)

              DESCRIPTION:      This is a description of the editor that will be shown to the user if they enter ??? at the Select
                                prompt.  Not in use yet.  


                LAST EDITED:      FEB 02, 1990 




INPUT TEMPLATE(S):

PRINT TEMPLATE(S):

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):