Annotation of freem_fileman/DINIT286.m, revision 1.1

1.1     ! snw         1: DINIT286       ;SFISC/TKW-ALTERNATE EDITOR FILE ;5/27/92  1:56 PM
        !             2:        ;;21.0;VA FileMan;;Dec 28, 1994
        !             3:        ;Per VHA Directive 10-93-142, this routine should not be modified.
        !             4:        F I=1:2 S X=$T(Q+I) G:X="" ^DINIT287 S Y=$E($T(Q+I+1),4,999),X=$E(X,4,999) S:$A(Y)=126 I=I+1,Y=$E(Y,2,999)_$E($T(Q+I+1),5,99) S:$A(Y)=61 Y=$E(Y,2,999) S @X=Y
        !             5: Q      Q
        !             6:        ;;^DD(1.2,2,21,8,0)
        !             7:        ;;=
        !             8:        ;;^DD(1.2,2,21,9,0)
        !             9:        ;;=An example would be a mixed VAX-PDP site using a VMS editor.
        !            10:        ;;^DD(1.2,2,"DT")
        !            11:        ;;=2900202
        !            12:        ;;^DD(1.2,3,0)
        !            13:        ;;=RETURN TO CALLING EDITOR^K^^3;E1,245^K:$L(X)>245 X D:$D(X) ^DIM
        !            14:        ;;^DD(1.2,3,3)
        !            15:        ;;=This is Standard MUMPS code used to restore the environment needed by the VA FileMan line editor.
        !            16:        ;;^DD(1.2,3,9)
        !            17:        ;;=@
        !            18:        ;;^DD(1.2,3,21,0)
        !            19:        ;;=^^3^3^2920513^^^^
        !            20:        ;;^DD(1.2,3,21,1,0)
        !            21:        ;;=If the user switched to this editor from the FileMan line editor, then
        !            22:        ;;^DD(1.2,3,21,2,0)
        !            23:        ;;=DIWE(1) exists.  This field should contain MUMPS code used to reset
        !            24:        ;;^DD(1.2,3,21,3,0)
        !            25:        ;;=the environment needed by the Line Editor.
        !            26:        ;;^DD(1.2,3,"DT")
        !            27:        ;;=2900202
        !            28:        ;;^DD(1.2,7,0)
        !            29:        ;;=DESCRIPTION^1.207^^7;0
        !            30:        ;;^DD(1.2,7,21,0)
        !            31:        ;;=^^3^3^2920506^^^^
        !            32:        ;;^DD(1.2,7,21,1,0)
        !            33:        ;;=This is a description of the editor that will be shown to the user
        !            34:        ;;^DD(1.2,7,21,2,0)
        !            35:        ;;=if they enter ??? at the Select prompt.
        !            36:        ;;^DD(1.2,7,21,3,0)
        !            37:        ;;=Not in use yet.
        !            38:        ;;^DD(1.207,0)
        !            39:        ;;=DESCRIPTION SUB-FIELD^^.01^1
        !            40:        ;;^DD(1.207,0,"NM","DESCRIPTION")
        !            41:        ;;=
        !            42:        ;;^DD(1.207,0,"UP")
        !            43:        ;;=1.2
        !            44:        ;;^DD(1.207,.01,0)
        !            45:        ;;=DESCRIPTION^WL^^0;1^Q
        !            46:        ;;^DD(1.207,.01,"DT")
        !            47:        ;;=2900202

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>