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