Looks like it might be a concurrency problem--edif2 forks, IIRC, twice, serially, and I never was completely sure that I had the waitpid()s right.  I'll take a look.

Chris

On 10/30/20 11:22 AM, Hans-Peter Sorge wrote:
Hi,

working with an external editor under some circumstances some function content gets destroyed:

      )wsid
IS CLEAR WS

      'libedif2.so' ⎕FX 'edif2'
edif2

      'emacs' edif2 'FN1'   - adding two lines, save and exit
      'emacs' edif2 'FN1'   - body OK
      'emacs' edif2 'FN2'   - no entry, just exit
      'emacs' edif2 'FN1'   - last line got lost

      'emacs' edif2 'FN3'   - no entry, just exit
      'emacs' edif2 'FN1'   - just the first line is left over.

      .. and the user interface (KDE) is unresponsive for a moment

Best Regards
Hans-Peter



Reply via email to