Git for MorphOS - editor
  • MDW
  • Order of the Butterfly
    Order of the Butterfly
    MDW
    Posts: 304 from 2003/7/25
    From: Wroclaw/Poland
    Does any one use git on MorphOS? I have some question(s)...

    If I set ED as GIT editor:
    Code:
    git config core.editor ed


    and try to commit:
    Code:
    git commit .


    ED is opened, I write a comment, save and quit ED.
    However commit process is not finished. I see in CLI:
    Code:
    hint: Waiting for your editor to close the file...


    How to inform git that edition of the file is finished?

    It is not very big problem because I can use:
    Code:
    git commit . -m "Comment". 


    However I would like to know if an editor could be used for comments.
  • »11.11.20 - 15:20
    Profile Visit Website
  • MorphOS Developer
    Piru
    Posts: 455 from 2003/2/24
    From: finland, the l...
    This is due to an unfortunate bug in ixemul.library where it can crash if executing non-ixemul applications. I failed to identify this bug earlier even though it was reported via the bug tracker. This happened because the crash requires specific set of circumstances to exist to get triggered. Due to bad luck (and the less than stellar testing procedures from my part) I happened to have the specific configuration that hid the issue from me.

    This ixemul.library is now fixed and will be released in either MorphOS 3.15 or as part of the new SDK release.

    Meanwhile, there is a workaround to fix the crash for this particular use case: Downgrade the MOSSYS:C/Ed to a version from the MorphOS 3.13 ISO.

    To clarify: The bug is not in new Ed. It's just that using the older Ed binary avoids the specific set of circumstances to occur that leads to the crash with the buggy ixemul.library.

    Apologies for the inconvenience.
  • »11.11.20 - 20:27
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    polluks
    Posts: 552 from 2007/10/23
    From: Gelsenkirchen,...
    Well, I use Ed too, without any problems.

    Snoopium "ed foo" says
    Code:
    [1] [Shell Process] [Lock] [ed] [Read] [Fail]
    [2] [Shell Process] [Lock] [ed] [Read] [OK]
    [3] [Shell Process] [Lock] [ed] [Read] [OK]
    [4] [ed] [Lock] [SYS:Utilities/Editor.info] [Read] [OK]
    [5] [ed] [Lock] [SYS:Utilities/Editor] [Read] [Fail]
    [6] [ed] [Lock] [SYS:Utilities/Editor.info] [Read] [OK]
    [7] [ed] [Lock] [env:mui/SIMPLEED.1.prefs] [Read] [OK]
    [8] [ed] [Lock] [MOSSYS:Data/Ed/New.png] [Read] [OK]
    [9] [ed] [Lock] [MOSSYS:Data/Ed/Load.png] [Read] [OK]
    [10] [ed] [Lock] [MOSSYS:Data/Ed/Save.png] [Read] [OK]
    [11] [ed] [Lock] [MOSSYS:Data/Ed/Cut.png] [Read] [OK]
    [12] [ed] [Lock] [MOSSYS:Data/Ed/Copy.png] [Read] [OK]
    [13] [ed] [Lock] [MOSSYS:Data/Ed/Paste.png] [Read] [OK]
    [14] [ed] [Lock] [MOSSYS:Data/Ed/Undo.png] [Read] [OK]
    [15] [ed] [Lock] [MOSSYS:Data/Ed/Redo.png] [Read] [OK]
    [16] [ed] [Lock] [MOSSYS:Data/Ed/Search.png] [Read] [OK]
    [17] [ed] [Lock] [foo] [Read] [Fail]
    [18] [ed] [Lock] [env:mui] [Read] [OK]


    [ Edited by Piru 12.11.2020 - 21:25 ]
    Pegasos II G4: MorphOS 3.9, Zalman M220W · iMac G5 12,1
    Power Mac G3: OSX 10.3 · PowerBook 5,8: OSX 10.5, MorphOS 3.14
  • »11.11.20 - 20:30
    Profile
  • MDW
  • Order of the Butterfly
    Order of the Butterfly
    MDW
    Posts: 304 from 2003/7/25
    From: Wroclaw/Poland
    If the fix will be released in next version of SDK, I can wait. This is not major critical issue for me.
    Thank you for answer and... see you in SDK 3.15. 👋
  • »12.11.20 - 13:20
    Profile Visit Website
  • MorphOS Developer
    Piru
    Posts: 455 from 2003/2/24
    From: finland, the l...
    Apologies. I was trying to reply to earlier message but hit message edit instead...

    @polluks

    Ed itself is working fine here, that's not where the issue is.

    [ Edited by Piru 12.11.2020 - 21:27 ]
  • »12.11.20 - 19:26
    Profile