Open/ed Rev 20 released today.

11 views
Skip to first unread message

Greg Field

unread,
Nov 30, 2020, 6:59:12 PM11/30/20
to Open/ed
Released version :
------------------

    20.12.01


New features.
-------------

    Open/ed is ported to the Arm processor for Macs with the M1 cpu.
    The download tar files show either _x86_ or _arm_.


Discussion
----------

    This is primarilly a release to support the new Apple Mac M1 cpu.

    There are a few additional functions and bug fixes.



Program options
---------------

    No change.


Commands
--------

    New
    ---

    None.



    Changes
    -------

    None.



Modes
-----

    No changes.




Functions
---------

    New
    ---

    Function      ENTRIES()
    Syntax        let int# = entries ( "directory" )
    Description   Return the number of entries in a directory.
                  A healthy directory will always return at least 2 for . and ..

    Function      EMPTY()
    Syntax        let int# = empty ( "directory" )
    Description   Return the boolean true or false if directory is empty.
                  1 is returned for a directory with . and ..
                  0 is returned for more entries.

    Function      FTEXTSIZE()
    Syntax        let int# = ftextsize ( "filename" , lines , columns , [ code ] )
    Description   Returns the file's text size, lines and widest line size.


    Changes
    -------

    None.


Variables
---------

    New variables     :

        None.

    Removed variables :

        None.


Constants
---------

    No change.


Maths operators
---------------

    None.


Symbols
-------

    No change.


Macros
------

    No change.

Screen mode window.
-------------------

   No change.


Menus
-----

   No change.


Keyboard
--------

   No change.

Help.
-----

    TAG help file restored.


Scripts
-------

   No change.


Error codes
-----------

    No change.



Bug fixes
---------

    20.12.01

    20-001   TAG help was missing. Restore from tag.hold

    20-002   Some function INT reference arguments were ignoring subscripts.


Source code Stats
-----------------

            Open/ed Rev 20, at 20.11.29
                    Release at 20.12.01

    ned     Total size is 83957 lines,   3M bytes, averaging 40 bytes per line.
    gstlib  Total size is 12034 lines, 416K bytes, averaging 34 bytes per line.
    curwin  Total size is  6279 lines, 234K bytes, averaging 37 bytes per line.
    gpl     Total size is 10321 lines, 316K bytes, averaging 30 bytes per line
    include Total size is  4493 lines, 202K bytes, averaging 45 bytes per line.

    Grand total 117084 lines.
                  1909 additional lines.

Other
-----

Greg Field

unread,
Dec 21, 2020, 6:25:18 PM12/21/20
to Open/ed

Open/ed now has a PATH command for setting the directories to search for macros.
It is analogous to $PATH in shell.



Released version :
------------------

    20.12.20

        This is a supplementary release after the FCS release of 20.12.01


New features.
-------------

    Open/ed now has a PATH command for setting the directories to search for macros.
    It is analogous to $PATH in shell.

    The private and public macros directories are still used as names but they have nol
    significance ; all macro directories are controlled by how you set PATH.


Discussion
----------

    This release is primarilly for macro PATH.

    Command             PATH
    Description         Print or set the macro search path.
    Abbreviation        PAT
    Synonym             None
    Syntax              PATH [ dir_paths | List | Default ]
    Block pointer       Not used.

Print or set the macro search path.

The macro search path is a colon separated list of directories to search for
macros.

When you execute a macro, Open/ed sequentially searches each of the directories
for the macro name ending in .ned. When it is found the macro is initiated and
no further searching takes place.

The default directories for macros are :

    %private.macros%    ${HOME} / OpenEd / macros
    %public.macros%     /usr / local / OpenEd / macros

Each entry in the list must be a directory, or an Open/ed variable in %'s containing
a single directory, or a single '*' which indicates the current directory.

The %path% variable has the same functionality. You can use %path% as a variable
and you can set it with a LET command.

PATH
    Without options, the PATH command will print your current path.

    : path
    %private.macros%:%public.macros%

PATH directory_list
    Set the path with a colon ':' separated list of directories. Each entry
    can be a directory or an Open/ed variable that contains the name of a
    directory, or a *. A variable can not be a list. i.e. it can not contain a
    colon. You can not use %path% in the directory list.

    This example sets the macro path to the current directory and then the
    standard directories.

    : path *:%private.macros%:%public.macros%

PATH Default
    Sets the default path which is %private.macros%:%public.macros%

PATH List
    This will list each path directory one at a time.
    If your path has Open/ed variables these will be decoded in the second
    column. It will also show your access permissions to each directory and a
    diagnostic message such as when the directory does not exist.


Program options
---------------

    No change.


Commands
--------

    New
    ---

    PATH  [ ... ]



    Changes
    -------

    LEARN PATH [ ... ]

    MAC LIST    ( now defaults to the current directory ).

    WHICH behaviour is updated.

    PATh and PAGe are 3 letter abbreviations.

    Removed
    -------

    PAUSE



Modes
-----

    MACHERE is deprecated.




Functions
---------

    None
    ----

    Changes
    -------

    None.


Variables
---------

    New variables     :

        %path%
        %learn.path%

    Removed variables :

        None.


Constants
---------

    No change.


Maths operators
---------------

    None.


Symbols
-------

    No change.


Macros
------

    No change.

Screen mode window.
-------------------

    No change.


Menus
-----

    The Macros pull down menu has had a few small changes.
    More is needed.


Keyboard
--------

   No change.

Help.
-----

    PATH help file added.


Scripts
-------

   No change.


Error codes
-----------

    No change.



Bug fixes
---------

    None.


Source code Stats
-----------------

            Open/ed Rev 20, at 20.12.20

    ned     Total size is 85080 lines,   3M bytes, averaging 40 bytes per line.
    gstlib  Total size is 12047 lines, 417K bytes, averaging 34 bytes per line.
    curwin  Total size is  6279 lines, 234K bytes, averaging 37 bytes per line.
    gpl     Total size is 10321 lines, 316K bytes, averaging 30 bytes per line.
    include Total size is  4493 lines, 202K bytes, averaging 45 bytes per line.

    Grand total 118207 lines.
                  1123 additional lines.


Other
-----


    --------------------------------------------------------------------------------
Reply all
Reply to author
Forward
0 new messages