X-Recipient: archive-cygwin@delorie.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:message-id:date:from:reply-to:mime-version:to
	:subject:references:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=nsHHAykYhMnQXqOF
	pbo+MjDhjl5Yya8WJ3GM1GAz4WaZ4Q9YfFUiVYwXexHFyEFr8z64FhPV6jNS4YJl
	4wFNFaE80AwF6CYSuiBupXLMzDlxpfgM0EKaItdAq2oQXOtcMvAg0PLnkQv1rR30
	6cVmQliN6WrFttVosJhteqFEUuk=
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:message-id:date:from:reply-to:mime-version:to
	:subject:references:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=y+sNi5wCpe1tUmkME/ZBcd
	O3JYk=; b=k34eoFthB5maJbk02OPLqPVHQDHk9KLdZeDIzeWW+A04XW+AAqkZed
	hb4ybwJY2GDbLfeAQwtH8hLl6nwqHpkrqdfYfTGO0ihtgaYH/BcBLVk7g02NQ9u7
	dRW3muzAUg2oeXIIHIy5FEjpDKVgFO/UqkM7arSJmE4n5WYAWWK9w=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: csmail.cs.umass.edu
Message-ID: <52BE3F60.7000201@cs.umass.edu>
Date: Fri, 27 Dec 2013 22:02:56 -0500
From: Eliot Moss <moss@cs.umass.edu>
Reply-To: moss@cs.umass.edu
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: A ream of questions
References: <1388180460.62194.YahooMailNeo@web162702.mail.bf1.yahoo.com> <243280216.20131228060512@mtu-net.ru>
In-Reply-To: <243280216.20131228060512@mtu-net.ru>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes


On 12/27/2013 9:05 PM, Andrey Repin wrote:

 >> Q: Why doesn't cygwin use an emacs as its frontend instead of a dosshell?
 >
 > What is "dosshell"? Whatever it is, Cygwin doesn't use it. It use either
 > native Windows console or it's own mintty by default.

I think the OP may have meant cmd.exe.  To discuss this topic further,
I think you need to distinguish the *shell* from the tty/console/editor
it runs inside of to display its input, etc.

You can easily get emacs-style command line editing.

The purpose of cygwin as a library is to enable the relatively easy
porting to Windows of many/most Unix programs.  Roughly speaking,
it translates Unix library/system calls into Windows calls.  It is not
possible to hide every difference, but it does a pretty good job of
offering a Unix-like environment to those familiar with Unix.

To that end, the typical "front end" is bash (a Unix shell) running
inside some terminal/screen program, typically mintty or the Windows
console, but if you run X, you can have xterm, etc.

 >> Q: Why don't we work on setting up a full blown tutorial system with a set
 >> of shell scripts and documentation segregation so that newbies can grok The
 >> Hacker's Dreaming?
 >
 > You're very welcome.

I think maybe Andre was saying "you're very welcome to do that", i.e.,
"be my guest".  However, most program have "man" pages, as on Unix.

 >> Q: Why doesn't Cygwin do something similar to Cpan?
 >
 > And what exactly that supposed to mean?
 >

Cpan is a subsystem for loading perl libraries and building them.
cygwin has a setup utility for downloading already-built versions
of a considerable range of programs that are maintained by a group
of mostly volunteer maintainers.  There are even more programs
available via cygports, which has a similar download/setup utility.

 >> Q: Why is "#!>help" so useless? Why doesn't it get fixed to act more like
 >> the old DOS help?
 >
 > Explain, what you mean, especially, what you mean by "dos help"?

bash has a builting help command, for giving terse/reminder help on
bash's own commands.  For other things, use the "man" command, for
example, "man ls" will give you the man page for ls, etc.

Hope this helps.  Not sure what you were expecting, but it sounds
a little different from what cygwin is aiming to deliver.  However,
maybe what cygwin does is what you want/need, even if you don't
clearly realize it yet ...

Regards -- Eliot Moss

(Sent first version to Andre only ... sorry, Andre!)

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

