delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/06/08/01:23:33

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-Info: This message was accepted for relay by
smtp03.mrf.mail.rcn.net as the sender used SMTP authentication
X-Trace: UmFuZG9tSVZrbE27L3giwaRyo59JtH1HGT5n4sO8FQngkjqezZwIP1IZgnBYrV+n
Message-ID: <3EE2C7F4.70108@cygwin.com>
Date: Sun, 08 Jun 2003 01:21:56 -0400
From: Larry Hall <cygwin-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Marcus Vinicius Ferreira <marcus_ferreira AT yahoo DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: Echo from bash disappears
References: <20030608025805 DOT 21285 DOT qmail AT web40106 DOT mail DOT yahoo DOT com>
In-Reply-To: <20030608025805.21285.qmail@web40106.mail.yahoo.com>

Hm, there's something fishy there.  I have 'tty' set as well with
no side affects.  However, trying to set 'tty' in your profile should
be a no-op.  This value is only referenced at load time for cygwin1.dll
(see <http://cygwin.com/cygwin-ug-net/using-cygwinenv.html>) so setting
the value in /etc/profile should have no affect whatsoever.  As an aside,
'ntsec' is now on by default for recent releases of cygwin1.dll.  You
should be able to remove this line entirely from your /etc/profile.
You should try setting the CYGWIN environment variable to include 'tty'
*before* cygwin1.dll loads (for example, set it in 'cygwin.bat').
It would be interesting to hear whether this works for you as well (it
should).

Larry

Marcus Vinicius Ferreira wrote:
> Mr. Hall,
> 
> Thanks for the fast response.
> 
> I was beginning to list my environmente variables as suggested in
> "problems.html" and I think I cleared the problem.
> 
> Redefining /etc/profile from
> 
>    export CYGWIN=" $CYGWIN ntsec tty "
> 
> to 
> 
>    export CYGWIN=" $CYGWIN ntsec"
> 
> made things come back to normal.
> 
> 
> "Um abraço",
> 
> Marcus
> 
> 
> --- Larry Hall <cygwin-lh AT cygwin DOT com> wrote:
> 
>>Marcus Vinicius Ferreira wrote:
>>
>>>Hi, guys,
>>>
>>>
>>>Using Cygwin 1.3.22 on XP, bash 2.05b, I have my echo disappearing after
>>
>>using
>>
>>>a tool like man, vim, perl -MCPAN -e "shell", mc and others.
>>>
>>>As I can notice, any tool which has some output in color messes with the
>>
>>bash
>>
>>>shell after exiting from that tool. I can no longer see what is typed at
>>
>>the
>>
>>>prompt.
>>>
>>>Any ideas? Orientations?
>>
>>
>>Other than <http://cygwin.com/problems.html>, no.  I tried vi'ing a file
>>that would invoke syntax highlighting (i.e. color) from my bash prompt
>>and then exiting.  It worked fine.  Everything is still visible.  But
>>perhaps more information on your configuration and a sequence of steps
>>you took to reproduce the problem would be helpful for someone here to
>>diagnose your problem.
>>
>>
>>-- 
>>Larry Hall                              http://www.rfk.com
>>RFK Partners, Inc.                      (508) 893-9779 - RFK Office
>>838 Washington Street                   (508) 893-9889 - FAX
>>Holliston, MA 01746
>>
>>


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