delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/12/27/22:02:30

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:message-id:date:from:reply-to:mime-version:to
:subject:references:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=Zjg9iEZx2++7hRDa
3Hd/4s9dq4uYxQjkoNw/Fb7aJgbIxnn2dh9UB/bBP2aie4GqbXd7jOdJMr8J6mDC
ltX4KavrjLjs0myonJNMSvW0qxDyXxU2pTDlMCUWLPzn/X3XHEMe91Ge/MgMT73H
WVn/yNUS5TSiROKVbDRjO73Sycg=
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=M+/InVvn8ygPQI0vep3/1s
wulzg=; b=fYuj7zl5xr767iZA6Sz+EUa1LqGhn71OSOjZr5/C72GykZrXiTUdR5
ciHbyKv/51d0o2nzKCjjUkxCpOtnkC8bMo/eXJ4uuhhpj41PACW7RdwZ5DtHSTuA
8e4FKfMUeLewngb1/AOJfLIAeldN46m60epVrsdNhytJ7XhqfbRtg=
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=-1.8 required=5.0 tests=AWL,BAYES_20,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: csmail.cs.umass.edu
Message-ID: <52BE3F30.5090308@cs.umass.edu>
Date: Fri, 27 Dec 2013 22:02:08 -0500
From: Eliot Moss <moss AT cs DOT umass DOT edu>
Reply-To: moss AT cs DOT umass DOT 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: Andrey Repin <cygwin AT cygwin DOT com>
Subject: Re: A ream of questions
References: <1388180460 DOT 62194 DOT YahooMailNeo AT web162702 DOT mail DOT bf1 DOT yahoo DOT com> <243280216 DOT 20131228060512 AT mtu-net DOT ru>
In-Reply-To: <243280216.20131228060512@mtu-net.ru>
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

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