Source: nn
Version: 6.7.3-14
Severity: normal
Tags: patch

Dear Maintainer,

>From 8038177822b036a08d98f3415b11887c07de657b Mon Sep 17 00:00:00 2001
>From: Bjarni Ingi Gislason <bjarn...@rhi.hi.is>
>Date: Fri, 5 Mar 2021 18:15:47 +0000
>Subject: [PATCH]  Patch "term.c: various changes", remove part of it

  term.c:

  Remove 'Add code instead of "cfmakeraw()" depending of the definition
of "__osf__".'

Signed-off-by: Bjarni Ingi Gislason <bjarn...@rhi.hi.is>
---
 term.c | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/term.c b/term.c
index e15eb66..088c9f5 100644
--- a/term.c
+++ b/term.c
@@ -674,16 +674,6 @@ init_term(int full)
 #ifdef HAVE_TERMIOS_H
 #  ifdef __osf__
     cfmakeraw(&raw_tty);
-#  else /* same as for HAVE_TERMIO_H */
-    raw_tty.c_iflag &= ~(BRKINT | INLCR | ICRNL | IGNCR | ISTRIP);
-    raw_tty.c_iflag |= IGNBRK | IGNPAR;
-    raw_tty.c_oflag &= ~OPOST;
-    raw_tty.c_lflag &= ~(ISIG | ICANON | XCASE | ECHO | NOFLSH);
-
-    /* read a maximum of 10 characters in one burst; timeout in 1-200 ms */
-    raw_tty.c_cc[VMIN] = KEY_BURST;
-    raw_tty.c_cc[VTIME] = ((int) (raw_tty.c_cflag & CBAUD) > B1200) ? 1 : 2;
-    set_term_speed((unsigned long) (raw_tty.c_cflag & CBAUD));
 #  endif
 
     /* read a maximum of 10 characters in one burst; timeout in 1-200 ms */
-- 
2.30.1



-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.9-1 (SMP w/2 CPU threads)
Locale: LANG=is_IS.iso88591, LC_CTYPE=is_IS.iso88591 (charmap=ISO-8859-1), 
LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

-- debconf information excluded

-- 
Bjarni I. Gislason

Reply via email to