delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/03/28/13:45:00

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Fri, 28 Mar 2008 11:44:23 -0700
From: Gary Johnson <garyjohn AT spk DOT agilent DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Windows ClearCase [Was: Cygwin Visuals]
Message-ID: <20080328184423.GA11391@suncomp1.spk.agilent.com>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20080328073024 DOT GA2286 AT suncomp1 DOT spk DOT agilent DOT com> <fsj53f$nc8$1 AT ger DOT gmane DOT org>
MIME-Version: 1.0
In-Reply-To: <fsj53f$nc8$1@ger.gmane.org>
X-Operating-System: SunOS suncomp1 5.8 sparc
User-Agent: Mutt/1.5.17 (2007-11-01)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 2008-03-28, 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.

Good idea.  I'll try writing a ct script to trap the edcs case and 
handle it as above.  Thanks again.

Regards,
Gary


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019