Upgraded to x11-terms/kitty-0.16.0-r2 and tried to start emacs -nw (i.e. within the terminal and am informed... emacs: Terminal type xterm-kitty is not defined. If that is not the actual type of terminal you have, use the Bourne shell command 'TERM=...; export TERM' (C-shell: 'setenv TERM ...') to specify the correct type. It may be necessary to do 'unset TERMINFO' (C-shell: 'unsetenv TERMINFO') as well. This is under Bash but I get the same under ZSH. Under both I currently have... # echo $TERMINFO /usr/lib64/kitty/terminfo There was no terminfo under /usr/share/terminfo/x/xterm-kitty and by chance I searched for terminfo with eix and found there is x11-terms/kitty-terminfo. Emerged that I can now emacs -nw no problem. Reproducible: Always Steps to Reproduce: 1. emerge =x11-term/kitty-0.16.0-r2 2. kitty 3. emacs -nw Actual Results: emacs: Terminal type xterm-kitty is not defined. If that is not the actual type of terminal you have, use the Bourne shell command 'TERM=...; export TERM' (C-shell: 'setenv TERM ...') to specify the correct type. It may be necessary to do 'unset TERMINFO' (C-shell: 'unsetenv TERMINFO') as well. Expected Results: Emacs should start in the terminal. Tried a quick change in my local overlay, and added x11-terms/kitty-terminfo to RDEPENDS, diff from -r2 is... # diff kitty-0.16.0-r3.ebuild /usr/portage/x11-terms/kitty/kitty-0.16.0-r2.ebuild 39d38 < x11-terms/kitty-terminfo Checked by unmerging kitty-terminfo and then emerge -uDN kitty and it pulls in x11-terms/kitty-terminfo, so seems an easy fix (unless I got it wrong and it should be under DEPEND rather than RDEPEND).
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfa1ed0a81dff3736909264806fb1260533797c3 commit dfa1ed0a81dff3736909264806fb1260533797c3 Author: end222 <pabloorduna98@gmail.com> AuthorDate: 2020-03-24 09:25:00 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2020-03-26 07:22:02 +0000 x11-terms/kitty: add kitty-terminfo as dependency Signed-off-by: Pablo Orduna <pabloorduna98@gmail.com> Closes: https://bugs.gentoo.org/713846 Closes: https://github.com/gentoo/gentoo/pull/15084 Signed-off-by: Joonas Niilola <juippis@gentoo.org> x11-terms/kitty/kitty-0.16.0-r3.ebuild | 103 +++++++++++++++++++++++++++++++++ 1 file changed, 103 insertions(+)