Conversation
floriangit
commented
Feb 8, 2026
- fix positioning of the "Installing" prompt when providing more than one parameter to this script
- enhance the prompt by adding the version to be installed
- enhance the prompt with a confirmation
- fix positioning of the "Installing" prompt when providing more than one parameter to this script - enhance the prompt by adding the version to be installed - enhance the prompt with a confirmation
|
Main issue was that when you call "sys -M /dev/hda1" the script will say "Installing....on -M". Tested on qemu and my 286, where ELKS on git/main still runs very well! (except frequent floppy disks issues due to wearing). |
|
Thanks @floriangit! |
|
Also thank you @floriangit for testing ELKS on your real hardware. There were some bigger mods when work was being done reducing the size of the idle task structure and the associated rewrite of the kernel startup. It is nice to hear the system is still running well. Are you finding that 40+ year old floppies aren't wearing very well? I must admit that even on my real hardware machines, I'm using a floppy emulator... I hope to get a v0.9 release out soon. |
|
I do remember few months ago, I git pulled, built a-new image and booted, it hang at some time. But I don't have so much time, just sometimes look what kind of under-the-hood changes you made but not in any detail. Real floppies and their sounds, real spinning disks, a real "beep" program (remember the author, haha?): all that is what motivates me in this project: to run on real, ancient hardware which specs matches my own "first computer" roughly. I was about to try nano-x/nxdesktop despite I don't have a connection left for a mouse right now! I see nano-x in the build process is always skipped despite being enabled in the .config (i.e. selected (by default) in make menuconfig). Any quick pointers? Thanks! |
|
You can still try starting up nano-x by running The entire Nano-X build has been moved out of elkscmd/nano-X/ and is now built directly from the ghaerr/microwindows.git repository. This is because the ELKS nano-x was very ancient and we're now using the full client/server capabilities from the main repo. You can build the ELKS version over there using: Another option would be to use the "automatic" build of microwindows using the new buildext.sh method. This will only copy nano-x for 1440k images and larger: I have been meaning to remove the elkscmd/nano-x directory for some time, but kept it around for reference. I suppose I should remove it to reduce confusion along with CONFIG_APP_NANOX. |
|
Also ps/2 mouse capability has been added. |
|
Thanks all, I got nxstart working fine. All pixels shine! :) And I even found an old serial mouse and connected it, but when not doing |
Currently, due to complexities within the NX startup code, error messages go to the serial port by default, which may be the mouse in your case. This was primarily done for use with QEMU, where /dev/ttyS0 is easily mapped to the terminal session QEMU was started on, which is very convenient. The particular code to sort through all this is libc/malloc/dprintf.c: Long story short, you can try setting |
|
I think the DEBUG_PORT=none |
That was it! DEBUG_PORT to none and MOUSE_PORT to /dev/ttyS0. Thanks. |
|
Is it intended, that ALT-F1 and ALT-F2 toggles the position of the "menu" as well as the mouse cursor? |
|
Sorry for off-topic: starting nxterm and then doing a |
I'd like to see a (partial) video of that! I would guess the speed issue is the large blit moving all those pixels every time the screen scrolls...
I'm not sure what you're referring to, Nano-X doesn't use ALT-keys for itself. Certain emulators may use those keys though? What did you do to get NX running on your system, MOUSE_PORT= or DEBUG_PORT=? I'm curious so others can learn as well. |
elks.mp4Here you go. ALT-F1 and ALT-F2 changes the position of the menu and the mouse cursor with |
|
Thanks for the video! You're actually running the ancient version of nxterm and Nano-X. Not sure exactly how you got that, but the new one is much nicer and actually scrolls rather than repaint from the top. You should be able to get the new one from any of the recent GitHub Actions on the fd1440-minix.img. You'll want to copy nxterm and nano-x, but possibly all of /bin/nx*. |
|
I see. I just used the 1st proposal in your comment: #2611 (comment) Copied that to floppies and copied then into my 286's HDD... |
Hmmm... that's strange, that should have built the new version. There is only one version of nxterm on the Microwindows repo now. Here's the binaries I've built for you to try: |
|
Thanks, BUT: I've seen all n* binaries got really built by your instructions after building, I'm on git/master (or main whatever) in both projects, hence I doubt any binary ZIP files copy here will solve it long term (or may rather indeed hide an underlying other issue), to be honest. |
|
Hi @floriangit, I agree with your point about nx* binaries - I was just suggesting you try that version of nxterm to ensure it is completely different than the one you've been running. At the very least, please just compare the I'm pretty sure the version of
The first of the above methods will also work - but be sure you're actually cd'ing to the microwindows repo, not the elkscmd/nano-x/ directory. |
|
Since nano-x server is separated from the client, now the nxterm is much smaller than before. |
|
The old nxterm might remained in the elkscmd/root_template. |
|
I only have 15,424 bytes nxterm files under elks. Using a different floppy disk, I had success now (no more white background, but grey). |
Thanks @tyama501, that explains the mystery of how the older nxterm might have been placed on a new floppy image.
Interesting, it sounds like the slowest issue is not scrolling, but just drawing the characters on the EGA/VGA screen. Which makes sense, given the planar rather than framebuffer nature of the video memory. Have you tried running |
Unfortunately, after swapping out all n* binaries to the "new" floppy and copying it over, |
|
How about nxterm, what does that look like? Send a screenshot. Either nxstart is dying or the menu is off the screen to the right? You can try running other nx programs too to get an idea of what is happening. |
|
Hello @floriangit, Thanks for all the screenshots and testing! I'll add fixing nxworld and nominee to my TODO list. I appreciate the testing. The nxmsg, nxselect, and nxjpeg programs are all sub-programs of @toncho11's nxdsktop project, and aren't meant to be run separately. I'm not sure why it may be hanging on exit.
Yes, the auto-start mechanism for the nano-X applications uses /tmp/nxsock to determine whether they think the server is running. There's no real easy answer for this when the system crashes, other than perhaps removing /tmp/nxsock at boot. We could also have nxstart delete the /tmp/nxsock file, which would probably help.
I see what you're talking about now. It appears the ALT-F1/ALT-F2 combination is a special key combination handled by your BIOS to pan or wrap the screen horizontally? Nano-X itself doesn't have anything to do with that. I am trying to figure out exactly how this could work when ELKS itself has taken over the keyboard interrupt. Nonetheless, I think this behavior is specific to your system/video card.
Huh? TURBO mode can overheat your CPU and cause its early demise?? I wasn't aware of that problem, but could be a problem getting a replacement CPU these days, right?! Thank you! |






