Files > ALTERNATE EDITOR

name
ALTERNATE EDITOR
number
1.2
location
^DIST(1.2,
description
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.
Fields
#NameLocationTypeDetailsIndexDescription
.01name(+)0;1FREE TEXTBThis is the name of the alternate editor. It must start with a unique character.
1activation code from diwe(+)1;E1,245FREE TEXTThis 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.
2ok to run test2;E1,245FREE TEXTThis 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.
3return to calling editor3;E1,245FREE TEXTIf 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.
7description7;0WORD-PROCESSINGThis is a description of the editor that will be shown to the user if they enter ??? at the Select prompt. Not in use yet.

Referenced by 1 types

  1. NEW PERSON (200) -- preferred editor