This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: AllVersions: Running Cygwin X w/ Registy Entries


* Igor Pechtchanski (2005-10-26 16:13 +0100)
> On Wed, 26 Oct 2005, Christopher Faylor wrote:
> 
>> On Wed, Oct 26, 2005 at 10:26:36AM +0100, Thorsten Kampe wrote:
>>>* gtg793x@XXXX.XXXXXX.XXX (2005-10-26 00:45 +0100)
>>>> Quoting Igor Pechtchanski <pechtcha@XX.XXX.XXX>:
>>>>> 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.
> 
> Yeah, what's with this "mount" thing, anyway?  I mean, it's got to be,
> like, at least 10 *KILOBYTES* (gasp)!  I don't have that kind of space on
> my flash drive!  And all this command-line scripting -- yuk, much better
> to use a GUI like regedit!

You can use regedit perfectly without a gui: regedit /s, regedit /e

> It's not like the mounts aren't currently in
> the registry, anyway...  Besides, importing a .reg file lets me bash right
> over the existing settings without a care in the world -- mount actually
> allows *saving* the current config, and who would want THAT?

Now guess what: regedit allows the same. Even with a single command
and without repeated mount commands.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]