This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: starting cygwin shell
- From: Christopher Faylor <cgf-use-the-mailinglist-please at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Sun, 7 Apr 2013 14:50:32 -0400
- Subject: Re: starting cygwin shell
- 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>
- Reply-to: cygwin at cygwin dot com
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