| 1 | diff -u -r ../src-patched/ncurses/tinfo/tinfo_driver.c ./ncurses/tinfo/tinfo_driver.c |
| 2 | --- ../src-patched/ncurses/tinfo/tinfo_driver.c 2015-07-11 10:03:50.340357853 -0400 |
| 3 | +++ ./ncurses/tinfo/tinfo_driver.c 2015-07-11 10:04:02.836153796 -0400 |
| 4 | @@ -417,21 +417,6 @@ |
| 5 | _nc_setenv_num("COLUMNS", *colp); |
| 6 | } |
| 7 | } |
| 8 | - |
| 9 | - /* |
| 10 | - * Finally, look for environment variables. |
| 11 | - * |
| 12 | - * Solaris lets users override either dimension with an environment |
| 13 | - * variable. |
| 14 | - */ |
| 15 | - if ((value = _nc_getenv_num("LINES")) > 0) { |
| 16 | - *linep = value; |
| 17 | - T(("screen size: environment LINES = %d", *linep)); |
| 18 | - } |
| 19 | - if ((value = _nc_getenv_num("COLUMNS")) > 0) { |
| 20 | - *colp = value; |
| 21 | - T(("screen size: environment COLUMNS = %d", *colp)); |
| 22 | - } |
| 23 | } |
| 24 | |
| 25 | /* if we can't get dynamic info about the size, use static */ |