Please find attached two patches to fix this. Tested on sid.
Steve --
--- screen-4.0.3.orig/comm.c 2003-09-08 15:25:08.000000000 +0100 +++ screen-4.0.3/comm.c 2007-10-24 00:10:17.000000000 +0100 @@ -98,7 +98,7 @@ #endif { "blanker", NEED_DISPLAY|ARGS_0}, #ifdef BLANKER_PRG - { "blankerprg", ARGS_1|ARGS_ORMORE }, + { "blankerprg", ARGS_01 }, #endif { "break", NEED_FORE|ARGS_01 }, { "breaktype", NEED_FORE|ARGS_01 },
--- screen-4.0.3.orig/process.c 2003-09-18 13:53:54.000000000 +0100 +++ screen-4.0.3/process.c 2007-10-24 00:10:17.000000000 +0100 @@ -3777,16 +3785,20 @@ break; #ifdef BLANKER_PRG case RC_BLANKERPRG: + /* free old one */ if (blankerprg) - { - char **pp; - for (pp = blankerprg; *pp; pp++) - free(*pp); - free(blankerprg); - blankerprg = 0; - } - if (args[0][0]) - blankerprg = SaveArgs(args); + { + char **pp; + for (pp = blankerprg; *pp; pp++) + free(*pp); + free(blankerprg); + blankerprg = 0; + } + if ((args) && (*args)) + { + /* store new value */ + blankerprg = SaveArgs(args); + } break; #endif case RC_IDLE: @@ -3821,6 +3833,15 @@ Msg(0, "idle off"); } break;