|
From: | Matthew Leach |
Subject: | bug#37564: [PATCH] don't export LINES and COLUMNS env vars in term to fix ncurses applications |
Date: | Tue, 21 Jan 2020 18:10:45 +0000 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes: >> Applications use ioctl to get the size. >> -> Therefore setting LINES and COLUMNS is pointless. >> If LINES/COLUMNS are set, they override ioctl. > > Is the last bit a generally accepted paradigm? I believe so, yes. At least, that is the case with ncurses. -- Matt
[Prev in Thread] | Current Thread | [Next in Thread] |