IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Alternative for dialog?
I'd like a text based combo box for shell / perl script data input.

I wrote my own menu system eons ago that I'm happy with, but I've wandered looking for a good combo box. Those that I've seen were typically cross platform ports of tool graphical tool boxes, which then meant the character mode never reall worked well.

Any pointers?
New Possibly build from perl Curses::Widgets?
I need a script tool that handles:

Multiple text fields.
Radio boxes - single entry only allowed.
Check boxes - multiple entries allowed
Menu choice - single entry only allowed.
Menu pick list - multiple entries allowed.

Driven by a template / control file, not needing
recoding for each usage.

It's output should be a series of "FIELD=data" assignments
suitable for import into a shell or Perl script.

Does such a beast exist or should I code it myself?
New Uhoh
[link|http://freshmeat.net/projects/jttui/?topic_id=809|http://freshmeat.net...tui/?topic_id=809]

Seem to provide the cleanest way to get what I want of I have
to code it myself.

BUT IT IS IN RUBY!!!!

Can you hear Ben Tilly laughing now?
New Possible winner.
[link|http://ftp.badpenguin.org/pub/software/libgringo/|http://ftp.badpengui...ftware/libgringo/]

Anybody have any experience with it?
New Looks like you found nearly
The exact thing you wanted.

Thanks, good find too... :)

You are really getting in waist deep here lately Barry.

You are really workin it!

COO!

[link|mailto:greg@gregfolkert.net|greg] - IT Grand-Master for Anti-President
[link|http://www.iwethey.org/ed_curry/|REMEMBER ED CURRY!]

THEY ARE WATCHING YOU.
The time has come for you to take the last step.
You must love THEM.
It is not enough to obey THEM.
You must love THEM.

PEACE BEGETS WAR, SLAVERY IS FREEDOM, STRENGTH IN IGNORANCE.
New Watch out
Bad or non-existant docs, no error checking.
Will stomp memory and segfault if the size of the
window is defined larger than size of terminal. Same
issue if a check box is placed "off-screen" by accident, etc.

Seems like the only missings things are are radio button group
and multi-choice list. A scrolling menu can double as a radio
box, and I'll live without the multi-check for list for now.

Very usable. Here's my current example control file:

WINDOW| 3| 3| 73| 29| Test Configuration
BACKTITLE| CC3

LABEL| 3| 2|| IP Address:
EDIT| 15| 2| 20|| ip_address

LABEL| 2| 4|| Subnet mask:
EDIT| 15| 4| 20|| sub_net

BUTTON| 21| 6|| But 1 | BUTTON1
BUTTON| 30| 6|| But 2 | BUTTON2

CHECKBOX| 2| 8| 1| Check1 opt 1 | CHECK1_1
CHECKBOX| 2| 9| 0| Check1 opt 2 | CHECK1_2
CHECKBOX| 2| 10| 0| Check1 opt 3 | CHECK1_3
CHECKBOX| 2| 11| 0| Check1 opt 4 | CHECK1_4

LISTBOX| 2| 13| 40| 5 | LIST_BOX_1
LISTITEM | Item 1
LISTITEM | Really ksd jskld lasdj las dlas dasldasld asldasldaskldlaks dasld Item 2
LISTITEM | Item 3
LISTITEM | Item 4
LISTITEM | Item 5
LISTITEM | Item 6
LISTITEM | Item 7
LISTITEM | Item 8
LISTITEM | Item 9


LISTBOX| 2| 19| 40| 5 | LIST_BOX_2
LISTITEM | L2 Item 1
LISTITEM | L2 Really ksd jskld lasdj las dlas dasldasld asldasldaskldlaks dasld Item 2
LISTITEM | L2 Item 3
LISTITEM | L2 Item 4
LISTITEM | L2 Item 5
LISTITEM | L2 Item 6
LISTITEM | L2 Item 7
LISTITEM | L2 Item 8
LISTITEM | L2 Item 9
Expand Edited by broomberg May 24, 2003, 03:07:49 PM EDT
New Grid
Have you got it to work?

I hate reading source code in Italian!
New Actually... no.
I wasn't working on it once you decided dialog wasn't the answer... but I was looking for a replacement.

Sorry, iffn you want I will work on it.

[link|mailto:greg@gregfolkert.net|greg] - IT Grand-Master for Anti-President
[link|http://www.iwethey.org/ed_curry/|REMEMBER ED CURRY!]

THEY ARE WATCHING YOU.
The time has come for you to take the last step.
You must love THEM.
It is not enough to obey THEM.
You must love THEM.

PEACE BEGETS WAR, SLAVERY IS FREEDOM, STRENGTH IN IGNORANCE.
New Give it a shot
Maybe you'll find a better usage.
     Alternative for dialog? - (broomberg) - (8)
         Possibly build from perl Curses::Widgets? - (broomberg) - (1)
             Uhoh - (broomberg)
         Possible winner. - (broomberg) - (5)
             Looks like you found nearly - (folkert) - (4)
                 Watch out - (broomberg)
                 Grid - (broomberg) - (2)
                     Actually... no. - (folkert) - (1)
                         Give it a shot - (broomberg)

Where?
46 ms