LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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


View Poll Results: What do you think of curses-based interfaces?
What the heck is a curses-based interface? 6 15.00%
Only pansies need anything other than the command-line. 3 7.50%
I guess they can be useful from time to time. 25 62.50%
I'd trade Gnome for a curses-based desktop any day of the week. 6 15.00%
Voters: 40. You may not vote on this poll

Reply
  Search this Thread
Old 06-22-2009, 08:07 PM   #1
CoderMan
Member
 
Registered: Jan 2009
Location: Gemini Capsule 25164
Distribution: Gentoo
Posts: 375
Blog Entries: 24

Rep: Reputation: 43
Cool New Software: Curses-Based Program Launcher


MinMenu

Okay, so this isn't actually new software, since it achieved a state of general usability about a month or two ago. I am a novice programmer, and this is the first real program I wrote in C. Here is a quote from the project summary:

Quote:
MinMenu is a curses-based menu that launches programs and runs commands, and is written in the C programming language. The user provides a set of commands, labels, and (optionally) accompanying key selections, and the program makes them available in a menu format inside the terminal. This allows anyone working in a *nix terminal environment to have quick and easy access to their favorite console programs and commands.
I attached a poll to this thread, so as hopeful to keep it from getting buried too quickly.

Last edited by CoderMan; 07-15-2009 at 11:46 PM.
 
Old 06-23-2009, 01:34 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
I occasionally like curses based menu systems. I like it for Debian's dpkg-reconfigure xserver-xorg and the Debian ncurses installer on older machines. But I also like mucking at the commandline. For some reason in linux I don't like doing system configuration stuff in the gui (except desktop theming and stuff). I prefer the command line and and curses based interfaces...
 
Old 06-29-2009, 12:56 AM   #3
cfzeitler
LQ Newbie
 
Registered: Jul 2005
Posts: 2

Rep: Reputation: 1
wither man pages

my fedora 11 systems claims that they are
'not in gzip format' and therefore can't
find them.
 
Old 06-29-2009, 02:49 PM   #4
AncientBrit
LQ Newbie
 
Registered: Apr 2009
Location: Los Angeles
Distribution: Debian Lenny (for now)
Posts: 5

Rep: Reputation: 0
I can never remember all the switches for CLI commands and it's a pain to have to keep asking for info/man/whatever, so curses make my life much easier
 
Old 07-01-2009, 01:49 PM   #5
Gnarly Gnewb
LQ Newbie
 
Registered: Apr 2009
Location: Toronto, Ont
Distribution: Debian
Posts: 1

Rep: Reputation: 1
Well, I recently installed Debian 5 (Lenny) on my HD after messing with Live CDs for a while. I don't really like any of my choices in the poll. Being an old dude, I'm an Linux newb but a veteran of the "DOS days". I figured out what a curses based interface was. It's basically what I had with my Apple II+ clone, lol.

I expect to make a fair bit of use of them. I'm still poking around to find ones that do what I'm going to need to do. With Alzheimer's poking it's forgetful face at me from around the next corner, I won't feel like memorizing all the command line options for stuff I'm going to use infrequently. Call me a pansy if you wish. I am immune to your disdain

Expect to see lots of me while I figure out how to get my old nVidia card working and the other multimedia stuff up to snuff. This is going to be FUN!

GG
 
Old 07-07-2009, 12:06 AM   #6
foodown
Member
 
Registered: Jun 2009
Location: Texas
Distribution: Slackware
Posts: 611

Rep: Reputation: 221Reputation: 221Reputation: 221
Quote:
Originally Posted by Gnarly Gnewb View Post
Being an old dude, I'm an Linux newb but a veteran of the "DOS days". I figured out what a curses based interface was. It's basically what I had with my Apple II+ clone, lol.
Odd, but the description of the program that you have developed reminds me a lot of "Automenu," a DOS program I used to put on workstations in my junior high school computer lab in an effort to get other pupils to stop asking me for help navigating the DOS shell and launching programs.

Quote:
The user provides a set of commands, labels, and (optionally) accompanying key selections, and the program makes them available in a menu format inside the terminal. This allows anyone working in a *nix terminal environment to have quick and easy access to their favorite console programs and commands.
Automenu did pretty much exactly that. (I am not talking about any of the current or semi-current programs you find info on from a Google search.)

That comes to mind, as well as 'DOS Manager,' a somewhat later application which would also do . . . basically the same things you are talking about.

Please don't misunderstand . . . I am in no way trying to disparage your program. (It actually sounds really cool and I am going to check it out.) I am certain that, in many, many ways it is far more sophisticated than either of these ancient specimens were.

Anyone else remember those old applications? Automenu? DOS Manager? Automenu was running in that computer lab on 8088 and 80286 based systems . . . it had to be from like 1987 or earlier. (Which, I guess, in the computing world, is like 376 BC.) DOS Manager would be a little later, maybe 1990?

http://cd.textfiles.com/hof91/HARDDISK/AUTOMN45.DOC

Last edited by foodown; 07-07-2009 at 12:39 AM.
 
Old 07-15-2009, 12:01 AM   #7
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
I use some curses based programs, they are nice and do the job without getting in the middle.

Screen, mc, moc... mc however is a bit too complex for me. Too much reliance in the menus and that stuff

Your menu thing sounds nice, however I am fairly sure that you can achieve a similar thing with a bash script and the dialog tool. Haven't tested yours though so I could very well be very wrong

I voted that they can be useful from time to time though that's not exactly how I use them. I use them *all the time*, and they are permanently loaded in my box into an screen session (which is a curses program itself by the way). However, no other option in the poll came closer to how I use them, since I really don't want to drop X, and in any case, I don't use gnome neither.

Last edited by i92guboj; 07-15-2009 at 12:03 AM.
 
Old 07-17-2009, 07:25 AM   #8
nxja
Member
 
Registered: Feb 2007
Location: Within The Universe, usually
Distribution: If I tell you, you will kill me.
Posts: 77

Rep: Reputation: 17
I'd seen that word "curses" (on a signboard, while driving by a southern church, but that's different)
But I hadn't felt pressed to discover what *n*x "curses" are.
just the few replies above are very informative. me: "WOW, YES!".
User-friendliness doesn't require fancy gooie gui. it requires info on demand. Even better if user can add reminders (annotate the tips). (win3 help files had a crude paperclip annotation thing. dosshell help was a textfile, easily editable.) Ideally, the tips can be read alongside the user actions - toggling between the activity and the help info is disruptive.
I've wondered if a toolkit/framework existed for tips/help, similar to language generators some devs post on their sites. Does any "curses" resemble such a toolkit?
 
Old 07-17-2009, 08:36 AM   #9
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
That's nothing to do with the toolkit you choose, or if you roll your own (like openoffice does, for example). Tips and sensitive help are something you have to program yourself, regardless of the facilities and helper libraries that you use.

This thread is about curses, which is a text-based widget toolkit that eases the programming of text based friendly interfaces, nothing else.
 
  


Reply



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
Program launcher - run as root BobsYourUncle Linux - Desktop 2 10-06-2006 07:59 PM
LXer: Mainsoft Announces Fast-Track Program Based on IBM Software to Aggressively Expand Linux Ecosystem LXer Syndicated Linux News 0 01-11-2006 04:01 PM
program launcher Slagazor Linux - Software 1 04-17-2005 08:40 PM
PuTTY doesn't display curses based stuff correctly vrillusions Linux - Software 1 06-22-2004 02:39 PM
Do you prefer Curses based or Graphical File Mangers? njbrain General 19 04-25-2004 10:27 PM

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

All times are GMT -5. The time now is 03:45 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