On Thu, Aug 14, 2003 at 10:00:31PM -0400, Mike Frysinger wrote: > for example, say i want to know 'howto' setup mysql ... > root@vapier 0 root # emerge --help dev-db/mysql > You might want to run: > ebuild /var/db/pkg/dev-db/mysql-4.0.14/mysql-4.0.14.ebuild config > if this is a new install. > it will auto generate the basic mysql databases for you. For pure static data (no if trees OR variables), this would work fine, but the great majority of the output in pkg_postinst is dynamic. In your above suggestion, the path to the ebuild is dynamic, so this either you need to implement some custom parsing for the content. However that wouldn't work when you want to base the output on an if statement. For mod_php, I have this: if use apache; then einfo "Edit /etc/conf.d/apache2 and add \"-D PHP4\"" else einfo " \"ebuild /var/db/pkg/dev-php/${PF}/${PF}.ebuild config\"" fi Furthermore, in your XML system, how do you get einfo/ewarn/eerror colouring? (raw ansi shouldn't go into XML). -- Robin Hugh Johnson E-Mail : robbat2@orbis-terrarum.net Home Page : http://www.orbis-terrarum.net/?l=people.robbat2 ICQ# : 30269588 or 41961639 GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85