Re: /var/log/wtmp problem

2005-09-12 Thread René Berber
Jurgen Defurne wrote:
> Hello,
> 
> Can someone explain for what /var/log/wtmp is used ?
> 
> It seems that this file grows very quickly in our Cygwin environment, and 
> I
> want to find out which programs write to this file. /var/log/wtmp gets
> an update almost every two seconds here.
> 
> We do not use very much programs, I think this covers the complete
> list :
> - screen (no reference to wtmp found in info)
> - bash (standard shell)
> - Perl (background programs/ exec ?)
> - ssh
> - rxvt
> - watch

You can find some info about it in man last:

NAME
   last, lastb - show listing of last logged in users

SYNOPSIS
   last [-R] [-num] [ -n num ] [-adiox] [ -f file ] [name...]  [tty...]
   lastb [-R] [-num] [ -n num ] [ -f file ] [-adiox] [name...]  [tty...]

DESCRIPTION
   Last  searches  back through the file /var/log/wtmp (or the file desig-
   nated by the -f flag) and displays a list of all users logged  in  (and
   out)  since  that  file  was  created.  Names of users and tty's can be
   given, in which case last will show only  those  entries  matching  the
   arguments.   Names  of ttys can be abbreviated, thus last 0 is the same
   as last tty0.
...

If your wtmp is growing that much you have a problem I haven't seen, take a look
at the output of "last | head" .

HTH
-- 
René Berber


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



[ANNOUNCEMENT] New packages: bzr 0.0.7 -- Next-generation distributed GNU Arch compatible version control.

2005-09-12 Thread Jari Aalto

PACKAGE DESCRIPTION
===

Home page: http://freshmeat.net/projects/bzr/
License  : GPL

Next-generation distributed GNU Arch compatible version control.

Distributed version control system that is powerful, friendly, and
scalable implemented in Python.

- Just one .bzr directory at the top of the tree; it doesn't clutter
  the tree or get in your face. No wierd ++file--names--0.
- The user interface is simple and familiar to people with experience
  from CVS or Subversion: add, mv, diff, status, commit, log, merge, etc
  all do what you would expect.
- Offers a choice between centralized and decentralized work within a
  single project: when in the office, you can work on a shared central
  branch. For experimental changes or offline work you can make a branch
  on your laptop and merge back in later.
- Preserves history; any previous revision can be recreated. History
  can be GPG-signed to protect against man-in-the-middle attacks, bad
  mirrors, server intrusion or data corruption.

INSTALL OR UPGRADE NOTES


None.

CYGWIN INSTALLATION INFORMATION
===

To install this package, click on the "Install Cygwin now" link on the
 web page. This downloads setup.exe to your
system. Then, run setup and answer all of the questions. You'll find
the package listed in the "All" category. After installation, read the
documentation at directories:

/usr/share/doc//*
/usr/share/doc/Cygwin/.README

If you have questions or comments, please send them to the Cygwin
mailing list at .

CYGWIN-ANNOUNCE UNSUBSCRIBE INFO


This message has been sent to cygwin-announce list.

If you want to unsubscribe from the mailing list, look at the
"List-Unsubscribe: " tag in the email header of this message. Send
email to the address specified there. It will be in the format:

[EMAIL PROTECTED]

More information on unsubscribing can be found:

http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at the above URL.


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



Re: /var/log/wtmp problem

2005-09-12 Thread Jurgen Defurne
Do you happen to know from which package 'last' is part ?

I will need to build this program myself, because I am unable
to upgrade my Cygwin environment and install the package
(due to operational constraints).

Thanks for the info,

Jurgen.









René Berber <[EMAIL PROTECTED]> 
Sent by:
[EMAIL PROTECTED]
2005-09-12 09:15 AM

To
cygwin@cygwin.com
cc

Subject
Re: /var/log/wtmp problem
Classification







Jurgen Defurne wrote:
> Hello,
> 
> Can someone explain for what /var/log/wtmp is used ?
> 
> It seems that this file grows very quickly in our Cygwin environment, 
and 
> I
> want to find out which programs write to this file. /var/log/wtmp gets
> an update almost every two seconds here.
> 
> We do not use very much programs, I think this covers the complete
> list :
> - screen (no reference to wtmp found in info)
> - bash (standard shell)
> - Perl (background programs/ exec ?)
> - ssh
> - rxvt
> - watch

You can find some info about it in man last:

NAME
   last, lastb - show listing of last logged in users

SYNOPSIS
   last [-R] [-num] [ -n num ] [-adiox] [ -f file ] [name...] [tty...]
   lastb [-R] [-num] [ -n num ] [ -f file ] [-adiox] [name...] 
[tty...]

DESCRIPTION
   Last  searches  back through the file /var/log/wtmp (or the file 
desig-
   nated by the -f flag) and displays a list of all users logged  in 
(and
   out)  since  that  file  was  created.  Names of users and tty's 
can be
   given, in which case last will show only  those  entries  matching 
the
   arguments.   Names  of ttys can be abbreviated, thus last 0 is the 
same
   as last tty0.
...

If your wtmp is growing that much you have a problem I haven't seen, take 
a look
at the output of "last | head" .

HTH
-- 
René Berber


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




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



reponse automatique

2005-09-12 Thread lafourmi
Cher(s) client(e) 
Nous ne gérons pas les messages envoyés sur cette adresse, comme sur l'ensemble 
des adresses aux travers desquelles nous vous adressons nos différents messages.

Vous cherchez à joindre notre service client ?
Rien de plus facile, afin d'optimiser le traitement de vos demandes et pour 
répondre à vos attentes, plusieurs points de contact et d'accueil sont à votre 
disposition. 

Depuis votre Service clients en ligne :  
Accessible 24 h/24 h depuis la home page de http://www.cdiscount.com ou à 
l'adresse http://clients.cdiscount.com/, 
Pour tout savoir sur les délais, la garantie, la livraison, le SAV, nos 
FAQ...Pour accéder à vos pages personnalisées et sécurisées, entrez votre 
e-mail et votre mot de passe. 
Sur ces pages vous pouvez consulter le suivi de vos commandes, questionner 
notre service clients, consulter  nos réponses. 
 
Par téléphone :
0 899 709 876
Service payant : 1 euro 35 l'appel puis 0,34euro la min
Du Lundi au Vendredi : 8h30-21h
Le Samedi : 8h-18h
Le Dimanche : 10h-18h
 
Par Courrier :
Service Clients
BP 90200
93472 Neuilly Sur Marne

---Message Original-
important!


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



Re: /var/log/wtmp problem

2005-09-12 Thread Corinna Vinschen
On Sep 12 10:13, Jurgen Defurne wrote:
> Do you happen to know from which package 'last' is part ?

http://cygwin.com/cgi-bin2/package-grep.cgi?grep=last.exe


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat, Inc.

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



Re: Python 2.4.1 locking bug. (was: Re: rebaseall failure?)

2005-09-12 Thread Jason Tishler
Doug,

On Thu, Jul 28, 2005 at 11:51:00PM -0400, Douglas Philips wrote:
> On Jul 28, 2005, at 6:02 PM, Williams, Gerald S (Jerry) wrote:
> >On the other hand, I verified at the time that the semaphore solution
> >worked under Cygwin Python, so I wouldn't expect it to be a problem
> >even if the change just took place. However, it could potentially
> >help in isolating the problem.
> 
> Thanks, I'm interested too, but I won't be looking at it personally
> until I've produced (or failed to) an even simpler test case...

If you are willing to build from source, then I have a workaround:

$ # save attached patch to /tmp/pyconfig.h.diff
$ # change directory to top of Python 2.4.1 source tree
$ configure
$ patch http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6
--- pyconfig.h.orig 2005-09-12 08:10:00.428993600 -0400
+++ pyconfig.h  2005-09-12 08:22:05.733191000 -0400
@@ -54,7 +54,7 @@
 /* #undef HAVE_BROKEN_POLL */
 
 /* Define if the Posix semaphores do not work on your system */
-/* #undef HAVE_BROKEN_POSIX_SEMAPHORES */
+#define HAVE_BROKEN_POSIX_SEMAPHORES 1
 
 /* Define if pthread_sigmask() does not work on your system. */
 #define HAVE_BROKEN_PTHREAD_SIGMASK 1

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

postgres 7.4.5 access violation

2005-09-12 Thread Christopher Hunt

Hi there,

I'm really hoping that someone can help with this one, as I've been  
battling with it for a few hours now.


I'm getting an access violation when running postmaster. I've done an  
initdb and all is well there.


I've got the latest of all that I need to run postgres as of 12.Sep. 
2005. I've also tried going back a release both of the cygwin base  
and of postgres. Same result.


Here's my stack dump:

Exception: STATUS_ACCESS_VIOLATION at eip=610028AA
eax= ebx=61258E68 ecx=0006 edx=01A8 esi=01A8  
edi=61259000
ebp=0022E948 esp=0022E910 program=F:\cygwin\bin\postgres.exe, pid  
2928, thread main

cs=001B ds=0023 es=0023 fs=003B gs= ss=0023
Stack trace:
Frame Function  Args
0022E948  610028AA  (, 61258C68, 0022E978, 6101F5E8)
0022E978  6101171C  (61156498, 61258C68, 0022E9C8, 61010F4E)
0022E9A8  61011CED  (61154A78, 61156458, 611D7FA0, 61154A78)
0022E9E8  61011E38  (61154A78, , 07B8, 2000)
0022EA28  6108E3FD  (, 2000, 0022EA68, 100166CC)
0022EA58  610844FF  (0022EA78, 0022EA7C, 0022EA88, 0053F2C3)
0022EA88  0055945A  (1538, , 1538, 100165F8)
0022EEE8  0053D258  (0003, 100101B0, 0022EF18, 61087959)
0022EF18  00506FFD  (0003, 611576A0, 10010090, 7C919AF0)
0022EFD8  61004DD2  (0022EFF0, , , )
0022FF88  6100594F  (, , , )
End of stack trace

Thanks in advance for any help and guidance.

Kind regards,
Christopher

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



guile package problem

2005-09-12 Thread Eric Blake
Since I am now the sharutils maintainer, I wanted to try building
sharutils from CVS.  But bootstrapping a fresh checkout requires
autogen, so I gave a try at compiling autogen-5.7.2.  Compilation
failed because guile-1.6.7-1 has a broken /usr/lib/libguile.la,
generated by libtool 1.5.10 (it references cygguile.dll.a instead
of libguile.dll.a, and has a dependency on
/home/mingw/cygwin/root/usr/lib/libguile-ltdl.la, which does not
exist).  Now that libtool 1.5.20 is available, can guile be repackaged
to use the newer libtool and fix the packaging bug?

--
Eric Blake

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



Re: /var/log/wtmp problem

2005-09-12 Thread René Berber
Jurgen Defurne wrote:
> Do you happen to know from which package 'last' is part ?
> 
> I will need to build this program myself, because I am unable
> to upgrade my Cygwin environment and install the package
> (due to operational constraints).
> 
> Thanks for the info,

Like Corinna wrote or (if you happen to know where is installed) :

$ cygcheck -f /usr/bin/last
sysvinit-2.84-4

-- 
René Berber


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



Re: rm problem: Directory not empty

2005-09-12 Thread Larry Hall
At 11:29 AM 9/12/2005, you wrote:

>I've seen a bunch of similar posts online but I don't see any fixes or
>resolutions. When ever I try to recursively delete a directory, I get
>the following error:
>
>$ rm -rfv endorsed
>removed `endorsed/xalan.jar'
>removed `endorsed/xercesImpl.jar'
>removed `endorsed/xmlParserAPIs.jar'
>rm: cannot remove directory `endorsed': Directory not empty
>
>I also tried the -d option and that didn't work either. In verbose, it
>says that the files in the directory have been deleted but they really
>are not.
>
>Any help?


Welcome to Windows.  Some other app has these files locked open.  You'll
need to find out what that app is and terminate it.  You may find "handle"
from  helpful in finding this info.


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
838 Washington Street   (508) 893-9889 - FAX
Holliston, MA 01746 


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



Re: guile package problem

2005-09-12 Thread Brian Dessent
Eric Blake wrote:

> Since I am now the sharutils maintainer, I wanted to try building
> sharutils from CVS.  But bootstrapping a fresh checkout requires
> autogen, so I gave a try at compiling autogen-5.7.2.  Compilation
> failed because guile-1.6.7-1 has a broken /usr/lib/libguile.la,
> generated by libtool 1.5.10 (it references cygguile.dll.a instead
> of libguile.dll.a, and has a dependency on
> /home/mingw/cygwin/root/usr/lib/libguile-ltdl.la, which does not
> exist).  Now that libtool 1.5.20 is available, can guile be repackaged
> to use the newer libtool and fix the packaging bug?

See also .

Brian

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



Re: rm problem: Directory not empty

2005-09-12 Thread James R. Phillips
Isn't this issue a potential problem with any multitasking OS ?  If there is a
windows-specific feature to this issue, I am not aware of it.

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



Re: rm problem: Directory not empty

2005-09-12 Thread Brian Dessent
"James R. Phillips" wrote:

> Isn't this issue a potential problem with any multitasking OS ?  If there is a
> windows-specific feature to this issue, I am not aware of it.

In *nix, you can successfully unlink an open file.  Its directory entry
will be removed but its inode will remain until all open handles are
closed.  Any programs still using the file will continue to do so
obliviously, until the last open handle is closed at which point the
inode is deleted and the file is actually gone.  This allows the system
to e.g. replace in-use libraries and then just restart any services that
were using that library.

In windows, a file cannot be deleted until all outstanding file handles
are closed.  I think there is an option you can give to the system to
tell it to delete the file for you when all handles are closed, but this
still does not allow for the above behavior where you can actually
replace an in-use file with a new one.

Brian

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



Re: rm problem: Directory not empty

2005-09-12 Thread Christopher Faylor
On Mon, Sep 12, 2005 at 10:37:11AM -0700, Brian Dessent wrote:
>In windows, a file cannot be deleted until all outstanding file handles
>are closed.  I think there is an option you can give to the system to
>tell it to delete the file for you when all handles are closed, but
>this still does not allow for the above behavior where you can actually
>replace an in-use file with a new one.

Cygwin uses the option you are referring to, when it can, but this still
doesn't provide real UNIX-like unlink behavior.

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/



RE: Setup 2.510.2.2 failure

2005-09-12 Thread Dave Korn
Original Message
>From: Arthur I Schwarz
>Sent: 12 September 2005 18:48


>> Cygwin Setup:
>   Fatal Error: Uncaught Exception
>   Thread: DialogProc
>   Type: 9Exception
>   Message: Package validation failure for file:
> //C:\Documents and Settings\ra07220\My
> Documents\root\cygwin/distribution
> /release/X11/fontconfig/libfontconfig-devel
> /libfontconfig-devel-2.2.2-1.tar.bz2
> 


  The quickest workaround for this bug is to delete or rename aside the
mentioned file.  A patch is in progress for it.


cheers,
  DaveK
-- 
Can't think of a witty .sigline today


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



Re: setup.exe feature request (text mounts)

2005-09-12 Thread Shankar Unni

Christopher Faylor wrote:


Cygwin already uses the default settings that we want it to use so, if this
is implemented, we wouldn't want to make it the default.


I meant "if the user chooses 'DOS'" (not the global default). I.e. don't 
ever mount c:\cygwin as text, even if the user asks for DOS. Is there 
ever a (good!) reason to mount c:\cygwin\bin or c:\cygwin\lib as text?



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



Re: setup.exe feature request (text mounts)

2005-09-12 Thread Christopher Faylor
On Mon, Sep 12, 2005 at 11:19:43AM -0700, Shankar Unni wrote:
>Christopher Faylor wrote:
>
>>Cygwin already uses the default settings that we want it to use so, if this
>>is implemented, we wouldn't want to make it the default.
>
>I meant "if the user chooses 'DOS'" (not the global default). I.e. don't 
>ever mount c:\cygwin as text, even if the user asks for DOS. Is there 
>ever a (good!) reason to mount c:\cygwin\bin or c:\cygwin\lib as text?

Ah.  I see.  I thought you were saying that we should set /cygdrive to
text.

No, there's no good reason that I can think of to set anything in \bin
or \lib to text mode.

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/



Re: rm problem: Directory not empty

2005-09-12 Thread James R. Phillips
Brian Dessent wrote:

>Any programs still using the file will continue to do so
>obliviously, until the last open handle is closed at which point the
>inode is deleted and the file is actually gone.  This allows the system
>to e.g. replace in-use libraries and then just restart any services that
>were using that library.

Hmm, that _is_ informative.  I've been wondering for some time how that could
possibly work as well as it seems to on Debian (live library replacements).

However, the most common situation in which I experience this problem is when I
leave a shell window open somewhere with current directory set to include some
part of the path I am trying to delete.  And in this case, AFAICT, *nix refuses
to delete, just as windows does.

I've also seen badly behaving windows programs, which refuse to "let go" of a
directory once they have used a file in it, until the program is explicitly
closed.  This is most annoying, as you have to keep closing program windows
until suddenly you guess right, the directory is freed, and can be deleted.

But thanks for answering my original question.

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



Re: [ANNOUNCEMENT] New packages: bzr 0.0.7 -- Next-generation distributed GNU Arch compatible version control.

2005-09-12 Thread Dr. Volker Zell
> Jari Aalto writes:

> PACKAGE DESCRIPTION
> ===

> Home page: http://freshmeat.net/projects/bzr/
> License  : GPL

> Next-generation distributed GNU Arch compatible version control.

Why do you repackage the binary package in the source package ?

tar -tvjf bzr-0.0.7-1-src.tar.bz2

-rw-r--r-- root/None 24727 2005-09-10 13:34:20 bzr-0.0.7-1-cygwin.patch
-rw-r--r-- root/None   256 2005-09-10 13:34:22 bzr-0.0.7-1-cygwin.patch.sig
-rwxr-xr-x root/None212012 2005-09-10 13:34:24 bzr-0.0.7-1.sh
-rw-r--r-- root/None415482 2005-09-10 13:34:02 bzr-0.0.7-1.tar.bz2  
  < ?
-rw-r--r-- root/None   251 2005-09-10 13:34:04 bzr-0.0.7-1.tar.bz2.sig  
  <- ?
-rw-r--r-- root/None461999 2005-09-10 13:34:24 bzr-0.0.7.tar.gz

Ciao
  Volker


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



Re: rm problem: Directory not empty

2005-09-12 Thread Larry Hall
At 02:29 PM 9/12/2005, you wrote:
>I've also seen badly behaving windows programs, which refuse to "let go" of a
>directory once they have used a file in it, until the program is explicitly
>closed.  This is most annoying, as you have to keep closing program windows
>until suddenly you guess right, the directory is freed, and can be deleted. 


'handle.exe' from  is useful in determining the right app
to close in this case.


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
838 Washington Street   (508) 893-9889 - FAX
Holliston, MA 01746 


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



Is tar -cjf deterministic?

2005-09-12 Thread James R. Phillips
I've noticed more than once that when I recreate a bzip2'ed tar archive on
cygwin, the file length is slightly different.  Yet it expands into the same
directory tree (as determined by recursive diff).

Is there something nondeterministic about tar and bzip2 on cygwin?  If so, is
it unique to cygwin?

Just wondering.


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



Re: Is tar -cjf deterministic?

2005-09-12 Thread Eric Blake
> I've noticed more than once that when I recreate a bzip2'ed tar archive on
> cygwin, the file length is slightly different.  Yet it expands into the same
> directory tree (as determined by recursive diff).
> 
> Is there something nondeterministic about tar and bzip2 on cygwin?  If so, is
> it unique to cygwin?

Not unique to cygwin - file timestamps are preserved in tar, and
when the timestamps change, the compression dictionary changes,
hence leading to different compression ratios.

--
Eric Blake
volunteer cygwin tar maintainer



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



Bash login breaks if too many environment variables are set

2005-09-12 Thread Hommersom, Fred
My startup of cygwin is a .bat file with contents
 
call bigsetup.bat
set HOME=C:\Data\locations\tc50_custy00
c:\cygwin\bin\bash --login -i
 
The file bigsetup.bat contains a huge amount environment variables.
For a medium number (~ 600) everything works fine
For a larger number the output is:
bash: /usr/bin/id: Resource temporarily unavailable
bash: /bin/find: Resource temporarily unavailable
bash: /usr/bin/sort: Resource temporarily unavailable
bash: /usr/bin/tr: Resource temporarily unavailable
bash: /usr/bin/uname: Resource temporarily unavailable
bash: /usr/bin/id: Resource temporarily unavailable
 
 
and for more variables no error messages show up but the HOME directory
is not correctly set.
 
What is the underlying cause of this behavior? Is it possible to tune
bash or cygwin to cope with this large number of variables?
Thanks
Fred

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



testers needed prior to 1.5.19 release

2005-09-12 Thread Christopher Faylor
I'm asking, once again, for people to test the latest cygwin snapshot.
The snapshot that is currently available should be very close to an
official release of cygwin version 1.5.19.

Please report success or failure to this thread.  Please don't change
the subject.  Please don't start a new discussion.

If you think you've found an error, please indicate whether this is a
regression from 1.5.18.  We're probably not going to be fixing anything
other than regressions at this point.

http://cygwin.com/snapshots/

Thanks.

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/



Re: testers needed prior to 1.5.19 release

2005-09-12 Thread Max Kaehn
cygwin1-20050912.dll:  Success.



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



Re: Bash login breaks if too many environment variables are set

2005-09-12 Thread Reid Thompson

Hommersom, Fred wrote:


My startup of cygwin is a .bat file with contents

call bigsetup.bat
set HOME=C:\Data\locations\tc50_custy00
c:\cygwin\bin\bash --login -i

The file bigsetup.bat contains a huge amount environment variables.
For a medium number (~ 600) everything works fine
For a larger number the output is:
bash: /usr/bin/id: Resource temporarily unavailable
bash: /bin/find: Resource temporarily unavailable
bash: /usr/bin/sort: Resource temporarily unavailable
bash: /usr/bin/tr: Resource temporarily unavailable
bash: /usr/bin/uname: Resource temporarily unavailable
bash: /usr/bin/id: Resource temporarily unavailable


and for more variables no error messages show up but the HOME directory
is not correctly set.

What is the underlying cause of this behavior? Is it possible to tune
bash or cygwin to cope with this large number of variables?
Thanks
Fred

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

 

i would think that you should declare your env variables in either your 
.bashrc or your .bash_profile rather than in a .bat file.  It may solve 
your problem.


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



Re: testers needed prior to 1.5.19 release

2005-09-12 Thread Christopher Faylor
On Mon, Sep 12, 2005 at 03:57:27PM -0700, Max Kaehn wrote:
>cygwin1-20050912.dll:  Success.

Thank you.

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/



Alt key is interpreted as ESC

2005-09-12 Thread Michael Smus

Hello list,
I am having problem with passing Alt key as a Meta key in rxvt terminal
emulator. My use case is:
- run rxvt locally under cygwin
- rlogin to unix host
- run emacs in terminal window.
- issue Alt-Backspace

I am expecting emacs executing command backward-kill-word, but instead it
executes mark-defun command, that is mapped to "ESC C-h". So emacs interprets
"Alt-Backspace" as "ESC-Backspace".

My further investigation in the topic showed that indeed "Alt-"
producing the same code as "ESC " as in:

- cat -v
- press ESC and g displayed as ^[g
- simultaneous press Alt-g displayed as ^[g

so it looks like somewhere ihn the chain Alt is treated as it it is ESC. What
should be done to let Alt be interpreted as Meta ?
Thanks, Mike

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



Help with PPPd on Cygwin

2005-09-12 Thread Enc Company Japan Co., Ltd.
This message is about how to compile PPPd for Cygwin. Well I saw the
follow message about how to do it, but I don't understand at all. Can
anyone help me step by step about how to do that? Is really important for
me. Thanks a lot.

Old message:
--
> Hi all,
>
> Sorry if this has been covered on this list in the past, I did search the
> archives of the cygwin list and only found one mail that did not explain
> things.
>
> What I want to know is, is there a pppd for cygwin? I use pppd very
often to
> connect 2 linux boxes together with a analogue modem on each end, for
this i
> just use init and pppd, i can get away with not using init, but i will need
> pppd.
> There is _no_ way that I have seen to do this with win95/98, on NT there is
> a way but its really hard to get working.
> And most of my clients cant afford another computer just for the
linux+pppd.
> I basically would like to have pppd on windows as it is in linux, but if
the
> ttySx devices are named different and such its not a problem, i just need a
> ppp/pppd.
>
> Anyway, thank you all for any help you can provide.
> Regards
> Gareth Gregor

Gareth,

To find out whether a particular package is available for Cygwin, use the
package search page at , or the list of
ported packages at .  This will show that
there is no pppd package for Cygwin (yet).

However, there is an experimental sysvinit package for Cygwin that is just
about ready to go mainstream, according to the discussion on the
cygwin-apps list.  Also, Cygwin strives to provide a Unix interface, which
includes device naming, so you should be able to use ttySx with no
problems.  You might try to install sysvinit and compile an open source
pppd (e.g.  ), and
let the list know whether it works.
Igor
-- 

Well or if anyone is really good in this, please help me compiling it into
a binary executable file for Cygwin ;)

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



ssh finds previous home directory

2005-09-12 Thread Poor Yorick

In control panel I changed my $HOME environment variable tonight to , 
fired up cygwin, and typed ssh @.  I received this error:

Could not create directory '/.ssh'.

Could someone please explain?

--
Poor Yorick

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



Re: testers needed prior to 1.5.19 release

2005-09-12 Thread Krzysztof Duleba
Christopher Faylor wrote:

> Please report success or failure to this thread.  Please don't change
> the subject.  Please don't start a new discussion.
> 
> If you think you've found an error, please indicate whether this is a
> regression from 1.5.18.  We're probably not going to be fixing anything
> other than regressions at this point.

Success. My regression tests passed.

Krzysztof Duleba


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



Re: ssh finds previous home directory

2005-09-12 Thread Larry Hall
At 09:44 PM 9/12/2005, you wrote:
>In control panel I changed my $HOME environment variable tonight to directory>, fired up cygwin, and typed ssh @.  I received this 
>error:
>
>Could not create directory '/.ssh'.
>
>Could someone please explain?

Sure.  It's simple.  'ssh' doesn't use $HOME to figure out your home 
directory.  It uses the directory listed in '/etc/passwd' for the user
you're logging in as.  If you think about it, it makes sense.  Otherwise,
there'd be a paradox (i.e. how can 'ssh' know the environment of the user
it's logging in as until it's finished logging in but it can't finish until 
it finds the home directory and it can't find that until it knows the user's 
environment...)



--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
838 Washington Street   (508) 893-9889 - FAX
Holliston, MA 01746 


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



RE: testers needed prior to 1.5.19 release

2005-09-12 Thread Karl M

Looks good on 2000 Professional and XP Professional.

Thanks,

...Karl


From: Christopher Faylor
Subject: testers needed prior to 1.5.19 release
Date: Mon, 12 Sep 2005 18:27:27 -0400

I'm asking, once again, for people to test the latest cygwin snapshot.
The snapshot that is currently available should be very close to an
official release of cygwin version 1.5.19.

Please report success or failure to this thread.  Please don't change
the subject.  Please don't start a new discussion.

If you think you've found an error, please indicate whether this is a
regression from 1.5.18.  We're probably not going to be fixing anything
other than regressions at this point.

http://cygwin.com/snapshots/

Thanks.

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/





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