1 |
> I imagine something made with Tk (in python) or just plain ncurses. |
2 |
> |
3 |
> As long as we stay away from X I'm game :) |
4 |
|
5 |
It could be done in sh via dialog .. like this: |
6 |
|
7 |
#!/bin/sh |
8 |
|
9 |
tmp="/tmp/guistuff.$$" |
10 |
|
11 |
dialog --msgbox 'Welcome to make.profile configuration tool' 8 60 2> |
12 |
/dev/null && dialog='dialog' |
13 |
dialog --title 'Gentoo' --separate-output --backtitle 'Gentoo tool' |
14 |
--checklist 'Defaults should be fine for most users' 20 78 10 \'I386' "Don't compile the standalone server code" off \ |
15 |
'I486' "Don't compile the standalone server code" off \ |
16 |
'Pentium' "Don't compile the standalone server code" off \ |
17 |
'Pentium II' "Don't compile the standalone server code" off \ |
18 |
'Pentium III' "Don't compile the standalone server code" on \ |
19 |
2> $tmp |
20 |
|
21 |
and with a series of questions or subfolders like the kernel ? And it |
22 |
could be made portable for both console and X .. |
23 |
/Kim |