RE: last package
Ok Chuck. Thanks for the demo. :o) I should have utmpdump wrapped up tomorrow, with a patch to cygutils. I'll also zip up my killall version to see if you want to include that. Mark -Original Message- From: Charles Wilson [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 17, 2002 1:55 AM To: [EMAIL PROTECTED] Subject: Re: last package Christopher Faylor wrote: I've just added you to the cygwin-apps group on sources.redhat.com: cvs -d :ext:sources.redhat.com:/cvs/cygwin-apps co . Feel free to add a cygutils directory. Okay -- I've added it and imported v0.9.7. Also, I've added Mark's last implementation and the supporting autotools changes so that last builds within cygutils. There is a licensing problem with Mark's changes to utmpdump so we're still waiting on that and his killall implementation. Mark -- to see the diff, do the following: $ export CVSROOT=:pserver:[EMAIL PROTECTED]:/cvs/cygwin-apps $ cvs login (Logging in to [EMAIL PROTECTED]) CVS password: anoncvs $ cvs co cygutils $ cd cygutils $ cvs diff -r v0_9_7 my_patch Warning: Remote host denied X11 forwarding. cvs server: Diffing . cvs server: tag v0_9_7 is not in file bootstrap cvs server: Diffing licenses cvs server: Diffing src-bsd cvs server: Diffing src-gpl cvs server: tag v0_9_7 is not in file src-gpl/last.1 cvs server: tag v0_9_7 is not in file src-gpl/last.c cvs server: tag v0_9_7 is not in file src-gpl/lastb.1 cvs server: tag v0_9_7 is not in file src-gpl/oldutmp.h cvs server: Diffing src-pd Translation: I added the last.1, lastb.1, last.c and oldutmp.h files to the src-gpl subdirectory. I made additional changes to: AUTHORS (added Mark) ChangeLog (always a good idea...) PROGLIST (added last) README (mentioned last) src/Makefile.am ( This is the biggie ) src/Makefile.in (running bootstrap regenerates this based on the Makefile.am changes) That's the kind of thing that I'd expect as a large add a new program to cygutils patch. --Chuck
RE: last package
Charles, When you get back to reading the list, I'm ready to include last, utmpdump, and killall (working without /proc!) in cygutils. Drop me a line... Mark -Original Message- From: Corinna Vinschen [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 16, 2002 4:11 AM To: '[EMAIL PROTECTED]' Subject: Re: last package On Tue, Jan 15, 2002 at 10:06:08PM -0500, Mark Bradshaw wrote: Charles: OK. Scratch killall. I didn't realize it used /proc. :o( Anyway, what do you want for last and utmpdump. Anyone else: Is there anyone currently working on a /proc filesystem, or have plans that direction? Oooh... big job... pretty beeg job... Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:[EMAIL PROTECTED] Red Hat, Inc.
Re: last package
Christopher Faylor wrote: I've just added you to the cygwin-apps group on sources.redhat.com: cvs -d :ext:sources.redhat.com:/cvs/cygwin-apps co . Feel free to add a cygutils directory. Okay -- I've added it and imported v0.9.7. Also, I've added Mark's last implementation and the supporting autotools changes so that last builds within cygutils. There is a licensing problem with Mark's changes to utmpdump so we're still waiting on that and his killall implementation. Mark -- to see the diff, do the following: $ export CVSROOT=:pserver:[EMAIL PROTECTED]:/cvs/cygwin-apps $ cvs login (Logging in to [EMAIL PROTECTED]) CVS password: anoncvs $ cvs co cygutils $ cd cygutils $ cvs diff -r v0_9_7 my_patch Warning: Remote host denied X11 forwarding. cvs server: Diffing . cvs server: tag v0_9_7 is not in file bootstrap cvs server: Diffing licenses cvs server: Diffing src-bsd cvs server: Diffing src-gpl cvs server: tag v0_9_7 is not in file src-gpl/last.1 cvs server: tag v0_9_7 is not in file src-gpl/last.c cvs server: tag v0_9_7 is not in file src-gpl/lastb.1 cvs server: tag v0_9_7 is not in file src-gpl/oldutmp.h cvs server: Diffing src-pd Translation: I added the last.1, lastb.1, last.c and oldutmp.h files to the src-gpl subdirectory. I made additional changes to: AUTHORS (added Mark) ChangeLog (always a good idea...) PROGLIST (added last) README (mentioned last) src/Makefile.am ( This is the biggie ) src/Makefile.in (running bootstrap regenerates this based on the Makefile.am changes) That's the kind of thing that I'd expect as a large add a new program to cygutils patch. --Chuck
RE: last package
Great. Now I have a question. Last is a part of the sysvinit package. What's the policy on doing a package on only a portion of someone else's package? Technically it's no problem... -Original Message- From: Robert Collins [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 15, 2002 9:06 AM To: Mark Bradshaw; [EMAIL PROTECTED] Subject: Re: last package Sounds good. Rob === - Original Message - From: Mark Bradshaw [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 16, 2002 12:53 AM Subject: last package Any interest in a ported version of last for cygwin? I find it useful when some sort of remote shell program is run on cygwin (i.e. openssh). Mark
Re: last package
On Wed, Jan 16, 2002 at 01:08:50AM +1100, Robert Collins wrote: - Original Message - From: Mark Bradshaw [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 16, 2002 1:08 AM Subject: RE: last package Great. Now I have a question. Last is a part of the sysvinit package. What's the policy on doing a package on only a portion of someone else's package? Technically it's no problem... Yep, no problem. Yep, just rip it out and make your own nice package from it. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developermailto:[EMAIL PROTECTED] Red Hat, Inc.
RE: last package
Cool. I'm not too sure which category is appropriate. I thought possibly either Base or Utils. sdesc: last ldesc: This utility searches through historical information kept in /var/log/wtmp to determine who logged in, where they came from, when they logged in, and how long they stayed. category: Base requires: cygwin -Original Message- From: Robert Collins [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 15, 2002 9:09 AM To: Mark Bradshaw; [EMAIL PROTECTED] Subject: Re: last package - Original Message - From: Mark Bradshaw [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 16, 2002 1:08 AM Subject: RE: last package Great. Now I have a question. Last is a part of the sysvinit package. What's the policy on doing a package on only a portion of someone else's package? Technically it's no problem... Yep, no problem. Rob
RE: last package
I'll take a look at it. -Original Message- From: Corinna Vinschen [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 15, 2002 9:18 AM To: [EMAIL PROTECTED] Subject: Re: last package On Tue, Jan 15, 2002 at 03:11:45PM +0100, Corinna Vinschen wrote: On Wed, Jan 16, 2002 at 01:08:50AM +1100, Robert Collins wrote: - Original Message - From: Mark Bradshaw [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 16, 2002 1:08 AM Subject: RE: last package Great. Now I have a question. Last is a part of the sysvinit package. What's the policy on doing a package on only a portion of someone else's package? Technically it's no problem... Yep, no problem. Yep, just rip it out and make your own nice package from it. Btw., while you're at it, what about utmpdump? Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:[EMAIL PROTECTED] Red Hat, Inc.
Re: last package
=== - Original Message - From: Earnie Boyd [EMAIL PROTECTED] To: Robert Collins [EMAIL PROTECTED] Cc: Mark Bradshaw [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, January 16, 2002 1:12 AM Subject: Re: last package Robert Collins wrote: - Original Message - From: Mark Bradshaw [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 16, 2002 1:08 AM Subject: RE: last package Great. Now I have a question. Last is a part of the sysvinit package. What's the policy on doing a package on only a portion of someone else's package? Technically it's no problem... Yep, no problem. In other words, you're setting precedent and creating policy. I guess so. Policy that is (Although it's not my domain), as for precedent - that already exists. Rob
RE: last package
Takes lots of shoe-horning, but it can be done. -Original Message- From: Mark Bradshaw Sent: Tuesday, January 15, 2002 9:18 AM To: '[EMAIL PROTECTED]' Subject: RE: last package I'll take a look at it. -Original Message- From: Corinna Vinschen [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 15, 2002 9:18 AM To: [EMAIL PROTECTED] Subject: Re: last package On Tue, Jan 15, 2002 at 03:11:45PM +0100, Corinna Vinschen wrote: On Wed, Jan 16, 2002 at 01:08:50AM +1100, Robert Collins wrote: - Original Message - From: Mark Bradshaw [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 16, 2002 1:08 AM Subject: RE: last package Great. Now I have a question. Last is a part of the sysvinit package. What's the policy on doing a package on only a portion of someone else's package? Technically it's no problem... Yep, no problem. Yep, just rip it out and make your own nice package from it. Btw., while you're at it, what about utmpdump? Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:[EMAIL PROTECTED] Red Hat, Inc.
Re: last package
On Tue, Jan 15, 2002 at 10:29:43AM -0500, Mark Bradshaw wrote: Takes lots of shoe-horning, but it can be done. It doesn't matter. If you don't like to port it, just forget it. I just thought it would be a good idea to borrow utmpdump from sysvinit as well. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developermailto:[EMAIL PROTECTED] Red Hat, Inc.
RE: last package
I don't mind. It's already done, actually. Now I'm eyeing up their version of killall too. Mark -Original Message- From: Corinna Vinschen [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 15, 2002 12:47 PM To: '[EMAIL PROTECTED]' Subject: Re: last package On Tue, Jan 15, 2002 at 10:29:43AM -0500, Mark Bradshaw wrote: Takes lots of shoe-horning, but it can be done. It doesn't matter. If you don't like to port it, just forget it. I just thought it would be a good idea to borrow utmpdump from sysvinit as well. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:[EMAIL PROTECTED] Red Hat, Inc.
Re: last package
How big are they? If they are only a single .c file each (killall.c, utmpdump.c, last.c) then they are candidates for addition to the cygutils package, if you'd prefer./. One of these days I'll get around to creating a sourceware-based CVS tree for cygutils...Chris, how do I do that? --Chuck Mark Bradshaw wrote: I don't mind. It's already done, actually. Now I'm eyeing up their version of killall too. Mark -Original Message- From: Corinna Vinschen [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 15, 2002 12:47 PM To: '[EMAIL PROTECTED]' Subject: Re: last package On Tue, Jan 15, 2002 at 10:29:43AM -0500, Mark Bradshaw wrote: Takes lots of shoe-horning, but it can be done. It doesn't matter. If you don't like to port it, just forget it. I just thought it would be a good idea to borrow utmpdump from sysvinit as well. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:[EMAIL PROTECTED] Red Hat, Inc.
Re: last package
On Tue, Jan 15, 2002 at 02:10:29PM -0500, Charles Wilson wrote: How big are they? If they are only a single .c file each (killall.c, utmpdump.c, last.c) then they are candidates for addition to the cygutils package, if you'd prefer./. One of these days I'll get around to creating a sourceware-based CVS tree for cygutils...Chris, how do I do that? I've just added you to the cygwin-apps group on sources.redhat.com: cvs -d :ext:sources.redhat.com:/cvs/cygwin-apps co . Feel free to add a cygutils directory. cgf
Re: last package
Mark Bradshaw wrote: Very small. All source combined is 33KB. Executables are 23.5KB. This is just last and utmpdump. You want 'em? Dunno yet. I'm not really concerned about # kilobytes. My rule for cygutils is one .c file per application -- I want to limit cygutils to very simple, small apps. (I'm assuming that nobody would try to put the entire source code to MSWord into a single .c file). Take a look at the current cygutils -src archive and tell me what you think --Chuck
RE: last package
Charles: OK. Scratch killall. I didn't realize it used /proc. :o( Anyway, what do you want for last and utmpdump. Anyone else: Is there anyone currently working on a /proc filesystem, or have plans that direction? Mark -Original Message- From: Mark Bradshaw Sent: Tuesday, January 15, 2002 3:01 PM To: '[EMAIL PROTECTED]' Subject: RE: last package I think they would fit there just fine. All three of them (will be finished with killall soon). What do you need from me? Mark