containerd/cmd/containerd-shim
Wang Long 7c473041a0 io: stop screwing with \n in console output
The default terminal setting for a new pty on Linux (unix98) has +ONLCR,
resulting in '\n' writes by a container process to be converted to
'\r\n' reads by the managing process. This is quite unexpected, To fix it, make
the terminal sane after opening it by setting -ONLCR.

this patch fix method comes from: eea28f480d
thanks @cyphar Aleksa Sarai <asarai@suse.de>

Signed-off-by: Wang Long <long.wanglong@huawei.com>
2017-01-14 07:00:50 +00:00
..
console.go io: stop screwing with \n in console output 2017-01-14 07:00:50 +00:00
console_solaris.go Add containerd-shim binary 2017-01-12 10:29:37 -08:00
main.go Add containerd-shim binary 2017-01-12 10:29:37 -08:00
process.go Add containerd-shim binary 2017-01-12 10:29:37 -08:00
process_linux.go Add containerd-shim binary 2017-01-12 10:29:37 -08:00
process_solaris.go Add containerd-shim binary 2017-01-12 10:29:37 -08:00