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

Re: Bug#857808: debian-installer: Garbage on terminal with default TERM setting over serial console



Control: reassign -1 screen
Control: retitle -1 screen: emits \0 characters which garbages d-i output over serial console
Control: tags -1 + upstream patch
Control: forwarded -1 http://savannah.gnu.org/bugs/?50588

Hello,

To screen maintainers: screen spuriously emits \0 characters as now
reported on:

http://savannah.gnu.org/bugs/?50588

John Paul Adrian Glaubitz, on dim. 19 mars 2017 21:37:19 +0100, wrote:
> On 03/19/2017 09:30 PM, Samuel Thibault wrote:
> > I'm wondering whether we want to include the fix in Stretch?
> 
> I can test the patch and see if that fixes our problem. If it does, I'd
> suggest including this patch so we make sure other people don't run into
> this problem when using debian-installer over serial console. It might
> affected machines other than SPARC servers.

John Paul Adrian Glaubitz, on dim. 19 mars 2017 21:50:20 +0100, wrote:
> So, I just did a quick test with screen and mc and, indeed, with the
> patch applied, the problem is fixed for me.

Screen maintainers, do you feel like uploading the attached patch to fix
the issue in Stretch?

Thanks,
Samuel
--- a/termcap.c
+++ b/termcap.c
@@ -486,6 +486,8 @@ int he;
 
   D_tcinited = 1;
   MakeTermcap(0);
+  /* Make sure libterm uses external term properties for our tputs() calls.  */
+  e_tgetent(tbuf, D_termname);
 #ifdef MAPKEYS
   CheckEscape();
 #endif

Reply to: