console app developer
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix Programming > console app developer




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    console app developer  
Eric


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-03-04 11:58 PM

Hi,
Is there any kind of program that will assist in
developing the type of console app that has color,
tabbed windows, selection items, pop up windows etc,
(kind of in the style of linuxconf - how'd they do that?).
I have a console app i wrote and right now the user
has to type in a selection of items taken from a list of
about 120 items. The users selection may be as few as
ten of those or as many as 60, all choices are numeric.
Right now I use "gets" to get the user's choices and the
items are type in like this: 1,4,5,9,11,57,58,100,104
It would be much nicer if i could present a list of all the
items available to choose from in some kind of table format
and the user could "arrow around" from item to item and select
or deselect it via hitting the space bar or clicking on it
with a mouse.
I want to keep this in console mode tho, not as a
graphical GUI in kde or gnome.
Thanks
Eric





[ Post a follow-up to this message ]



    Re: console app developer  
Rich Gibbs


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-03-04 11:58 PM

Eric said the following, on 07/03/04 14:07:
> Hi,
>   Is there any kind of program that will assist in
> developing the type of console app that has color,
> tabbed windows, selection items, pop up windows etc,
> (kind of in the style of linuxconf - how'd they do that?).
> I have a console app i wrote and right now the user
> has to type in a selection of items taken from a list of
> about 120 items. The users selection may be as few as
> ten of those or as many as 60, all choices are numeric.
> Right now I use "gets" to get the user's choices and the
> items are type in like this: 1,4,5,9,11,57,58,100,104
>  It would be much nicer if i could present a list of all the
> items available to choose from in some kind of table format
> and the user could "arrow around" from item to item and select
> or deselect it via hitting the space bar or clicking on it
> with a mouse.
> I want to keep this in console mode tho, not as a
> graphical GUI in kde or gnome.
>

The traditional way of writing full-screen, character-based apps in the
Unix/Linux world is to use the ncurses(3) library.  I'm not familiar
with the 'linuxconf' application, but ncurses will give you the same
sort of capabilities that you would find in something like the vi/vim
editors.


--
Rich Gibbs
rgibbs@alumni.princeton.edu





[ Post a follow-up to this message ]



    Re: console app developer  
Andrew Gabriel


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-04-04 01:14 PM

In article <40e72aa6@news101.his.com>,
Rich Gibbs <rgibbs@REMOVEalumni.CAPSprinceton.edu> writes:
> The traditional way of writing full-screen, character-based apps in the
> Unix/Linux world is to use the ncurses(3) library.  I'm not familiar
> with the 'linuxconf' application, but ncurses will give you the same
> sort of capabilities that you would find in something like the vi/vim
> editors.

vi barely scratches the surface of what curses (and I presume ncurses)
can do -- it's a lot more powerful that you might imagine just from
using it through vi.

--
Andrew Gabriel
Consultant Software Engineer





[ Post a follow-up to this message ]



    Re: console app developer  
Rich Gibbs


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-04-04 10:52 PM

Andrew Gabriel said the following, on 07/04/04 05:31:
> In article <40e72aa6@news101.his.com>,
> 	Rich Gibbs <rgibbs@REMOVEalumni.CAPSprinceton.edu> writes:
> 
>
>
> vi barely scratches the surface of what curses (and I presume ncurses)
> can do -- it's a lot more powerful that you might imagine just from
> using it through vi.
>

Yes.  I should have said so in so many words, but I think it can do all
the things the OP asked about.

--
Rich Gibbs
rgibbs@alumni.princeton.edu





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:43 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register