delorie.com/archives/browse.cgi | search |
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:content-type:mime-version:subject:from | |
:in-reply-to:date:content-transfer-encoding:message-id | |
:references:to; q=dns; s=default; b=g7F1GiL6RxecnHsEOYOcOm8QEtdM | |
pYERI3YCT3k2HqVGOq4xoPpT8XMn+vsWy9PDUUc1eXZbeTvUklUYl18Zs80Wps0Q | |
yRcmH6HkIJlB9GAR7ep7J93H/5aU5x6LKYIWjMnpwTy/wyUgll6kbeUEqhqBgQkL | |
+MEaDlH9+6xvnAI= | |
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:content-type:mime-version:subject:from | |
:in-reply-to:date:content-transfer-encoding:message-id | |
:references:to; s=default; bh=UVMCqyA9BQ9RTHNvc6ghoTINi+s=; b=pD | |
civ0rMeiZ/CkYZA6NJF6ZfWTUdOe//T+b6Lh6UYpWJ2Gpt496q8sxveq5AiIaqJH | |
KFSSGLEHdytogxCPZIuFdiXwn95cCKjNsLdNs3ekmt8cZpBaSVuUDFgfDdT0X+Fb | |
1hp3WUTEu2BB8PxxPCtk5fNIWM02htu6jYlftDgsg= | |
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 |
Authentication-Results: | sourceware.org; auth=none |
X-Virus-Found: | No |
X-Spam-SWARE-Status: | No, score=0.1 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=ham version=3.3.2 |
X-HELO: | etr-usa.com |
Mime-Version: | 1.0 (Mac OS X Mail 8.2 \(2098\)) |
Subject: | Re: Uses of Cygwin |
From: | Warren Young <wyml AT etr-usa DOT com> |
In-Reply-To: | <loom.20150624T150038-632@post.gmane.org> |
Date: | Wed, 24 Jun 2015 08:30:11 -0600 |
Message-Id: | <78F3E29C-1542-4E78-8F7D-47932185FCFE@etr-usa.com> |
References: | <loom DOT 20150624T150038-632 AT post DOT gmane DOT org> |
To: | The Cygwin Mailing List <cygwin AT cygwin DOT com> |
X-IsSubscribed: | yes |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id t5OEUQZP014914 |
On Jun 24, 2015, at 7:01 AM, Alvin Oo <defalcator AT gmail DOT com> wrote: > > 1) does it support ruby,python,c++,c, java? The Cygwin package search engine answers questions like this: http://cygwin.com/cgi-bin2/package-grep.cgi You can also search from within setup.exe on the package selection screen. Cygwin has packages for all of the languages you mention, though the Java implementation is from GCC, not Oracle Java. While you can run Java programs using Oracle’s JVM while under Cygwin, the interoperability between the two won’t be as good as if there were a “native” Cygwin Java. You may find that it’s better to run under GCJ if you need tight interaction with Cygwin executables. > 2) What type of shell does it support? (sh,ksh) The default Cygwin shell is Bash. The rest of your question is even easier to answer from setup.exe: just open the Shells category on the Select Packages screen. Some random observations: - There is no rc/es, if you’re a Plan 9 refugee. - scsh is only in the 32-bit version; no one has bothered to port it to 64-bit Cygwin yet. - Cygwin only has one of the ksh clones, mksh. No one has decided to adopt AT&T ksh yet. > ,what can it emulate? I’m not sure what you’re asking. If you can find Linux or BSD-compatible source code for an implementation of a shell you want to use, it can probably be made to build and run under Cygwin. Cygwin doesn’t do any kind of binary emulation. Cygwin is just a user-space POSIX/Linux emulation layer that links to native Windows executables. > Is it possible for cygwin to start in a certain folder, akin to when I > drop cmd.exe on a certain folder, or name powershell to start in a certain > folder it will open up, i need to navigate to directory fast Cygwin executables are native Windows executables. Windows facilities like the “Start in” field of the GUI shortcut editor work just fine with Cygwin. Cygwin itself lives in a certain directory, and builds a POSIX-like directory system underneath that, but Cygwin executables are not confined to that tree. > 4) What are the alternatives to cygwin SFU, the NT POSIX subsystem, and U/WIN all competed with Cygwin once upon a time, but they’re now all basically dead. The MinGW project provides a small subset of the packages in Cygwin. They don’t use the Cygwin POSIX layer, so they operate in a more “native” Windows fashion, in that they take Windows file paths and such. This has both advantages and disadvantages. Basically, if you’re looking to do Linux-like things on Windows, you probably want Cygwin. If you just want GCC on Windows, MinGW may suffice. > what are the advantage and > disadvantage of cgywin? Advantages: - It implements most of the POSIX.1 and POSIX.2 interfaces, plus a lot of Linux-specific things like /proc/cpuinfo and /dev/dsp, which allows most of what you find on a typical Linux system to run on Windows, more or less seamlessly. - It integrates with Windows about as well as it’s possible to given the current state of the art. - It has a huge package repository [1] and a vibrant user community, and it is under active development. Disadvantages: - Being a POSIX layer for Windows, it has to be fairly thick where Windows semantics are incompatible. Examples are fork(2), ACLs, and terminal I/O. This can mean semantic mismatch and slow-downs relative to Linux running on the same hardware. [1] http://stackoverflow.com/questions/21230657/ > 5) What are the most common uses of cgywin? What are the most common uses of Windows and Linux? :) -- 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
webmaster | delorie software privacy |
Copyright 2019 by DJ Delorie | Updated Jul 2019 |