delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/04/07/14:16: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:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding; q=dns; s=
default; b=GVXHqMRLzWkom3GuM7YJ+YJMosMCI8CQg1Vui6nkWeAItjTuq/pLz
EQMPo37SXXLtc6iduKmvbHAo37P9V9mSDa9zIjdAh1iRWBY3c8TFgDJYeD/IH4pj
2It0RRb5ulNWCS62SwscAwfMUMgpHsPr8JuLpEgMVH8d/Eb4PnQAiE=
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:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding; s=default;
bh=NzIZMZjSzeV1Sgj0g2TVp2D64/I=; b=Ij3hm5GZ5t+LE6CQ4woDVTZHQ4io
sA6wfx26Cy994z4koaM41RFMSyFJDvBwpHt29fz2zc6KdCyx8MZdi2gSDKpokR+k
S4laFR5J2ZKlbfDPmLvekLDjxfwaEHnnbN5kAobw3T48fvz/drcsmxva9lCMuCaL
8eNCX69OvTWwMec=
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=-4.1 required=5.0 tests=AWL,BAYES_00,FORGED_HOTMAIL_RCVD2,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.1
To: cygwin AT cygwin DOT com
From: Gene <gene_golub AT hotmail DOT com>
Subject: Re: starting cygwin shell
Date: Sun, 7 Apr 2013 18:16:17 +0000 (UTC)
Lines: 49
Message-ID: <loom.20130407T201031-589@post.gmane.org>
References: <loom DOT 20130407T091557-947 AT post DOT gmane DOT org> <5161421A DOT 6080208 AT towo DOT net>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)

Thomas Wolff <towo <at> towo.net> writes:

> 
> Am 07.04.2013 09:42, schrieb Gene:
> > Hello Forum,
> > 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?
> 
> > ...
> (unclear)
> 
> > 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.

for k in `ls`
do
print "here is $k"
done






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