-
Notifications
You must be signed in to change notification settings - Fork 118
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
JOVE port #2265
Comments
What would be nice will be to have a shortcut that executes the Makefile using the new toochain in the folder where the file is open. But then we also need some way to present the result of the compilation. |
One could just switch to another tty. The problem is memory in this case, as C86 needs as much memory as it is available. One idea could be to just exit jove (and at exit it calls make), and then call it again after "make" finished using something like jove -r (jove has a restore feature I'm still understanding how it works), be it manually or tru a jovelized make (which just calls jove -r after finish). |
Some nice stuff from Makefile.wat, for DOS:
Notice the "-zt200". I´m trying not to use "-zt", but the the data segment is in the limit. |
After some time running I get "Alarm call", and software quits. Weird. Jove does indeed uses alarm() for some stuff, but it can be disabled too. |
What is important is to not to redraw the entire screen on every change while editing. I have seen such editors before and they are unusable on a 8 or 4.77Mhz computers. |
This is sometimes because the application tries to open a separate file descriptor for the terminal, like /dev/tty instead of /dev/tty1. You may also try skipping the open and just using fd 0.
Use termios; that should be compatible and not require mods.
alarm() should also work. We can debug that after you get the keyboard working. You might check why its calling alarm in the first place, this is usually wrapped around functions that shouldn't block for too long. |
Thanks @ghaerr. I'll check the code and try to evolve the input I/O. Also, the swapfile routines for very large input files is failing in some read and write calls. I still need to investigate. |
ELKS doesn't really work with read or write counts >= 32k, even thought the count is size_t (unsigned). You may have to wrap the read/write code into a loop to limit that. I recommend a buffer of 4K or so to keep data sizes down and I/O frequency up. |
I started to port Jove, as it matches our requirements for using swap, while being a pretty feature complete editor, and more importantly, an emacs clone.
https://github.com/rafael2k/jove
I already manage to compile it, already set the internal buffers appropriately, just missing are the screen functions, as I'm trying to understand the madless of termio, termios and ioctl to terminal device. I'll try to re-use the curses code again.
The text was updated successfully, but these errors were encountered: