View Single Post
Old 11-30-2012, 03:08 AM   #21
dsmid
Linux devotee
dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.
 
dsmid's Avatar
 
Posts: 581
Karma: 2061091
Join Date: Feb 2011
Device: Kindle 3, Kindle 4B, Kindle PW2
Concerning GUI vs TUI:
I didn't mean full featured GUI application with an event loop.
I understand the importance of determined sequential behaviour.
What I had in mind was a BASH/Perl/Python script with user interaction implemented by commands like this:

Code:
kdialog  --title "Kindle debricking" --yesno "Do you really want to debrick your Kindle ?" 5 50
dialog  --title "Kindle debricking" --yesno "Do you really want to debrick your Kindle ?" 5 50
kdialog  --title "Kindle debricking" --radiolist "Select your Kindle flavour" "2" "Kindle 2" 2 "3" "Kindle 3" 3 "4" "Kindle NT" 4 "5" "Kindle Touch" 5
dialog  --title "Kindle debricking" --radiolist "Select your Kindle flavour" 12 50 7 "2" "Kindle 2" 2 "3" "Kindle 3" 3 "4" "Kindle NT" 4 "5" "Kindle Touch" 5
As you can see, it's even possible to make it dual GUI/TUI with some minor tweaks.
Attached Thumbnails
Click image for larger version

Name:	kdialog1.png
Views:	55
Size:	34.6 KB
ID:	97007   Click image for larger version

Name:	dialog1.png
Views:	53
Size:	7.8 KB
ID:	97008   Click image for larger version

Name:	kdialog2.png
Views:	56
Size:	31.7 KB
ID:	97009   Click image for larger version

Name:	dialog2.png
Views:	53
Size:	14.3 KB
ID:	97010  
dsmid is offline   Reply With Quote