4 Jan
2012
4 Jan
'12
4:59 p.m.
Thomas Bächler:
(Better idea: execute a wrapper that closes file descriptor 2, opens a new one using pipe(), intercept everything that is printed to that pipe, modify it and dump it to fd 1. That wrapper then executes your shell. Much cleaner and more universal than a LD_PRELOAD hack.)
Seems `hilite`[1] has followed that road. [1] http://sourceforge.net/projects/hilite/ Thanks, -- b.d (| |) ^ ^