Bug#507749: Mangled (CR without LF) dpkg output when tee-ing apt's output

2008-12-04 Thread Eugene V. Lyubimkin
Max Bowsher wrote: Package: apt Version: 0.7.18 Severity: minor apt-pkg/deb/dpkgpm.cc uses cfmakeraw(3) to put the terminal into raw mode whilst running dpkg subprocesses. This has the undesirable effect of mangling the output if you are piping it through tee: [snip] Hello Max, thank

Bug#507749: Mangled (CR without LF) dpkg output when tee-ing apt's output

2008-12-03 Thread Max Bowsher
Package: apt Version: 0.7.18 Severity: minor apt-pkg/deb/dpkgpm.cc uses cfmakeraw(3) to put the terminal into raw mode whilst running dpkg subprocesses. This has the undesirable effect of mangling the output if you are piping it through tee: apt-get -y install iotop | tee /tmp/apt.log Reading