[TriLUG] Bash 'gui' tools

Chris MacLeod stickm at gmail.com
Fri Nov 30 12:28:17 EST 2007


I think you mean tui :)
bash has a select statement that you can use to present a list of choices to
the user and have them select them.  That's about as simple (and as complex)
as you can get with bash alone, anything more and you're probably looking at
curses, tcl or something along those lines.

On 11/30/07, Craig Taylor <ctalkobt at gmail.com> wrote:
>
> I've got a series of bash scripts that I'd like to 'gui'-ize - is anyone
> aware of command line tools (not curses, wxwindows etc) that could be
> invoked simply from a shell, eg:
>
>         menu 'Give user directions' 'choice 1' 'choice2' 'choice3'
>         result=$?    # 0 for choice1, 1=choice2, etc...
>
> Development system is Ubuntu Gutsy so packages that are more 'apt' to
> install with it are appreciated.
>
> Thanks,
>
> - Craig Taylor
>
> --
> TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
> TriLUG Organizational FAQ  : http://trilug.org/faq/
> TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
>



-- 
stickm at gmail.com
-==< Stick >==-



More information about the TriLUG mailing list