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

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:mime-version
:content-type:content-transfer-encoding; q=dns; s=default; b=YAh
kPiHjGKMcUxl/QqyT8WpKJ3AZkVLkk20KggGkPcRwBWf5mIt+8XK0PpMgAYYMuKR
zUp6W7V5OyZv53MWshgTYbVHPsBJmsKCiKQ0xxOOpyrjGQo8/dM1k8UoBqJ3PCwq
hwRQ64cGQp61rrmZUN71Ra6nd0LoxRkBFdhsEmFo=
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:mime-version
:content-type:content-transfer-encoding; s=default; bh=AlUjbozfB
eMiwLAeOqLc39z5Row=; b=x5G4yIobWtSwmy3tz8k93ypTkrVgrN/qOrdhAhPHn
qAMxdyF7geSGOkRhe+R29Xmjbx7zrjyU9MjvEdAESn6p6aP4OTm1YSGoc8IpdLQd
6Zh4gsRcRnAUISSk0ub+l4YVwubhFPYZplO5X51WoLQk9c419B2wOOAYAg80N7i5
IA=
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=-3.4 required=5.0 tests=BAYES_00,FORGED_HOTMAIL_RCVD2,FREEMAIL_FROM,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: starting cygwin shell
Date: Sun, 7 Apr 2013 07:42:57 +0000 (UTC)
Lines: 30
Message-ID: <loom.20130407T091557-947@post.gmane.org>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)

Hello Forum,
I am new to cygwin.
I am trying to create a .bat file so I can start cygwin from w7 windows menu.
I am looking for next:
1. new shell is created with next prompts:
gene AT len /cygdrive/c
$

2. Backspace and arrow keys can move cursor to beginning.

At the default installation, I can only get this type of shell if I run 2 steps:
1. c:\cygwin\cygwin.bat
2. and in new shell I run: start bash.


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

Message: 

save: fork_level=1 SetHandleInformation() failed: fd 0 handle 0x3 type 2: Th
e parameter is incorrect.


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