Commit Graph

13 Commits

Author SHA1 Message Date
Simon Ruderich
6861a8c6b0 README: Some fixes. 2013-07-07 14:42:23 +02:00
Simon Ruderich
b950cdb792 Add COLORED_STDERR_IGNORED_BINARIES to exclude binaries. 2013-07-07 13:33:44 +02:00
Simon Ruderich
f48f822438 README: Document failing test on FreeBSD. 2013-07-01 03:27:16 +02:00
Simon Ruderich
436c2f894c README: Minor improvements. 2013-06-29 23:24:03 +02:00
Simon Ruderich
d08a512806 Set DEFAULT_PRE_STRING to red.
Bright red doesn't work in GNU/Linux's console.
2013-06-29 23:24:03 +02:00
Simon Ruderich
a685b825aa tests: Add example_stdio.c and test_stdio.sh. 2013-06-22 18:21:10 +02:00
Simon Ruderich
0d7f306898 Overwrite tracked file descriptors when exporting COLORED_STDERR_FDS.
If the list of tracked file descriptors is modified to contain unwanted
values (e.g. when a parent process closes or redirects stderr), this
makes it possible to set the tracked file descriptors back to a given
list.

This problem occurred with startx which somehow closes or redirects
stderr. As COLORED_STDERR_FDS was set in the shell running startx, this
disabled coloring stderr for all processes started in the X11 session.

This is no longer an issue. As COLORED_STDERR_FDS is set in the shell
configuration file, it automatically sets the list to the correct value
when a shell is opened in the terminal emulator once X11 is running.
2013-06-21 23:03:12 +02:00
Simon Ruderich
50a495887f README: setuid binaries are not supported. 2013-06-15 16:53:47 +02:00
Simon Ruderich
18d52b3b5a Install libcoloredstderr.so read-only.
Prevents accidental truncates of libcoloredstderr.so with `cp` which
crash all programs which have loaded it.
2013-06-14 13:40:06 +02:00
Simon Ruderich
dcaadb5f7c README: Explain how to modify pre/post variables. 2013-06-14 12:44:34 +02:00
Simon Ruderich
04334418fc README: Add first part of installation instructions. 2013-06-14 11:07:40 +02:00
Simon Ruderich
6d6ad4423a Add assert()s. 2013-06-13 21:33:27 +02:00
Simon Ruderich
b24bd8dc43 README: Add. 2013-06-10 22:33:59 +02:00