summaryrefslogtreecommitdiff
path: root/src/libeinfo/libeinfo.c
Commit message (Collapse)AuthorAge
* Revert "Libeinfo: do not suppress ewarn() messages"William Hubbs2013-08-27
| | | | | | | | | | | | | | | This reverts commit 4ee62c7903c65557c493f51d6703264a816156cd. The previously referenced commit broke consistency because ewarnx() was respecting the EINFO_QUIET environment setting, but after this commit, ewarn() was not. Also, due to discussion on the below referenced bugs, I think we do want to suppress warnings when EINFO_QUIET=yes. X-Gentoo-Bug: 482396 X-Gentoo-Bug: 439174 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=482396 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=439174
* libeinfo: check for "color" in the terminal nameAndrew Gregory2013-01-04
| | | | Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
* add a new ARRAY_SIZE macro and use itMike Frysinger2012-05-06
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* split out librc-independent helpers into a dedicated header fileMike Frysinger2012-05-06
| | | | | | | Many of these helpers are not special to librc, so split them out so they can be used in all source trees (including libeinfo). Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Libeinfo: do not suppress ewarn() messagesWilliam Hubbs2011-08-22
| | | | | | | | | | The ewarn() function was affected by the EINFO_QUIET environment variable which lead to warning messages being suppressed. Warnings should not be suppressed. Reported-by: Hanno Boeck <hanno@gentoo.org> X-Gentoo-Bug: 380073 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=380073
* drop useless "All rights reserved" noticeMike Frysinger2011-06-29
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* restore old e* func outputMike Frysinger2010-04-09
| | | | | | | | | | | Gentoo has always used the sytle: * moo ... [ ok ] Latest openrc now does: * moo... [ok] Realistically, 4 spaces out of 80 on reduced terminals doesn't make any sort of realistic difference and it's been just fine for the last 10 years, so keep the default behavior.
* Add (c) to CopyrightRoy Marples2009-05-01
|
* Improve style for KNFRoy Marples2009-04-23
|
* Save more screen space by removing the space befor the * for einfo and ↵Roy Marples2008-11-26
| | | | friends. Also remove the leading space before ... for ebegin.
* Add a better, but incomplete tgoto implementation to make gcc happy.Roy Marples2008-10-08
|
* Clean up warnings regarding printf.Roy Marples2008-10-08
|
* Remove the macro ;)Roy Marples2008-06-05
|
* Update style to more BSDish and replace the big macro with a function.Roy Marples2008-06-05
|
* Add license blurb to a few files and append my email to my name.Roy Marples2008-03-26
|
* Revert commit 48fc097e39ec9b3edd9a8929fe9faf8f302451ec and add a comment ↵Roy Marples2008-03-23
| | | | about making it a runtime config option if it needs to change.
* fix spacing in the trailing [ msg ]Mike Frysinger2008-03-23
|
* Remove null terminated char ** lists in favour of RC_STRINGLIST, using TAILQ ↵Roy Marples2008-03-16
| | | | from queue(3). Refactor code style around the BSD KNF.
* ewarn now goes to stderr to match portage behaviour.Roy Marples2008-02-21
|
* eoutdent should set the correct env var.Roy Marples2008-02-04
|
* Factor out the str attribute in the ecolors array to its own array. This way ↵Roy Marples2008-02-01
| | | | ecolors can be marked const.
* Quiet some lint warnings.Roy Marples2008-01-22
|
* Testing the first character for NULL is more efficient than checking a ↵Roy Marples2008-01-21
| | | | strlen of 0.
* should not produce a red starRoy Marples2008-01-21
|
* strip trailing newlinesMike Frysinger2008-01-14
|
* Many termcap db's don't have ch or RI even though they do workRoy Marples2008-01-12
|
* Re-indent to a standard tw of 8.Roy Marples2008-01-11
|
* Loads of NetBSD tweaks here.Roy Marples2008-01-10
|
* Allow depend creation again. This doesn't work on GNU make, but does on all ↵Roy Marples2008-01-07
| | | | others.
* Add the missing changes from the recent Makefile updatesRoy Marples2008-01-05
|
* Add some .mk stubs to impersonate bsk .mk files to make writing our ↵Roy Marples2008-01-05
Makefiles easier. libeinfo, librc and rc now have their own seperate directories. More work is needed to tidy this up though.