diff -Nua colormake/clmake colormake-0.2-mloskot/clmake --- colormake/clmake 1999-10-08 16:18:11.000000000 +0200 +++ colormake-0.2-mloskot/clmake 2008-05-24 16:31:02.000000000 +0200 @@ -4,4 +4,5 @@ # Jumps to the first gcc error that occurs during the build process. # -make $* 2>&1 | colormake.pl `stty size` | less -r -pError +SZ=`stty size` +make $* 2>&1 | colormake.pl ${SZ} | less -r -pError diff -Nua colormake/cmake colormake-0.2-mloskot/cmake --- colormake/cmake 1999-10-08 16:18:11.000000000 +0200 +++ colormake-0.2-mloskot/cmake 2008-05-24 16:31:05.000000000 +0200 @@ -3,5 +3,5 @@ # Wrapper around make, to colorize it's output and pipe through less. # Jumps to the first gcc error that occurs during the build process. # - -make $* 2>&1 | colormake.pl `stty size` +SZ=`stty size` +make $* 2>&1 | colormake.pl ${SZ} diff -Nua colormake/colormake.pl colormake-0.2-mloskot/colormake.pl --- colormake/colormake.pl 2000-03-08 00:58:33.000000000 +0100 +++ colormake-0.2-mloskot/colormake.pl 2008-05-24 16:35:28.000000000 +0200 @@ -69,7 +69,7 @@ { $in = 'make'; } - elsif ($thisline =~ s/^((g?cc|(g|c)\+\+).*)$/$col_gcc$1$col_norm/) + elsif ($thisline =~ s/^(.*(g?cc|(g|c)\+\+).*)$/$col_gcc$1$col_norm/) { $in = 'gcc'; }