Gentoo Archives: gentoo-dev

From: Kim Nielsen <kn@××××××××××.dk>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] Gentoo setup menu
Date: Fri, 17 May 2002 01:45:11
Message-Id: 31549.217.157.175.169.1021617262.squirrel@webmail.insecurity.dk
In Reply to: Re: [gentoo-dev] Gentoo setup menu by "Bjarke Sørensen"
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

Replies

Subject Author
Re: [gentoo-dev] Gentoo setup menu "Bjarke Sørensen" <bs@××××.dk>