WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: vis = vi(m) + sam  (Read 2180 times)

Offline jazzbiker

  • Hero Member
  • *****
  • Posts: 934
vis = vi(m) + sam
« on: August 12, 2020, 04:06:47 AM »
Hi, Core people!

I want to say a few words about my experience with the text editor vis. This is not hardly matured project, it was started by Marc Andre Tanner in 2014 and now project version is 0.6. You can read about the goals and non-goals on the project page at https://github.com/martanne/vis.
I've built it and am using a pair of weeks and have very positive impressions. The resulting extensions' sizes are:

vis-nolua.tcz  - approx. 100K
vis-utils.tcz  - approx. 50K
vis.tcz (with Lua scripting)  - approx. 120K
vis-lexers.tcz (syntax highlighting)  - approx. 250K
vis-man.tcz  - 16K

Prerequisites are libtermkey - quite old (2011) compatibilty layer for ncurses, and lpeg - Lua library for parsing grammar.
Very powerful editor in just 100K! Great. Just another Plan9 successor :-)

Can such still-in-progress project be submitted as an extension for TinyCore? The license is ISC, FSF claims it is GPL-compatible.

Have a nice Core!
« Last Edit: August 12, 2020, 04:35:19 AM by jazzbiker »

Offline hiro

  • Hero Member
  • *****
  • Posts: 1229
Re: vis = vi(m) + sam
« Reply #1 on: August 12, 2020, 04:46:58 AM »
pretty much anything that is useful and allows distribution can be submitted, so yes of course.
happy to see another glenda worshipper.

Offline jazzbiker

  • Hero Member
  • *****
  • Posts: 934
Re: vis = vi(m) + sam
« Reply #2 on: August 12, 2020, 09:22:44 AM »
Ok, let's do the things, which are to be done.

One little question before start, concerning .la files.
To build vis i need to submit and use for linking libtermkey.tcz and libtermkey-dev.tcz with libtermkey.la file, because vis' makefile utilizes libtool. If I am not mistaken, since TC11 .la files are exiled to http://tinycorelinux.net/11.x/x86/tcz/src/la/. Should I manually extract libtermkey.la from libtermkey-dev.tcz and send it along with submitted extension? And then before making vis install libtermkey-dev.tcz and manually place libtermkey.la on the right place?
Want to achieve clarity and avoid useless activity.

Regards!

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14803
Re: vis = vi(m) + sam
« Reply #3 on: August 12, 2020, 09:52:34 AM »
If compiling the source produces *.la files then these should be included in the *-dev.tcz extension.

The files in http://tinycorelinux.net/11.x/x86/tcz/src/la/ are for use when a source build requires *.la files, but they are no longer generated by the extension in question - for example, plenty of builds require libglib*.la, but building glib no longer generates them.

Offline jazzbiker

  • Hero Member
  • *****
  • Posts: 934
Re: vis = vi(m) + sam
« Reply #4 on: August 12, 2020, 10:20:49 AM »
Thanks, Juanito, clear. Sorry for misunderstanding.