Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Mar 2015 03:30:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 198919] new port: misc/stderred Library that will display STDERR output in red
Message-ID:  <bug-198919-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198919

            Bug ID: 198919
           Summary: new port: misc/stderred Library that will display
                    STDERR output in red
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: braakvaak@aol.com

Created attachment 154817
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=154817&action=edit
shar file

stderred hooks on write() and a family of stream functions (fwrite, fprintf,
error...) from libc in order to colorize all stderr output that goest to
terminal, thus making it distinguishable from stdout. Basically it wraps text
that goes to file with descriptor "2" with proper ANSI escape codes making text
red.

It's implemented as a shared library and doesn't require recompilation of
existing binaries thanks to preload/insert feature of dynamic linkers.

WWW: https://github.com/sickill/stderred

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-198919-13>