next up previous contents index
Next: ELSE Up: SIC Language Internal Help Previous: DELETE

   
EDIT

        [SIC\]EDIT [File_Name]

    Without argument, EDIT dumps the Stack  on  a  file  named  STACK.DEFEXT
    where  DEFEXT is the default macro extension specified by the program or
    by the user using command SIC\SIC  EXTENSION,  and  then  calls  a  text
    editor to edit this file. If a file name is given, the specified file is
    editted.

    Different editors are available : TPU and EDT on VMS systems, Emacs  and
    Vi  on  Unix  systems,  possibly more if your system manager has defined
    others.  The default behaviour is the following :
      - On VMS systems, the TPU editor is called, with the  default  section
        as  defined by logical name TPUSECINI. TPUSECINI usually points to a
        section using the TPU  editor  with  EDT  interface  and  additional
        features  added  by the Groupe d'Astrophysique such as double window
        mode, but you may have redefined it to your own section.
      - On Unix systems, Emacs with EDT mode is normally used.

    The behaviour can be changed using the command SIC EDIT,  or  specifying
    at  system level a logical name for GAG_EDIT. For example to use the EDT
    editor, you could type
        SIC> SIC EDIT EDT
    within a program using SIC. EDT will then be used for any  EDIT  command
    typed during the program execution. Alternatively, you could define your
    default SIC editor by, on VMS systems, using the DCL command
        DEFINE GAG_EDIT EDT
    on Unix systems, inserting the following command in your $HOME/.gag.dico
    file
        GAG_EDIT   emacs


Gildas manager
2001-04-18