being relatively new here, I am not still sure if Haiku supports a text-only (non-graphic) mode. I remember reading somewhere that Haiku is graphics-based only, so that there is no way to prevent the GUI from loading automatically at boot time. Could someone confirm this?
What about nCurses for Haiku? I saw it on Haikuware. What I would like to know is if nCurses, when loaded, will act as a temporary replacement of the GUI or if, on the other hand, the GUI would still be staying underneath (in memory).
I remember reading somewhere that Haiku is graphics-based only, so that there is no way to prevent the GUI from loading automatically at boot time.
Haiku GUI implemented in app_server. app_server is regular application and it don’t using any driver or other low level functions. It launched in “/boot/system/boot/Bootscript” shell script.
Haiku has alternative interface “consoled”. It implements command line interface in graphics mode.
I didn’t know the existence of consoled… so Haiku could work in a real degraded mode without GUI as Linux
(In reality I think to have see that beast already when Haiku cores running gdb)
You have only to change Bootscript to load “consoled”… (you have to kill AppServer as it goes in Fullscreen and they conflict), for ncurses I don’t know if it supports it… it seems a very basic shell!
If it not works you can try:
- start a sh shell from consoled, and try to run the ncurses app
- use the Terminal: I think it supports it, you can start terminal fullscreen instead of AppServer doing the same reasoning done for consoled, the only problem is how to hide the exit gui buttons? As terminal will be the only application if you kill it... you MUST do reboot :-)
(it seems if you launch a terminal as "Terminal -f" goes fullscreen and button are hidden... so It does already what you want.. I think this a bug eventually as it should show THEM -:) )
A a side note it’s a pity to reduce Haiku as a console only system… problably for this task Linux is better choice: it is created for this a blank terminal and a blinking cursor as in the 70’s… Haiku is a Desktop OS
That’s quite interesting.
Will nCurses work without the GUI loaded in the background, then?
I suppose so… you’ve to try it, but nothing is preventing it Ncurses certainly not depend on the Haiku AppKit, it needs only a terminal that can represent the ascoi-quasi-graphich ncurses use…