[TriLUG] Bash 'gui' tools
Wing D Lizard
wingedlizard at nc.rr.com
Fri Nov 30 13:06:24 EST 2007
I've used dialog/xdialog before. It is very nice, because there is a
text version and
an x version, you can use the same script in either environment.
http://linuxgazette.net/101/sunil.html
brett bolen
Chris MacLeod wrote:
> 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/
>>
>>
>
>
>
>
More information about the TriLUG
mailing list