[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#37564: [PATCH] don't export LINES and COLUMNS env vars in term to fi
From: |
Lars Ingebrigtsen |
Subject: |
bug#37564: [PATCH] don't export LINES and COLUMNS env vars in term to fix ncurses applications |
Date: |
Mon, 07 Oct 2019 06:11:35 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Matthew Leach <matthew@mattleach.net> writes:
>> I simply tried "env | fgrep LINES" and I do see the variable, although
>> it wasn't there before I launched Emacs.
>
> I would expect the variable to be there when inside Emacs as it has
> exported it. You should find that it won't exist if ran outside Emacs,
> for example in xterm.
I tried this in my bash here (under the "Terminal" program in Debian):
larsi@marnie:~/src/emacs/trunk$ set | grep LINES
LINES=24
larsi@marnie:~/src/emacs/trunk$ set | grep COLUMNS
COLUMNS=80
So they're in my env at least.
But I see I have this in my very ancient ~/.bashrc:
# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
shopt -s checkwinsize
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#37564: [PATCH] don't export LINES and COLUMNS env vars in term to fix ncurses applications, (continued)
- bug#37564: [PATCH] don't export LINES and COLUMNS env vars in term to fix ncurses applications, Matthew Leach, 2019/10/01
- bug#37564: [PATCH] don't export LINES and COLUMNS env vars in term to fix ncurses applications, Eli Zaretskii, 2019/10/01
- bug#37564: [PATCH] don't export LINES and COLUMNS env vars in term to fix ncurses applications, Matthew Leach, 2019/10/01
- bug#37564: [PATCH] don't export LINES and COLUMNS env vars in term to fix ncurses applications, Eli Zaretskii, 2019/10/01
- bug#37564: [PATCH] don't export LINES and COLUMNS env vars in term to fix ncurses applications, Eli Zaretskii, 2019/10/01
- bug#37564: [PATCH] don't export LINES and COLUMNS env vars in term to fix ncurses applications, Matthew Leach, 2019/10/01
- bug#37564: [PATCH] don't export LINES and COLUMNS env vars in term to fix ncurses applications, Eli Zaretskii, 2019/10/01
- bug#37564: [PATCH] don't export LINES and COLUMNS env vars in term to fix ncurses applications, Glenn Morris, 2019/10/03
- bug#37564: [PATCH] don't export LINES and COLUMNS env vars in term to fix ncurses applications, Matthew Leach, 2019/10/04
- bug#37564: [PATCH] don't export LINES and COLUMNS env vars in term to fix ncurses applications, Matthew Leach, 2019/10/04
- bug#37564: [PATCH] don't export LINES and COLUMNS env vars in term to fix ncurses applications,
Lars Ingebrigtsen <=
- bug#37564: [PATCH] don't export LINES and COLUMNS env vars in term to fix ncurses applications, Andreas Schwab, 2019/10/07
- bug#37564: [PATCH] don't export LINES and COLUMNS env vars in term to fix ncurses applications, Lars Ingebrigtsen, 2019/10/08