Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 142977 | Differences between
and this patch

Collapse All | Expand All

(-)termpkg-3.3/termnet/ttyd.c.orig (-1 / +8 lines)
Lines 340-346 Link Here
340
                     char *cp;
340
                     char *cp;
341
                     int x;
341
                     int x;
342
                     for (cp = commbuf, x = 0; x < cnt; x++, cp++)
342
                     for (cp = commbuf, x = 0; x < cnt; x++, cp++)
343
if (isprint(*cp))
343
                        syslog(LOG_DEBUG, "ttyd: Have net char 0x%x, |%c|", *cp, *cp);
344
                        syslog(LOG_DEBUG, "ttyd: Have net char 0x%x, |%c|", *cp, *cp);
345
else
346
syslog(LOG_DEBUG, "ttyd: Have net char 0x%x", *cp);
344
                  }
347
                  }
345
                  write(fd, commbuf, cnt);
348
                  write(fd, commbuf, cnt);
346
               }
349
               }
Lines 366-374 Link Here
366
                     char *cp;
369
                     char *cp;
367
                     int x;
370
                     int x;
368
                     for (cp = commbuf, x = 0; x < cnt; x++, cp++)
371
                     for (cp = commbuf, x = 0; x < cnt; x++, cp++)
372
if (isprint(*cp))
369
                        syslog(LOG_DEBUG, "ttyd: Have key char 0x%x, |%c|", *cp, *cp);
373
                        syslog(LOG_DEBUG, "ttyd: Have key char 0x%x, |%c|", *cp, *cp);
374
else
375
syslog(LOG_DEBUG, "ttyd: Have key char 0x%x", *cp);
370
                  }
376
                  }
371
                  inputTerminal(commbuf, cnt);
377
//                  inputTerminal(commbuf, cnt);
378
write(fileno(tnlout), commbuf, cnt);
372
               }
379
               }
373
               else
380
               else
374
                  break;
381
                  break;

Return to bug 142977