This patch allows changing size of lynx term at runtime (!mode 110,30;exit). I hesitated to send it, but now I think that this is the best choice. Any other way (like sending SIGWINCH to itself) will break lynx running in an xterm... Enjoy, Ilya --- ./src/LYUtils.c-ini Thu Sep 21 21:21:58 2000 +++ ./src/LYUtils.c Sun Oct 15 03:47:20 2000 @@ -7520,6 +7520,7 @@ PUBLIC int LYSystem ARGS1( BOOLEAN sigtstp_saved = FALSE; #endif int saved_errno = 0; + int scrsize[4]; fflush(stdout); fflush(stderr); @@ -7539,6 +7540,8 @@ PUBLIC int LYSystem ARGS1( Native command-(non)-shell will not tolerate this. */ { char *space = command, *slash = command; + + _scrsize(scrsize); while (*space && *space != ' ' && *space != '\t') space++; while (slash < space && *slash != '/') @@ -7640,6 +7643,15 @@ PUBLIC int LYSystem ARGS1( FREE(command); #if !defined(UCX) || !defined(VAXC) /* errno not modifiable ?? */ set_errno(saved_errno); /* may have been clobbered */ +#endif +# ifdef __EMX__ /* Check whether the screen size changed */ + _scrsize(scrsize+2); + if ((scrsize[0] != scrsize[2]) || (scrsize[1] != scrsize[3])) { + CTRACE((tfp, "EMX update size...\n")); + LYcols = scrsize[2]; + LYlines = scrsize[3]; + recent_sizechange = TRUE; + } #endif return code; } ; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to [EMAIL PROTECTED]