public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
From: Charles Wilson <cygwin@cwilson.fastmail.fm>
To: cygwin-developers@cygwin.com,
	  Mailing List: CygWin-Apps <cygwin-apps@cygwin.com>
Subject: Re: [HEADSUP] Let's start a Cygwin 1.7 release area
Date: Fri, 04 Apr 2008 01:51:00 -0000	[thread overview]
Message-ID: <47F58896.7050905@cwilson.fastmail.fm> (raw)
In-Reply-To: <20080404003929.GB10912@ednor.casa.cgf.cx>

Christopher Faylor wrote:
> On Thu, Apr 03, 2008 at 06:01:37PM -0500, Charles Wilson wrote:
>> Yep. A few things off the top of my head:
>>
>> 1) the shells need to install both in /bin and /usr/bin. This is up to the 
>> individual maintainers when they build their -1.7 versions, but to take on 
>> super-duper important shell:
>> Or "tough. you want to run /bin/bash, ensure /usr/bin is in your PATH"
                               ^^^^              ^^^^^^^^
> 
> Yes. 

Geez. This was the really-just-a-joke-WJM response. Doing this will 
cause no END of trouble and lots of FAQs. It means I can't have a 
shortcut whose target is
   "C:/cygwin17/bin/bash -e somescript"
or even
   "cmd /k C:/cygwin17/bin/bash.exe -e somescript"
unless my environment settings (either system or personal) force 
/usr/bin into my PATH (otherwise /bin/bash can't find cygintl-8.dll and 
friends).

I also can't have
   "C:/cygwin17/usr/bin/bash -e somescript"
or even
   "cmd /k C:/cygwin17/usr/bin/bash.exe -e somescript"
unless my environment settings (either system or personal) force /bin 
into my PATH (otherwise /usr/bin/bash.exe can't find cygwin1.dll).

But I don't WANT cygwin stuff in either of those PATHs, because that 
makes life more difficult when I'm using eclipse with mingw (because 
eclipse defaults to cygwin if it is found in the PATH, grrr), or when 
I'm in "mingw-on-msys" mode.  So, I'm stuck with
   C:/cygwin/bin/run.exe -p /usr/bin:/bin [/usr]/bin/bash.exe -c somescript
(assuming run.exe is one of the lucky few that live in /bin) or
   somebatchfile.bat
where somebatchfile.bat sets the PATH then invokes the "real" script 
using C:\cygwin17\bin\bash.exe.

Ick.

OTOH, this is my existing XEmacs shortcut target:

C:\cygwin\bin\run.exe -p /usr/X11R6/bin:/usr/bin env.exe --unset=DISPLAY 
xemacs

uses run to set PATH (and hide the console), invokes env to make sure 
DISPLAY is not set -- and env then invokes xemacs. This ensures that I 
get the mswin GUI and not the X GUI (it's a relic of my company's 
Rational ClearCase installation policies, which set DISPLAY in the 
system environment where I don't have permissions to remove it).

I guess similar games can be played with other targets, using /bin/run 
and /bin/env. (so, run.exe and env.exe ought to be in /bin)

And besides, WJM.

> Making duplicate copies is asking for trouble.

But in the WJM option, you still have duplicate copies of bash.exe. It's 
just that (a) they are both identical (b) they both require dlls of 
which there are no duplicate copies, only /usr/bin versions.

I guess if (a) and (b) are big enough "plusses" to deal with the 
inevitable FAQs and list chatter driven by the "minus" above...

and the "minus" alluded to upthread: the idea that /bin should be 
populated by stuff that "just works" even if mounts are all screwed up 
and /usr/bin can't be found.  Under the WJM option, that goes out the 
window. If /usr/bin can't be found, bang. you're dead.

>> No, please don't...I like my /desktop mount...
> 
> You don't need fstab to do mounts.  It's always possible to add a mount
> to your .bashrc or something.  That's what you'd do on linux if you
> wanted similar functionality.

I guess. But in the linux case you need root permission to do a 'mount 
--bind' (which is as close to similar semantics as our "user mounts" as 
I can see). But happily on cygwin we don't need admin privs to create 
(user) mounts.

--
Chuck

  reply	other threads:[~2008-04-04  1:51 UTC|newest]

Thread overview: 132+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-02 12:36 Corinna Vinschen
2008-04-02 17:46 ` Corinna Vinschen
2008-04-02 23:01   ` Charles Wilson
2008-04-03  9:42     ` Corinna Vinschen
2008-04-03 13:56       ` Christopher Faylor
2008-04-03 14:20         ` Corinna Vinschen
2008-04-03 15:16           ` Igor Peshansky
2008-04-03 15:37             ` Corinna Vinschen
2008-04-03 15:39             ` Corinna Vinschen
2008-04-03 15:47               ` Corinna Vinschen
2008-04-03 23:13             ` Charles Wilson
2008-04-03 16:12           ` Christopher Faylor
2008-04-03 16:27             ` Corinna Vinschen
2008-04-03 17:00               ` Christopher Faylor
2008-04-03 17:12                 ` Corinna Vinschen
2008-04-03 23:06           ` Charles Wilson
2008-04-04  0:39             ` Christopher Faylor
2008-04-04  1:51               ` Charles Wilson [this message]
2008-04-03 23:21           ` Warren Young
2008-04-04  0:41             ` Christopher Faylor
2008-04-03 22:52         ` Charles Wilson
2008-04-04 12:22           ` Corinna Vinschen
2008-04-05 10:09             ` Corinna Vinschen
2008-04-05  6:17       ` Karl M
2008-04-04  0:50 ` Christopher Faylor
2008-04-04 12:16   ` Corinna Vinschen
2008-04-08 16:27     ` Corinna Vinschen
2008-04-08 17:27       ` Christopher Faylor
2008-04-08 17:40         ` Corinna Vinschen
2008-04-08 18:42           ` Christopher Faylor
2008-04-08 21:07             ` Corinna Vinschen
2008-04-08 21:18               ` Brian Dessent
2008-04-08 21:46                 ` Corinna Vinschen
2008-04-08 21:54                   ` Corinna Vinschen
2008-04-08 23:27                   ` Brian Dessent
2008-04-09  8:27                     ` Corinna Vinschen
2008-04-09 11:34                       ` Brian Dessent
2008-04-09 12:16                         ` Corinna Vinschen
2008-04-09 12:28                           ` Brian Dessent
2008-04-09 14:32                             ` Christopher Faylor
2008-04-09 16:28                               ` Corinna Vinschen
2008-04-11 15:13                                 ` Corinna Vinschen
2008-04-12  0:35                                   ` Brian Dessent
2008-04-12 11:36                                     ` Corinna Vinschen
2008-04-12 12:23                                       ` Corinna Vinschen
2008-04-12 12:43                                         ` Brian Dessent
2008-04-12 15:15                                           ` Corinna Vinschen
2008-04-12 17:43                                             ` Eric Blake
2008-04-12 23:00                                             ` Brian Dessent
2008-04-13  9:43                                               ` Corinna Vinschen
2008-04-13 19:35                                                 ` Christopher Faylor
2008-04-14  9:56                                                   ` Corinna Vinschen
2008-04-14 14:36                                                     ` Christopher Faylor
2008-04-15  3:00                                                       ` Brian Dessent
2008-04-15  8:55                                                         ` Corinna Vinschen
2008-04-15  9:09                                                           ` Corinna Vinschen
2008-04-15  9:24                                                             ` Brian Dessent
2008-04-15  9:31                                                               ` Corinna Vinschen
2008-04-15  9:35                                                                 ` Corinna Vinschen
2008-04-15 14:17                                                             ` Christopher Faylor
2008-04-15 15:44                                                               ` Corinna Vinschen
2008-04-15 16:16                                                                 ` Reini Urban
2008-04-15 17:59                                                                 ` Christopher Faylor
2008-04-15 18:39                                                                   ` Corinna Vinschen
2008-04-15 18:52                                                                     ` Lapo Luchini
2008-04-16  9:39                                                                       ` Corinna Vinschen
2008-04-16 16:25                                                                         ` Christopher Faylor
2008-04-20 15:45                                                                           ` Christopher Faylor
2008-04-20 18:47                                                                             ` Charles Wilson
2008-04-20 21:56                                                                               ` Christopher Faylor
2008-04-20 22:11                                                                                 ` Christopher Faylor
2008-04-20 22:44                                                                                   ` Charles Wilson
2008-04-20 22:55                                                                                     ` Christopher Faylor
2008-04-20 23:08                                                                                       ` Charles Wilson
2008-04-20 22:40                                                                                 ` Charles Wilson
2008-04-21  8:33                                                                             ` Corinna Vinschen
2008-04-21 20:34                                                                               ` Corinna Vinschen
2008-04-21 20:54                                                                                 ` Christopher Faylor
2008-04-15 18:58                                                                     ` Eric Blake
2008-04-16  2:25                                                                       ` Brian Dessent
2008-04-16  8:45                                                                         ` Corinna Vinschen
2008-04-21 14:04                                                                           ` Corinna Vinschen
2008-04-21 17:48                                                                             ` Corinna Vinschen
2008-04-21 20:15                                                                               ` Corinna Vinschen
2008-04-22  6:03                                                                                 ` Brian Dessent
2008-04-22  6:59                                                                                   ` Jörg Schaible
2008-04-22  8:26                                                                                     ` Brian Dessent
2008-04-22 11:12                                                                                       ` Corinna Vinschen
2008-04-22  8:48                                                                                   ` Corinna Vinschen
2008-04-22  9:46                                                                                     ` Brian Dessent
2008-04-22 10:57                                                                                       ` Corinna Vinschen
2008-04-22 11:07                                                                                         ` Brian Dessent
2008-04-22 14:44                                                                                           ` Pēteris Kļaviņš
2008-04-22 14:56                                                                                             ` Brian Dessent
2008-04-22 15:26                                                                                               ` Pēteris Kļaviņš
2008-04-22 15:39                                                                                                 ` Brian Dessent
2008-04-22 23:18                                                                                                   ` Pēteris Kļaviņš
2008-04-23  9:27                                                                                                     ` Brian Dessent
2008-04-23 20:09                                                                                                       ` Pēteris Kļaviņš
2008-04-22 15:38                                                                                           ` Corinna Vinschen
2008-04-14 23:24                                               ` Igor Peshansky
2008-04-15  3:08                                                 ` Brian Dessent
2008-04-15  8:59                                                 ` Corinna Vinschen
2008-04-12 12:24                                       ` Dr. Volker Zell
2008-04-12 12:32                                         ` Corinna Vinschen
2008-04-13  3:43                                   ` Christopher Faylor
2008-04-13  9:03                                     ` Corinna Vinschen
2008-04-13 19:47                                       ` Christopher Faylor
2008-04-13  4:44                                   ` Christopher Faylor
2008-04-13  9:05                                     ` Corinna Vinschen
2008-04-14  2:34                                       ` Christopher Faylor
2008-04-08 21:39               ` Christopher Faylor
2008-04-08 21:53                 ` Corinna Vinschen
2008-04-11 16:27 ` Andrew Schulman
2008-04-11 16:37   ` Corinna Vinschen
2008-07-24 22:41 ` Phil Nelson
2008-07-25  4:21   ` Christopher Faylor
2008-07-25  7:21   ` Corinna Vinschen
2008-07-25 13:56     ` Phil Nelson
2008-07-25 14:20       ` Corinna Vinschen
2008-04-06 14:35 klavins
2008-04-06 21:04 ` Christopher Faylor
2008-04-08 18:34 Charles Wilson
2008-04-08 18:43 ` Christopher Faylor
2008-04-08 21:09   ` Corinna Vinschen
2008-04-09 15:04 Charles Wilson
2008-04-09 16:02 ` Corinna Vinschen
2008-04-22 15:51 Charles Wilson
2008-04-22 16:01 ` Corinna Vinschen
2008-04-25 11:22   ` Corinna Vinschen
2008-04-22 16:08 ` Brian Dessent
2008-04-22 17:02   ` Charles Wilson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47F58896.7050905@cwilson.fastmail.fm \
    --to=cygwin@cwilson.fastmail.fm \
    --cc=cygwin-apps@cygwin.com \
    --cc=cygwin-developers@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).