--:----:--Keyboard shortcuts (?)Fullscreen (f)
GNU/Linux ◆ rxvt-unicode-256color ◆ bash 10160 views

stderred hooks on write() and a family of stream functions (fwrite, fprintf, error…) from libc in order to colorize all stderr output that goes 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.

It’s supported on Linux (with LD_PRELOAD), FreeBSD (also LD_PRELOAD) and OSX (with DYLD_INSERT_LIBRARIES).

More info

More by ku1ik

256 colors check 00:08

by ku1ik

untitled 00:27

by ku1ik

Upgrading Fedora with yum 10:04

by ku1ik

Fluid dynamics simulation in pure ASCII 01:49

by ku1ik featured

See all