X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: gds <gds@chartertn.net>
Subject:  Re: Windows ClearCase [Was: Cygwin Visuals]
Date:  Fri, 16 May 2008 14:01:33 -0400
Lines: 32
Message-ID: <g0ki6h$c0l$1@ger.gmane.org>
References:  <20080328073024.GA2286@suncomp1.spk.agilent.com> <fsj53f$nc8$1@ger.gmane.org>
Mime-Version:  1.0
Content-Type:  text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding:  7bit
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
In-Reply-To: <fsj53f$nc8$1@ger.gmane.org>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
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

Andrew DeFaria wrote:
> Gary Johnson wrote:
>> Are you using ClearCase on Windows, or just ClearCase on Unix? We use 
>> both at work. I found that I couldn't execute "cleartool edcs" in rxvt 
>> because cleartool apparently requires a Windows Console. The editor 
>> (vim) ran fine, but the screen filled with a bunch of garbage when I 
>> closed vim. Are you able to run "cleartool edcs" in rxvt or ssh?
> One must remember when using rxvt that it uses ptys. Many Windows 
> programs don't understand ptys. Cleartool is one of them. Try just 
> typing in cleartool in an rxvt Window. You'll never see the prompt. 
> Luckily I, and apparently you, rarely type in cleartool then enter in 
> commands. You probably have your ct alias which is common. So then you 
> do ct ls or ct lsview or ct checkout or ct co... etc. You then never hit 
> the problem with ptys.
> 
> ct edcs then introduces the problem because it effectively does:
> 
>    $ ct catcs > /tmp/$$
>    $ vim /tmp/$$
>    $ # check that file has changed and offer to setcs
>    $ ct setcs /tmp/$$
> 
> So then you could do, roughly, the above (which is what I do) or perhaps 
> script it.

Sorry for the late reply but thanks for the information. Was wondering 
why the ct cmd prompts don't appear in rxvt until after I hit return, 
then it's too late (but defaults have been OK so far).

Just thought I would add that I have no problem using gvim as editor 
when doing "ct edcs" command in cygwin. However, I realize this violates 
the purity of a console only implementation :).


--
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/

