New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Terminal broken under NixOS-17.09.2826.5141f28405e #34364
Comments
Can't reproduce with |
I've run into this with the current head of channels/17.09, ie. c2b668e, in a Vagrant box. I've done a bisect and it seems like the issue was introduced in 0186286. Here's some Bash output while running on 0186286:
@chisui I'm a bit confused as to why I ran into this but you didn't. I am using the Vagrant box |
I first encountered this problem with in |
I keep seeing this more and more. I am running |
Doesn't it make sense to keep the issue open? |
Yeah, I thought it was fixed but seems as if its still there. |
The weird thing is that |
Is there any way to override |
My fix was to:
|
Does upgrading to 18.x help? |
And upgrading to |
Ran into the same issue while installing a linux nixos 17.09 from start. Like @chisui suggested |
FWIW, this can be seen on |
Comment on IRC:
|
Experienced this issue today on a fresh nixos-17.09 install. Neither backspace nor arrow keys would work in the Konsole. I could only mitigate the problem a little by using |
I installed NixOS for the first time on sunday, with the ISO pointed to by the download page of NixOS (17.09.2905.c1d9aff56e0). I faced this problem: it makes the installation very painfull. The solution proposed by @guillaumekoenig:
seems to work after a reboot. |
Data point: |
I believe the underlying problem still exists in latest Nix: NixOS/nix#2009 |
Does this issue still exist in 18.09 ? The nix issue ^^ was fixed. |
Yeah landed in Nix 2.1. |
Issue description
On the graphical image as well as a system installed from it
terminfo
is broken. This manifests in the form ofclear
andreset
not work andnano
only displaying available commands at the bottom with no file content or way to edit anything. I would classify this as a blocker since I only havenano
as an editor on the installation andcat
/echo
are no real alternatives.The problem seems to be that
ncurses-6.0-20170902
installs a brokenterminfo
database to/run/current-system/sw/share/terminfo/
. There any lowercase entry that has corresponding uppercase entries is followed by~nix~case~hack~1
. Both the entry forl
(withlinux
in it) andx
(xterm*
) have these.Creating a copy of this directory where the postfixes are removed and setting the
TERMINFO_DIRS
environment variable to point to that directory fixes the problems. This isn't an acceptable fix though.Steps to reproduce
clear
actual:
'linux': unknown terminal type.
excpected: a cleared terminal.
Technical details
The text was updated successfully, but these errors were encountered: