changeset 63126:33a466a1789c

Linux kernel 2.6.10 may corrupt process output. Warn that using CVS+SSH may corrupt files, include work-around.
author Kim F. Storm <storm@cua.dk>
date Wed, 08 Jun 2005 12:13:32 +0000
parents 5e05e591718a
children 20c2d120fc79
files etc/PROBLEMS
diffstat 1 files changed, 18 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/etc/PROBLEMS	Wed Jun 08 12:13:21 2005 +0000
+++ b/etc/PROBLEMS	Wed Jun 08 12:13:32 2005 +0000
@@ -1579,6 +1579,24 @@
 
 ** GNU/Linux
 
+*** GNU/Linux: Process output is corrupted.
+
+There is a bug in Linux kernel 2.6.10 PTYs that can cause emacs to
+read corrupted process output.
+
+*** GNU/Linux: Remote access to CVS with SSH causes file corruption.
+
+If you access a remote CVS repository via SSH, files may be corrupted
+due to bad interaction between CVS, SSH, and libc.
+
+To fix the problem, save the following script into a file, make it
+executable, and set CVS_RSH environment variable to the file name of
+the script:
+
+#!/bin/bash
+exec 2> >(exec cat >&2 2>/dev/null)
+exec ssh "$@"
+
 *** GNU/Linux: On Linux-based GNU systems using libc versions 5.4.19 through
 5.4.22, Emacs crashes at startup with a segmentation fault.