diff -u -r ../orig-src/ncurses/tinfo/lib_setup.c ./ncurses/tinfo/lib_setup.c --- ../orig-src/ncurses/tinfo/lib_setup.c 2023-10-02 11:56:17.150192340 +0000 +++ ./ncurses/tinfo/lib_setup.c 2023-10-02 11:56:49.157968195 +0000 @@ -513,21 +513,6 @@ } } - /* - * Finally, look for environment variables. - * - * Solaris lets users override either dimension with an environment - * variable. - */ - if ((value = _nc_getenv_num("LINES")) > 0) { - *linep = value; - T(("screen size: environment LINES = %d", *linep)); - } - if ((value = _nc_getenv_num("COLUMNS")) > 0) { - *colp = value; - T(("screen size: environment COLUMNS = %d", *colp)); - } - _nc_default_screensize(termp, linep, colp); } else { _nc_check_screensize(termp, linep, colp);