[lxc-devel] [lxc/master] terminal: enable local output processing

3XX0 on Github lxc-bot at linuxcontainers.org
Sat Jun 9 00:18:14 UTC 2018


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 531 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20180609/d9e6b63b/attachment.bin>
-------------- next part --------------
From 300ec7176bfd66c5fa68d2927da71541409cf304 Mon Sep 17 00:00:00 2001
From: Jonathan Calmels <jcalmels at nvidia.com>
Date: Fri, 8 Jun 2018 16:56:25 -0700
Subject: [PATCH] terminal: enable local output processing

Signed-off-by: Jonathan Calmels <jcalmels at nvidia.com>
---
 src/lxc/terminal.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lxc/terminal.c b/src/lxc/terminal.c
index 18714db0b..eb745c5ff 100644
--- a/src/lxc/terminal.c
+++ b/src/lxc/terminal.c
@@ -509,7 +509,7 @@ int lxc_setup_tios(int fd, struct termios *oldtios)
 #ifdef IEXTEN
 	newtios.c_lflag &= ~IEXTEN;
 #endif
-	newtios.c_oflag &= ~OPOST;
+	newtios.c_oflag |= OPOST;
 	newtios.c_cc[VMIN] = 1;
 	newtios.c_cc[VTIME] = 0;
 


More information about the lxc-devel mailing list