Rev.24.07.01 NewFY released today.

4 views
Skip to first unread message

Greg Field

unread,
Jul 1, 2024, 12:34:46 AM7/1/24
to Open/ed

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

    24.07.01

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

    GMODIFY () is now a user string function.

    New mode FNLOCK.

Discussion
----------

    The menu for string search is updated.
    This is at Option bar / Position / Locate string.


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

    None.


Commands
--------

    New
    ---

    None.

    Changes
    -------

    LOCATE and friends have a small change in behaviour.
    LOCATE; now finds an empty text line, the same as FIND family.
    Applies to Locate/NLocate/Rlocate and RNLocate.


Synonyms
--------

    None.

Reserved command names.
----------------------

    None


Abbreviations
-------------

    None.

Modes
-----

    New :

    FNLOCK
        This mode when set, stops the current file name from being overwritten.
        It is useful when you want to edit one file to create another, but you
        dont want to accidentaly over write the original file.
        When you do an FNAME command, the mode is reset.

    SCREEN
        You can now enable, disable or flip screen mode using the MODE command.
        The SCREEN command is unchanged and you still use it
        tscreen o do other options.

    Mode tab WORD
    Mode btab WORD

        This new B/TAB mode option cause tabbing and back tabbing to move to
        the start of the next word. See MODE B/TAB.


Functions
---------

    New
    ---

        GMODIFY ()

            let str# = GMODIFY ( 'sub_command_string' , "source" )

            Gmodify () is the GMODIFY command implemented as a string function.
            It behaves the same as the GMODIFY command but the source and result
            can be any string, not just the current line

            The full GMODIFY command set is supported.
            See the GMODIFY() help entry.

        ISASYSVAR ()
            Boolean test if a string is a reserved Open/ed variable name.

        Rename LOOKUP () to ISACOMMAND ().
        Rename UNLOOK () to COMMANDNAME ().


    Deprecated
    ----------

        None.


Variables
---------

    New :

        %last.fname%    The %file.name% of the last file edited before a NEW or FNAME
                        command. If this is the first file to be edited, then NUL.

    Removed variables :

        None.

    Changed variables :

        None.


Constants
---------

    New constants :

        None.

    Changes :

        Ch constants NULL.BOTTOM to BOTTOM.NULL
                 and NULL.TOP    to TOP.NULL.



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

    No change.


Symbols
-------

    No change.


Macros
------

    New :
    None. :

    Updated.
    Updated lang_german.ned for new error codes.


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

    The Locate menu ( under Position ) now inherits the last LOCATE or FIND
    command parameters : string , column and 'not' status.


WHEN conditions
---------------

    No change.

Menus
-----

    None.


Keyboard
--------

   No change.

Help.
-----

    New entries for new modes and changed commands.


Scripts
-------

    No change.


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

    EFNLOCKED The file name is locked. See FNLOCK mode.


Bug fixes
---------

         24-008 GMODIFY is using last non sp character as EOL. Make io.buffer .l
         24-003 MAC LIST . is looking for "*".
         24-010 Change DELETE on null line to soft error.
         24-011 DELETE TO will not advance if string in current line.

         24-013 MODE COUNT base is octal on init value "0".
                Long time bug in gstokens().

         24-014 Mode PRINT is defaulting to off after initialise.c loss.
         24-016 DOBE stump is doing a DOVE.
         24-015 Newly created lines are not TOUCHED. editio () XIO_INSERT not upd flags.
         24-012 Line mode needs fix of 23.11.24 so trashwork () shows command name.
         24-018 Obar HELP gets 'No help on "" '. after 24.05.22.
         24-019 Obar HELP starts at far left after 24.05.22.
         24-021 Reverse 22-014 so DIRLIST () defaults to 'Reg' files. Keep OPENDIR All.
         24-023 K_NEW stump is not doing FN check.
         24-022 NEWBEGIN on stops neder macro recording itself in history.
                Any call of commandbuff () discards current CL.
                Added backfinish () call to commandbuff () if CL is loaded.

         24-017 INIT not going to history. Fixed by 24-022.
         24-025 winpickl () ESC gets Line 1 != requested line 0.
                Fixed by restoring ESC to a break in winpickl ().

         24-020 Tag all abc    ; rem remarks         uses the spaces. Doc in User Guide.
         24-026 wingetsn () wraps too many _'s on to next line.
         24-027 obarmenu () is erasing the scroll bar.
         24-030 reporter () getting a flash for line OOB error.
         24-031 WHEN LUNTAG exec gets backbone () switch defaulted, bad action.
         24-032 WHEN LUNTAG bob should be an error report.




Open bugs.
----------

         22-015 Shared mem still splits to different segments after crash.
         22-018 WHICH double reports on "." and same directory in PATH.
         23-007 Click on ALERT message sometimes does not register in alarm system.
         23-029 MODE () help needs more constants for modes ...
                 LR,SR,TAB,WAITER,XT,EOL,MSG,SB,GREP,HISTORY,LP.
         23-061 gshift errors when ... mode tab in ... unusual options ?
         23-068 SCR_PAGE jumbles text on x86 Macos. To see do NO EPAGE on Macos x86.
                Mode EPAGE added to all platforms. No explanation for bug.
         23-069 ^200 up chars corrupt window borders and scroll bar. ithnkfixed.
         23-070 flag.c : Internal error : TAG_LIST and tag.list = NUL
         24-009 NEW Invalid wildcard *(.c echoes stderr syntax error near unexpected token.
                Seems shell is sending to stdout. :-( Use fnmatch () or dirlist () ?
      *  24-024 winpick () getting lots of winaddsn () : Error : now_colm %d > last_colm %d !
                May be fixed by 24-025.
      *  24-028 winpick () only half painting the list.
      *  24-029 EOL chars being drawn down the page after .bottom.null.

      *  I think these are related. Seems tnous.c has reverted somewhere. Seems fixed.




    Open bugs discussion :

    If Open/ed crashes and is restarted, it may start a new shared memory segment for alarms.
    The only way around this is to exit all of your Open/ed sessions and
    remove the control file : %alarms.control.file%.

    The WHICH command examines each directory in PATH.
    If '.' is specified and the same directory is also specified, then the
    WHICH command will double report if the command is found.

    If you page foreward or back in screen mode and see jumbled text from
    previous pages, then this is 23-068. This appeared just before release in
    Decmber 2023. You should only see it on x86 Macos, not on Arm Macos or x86
    linux. There is a workaround in place so you should not see it, but please
    report it if you do.

    The integer value of a control character is ^X.
    Quoted control codes needs a review.


MD5's
-----

    OpenEd_Linux_x86_240701.tar  8fae7776a943baaa5624b08c2e4b87f6
    OpenEd_MacOS_arm_240701.tar  cc6547f10876a6bffe117ebf6490d157
    OpenEd_MacOS_x86_240701.tar  a03297de04127c29295426286535da48

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

    Version : 24.07.01    Mon 01 Jul 2024 14:14:22

    ned     is 108930 lines,  4M bytes, averaging 42 bytes per line.
    gstlib  is 13275 lines, 464K bytes, averaging 34 bytes per line.
    shmlib  is 1158 lines,   37K bytes, averaging 32 bytes per line.
    strsort is 541 lines,    16K bytes, averaging 30 bytes per line.
    curwin  is 6946 lines,  260K bytes, averaging 37 bytes per line.
    gpl     is 12673 lines, 402K bytes, averaging 31 bytes per line.
    include is 1645 lines,   99K bytes, averaging 60 bytes per line.

    Open/ed is 145168 lines, 5M bytes, averaging 40 bytes per line.
                +1151 lines.
Other
-----


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