[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#854588: debian-installer: recognize arrow keys as esc in serial console



Hi!

> When append an console option like:
>       console=ttyS0,115200n8
> and close vga by
>       vga=off
>
> We can redirect the installer output with serial cable.
> So we can see the installer interface with minicom or SecureCRT.
>
> For most keys, it seems works well, while when press
> arrow keys "up"/"down"/"left"/"right",
> they are recognized as 'ESC' key.

We are seeing this issue on sparc64 now as well when using a serial
console for the installation. Using the arrow keys in the serial
console leads to random key presses (not sure whether it's <ESC>
or <RETURN> here), it did work fine in the past.

The images built in May, 2016 work fine:

> https://people.debian.org/~glaubitz/debian-cd/2016-05-04/

The images built in March, 2017, don't:

> https://people.debian.org/~glaubitz/debian-cd/2017-03-14/

Please note that we have to set TERM=linux on the kernel command
line to get a usable serial console at all. Without setting TERM
to "linux", the text is all garbage. I will file a separate bug
for that.

My suspicion is that both issues are related to Roger's patch
to add GNU screen support in debian-installer. We have a sparc64
porterbox available which Roger - or anyone who would like to
work on this - can use for test installations (a different
one than notker.debian.net which is just for general porter
work).

Thanks,
Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


Reply to: