delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/04/07/14:50:58

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=ANJ/ARwPCLl+VFMvGrKJP9VEmy/QHzzp8KKSPxVquxep0puN5Gmi7
ijYAIPky5Zl6XVdjNVpEzpj71RruXAEclUvEI0TeJsb3hDyUyh/6gNFub8BIYz9t
BjLnJSkhn6CrMx7uYOldf4aCeV2lUlHZUe0jMVZjAYqi9g3KvJ6SMQ=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=N3ZQ5Y8LTacZe5hmpNWpUEtwy1A=; b=MZYb89FK8gWvMnVDfZol5Kp2YeeX
/BALhM9Hd9TEzfsXvWNOWRb4S2tFceGUy6YHFd6Gdxa9fC8QZ2Kh9eMixIySqh66
3yZtuXj/CJ8JixrHFgC4Zv9wjXoi1mLs2e44FhCGJ0fYEsFuE6sziQ6bvthdeF/Y
ca6tDYvp1qVNRUg=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
X-Spam-SWARE-Status: No, score=0.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE autolearn=ham version=3.3.1
X-Mail-Handler: Dyn Standard SMTP by Dyn
X-Report-Abuse-To: abuse AT dyndns DOT com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information)
X-MHO-User: U2FsdGVkX1/yGLEzp8unt1EtR/6m789M
Date: Sun, 7 Apr 2013 14:50:32 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: starting cygwin shell
Message-ID: <20130407185032.GA3273@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <loom DOT 20130407T091557-947 AT post DOT gmane DOT org> <5161421A DOT 6080208 AT towo DOT net> <loom DOT 20130407T201031-589 AT post DOT gmane DOT org>
MIME-Version: 1.0
In-Reply-To: <loom.20130407T201031-589@post.gmane.org>
User-Agent: Mutt/1.5.20 (2009-06-14)

On Sun, Apr 07, 2013 at 06:16:17PM +0000, Gene wrote:
>Thomas Wolff <towo <at> towo.net> writes:
>> Am 07.04.2013 09:42, schrieb Gene:
>>>I am new to cygwin.  I am trying to create a .bat file so I can start
>>>cygwin from w7 windows menu.
>>Cygwin install creates a "Cygwin Terminal" icon on your desktop in in
>>your Programs menu.  You can drag or (with Control-) copy it anywhere
>>in menus where you want it.  Is that what you need?
>>
>>>Second question:
>>>
>>>I am running below code and shell dissapear.  I could catch the message
>>>before it happens.  Do you know what seems to be a problem?
>>>
>>>for k in `ls` do print "here is $k" done
>>$ type print print ist /cygdrive/c/WINDOWS/system32/print So you
>>effectively tried to print files called "here is ..." with a Windows
>>tool.  You probably meant this instead: echo "here is $k"
>
>Yes, script should be as below.  However, the question is: if it's w7
>compatible, why it's going down.  I was able to catch the message:
>
>save: fork_level=1 SetHandleInformation() failed: fd 0 handle 0x3 type
>2: Th e parameter is incorrect.

That error message doesn't seem to be coming from Cygwin.  I have
grepped the Cygwin DLL and *sh* and don't see it anywhere.

Are you possibly using other binaries besides Cygwin ones?

See also:  http://cygwin.com/problems.html .

cgf

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

- Raw text -


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