This is the mail archive of the cygwin@cygwin.com 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: cygwin-ENV-Variable


On 5 Aug 2002, Robert Collins wrote:

> On Mon, 2002-08-05 at 12:39, Igor Pechtchanski wrote:
> > On Sun, 4 Aug 2002, Christopher Faylor wrote:
>
> > > The main reason this this is not documented is that there is no
> > > programmatic way to manipulate it and I am not comfortable with telling
> > > people how to edit the registry "by hand".
> > >
> > > However, if you are familiar with the registry, then setting this value
> > > should not be a big deal.
> > >  cgf
> >
> > What about regtool?  Or am I missing something?
>
> There is no abstracted way to manipulate it.
>
> i.e.:
> $ cygtweak --add-program-override --program=sshd --environment="foobar"
>
> regtool is the same as regedit from a user perspective.
>
> Rob

Robert,

Thanks for the explanation.  I've attached a cygtweak script ;-).  It
requires a patch to regtool (also attached), since the current version is
unable to create/modify values with '\\' in them.  Does it look
reasonable?
	Igor
P.S. cygtweak sounds wrong.  Feel free to rename it.
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

It took the computational power of three Commodore 64s to fly to the moon.
It takes a 486 to run Windows 95.  Something is wrong here. -- SC sig file

Attachment: cygtweak
Description: Text document

Attachment: regtool-custom-keysep-support.diff
Description: Text document

Attachment: regtool-custom-keysep-support.ChangeLog
Description: Text document

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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]