This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

starting cygwin shell


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]