View previous topic :: View next topic |
Author |
Message |
Iron_DragonLord Apprentice
Joined: 04 Nov 2004 Posts: 273
|
Posted: Sun Nov 13, 2005 5:48 pm Post subject: Portage suggestion for displaying ebuild messages... |
|
|
You know how when you emerge a ton of programs, sometimes they have very important critical messages, but alas, you miss it since the next program to be emerged starts up and it all scrolls by too fast. Or perhaps you just walked away from your computer while it compiles a ton of stuff (like emerge system).
I wonder how many people missed installing a dictionary, or how many people would stop asking how to add their CD-Key to games if they saw the message/
So I came up with a spiffy idea. Why not buffer all the messages into a variable, then when portage finishes, echo that variable? This way, the most recent lines will be the messages from the ebuilds (the * ones). This is usually where it tells you if any config files need updating.
To clarify which package the message is from, it could be like...
Code: |
* Ebuild messages:
games-fps/ut2004-3355-r1
* To get your CD-Key working, type this:
* $command here
app-dicts/aspell
* You will need to install a dictionary now. Please choose an
* aspell-<LANG> dictionary from the app-dicts category
* After installing an aspell dictionary for your language(s),
* You may use the aspell-import utility to import your personal
* dictionaries from ispell, pspell and the older aspell
*
* Please re-emerge ALL your aspell-LANG dictionaries
*
some-app/stuff
* IT's messages here too |
I think it would be neat. Doesn't sound that hard to do either. Just have the messages be added to a variable that is echoed out at the end of emerges stuff. I don't know exactly how it technically works, but something like that, right?
Anyone else think this would be pretty cool? |
|
Back to top |
|
|
Earthwings Bodhisattva
Joined: 14 Apr 2003 Posts: 7753 Location: Germany
|
Posted: Sun Nov 13, 2005 5:55 pm Post subject: |
|
|
Moved from Portage & Programming to Duplicate Threads in favour of https://forums.gentoo.org/viewtopic.php?t=131795
Variables can't take that much information, but logging to files and displaying that works, see the thread on some scripts that do it for you. _________________ KDE |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|