From noreply at rubyforge.org Wed Oct 12 10:23:29 2005 From: noreply at rubyforge.org (noreply@rubyforge.org) Date: Wed, 12 Oct 2005 10:23:29 -0400 Subject: [Win32utils-devel] [ win32utils-Support Requests-2614 ] warning: redefining constant Struct::Win32ServiceStatus Message-ID: <200510121423.j9CENTIf028452@rubyforge.org> Support Requests item #2614, was opened at 2005-10-12 10:23 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=412&aid=2614&group_id=85 Category: win32-service Group: None Status: Open Resolution: None Priority: 3 Submitted By: Scott Harper (sharperct) Assigned to: Nobody (None) Summary: warning: redefining constant Struct::Win32ServiceStatus Initial Comment: Can these redefining constant warnings be suppressed? irb(main):001:0> require "win32/service" => true irb(main):002:0> ['Alerter','Apache2'].each { |s| puts Win32::Service.status(s).current_state } stopped (irb):2: warning: redefining constant Struct::Win32ServiceStatus running ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=412&aid=2614&group_id=85 From noreply at rubyforge.org Fri Oct 14 21:03:02 2005 From: noreply at rubyforge.org (noreply@rubyforge.org) Date: Fri, 14 Oct 2005 18:03:02 -0700 Subject: [Win32utils-devel] [ win32utils-Support Requests-2614 ] warning: redefining constant Struct::Win32ServiceStatus Message-ID: <200510150103.j9F132YK028594@rubyforge.org> Support Requests item #2614, was opened at 2005-10-12 07:23 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=412&aid=2614&group_id=85 Category: win32-service Group: None >Status: Closed >Resolution: Out of Date >Priority: 1 Submitted By: Scott Harper (sharperct) >Assigned to: Daniel Berger (djberg96) Summary: warning: redefining constant Struct::Win32ServiceStatus Initial Comment: Can these redefining constant warnings be suppressed? irb(main):001:0> require "win32/service" => true irb(main):002:0> ['Alerter','Apache2'].each { |s| puts Win32::Service.status(s).current_state } stopped (irb):2: warning: redefining constant Struct::Win32ServiceStatus running ---------------------------------------------------------------------- >Comment By: Daniel Berger (djberg96) Date: 2005-10-14 18:03 Message: This was fixed in win32/service 0.4.5: irb(main):009:0> ["Alerter", "ClipSrv"].each{ |s| p Service.status(s).current_state } "stopped" "stopped" => ["Alerter", "ClipSrv"] Regards, Dan ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=412&aid=2614&group_id=85 From zdennis at mktec.com Wed Oct 19 09:11:39 2005 From: zdennis at mktec.com (Zach Dennis) Date: Wed, 19 Oct 2005 09:11:39 -0400 Subject: [Win32utils-devel] rubygems In-Reply-To: <39AA6550E5AA554AB1456707D6E5563DBCFC5A@QTOMAE2K3M01.AD.QINTRA.COM> References: <39AA6550E5AA554AB1456707D6E5563DBCFC5A@QTOMAE2K3M01.AD.QINTRA.COM> Message-ID: <4356460B.3060801@mktec.com> Dan, What are your thoughts on packaging of all the wonderfully collected win32 tools as gems? Even if someone else the packaging? I am thinking of potentially having this be a learning experience for some new guys at work =) Zach From Daniel.Berger at qwest.com Wed Oct 19 11:08:55 2005 From: Daniel.Berger at qwest.com (Berger, Daniel) Date: Wed, 19 Oct 2005 10:08:55 -0500 Subject: [Win32utils-devel] rubygems Message-ID: <39AA6550E5AA554AB1456707D6E5563DBCFCBF@QTOMAE2K3M01.AD.QINTRA.COM> > -----Original Message----- > From: win32utils-devel-bounces at rubyforge.org > [mailto:win32utils-devel-bounces at rubyforge.org] On Behalf Of > Zach Dennis > Sent: Wednesday, October 19, 2005 7:12 AM > To: Development and ideas for win32utils projects > Subject: [Win32utils-devel] rubygems > > > Dan, > > What are your thoughts on packaging of all the wonderfully collected > win32 tools as gems? > > Even if someone else the packaging? I am thinking of > potentially having > this be a learning experience for some new guys at work =) > > Zach Hi Zach, The problem is that there's a bug in gems with regards to C extensions, module/class style hierarchies, and the $LOAD_PATH. I confirmed this with Chad Fowler at RubyConf 2005. So, until that bug is fixed, I don't want to create any gems. This is not specific to Windows, either. One of my post-RubyConf goals is to fix this bug. :) Regards, Dan From djberg96 at gmail.com Thu Oct 20 06:25:36 2005 From: djberg96 at gmail.com (Daniel Berger) Date: Thu, 20 Oct 2005 04:25:36 -0600 Subject: [Win32utils-devel] Forwarded question about telnet and environment Message-ID: <435770A0.1010503@gmail.com> Hi all, I've forwarded the following question from Steve Tuckner. Any ideas? From Steve - "I found this open source telnet server that I modified for my own purposes to run programs through telnet and display them in my own ruby console. It works pretty well, but I don't get my environment (I only get the system environment). The call used to run processes is: CreateProcessAsUser(). The telnet server runs as a service and so when I call GetEnvironmentStrings() I don't think I get my user's local environment variables. Do you know how to get the whole environment for a user?" From ntalbott at gmail.com Wed Oct 26 09:39:45 2005 From: ntalbott at gmail.com (Nathaniel Talbott) Date: Wed, 26 Oct 2005 09:39:45 -0400 Subject: [Win32utils-devel] PATCH: win32-open3 and ruby 1.8.3 compatibility Message-ID: I've attached the patch I had to make to get open3 to work under 1.8.3. It doesn't take backwards compatibility in to account, so that'll probably have to be addressed. Thanks, -- Nathaniel Talbott <:((>< -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: win32-open3-0.2.0.txt Url: http://rubyforge.org/pipermail/win32utils-devel/attachments/20051026/2c69ec3b/win32-open3-0.2.0.txt From Daniel.Berger at qwest.com Wed Oct 26 12:35:36 2005 From: Daniel.Berger at qwest.com (Berger, Daniel) Date: Wed, 26 Oct 2005 11:35:36 -0500 Subject: [Win32utils-devel] PATCH: win32-open3 and ruby 1.8.3 compatibility Message-ID: <39AA6550E5AA554AB1456707D6E5563DBCFCEE@QTOMAE2K3M01.AD.QINTRA.COM> > -----Original Message----- > From: win32utils-devel-bounces at rubyforge.org > [mailto:win32utils-devel-bounces at rubyforge.org] On Behalf Of > Nathaniel Talbott > Sent: Wednesday, October 26, 2005 7:40 AM > To: Development and ideas for win32utils projects > Subject: [Win32utils-devel] PATCH: win32-open3 and ruby 1.8.3 > compatibility > > > I've attached the patch I had to make to get open3 to work > under 1.8.3. It doesn't take backwards compatibility in to > account, so that'll probably have to be addressed. Thanks Nathaniel. I'm curious why they felt compelled to add an rb_pid_t data type. I suppose we'll have to do some preprocessor checks in the extconf.rb file now, or create our own macro to deal with it. Regards, Dan From ntalbott at gmail.com Wed Oct 26 17:41:13 2005 From: ntalbott at gmail.com (Nathaniel Talbott) Date: Wed, 26 Oct 2005 17:41:13 -0400 Subject: [Win32utils-devel] PATCH: win32-open3 and ruby 1.8.3 compatibility In-Reply-To: <39AA6550E5AA554AB1456707D6E5563DBCFCEE@QTOMAE2K3M01.AD.QINTRA.COM> References: <39AA6550E5AA554AB1456707D6E5563DBCFCEE@QTOMAE2K3M01.AD.QINTRA.COM> Message-ID: On 10/26/05, Berger, Daniel wrote: > Thanks Nathaniel. I'm curious why they felt compelled to add an > rb_pid_t data type. I suppose we'll have to do some preprocessor checks > in the extconf.rb file now, or create our own macro to deal with it. I think there were discussions on ruby-core about it a while back, related to compatibility with other libraries, particularly (at the time) subversion. I don't totally understand what the deal was, though, and didn't follow it too close. Thanks, -- Nathaniel Talbott <:((>< From djberg96 at gmail.com Wed Oct 26 23:45:54 2005 From: djberg96 at gmail.com (Daniel Berger) Date: Wed, 26 Oct 2005 21:45:54 -0600 Subject: [Win32utils-devel] PATCH: win32-open3 and ruby 1.8.3 compatibility In-Reply-To: References: <39AA6550E5AA554AB1456707D6E5563DBCFCEE@QTOMAE2K3M01.AD.QINTRA.COM> Message-ID: <43604D72.5050609@gmail.com> Nathaniel Talbott wrote: >On 10/26/05, Berger, Daniel wrote: > > > >>Thanks Nathaniel. I'm curious why they felt compelled to add an >>rb_pid_t data type. I suppose we'll have to do some preprocessor checks >>in the extconf.rb file now, or create our own macro to deal with it. >> >> > >I think there were discussions on ruby-core about it a while back, >related to compatibility with other libraries, particularly (at the >time) subversion. I don't totally understand what the deal was, >though, and didn't follow it too close. > >Thanks, > > >-- >Nathaniel Talbott > ><:((>< > >_______________________________________________ >win32utils-devel mailing list >win32utils-devel at rubyforge.org >http://rubyforge.org/mailman/listinfo/win32utils-devel > > > It looks like we can use "have_type('rb_pid_t', 'ruby.h')" in extconf.rb. And when I say "we", I mean all extension writers, everywhere. What a pain. I'll make the changes and get a release out this week. Thanks again for the report. - Dan From djberg96 at gmail.com Thu Oct 27 02:20:02 2005 From: djberg96 at gmail.com (Daniel Berger) Date: Thu, 27 Oct 2005 00:20:02 -0600 Subject: [Win32utils-devel] PATCH: win32-open3 and ruby 1.8.3 compatibility In-Reply-To: References: <39AA6550E5AA554AB1456707D6E5563DBCFCEE@QTOMAE2K3M01.AD.QINTRA.COM> Message-ID: <43607192.7070200@gmail.com> Nathaniel Talbott wrote: >On 10/26/05, Berger, Daniel wrote: > > > >>Thanks Nathaniel. I'm curious why they felt compelled to add an >>rb_pid_t data type. I suppose we'll have to do some preprocessor checks >>in the extconf.rb file now, or create our own macro to deal with it. >> >> > >I think there were discussions on ruby-core about it a while back, >related to compatibility with other libraries, particularly (at the >time) subversion. I don't totally understand what the deal was, >though, and didn't follow it too close. > >Thanks, > > >-- >Nathaniel Talbott > ><:((>< > >_______________________________________________ >win32utils-devel mailing list >win32utils-devel at rubyforge.org >http://rubyforge.org/mailman/listinfo/win32utils-devel > > > Ok, fixed and released. Now on the RAA. Regards, Dan