LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-22-2009, 08:48 AM   #1
PhillipHuang
Member
 
Registered: Aug 2006
Location: Shen Zhen
Distribution: Ubuntu 22.04
Posts: 198

Rep: Reputation: 33
How to create text mode GUI?


Hi all,

I want to create a simply "GUI" in Linux text mode,just like those UIs when use "test mode install". My questions are below:

1. Which language would be the best choice for this task?
2. If use Perl, is there any relevant .pm?

Please give me some hints, thanks in advanced.

Phillip
 
Old 04-22-2009, 09:01 AM   #2
Spudley
Member
 
Registered: Mar 2003
Location: Berkshire, England.
Distribution: SuSE 10.0
Posts: 299

Rep: Reputation: 32
The toolkit you're looking for is called ncurses.

See:
http://en.wikipedia.org/wiki/Ncurses
http://www.gnu.org/software/ncurses/

Quote:
ncurses is a programming library providing an API, allowing the programmer to write text user interfaces in a terminal-independent manner. It's a toolkit for developing "GUI-like" apps which run under a terminal emulator.
There are probably others available, but that's the one that is used for all the open source software I can think of.
 
Old 04-22-2009, 11:03 AM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
To me a "GUI" means that you can click on things with a mouse. The typical text-mode interaction just allows tabbing between options, and selecting with "enter". That you can do---eg---with dialog.
 
Old 04-22-2009, 10:39 PM   #4
PhillipHuang
Member
 
Registered: Aug 2006
Location: Shen Zhen
Distribution: Ubuntu 22.04
Posts: 198

Original Poster
Rep: Reputation: 33
Spudley/Pixellany,

Thanks for your kindly help. I will try ncurses.

Phillip
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Change from GUI mode to text mode alexr186 Linux - Software 4 01-08-2009 06:56 AM
Profile variable exports in text mode, not in GUI mode....huh? duderancher Red Hat 1 09-13-2007 06:45 PM
LXer: Howto Boot debian in text mode instead of graphical mode (GUI) LXer Syndicated Linux News 0 09-09-2007 07:41 PM
flickering of screen while returning back to GUI mode from Text mode using Ctl+Alt+F7 varun_shrivastava Linux - Newbie 1 03-30-2007 10:12 AM
Text Mode vs. GUI Madone_SL_5.5 Linux - Server 7 12-01-2006 03:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration