Skip to content
This repository has been archived by the owner on Apr 19, 2021. It is now read-only.

Permission to bundle? #1

Closed
Merith-TK opened this issue Jan 9, 2020 · 4 comments
Closed

Permission to bundle? #1

Merith-TK opened this issue Jan 9, 2020 · 4 comments

Comments

@Merith-TK
Copy link

So i am working on a fork of gosh and i have been looking for an simple, and easy to use editor i can bundle into the program,

I found this editor, and liked it as it is dead simple, and would like to bundle it into my program as an plugin
the only modification i am going to make is changing the arg to accept one provided by the gosh shell.

@Merith-TK
Copy link
Author

i have made a plugin using this, but i dont want to release the plugin if the developer of the original project does not want me to,
i have this disclaimer added above your code in the plugin

// ----------------------------------------------
// Everything below this is an mostly unmodified
// copy of https://github.com/jonpalmisc/atto
// the only modifications are to make the program
// compatable with the gosh shell arguments
// ----------------------------------------------

@jonpalmisc
Copy link
Owner

The editor is wildly unstable right now and very feature-incomplete, so I'm not sure if this is the project you're looking for. However, as long as you provide proper attribution in compliance with the MIT license, I have no problem with what you have requested.

@Merith-TK
Copy link
Author

Merith-TK commented Jan 9, 2020

It does work well actually in the plugin i created
also i choose this one because it is not a nightmare to port, i was thinking using micro, but that was too large a repo and it doesnt exactly like non-standard terminals.

I had to make a few modifications (mostly changing how it handles exiting)

Pretty much the only bug ive noticed is that when you atto file.txt and file.txt does not exist, it creates the file, even if the user did not save
And that the help text does not list the various key strokes and combos, Here is the complete plugin file
I had to merge them all into one file, but the start of each file is labled with //##filename.go
https://pastebin.com/eipc0Ez2

@Merith-TK
Copy link
Author

Merith-TK commented Jan 9, 2020 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants