--- window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: screen-4.0.3/window.c =================================================================== --- screen-4.0.3.orig/window.c +++ screen-4.0.3/window.c @@ -1121,7 +1121,7 @@ char **args, *ttyn; { int pid; char tebuf[25]; - char ebuf[10]; + char ebuf[25]; // WINDOW=%d needs to be at least 3 digit! char shellbuf[7 + MAXPATHLEN]; char *proc; #ifndef TIOCSWINSZ