TUI

Discussions on more advanced topics such as monolithic vs micro-kernels, transactional memory models, and paging vs segmentation should go here. Use this forum to expand and improve the wiki!
User avatar
VolTeK
Member
Member
Posts: 815
Joined: Sat Nov 15, 2008 2:37 pm
Location: The Fire Nation

TUI

Post by VolTeK »

would TUI seem better to spend time working on, would it be a better choice than cli? im thinking of adding tui, would it be worth it
User avatar
01000101
Member
Member
Posts: 1599
Joined: Fri Jun 22, 2007 12:47 pm
Contact:

Re: TUI

Post by 01000101 »

IMO a TUI (Text User-Interface) is a CLI as they are both text-based user interfaces.

I'm currently contemplating using a menu-based TUI (with forced number selections) over the standard shell-based TUI (CLI). I'm not sure exactly what you mean by a TUI, so it's hard to tell you if it would be better to have than a CLI.

Maybe list some pros/cons and some design features for us?
User avatar
Troy Martin
Member
Member
Posts: 1686
Joined: Fri Apr 18, 2008 4:40 pm
Location: Langley, Vancouver, BC, Canada
Contact:

Re: TUI

Post by Troy Martin »

I'll name a few things off:

TUI menu:
  • Simpler to navigate and use
  • Could have some kind of scripting language implemented for scripting menu commands
  • Better for users used to GUI's
CLI shell:
  • Ultimate control over what to do for an action
  • "batch" shell scripting can be done
  • Standard fall-back shell for most OSes (Linux, Windows, Mac OS X , BSD's with X, etc.
  • Easier to code and change the structure of

I could probably list more but these are the important ones.
Image
Image
Solar wrote:It keeps stunning me how friendly we - as a community - are towards people who start programming "their first OS" who don't even have a solid understanding of pointers, their compiler, or how a OS is structured.
I wish I could add more tex
User avatar
JackScott
Member
Member
Posts: 1031
Joined: Thu Dec 21, 2006 3:03 am
Location: Hobart, Australia
Contact:

Re: TUI

Post by JackScott »

Troy Martin wrote:Better for users used to GUI's
I disagree. I find that if something is only fairly similar to something else, I'd rather have it completely different. For instance, when using a TUI, I almost always try to use the mouse to click on things: exactly as if you were using a GUI. About half the time a cursor appears and does what I want, half the time it doesn't. A CLI doesn't have that problem. It's pretty much completely different to a GUI.
User avatar
piranha
Member
Member
Posts: 1391
Joined: Thu Dec 21, 2006 7:42 pm
Location: Unknown. Momentum is pretty certain, however.
Contact:

Re: TUI

Post by piranha »

My OS is going to have a GUI (in fact, I'm getting ready to write one right now).

However, if I decided to go with text, instead (which I might), I will use a combination of a CLI and a TUI. The command line will be there, but will be more advanced towards other uses. I haven' thought much about a CLI/TUI, but if I were to do one there would be more functions that a plain CLI, but would be more like a TUI with a command line.

-JL
SeaOS: Adding VT-x, networking, and ARM support
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
souradipm
Posts: 22
Joined: Fri Aug 15, 2008 10:08 am

Re: TUI

Post by souradipm »

I made a simple window-based tui - like a tui window manager. Trouble was, I didnt have a mouse driver, and after I showed it to my friends, they were very frustrated that they couldn't use the mouse. They still keep nagging me to make a mouse driver, but at the moment I'm busy rewriting my OS. I've attached some screenshots of it - they were borderless, and the less video ram you had, the longer it took to scroll - yeah, I have to rewrite it one day.

In the end, unless you have a good resolution, I have to suggest you go for a CLI, but that may scare some people off (don't ask why - it just seems to do so).
Attachments
Here, I have launched another rush window. Yeah, the text may be hard to read because of no borders.
Here, I have launched another rush window. Yeah, the text may be hard to read because of no borders.
TUI Screenshot 1<br />The rush command launches a new instance of the shell (windowed)
TUI Screenshot 1
The rush command launches a new instance of the shell (windowed)
User avatar
Troy Martin
Member
Member
Posts: 1686
Joined: Fri Apr 18, 2008 4:40 pm
Location: Langley, Vancouver, BC, Canada
Contact:

Re: TUI

Post by Troy Martin »

Sour: what display mode is that? Looks like 120x90 or something!
Image
Image
Solar wrote:It keeps stunning me how friendly we - as a community - are towards people who start programming "their first OS" who don't even have a solid understanding of pointers, their compiler, or how a OS is structured.
I wish I could add more tex
User avatar
VolTeK
Member
Member
Posts: 815
Joined: Sat Nov 15, 2008 2:37 pm
Location: The Fire Nation

Re: TUI

Post by VolTeK »

well i mea something like a tui interface windows made with tui, but in cli its like
C:\_ with text chars
thats what i mean. i think i should when i get the fat16 and fat done, i have a rm os
jal
Member
Member
Posts: 1385
Joined: Wed Oct 31, 2007 9:09 am

Re: TUI

Post by jal »

Troy Martin wrote:Sour: what display mode is that? Looks like 120x90 or something!
Isn't it just 90x60?


JAL
User avatar
Troy Martin
Member
Member
Posts: 1686
Joined: Fri Apr 18, 2008 4:40 pm
Location: Langley, Vancouver, BC, Canada
Contact:

Re: TUI

Post by Troy Martin »

Hmm, must be. Pretty nifty though!
Image
Image
Solar wrote:It keeps stunning me how friendly we - as a community - are towards people who start programming "their first OS" who don't even have a solid understanding of pointers, their compiler, or how a OS is structured.
I wish I could add more tex
User avatar
Love4Boobies
Member
Member
Posts: 2111
Joined: Fri Mar 07, 2008 5:36 pm
Location: Bucharest, Romania

Re: TUI

Post by Love4Boobies »

piranha wrote:My OS is going to have a GUI (in fact, I'm getting ready to write one right now).

However, if I decided to go with text, instead (which I might), I will use a combination of a CLI and a TUI. The command line will be there, but will be more advanced towards other uses. I haven' thought much about a CLI/TUI, but if I were to do one there would be more functions that a plain CLI, but would be more like a TUI with a command line.

-JL
Hmm... this reminds me of good ol' Norton Commander :)
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]
User avatar
Troy Martin
Member
Member
Posts: 1686
Joined: Fri Apr 18, 2008 4:40 pm
Location: Langley, Vancouver, BC, Canada
Contact:

Re: TUI

Post by Troy Martin »

Love4: Well that takes me back...
Me wrote:Ooooh, well this isn't good. Anyone got a Commander floppy around? I'll take Gnuparted if you shove it into the drive and tape the holes shut!
Image
Image
Solar wrote:It keeps stunning me how friendly we - as a community - are towards people who start programming "their first OS" who don't even have a solid understanding of pointers, their compiler, or how a OS is structured.
I wish I could add more tex
User avatar
VolTeK
Member
Member
Posts: 815
Joined: Sat Nov 15, 2008 2:37 pm
Location: The Fire Nation

Re: TUI

Post by VolTeK »

yes i have norton commander, but i have to find it on my cpu i just got it from a cite a couple weks ago
jal
Member
Member
Posts: 1385
Joined: Wed Oct 31, 2007 9:09 am

Re: TUI

Post by jal »

Troy Martin wrote:Hmm, must be. Pretty nifty though!
Not really, 90x60 is failry standard, as it uses the maximum resolution of standard VGA (720x480, with a 8x8 character set).


JAL
User avatar
Troy Martin
Member
Member
Posts: 1686
Joined: Fri Apr 18, 2008 4:40 pm
Location: Langley, Vancouver, BC, Canada
Contact:

Re: TUI

Post by Troy Martin »

Is there an 80x60? Cause having a 640x480 text mode for TBOS would be real nice!
Image
Image
Solar wrote:It keeps stunning me how friendly we - as a community - are towards people who start programming "their first OS" who don't even have a solid understanding of pointers, their compiler, or how a OS is structured.
I wish I could add more tex
Post Reply