delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/05/03/12:59:10

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Mon, 3 May 2004 12:58:03 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Christopher Spears <cspears2002 AT yahoo DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: how do emulators work
In-Reply-To: <20040503162924.53852.qmail@web12401.mail.yahoo.com>
Message-ID: <Pine.GSO.4.56.0405031245350.22282@slinky.cs.nyu.edu>
References: <20040503162924 DOT 53852 DOT qmail AT web12401 DOT mail DOT yahoo DOT com>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.39

On Mon, 3 May 2004, Christopher Spears wrote:

> This question may seem kind of basic but how do emulators work?  With
> UNIX, you have a program called the shell (csh, bash, etc.) that
> interprets commands and calls up different utilities (ls, cp, grep,
> etc.).
>  However, cygwin sits inside Windows and is connected to windows.  For
> example, my home directory is /home/Christopher Spears/, which would
> never happen in UNIX because of the space in my name.  Is cygwin really
> UNIX or is it something different?
>
> -Chris

Firstly, <http://cygwin.com/acronyms/#CYNUX>.  That answers your last
question.  Besides, your premise is wrong: a space is a perfectly valid
character in Unix usernames, and nothing stops you from doing

$ useradd "Christopher Spears"

on Linux, with all the associated problems that Cygwin programs incur.
It's just that in Windows spaces in usernames and filenames are much more
common, and thus more visible.

FWIW, the shell in Cygwin behaves almost exactly like the shell in Unix
(because it is, for the most part, the same shell).

And, to answer your first, non-Cygwin-specific, question, try Googling for
'"how emulators work"'.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019