X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 	tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <958BEC5D-21EC-41B1-8176-E80562EF3D0E@bitmover.com>
References: <23422628.post@talk.nabble.com> 	 <20090507135258.GB21324@calimero.vinschen.de> 	 <23428512.post@talk.nabble.com> 	 <958BEC5D-21EC-41B1-8176-E80562EF3D0E@bitmover.com>
Date: Thu, 7 May 2009 17:06:33 +0100
Message-ID: <416096c60905070906i7ef80d6bpbc7e79370510f632@mail.gmail.com>
Subject: Re: Bug to setup Cygwin on Windows Server 2008 64bits
From: Andy Koppe <andy.koppe@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

2009/5/7 Georg Nikodym:
>
> On 7-May-09, at 10:56 AM, Kyeto wrote:
>
>> I have disabled DEP and now Cygwin run.
>> But i have just the pompt with :
>> =A0 =A0bash-3.2$ : _
>>
>> None commands are available
>> When i do a "ls" =3D> command not found.
>> It's the same for a lot (touch, chmod ...)
>>
>> But, pwd, cd work
>
> Normally, people start cygwin using cygwin.bat (or an icon on their deskt=
op
> that does the same). =A0This sets up some useful stuff.
>
> From the picture in your previous post, you just started a shell (bash.ex=
e)
> inside a command window. =A0In other words, there no guarantee that any u=
seful
> environment was set up.

Yep. To get the usual environment, bash needs to be invoked with
option --login (or -l), which makes it a "login shell" and ensures
that /etc/profile is executed.

Andy

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

