X-Spam-Check-By: sourceware.org
Date: Wed, 5 Apr 2006 09:18:24 -0400 (EDT)
From: Igor Peshansky <pechtcha@cs.nyu.edu>
Reply-To: cygwin@cygwin.com
To: Jay Abel <jabel@flex.com>
cc: cygwin@cygwin.com
Subject: Re: cvs over ssh with tcsh
In-Reply-To: <004c01c6587d$ccb2e430$84017ece@jabelxp>
Message-ID: <Pine.GSO.4.63.0604050911590.12523@access1.cims.nyu.edu>
References: <004c01c6587d$ccb2e430$84017ece@jabelxp>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; FORMAT=flowed; CHARSET=US-ASCII; REPLY-TYPE=original
Content-ID: <Pine.GSO.4.63.0604050911592.12523@access1.cims.nyu.edu>
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Tue, 4 Apr 2006, Jay Abel wrote:

> This is just a ping to see if anyone has noticed problems running cvs in
> command line server mode over ssh with tcsh installed as the login shell
> (in /etc/passwd).  After a lot of testing (thanks Rene Berber) is seems
> that the problem only occurs when tcsh is my login shell.  If I change
> my login shell to /bin/bash, the problem goes away.
>
> versions are as follows:
> [snip]
> I googled 'ssh tcsh' and found that some programs (sftp) don't like
> noisy rc scripts, but

cvs also doesn't like noisy scripts.

> tcsh -C /bin/true
>
> produces no output.

I take it you meant "tcsh -c /bin/true" (lowercase "c").  Your test above
only tests tcsh in non-login mode.  Try 'tcsh -l' or '(exec -l tcsh)' from
bash instead.

> The symptoms of failure that I obsererve fall into two categories:
>
> 1. cvs client reports 'unrecognized command' along with a piece of one
> of the files uploaded displayed as the offending command, or
>
> 2. cvs trace stops dead, with both client and server processes in an O
> state by ps.

Both of these seem to indicate extra output from somewhere.

> [snip]
> At this point I'm mostly interested in whether anyone else has ever seen
> this behavior.  If not, I'll continue to try to acertain what it is
> about my tcsh configuration which is causing the problem.

I'd say you have a noisy .login (or /etc/csh.login)...  If you rule that
out, we can look for other causes.

FWIW, simply "ssh user@host cvs server" should show you all of the output
your cvs client sees (and complains about)...
HTH,
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha@cs.nyu.edu | igor@watson.ibm.com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

