[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Unreliability in process output
From: |
Kim F. Storm |
Subject: |
Re: Unreliability in process output |
Date: |
Tue, 07 Jun 2005 14:57:28 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Richard Stallman <address@hidden> writes:
> After emacs -Q, visiting src/window.c and then doing C-x v l gives
> unreliable results. Large chunks of the buffer are missing.
> Can anyone else observe this problem? Can anyone make more headway
> debugging this?
It's an old problem with CVS over SSH -- it has been discussed
before on the mailing list.
Here is what INSTALL.CVS has to say about the topic:
Note on using SSH to access the CVS repository from inside Emacs
----------------------------------------------------------------
Write access to the CVS repository requires using SSH v2.
If you execute cvs commands inside Emacs, specifically if you use
pcl-cvs, output from CVS may be lost due to a problem in the
interface between ssh, cvs, and libc. Corrupted checkins have
also been rumored to have happened.
To fix the problem, save the following script into a file, make it
executable, and set CVS_RSH to the file name of the script:
#!/bin/bash
exec 2> >(exec cat >&2 2>/dev/null)
exec ssh "$@"
This may be combined with the following entry in ~/.ssh/config to
simplify accessing the CVS repository:
Host subversions.gnu.org
Protocol 2
ForwardX11 no
User YOUR_USERID
--
Kim F. Storm <address@hidden> http://www.cua.dk