Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extreme breakage on OpenBSD #41

Open
japanoise opened this issue Feb 5, 2025 · 4 comments
Open

Extreme breakage on OpenBSD #41

japanoise opened this issue Feb 5, 2025 · 4 comments
Labels
bug Something isn't working

Comments

@japanoise
Copy link
Owner

Tried to compile emsys on OpenBSD, promptly decided I need to rethink my life

  • It struggled with the makefile, I had to link it by hand
  • Every warning under the sun came out when it was building
  • It immediately crashed (segfault) and scrimbled the terminal when running

I don't really want to dev on my thinkpad (it's a backup computer/distro experimenting machine) so I'll need to get a VM set up.

With any luck, this can lead to emsys eventually ending up in the ports tree.

@japanoise japanoise added the bug Something isn't working label Feb 5, 2025
@japanoise
Copy link
Owner Author

An alternative is to just use what I've learned from emsys & other C projects and just create a new C text editor, with a view that it should just work on BSDs as well as it does on GNU. This might be a good idea anyway, since I think using a different (better) data structure other than list-of-lines would be a huge improvement. The use of an arena allocator would also simplify the code: example on github

@nicholascarroll
Copy link
Contributor

I am hoping to find time to spend on Emsys very soon. I was going to try to get visual selection ready to PR. But if there needs to be a foundational change then I can focus on that.

@japanoise
Copy link
Owner Author

I am hoping to find time to spend on Emsys very soon. I was going to try to get visual selection ready to PR. But if there needs to be a foundational change then I can focus on that.

Good to see you again :) Would love it if you could look at visual selection. We can always refactor later.

@nicholascarroll
Copy link
Contributor

I like that plan.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants