Any VIM users out there?
  • Order of the Butterfly
    Order of the Butterfly
    zukow
    Posts: 444 from 2005/2/9
    From: Poland
    ParseIFF is problably from iffparse.library.
  • »16.02.17 - 18:35
    Profile Visit Website
  • Caterpillar
    Caterpillar
    sTix
    Posts: 27 from 2003/12/7
    Quote:

    fx wrote:
    I did checkout your repository and played around a bit with compiling vim with different options, had some trouble getting your MUI-GUI-code to compile (complained about _ParseIFF_v1 or something which I couldn't find any reference to anywhere :/) so I simply compiled it without GUI for now. Well to the point, I actually managed to get the arrowkeys-working in a normal shell, thing is - I'm not exactly sure what I've done :)

    Gonna make some more tests and report back here with my findings.

    It still can't detect the size of the window though


    I just realized one thing, VIM can detect the size of the shell if you use the standard "Shell" instead of the "MUI Shell". It still cannot detect if you resize the window after startup though.
  • »17.02.17 - 23:30
    Profile
  • Caterpillar
    Caterpillar
    sTix
    Posts: 27 from 2003/12/7
    Quote:

    sTix wrote:
    Quote:

    fx wrote:
    I did checkout your repository and played around a bit with compiling vim with different options, had some trouble getting your MUI-GUI-code to compile (complained about _ParseIFF_v1 or something which I couldn't find any reference to anywhere :/) so I simply compiled it without GUI for now. Well to the point, I actually managed to get the arrowkeys-working in a normal shell, thing is - I'm not exactly sure what I've done :)

    Gonna make some more tests and report back here with my findings.

    It still can't detect the size of the window though


    I just realized one thing, VIM can detect the size of the shell if you use the standard "Shell" instead of the "MUI Shell". It still cannot detect if you resize the window after startup though.



    Added a small hack that makes it possible to manually (using ctrl + l) force VIM to resize and refresh. Only works with the standard shell though :-(

    2017-02-18:
    - Text mode resizing cheat now possible
    - Update to VIM 8.0.336
  • »18.02.17 - 00:35
    Profile
  • fx
  • Just looking around
    fx
    Posts: 20 from 2010/10/12
    Awesome, gonna try it out!
  • »18.02.17 - 19:22
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    polluks
    Posts: 238 from 2007/10/23
    From: Gelsenkirchen,...
    Thanks for the port!

    Your archive simply does not contain the script flag:
    Code:
    > lha vv Vim_v8.00.363.lha *gvim
    LhA Freeware Version 2.7.12
    Copyright © 1991-94 by Stefan Boberg.
    Copyright © 1998,1999 by Jim Cooper and David Tritscher.
    Copyright © 2000-2013 by Ralph Schmidt, Harry Sintonen and Frank Mariak.

    Listing of archive 'Vim_v8.00.363.lha':
    Original Packed Ratio Date Time Atts Method CRC Host OS L U
    ---------- ---------- ----- --------- -------- -------- ------ ---- -------- ---
    VIM/gvim
    34 34 0.0% 24-Feb-17 19:10:46 ----rw-d -lh0- f8ec Unknown 0
    ---------- ---------- ----- --------- --------
    34 34 0.0% 24-Feb-17 20:59:44 1 files

    Also "version vim" makes an eek.
    Pegasos II G4: MorphOS 3.9, Zalman M220W
    Power Mac G3: OSX 10.3 · PowerBook 5,8: OSX 10.5, MorphOS 3.9
  • »26.02.17 - 13:05
    Profile
  • Caterpillar
    Caterpillar
    sTix
    Posts: 27 from 2003/12/7
    Quote:

    polluks wrote:
    Thanks for the port!

    Your archive simply does not contain the script flag:
    Code:
    > lha vv Vim_v8.00.363.lha *gvim
    LhA Freeware Version 2.7.12
    Copyright © 1991-94 by Stefan Boberg.
    Copyright © 1998,1999 by Jim Cooper and David Tritscher.
    Copyright © 2000-2013 by Ralph Schmidt, Harry Sintonen and Frank Mariak.

    Listing of archive 'Vim_v8.00.363.lha':
    Original Packed Ratio Date Time Atts Method CRC Host OS L U
    ---------- ---------- ----- --------- -------- -------- ------ ---- -------- ---
    VIM/gvim
    34 34 0.0% 24-Feb-17 19:10:46 ----rw-d -lh0- f8ec Unknown 0
    ---------- ---------- ----- --------- --------
    34 34 0.0% 24-Feb-17 20:59:44 1 files

    Also "version vim" makes an eek.



    About the script flag: Yes I know, that's why the installer sets the +s-flag. I'm probably using lha wrong but I just couldn't get it to preserve the s-flag, the installer thing is just an ugly workaround :-(

    About the version: Thanks for letting me know. I'll try to fix it within a couple of days.
  • »26.02.17 - 14:30
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    polluks
    Posts: 238 from 2007/10/23
    From: Gelsenkirchen,...
    Code:
    version vim
    still does not work, it's required for Grunch.
    Pegasos II G4: MorphOS 3.9, Zalman M220W
    Power Mac G3: OSX 10.3 · PowerBook 5,8: OSX 10.5, MorphOS 3.9
  • »01.04.17 - 22:46
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    Korni
    Posts: 315 from 2006/2/23
    From: the Planet of ...
    Quote:


    I'm probably using lha wrong but I just couldn't get it to preserve the s-flag, the installer thing is just an ugly workaround :-(



    "-a Preserve file attributes (D)" option works here.
    http://korni.ppa.pl/modkowypaczek/ | My Rifle, My Bunny, and Me
  • »01.04.17 - 23:55
    Profile Visit Website
  • Caterpillar
    Caterpillar
    sTix
    Posts: 27 from 2003/12/7
    Quote:

    polluks wrote:
    Code:
    version vim
    still does not work, it's required for Grunch.


    Oh, crap. I'll try to allocate some time to fix it during the coming weekend.
  • »04.04.17 - 17:50
    Profile
  • Caterpillar
    Caterpillar
    sTix
    Posts: 27 from 2003/12/7
    Quote:

    Korni wrote:
    Quote:


    I'm probably using lha wrong but I just couldn't get it to preserve the s-flag, the installer thing is just an ugly workaround :-(



    "-a Preserve file attributes (D)" option works here.


    I use this line in the Makefile:

    lha -3rae a $(DST).lha $(DST)

    I don't know what version of lha I'm using but I'll do some experimenting when I'm around my MorphOS system next time.
  • »04.04.17 - 17:59
    Profile
  • MorphOS Developer
    jacadcaps
    Posts: 1446 from 2003/3/5
    From: Canada
    Quote:

    fx wrote:
    I actually managed to get the arrowkeys-working in a normal shell, thing is - I'm not exactly sure what I've done :)



    That actually depends on your TERM variable - it should be set to morphos or amiga to make ADOS shell specific CSI escapes work. Alternatively set it to xterm-color and change PowerTerm's settings to use Xterm. That however breaks old amiga shell apps.
  • »07.04.17 - 14:58
    Profile Visit Website
  • Caterpillar
    Caterpillar
    sTix
    Posts: 27 from 2003/12/7
    Quote:

    polluks wrote:
    Code:
    version vim
    still does not work, it's required for Grunch.


    A new version is up on Aminet now.

    2017-04-08:
    - Version string survives compiler optimizations :)
    - Update to VIM 8.0.553
  • »10.04.17 - 07:33
    Profile