Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
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
Date: Wed, 26 Oct 2005 12:40:42 -0400
From: Christopher Faylor <cgf-no-personal-reply-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: AllVersions: Running Cygwin X w/ Registy Entries
Message-ID: <20051026164042.GA6062@trixie.casa.cgf.cx>
Reply-To: cygwin@cygwin.com
References: <1130262948.435e71a4abd76@webmail.mail.gatech.edu> <Pine.GSO.4.63.0510251414040.29082@slinky.cs.nyu.edu> <1130283941.435ec3a5672f2@webmail.mail.gatech.edu> <4kmnzwxkibr0.1rd655owgqdi6$.dlg@40tude.net> <20051026143731.GA1936@trixie.casa.cgf.cx> <1g329hewnak2$.1knc01godo1ld.dlg@40tude.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <1g329hewnak2$.1knc01godo1ld.dlg@40tude.net>
User-Agent: Mutt/1.5.8i

On Wed, Oct 26, 2005 at 05:16:56PM +0100, Thorsten Kampe wrote:
>* Christopher Faylor (2005-10-26 15:37 +0100)
>> On Wed, Oct 26, 2005 at 10:26:36AM +0100, Thorsten Kampe wrote:
>>>* gtg793x@mail.gatech.edu (2005-10-26 00:45 +0100)
>>>> Quoting Igor Pechtchanski <pechtcha@cs.nyu.edu>:
>>>>> See "man mount".  Please, please, please don't manipulate the registry
>>>>> directly if you want to stay portable.  You can easily create a batch file
>>>>> to reproduce the mounts properly.
>>>>> ...
>>>>> "User mounts" is the answer.  The CURRENT_USER tree is usually writable.
>>>>> Make sure you don't write over the existing settings if they are present.
>>>> 
>>>> Current XP computers I am trying to run this into give me: "Registry Editing has
>>>> been Disabled by your administrator." even if I try to write to Current_User
>>>> 
>>>> All I am trying to keep portable is the X server thus XWIN.exe is the only
>>>> executable I have, the only one I execute. After running the X server as the
>>>> background server I am tunneling the packets using Putty / Securecrt.
>>>
>>>Try "regedit /s" in a batch (instead of double clicking). This
>>>sometimes works.
>> 
>> Or, I dunno, if that works, you could just use "mount" and forget about
>> regedit entirely.
>> 
>> It's a crazy idea, I know.  I wonder why no one has thought of it before.
>
>*I* didn't know about it (because I was under the impression that all
>cygwin programs depend on the mount tables).

http://cygwin.com/ml/cygwin/2005-10/msg00855.html
http://cygwin.com/ml/cygwin/2005-10/msg00863.html

...but yet you still keep going.

>Well, obviously there are a few that don't (mount, cygcheck, ash (?),
>etc.?)

All cygwin programs rely on the mount table.

>And I think it's easier to just import a reg file than dealing with
>multiple mount commands...

I assume that you'll be quite surprised, if/when we either do away with
the registry or change the format.

cgf

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

