delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/08/19/15:36:40

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Fri, 19 Aug 2011 21:35:39 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: install on win7 enterprise, can't modify bash start up shortcut
Message-ID: <20110819193539.GJ13266@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <4E4C71F0 DOT 1010509 AT molconn DOT com> <j2ic0o$eaq$1 AT dough DOT gmane DOT org> <4E4E9439 DOT 20908 AT molconn DOT com> <CAEhDDbCgsiqacDQp63p310XHUCn8yHXPCVrhdBzffnN_W42_rw AT mail DOT gmail DOT com> <4E4EAC13 DOT 2080005 AT molconn DOT com> <CAEhDDbCsZG4T-xtk6w5FibCRv59Jddh58jHknEwr2TxsEu4kow AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <CAEhDDbCsZG4T-xtk6w5FibCRv59Jddh58jHknEwr2TxsEu4kow@mail.gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Aug 19 21:19, Csaba Raduly wrote:
> On Fri, Aug 19, 2011 at 8:31 PM, LMH  wrote:
> 
> (Please don't top-post)
> > I've had no issue with re-sizing the bash window in the past and having
> > those changes saved to the shortcut, even on win7 ent, so I am concerned
> > about the health of the install.
> 
> The health of the Cygwin install should be unrelated. I gues  this is
> some Windows-y permission issue.
> The shortcut points to cygwin.bat; Windows runs cmd.exe to interpret
> the batch file, which eventually starts bash.
> 
> >The desktop icon points to Cygwin.bat, but
> > that doesn't have anything in it about the bash shell. Can someone point me
> > to the ini file where the specs of the bash window would be recorded?
> 
> That window belongs to cmd.exe;

No, not really.  Cmd is a shell, like bash.  Up to Windows Vista and
Server 2008, the console itself was implemented as just a bunch of
library functions and a shared core in the csrss process.  Start bash
from Explorer, and in Task Manager you will see that no cmd is running.

Starting with Windows 7 and Server 2008 R2, the console window is
implemented as a standalone application called conhost.exe.  So, if you
start bash from explorer in W7, you will not only see bash, but also an
additional conhost process.  So, in a way conhost is the same as mintty,
a terminal emulator, even if not a good one.

Either way, that's a common misunderstanding of the way the Windows
console works.  It was never cmd.  Cmd is and always was only a shell,
just another console application like bash.

I hope it goes without saying why you see a cmd process in task manager
when you started bash via the Cygwin.bat batch file...


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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