Minor updates to rev 15.

27 views
Skip to first unread message

Greg Field

unread,
Oct 25, 2015, 7:32:20 AM10/25/15
to Open/ed
I have found where gcc was not flagging some errors on the Linux version. 

    The directory-read and file-type  functions were not working. 
    So the ls/dir macro was not working either. 
    I have renamed the macro ls.ned as dir.ned also. 

Recompiled Linux and Mac version which are now on the web page as 151025. 

-G 

Greg Field

unread,
Oct 27, 2015, 8:58:16 AM10/27/15
to Open/ed

15.10.29
   
    New version for Linux and OS X.

    Bug fixes around reading directories. On linux, on some filesystems, the directory does not store the file type.

    When reading a directory looking for regular files, no entries are found (like an empty directory).
    This is because the entry is seen but rejected as of DT_UNKNOWN file type.
 
     You may get this on the DIRREAD() Open/ed function, or on the MAC LIST command.

    -G

Greg Field

unread,
Oct 28, 2015, 8:47:15 AM10/28/15
to Open/ed
Open/ed 15.10.15
================

MODE XTERM type
---------------

(Replaces MODE TERM).

This new mode allows you to fine tune your Open/ed settings
for the type of xterm program you are using.

It simply enables two additional features.

    1. The name of the file you are editing is put in the tab
        title and/or window title.

    2. When in MODE INSERT, the cursor will change to a '|'.
       When you exit insert mode, it reverts to a block.

These both work in OSX iTerm2.
On OSX simply say MODE XTERM ITERM
provided you are using iTerm2 app.

On Linux, no Terminal app is satisfactory.
Hence no MODE XTERM setting is perfect.

If you use Gnome terminal say : MODE XTERM GNOME
This is enabling the tab title, but not the cusor shape.
Gnome terminal is reported to have fixed this.
In that case say MODE XTERM XTERM.

If cursor shape is working say : MODE XTERM XTERM
This enables both features but uses sequences a little more
likely to work on Linux. It is pure xterm sequences.

Warning !
Functionality may change.

Keypad F-keys
-------------
None support DECPAM, keyboard application mode !
So no keypad F-keys. Pathetic.

Linux blinking text.
--------------------
Linux Terminal apps do not support blink video attribute.

To switch all blink to bold

Create a file $HOME/.curwin.conf


#   $HOME/.curwin.conf  : local temporary curwinlib changes.
#
    if   $PLATFORM   is   $LNX
        blink_bold  on

    return

If you get a terminal app that supports blink, comment out
the if and blink_bold lines with a hash.

TIMER name value
----------------

This command is un-documented and as with all un-documented features,
is not officially supported and likely to change.

TIMER tag_text n

Sets the time that the TAG TEXT command will wait to display.
n is in tenths of a second.
0 means wait forever.


TIMER tag_loc  n

Sets the time that the TAG LOCATE command will wait to display
the tag text, if MODE LOCTAGTEXT is on.
n is in tenths of a second.
0 means wait forever.


TIMER tag_click n

Sets the time that the tag text will be displayed, if mode clicktagtext is on.
n is in tenths of a second.
0 means wait forever.



Support
=======

Questions, problems, bug reports :


Greg Field

unread,
Oct 29, 2015, 8:28:21 AM10/29/15
to Open/ed
15.10.29

  Tidy the MODE XTERM help page.
 
   MODE XTERM now defaults to XTERM.

   So MODE XTERM XTERM is the same 
   as MODE XTERM

-G

Greg Field

unread,
Nov 1, 2015, 6:22:49 AM11/1/15
to ope...@googlegroups.com

15.11.01    The "setup" script.

Open/ed will default to a basic line editor and allow you time to discover and add features.

Some want Open/ed configured with all the bells and whistles.

And the Linux version in particular needs extra config for Linux limitations.

So I have written a script, called "setup", that will create a new user's configuration.

It can be found in the scripts sub directory of the install base directory.

I have also added an option to the ned executable to run it.

If you say "ned -setup" it will run the setup script, if it is on the system, then exit.

The pdf man page has also been updated.

This feature requires the version 15.11.01.

-G

Greg Field

unread,
Nov 3, 2015, 6:27:18 AM11/3/15
to Open/ed
15.11.03

    Minor fixes and improvements to the setup script.

Greg Field

unread,
Nov 6, 2015, 7:50:49 AM11/6/15
to Open/ed
15.11.06

    Minor fixes to the setup script.

-G

Greg Field

unread,
Nov 8, 2015, 7:06:57 AM11/8/15
to Open/ed
15.11.08 

Added an additional widget to MODE STATUS ACTIVE status bar.

It is the final widget for the "active" status bar.
No additional commands are needed for it ; just  mode status active.

The widget is the XEQ buffer. It will be displayed after the first command line is entered.
Before that just "" is displayed.

Clicking on it will execute the string just as the X command does.

-G

Greg Field

unread,
Nov 17, 2015, 8:06:44 AM11/17/15
to Open/ed

15.11.17

   This rev has two features :

   1. The top line option bar menu has had a "tidy".
       The tools option is gone and its content "Macros" and "Function keys"
       now are top level options replacing "Tools" and "Window" which was non functional anyhow.

    2. A major re-arrangement of directories on the Mac version.
       Because of SIP on El Capitan I have moved the Open/ed directories.

       The install base directory changes :
       /Applications/OpenEd.app/   -> /opt/OpenEd          /* The same as the Linux version.

       The default public macro library directory changes :
       /usr/lib/OpenEd/macros       -> /usr/local/OpenEd/macros       /* For both versions.

      The setup script and the man page have been updated to reflect these changes.

      This allows Open/ed to install on OS X without breaking SIP.

-G

Greg Field

unread,
Nov 26, 2015, 8:05:45 AM11/26/15
to Open/ed
15.11.26

    One bug fix : MAC LIST memory faults if macro directory does not exist.

-G

Greg Field

unread,
Feb 10, 2016, 7:16:37 AM2/10/16
to Open/ed

  15.14.10
  =======

  I am making the current version numbers wrap around the year.
  The year will stay on '15' and the month is now > 12,  13 being January 2016,  14 being February 2016 etc.
  This is because, it is only maintenance versions at the moment.
  Nothing that warrants a rev 16.mm.dd version number.

 I have fixed a bug where constants were not being recognised.
 that  is :

 %MAX_INT%, %MIN_INT% and %LINESZ% now correctly decode.
 They were giving an 'unrecognised' error.
 The documentation was correct.

 The expire version has changed to 99.99.99.

Greg Field

unread,
Mar 15, 2016, 2:01:24 AM3/15/16
to ope...@googlegroups.com
  15.15.15
  =======


  This is a modestly significant update. Several fixes were done and released together
  to take advantage of the date, i.e. the version being 15.15.15. ( 2016 / 03 / 15 ).


  The big fix here is "read only" mode is working correctly now. If you ned a file that 
  you have read permission for, but not write permission, then Open/ed will still
  read in the file, but then LOCKs all lines. You can view the file, but not make changes
  and all lines are locked and dim.


  You can unlock all the lines and make changes to the work file but you will still
  get permission denied, when trying to SAVE. If you externally chmod +w the file
  and then SAVE again, Open/ed will detect the new permissions and save. 


  Several integer functions have been tinkered with.
  isread(),iswrite(),isexec(),isfile(), and exists() will now default to FNAME.
  So for example isread() is going to test the work file name.


  Also any function whose Unix equivalent returns  -1 or 0 for failure and success respectivly
  is now working the same in Open/ed. This effects  chmod,fgroup,fowner,remove,rename().


  Also fixed a bug in ftype,fmode,fsize,fdtm() where sometimes they were not returning
errno correctly in %int0%. i.e. the optional error integer reference.

  The fmode() function to get a files permissions is renamed fperm(). 
  It also defaults to FNAME the work file name.


  Finally there is two new integer expression operators : & and |. 
  These perform bit logic of "and" and "or" respectively. 
  Watch out for any problem where && is being returned as &
  and vice-a-versa. Same for || and |. If you see this, please report A.S.A.P.
  You can revert to version 15.11.26 if you have a showstopper bug.


  Have fun.


  -G
Reply all
Reply to author
Forward
0 new messages