windows services in CygWin

2006-03-08 Thread Emiel Janssen - Van Boxtel Software BV
hello,

I want to monitor all the processes that are running on Windows 2003 and
CygWin with a script (cobol).
When you use the top command you only see the processes running under
cygwin.
Is it possible to show both CygWin and Windows processes, so i can
monitor them both with a script under CygWin.


Emiel Janssen





--
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] Updated: OpenSSH-4.3p2-2

2006-03-08 Thread Corinna Vinschen
I've just updated the version of OpenSSH to 4.3p2-2.

This version is supposed to fix the "scp -r doesn't copy files" problem
which happens with Cygwin 1.5.19.

More experimental types can also stick with 4.3p2-1 and just update
Cygwin to a recent developer snapshot from http://cygwin.com/snapshots/


To update your installation, click on the "Install Cygwin now" link on
the http://cygwin.com/ web page.  This downloads setup.exe to your
system.  Then, run setup and answer all of the questions.

  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce 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]

If you need more information on unsubscribing, start reading here:

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

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

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

--
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: windows services in CygWin

2006-03-08 Thread Corinna Vinschen
On Mar  8 11:20, Emiel Janssen - Van Boxtel Software BV wrote:
> hello,
> 
> I want to monitor all the processes that are running on Windows 2003 and
> CygWin with a script (cobol).
> When you use the top command you only see the processes running under
> cygwin.
> Is it possible to show both CygWin and Windows processes, so i can
> monitor them both with a script under CygWin.

Not with top which utilizes Cygwin's /proc interface which in turn only
has information about Cygwin processes.

Try pslist from www.sysinternals.com.


Corinna

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

--
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: windows services in CygWin

2006-03-08 Thread Brett Serkez
Emiel,

The subject calls out services, the body talks about processes.
Which is it?

> I want to monitor all the processes that are running on Windows 2003
> and CygWin with a script (cobol).

Cobol is a compiled language not a scripting language  Are you looking
for API calls from COBOL or utilities to run from a scripting language?

> When you use the top command you only see the processes running
> under cygwin.

top is a visual utility.



Brett

Brett C. Serkez, Techie


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



partition size incorrectly reported

2006-03-08 Thread Roger Fishwick

Hi,

We have a production system which has had cygwin on for about 2 years with 
no problems on Thursday I tried to add some extra packages and encountered 
a number of problems.  setup.exe would at various deferent points fail due 
to insufficient space (on a disk which widows claimed had 10Gb free) after 
several long days and nights I have an almost working install I did this by:

1. running setup with deinstall.
2. deleting everything I could find that belonged to cygwin.
3. using an ftp client to down load the latest release.
4. running setup to do a full install from the local files.

This appeared to work however cygwin now claims that 2 of the 3 local 
drives are full, it works fine provided you don't need to write to the 
disks:


Bellow is a df -h from cygwin and a psinfo from a dos window.

Anyone any ideas.

$ uname -a
CYGWIN_NT-5.0 RDL5 1.5.19(0.150/4/2) 2006-01-20 13:28 i686 Cygwin

$ df -h
FilesystemSize  Used Avail Use% Mounted on
f:\cygwin\bin 500M  -64Z 0 100% /usr/bin
f:\cygwin\lib 500M  -64Z 0 100% /usr/lib
f:\cygwin 500M  -64Z 0 100% /
c:4.1G  3.3G  756M  82% /cygdrive/c
d:579M  579M 0 100% /cygdrive/d
e:500M  -64Z  463M 101% /cygdrive/e
f:500M  -64Z 0 100% /cygdrive/f
h: 68G   41G   28G  60% /cygdrive/h
j:4.0G  3.9G  125M  97% /cygdrive/j
l:102G   57G   46G  56% /cygdrive/l
o: 68G   68G  331M 100% /cygdrive/o
q: 56G   11G   46G  19% /cygdrive/q
z:1.4T  105G  1.3T   8% /cygdrive/z



F:\>f:\pstools\psinfo -d -h

PsInfo 1.4 - local and remote system information viewer
Copyright (C) 2001-2004 Mark Russinovich
Sysinternals - www.sysinternals.com

System information for \\RDL5:
Uptime:0 days 21 hours 26 minutes 39 seconds
Kernel version:Microsoft Windows 2000, Multiprocessor Free
Product type:  Server (Domain Controller)
Product version:   5.0
Service pack:  4
Kernel build number:   2195
Registered organization:   rdl
Registered owner:  rdl
Install date:  27/11/2000, 15:28:25
Activation status: Not applicable
IE version:6.
System root:   C:\WINNT
Processors:4
Processor speed:   700 MHz
Processor type:Intel Pentium III
Physical memory:   512 MB
Video driver:  ATI Technologies Inc. Rage IIC PCI
Volume Type   Format Label  Size   Free 
Free
   A: Removable 
0%
   C: Fixed  NTFS   Local Disk   4.0 GB   755.5 MB 
18%
   D: CD-ROM CDFS   VERITAS578.7 MB 
0%
   E: Fixed  NTFS   Local Disk  46.6 GB 3.4 GB 
7%
   F: Fixed  NTFS   New Volume  50.2 GB 8.1 GB 
16%
   H: Remote NTFS   67.7 GB27.5 GB 
41%
   J: Remote NTFS4.0 GB   124.7 MB 
3%
   L: Remote NTFS   New Volume 101.6 GB45.5 GB 
45%
   O: Remote NTFS   rdl7e   67.7 GB   329.8 MB 
0%
   Q: Remote NTFS   New Volume  55.9 GB45.7 GB 
82%
   Z: Remote NTFS   rdl5  1397.2 GB  1292.3 GB 
92%

OS Hot FixInstalled
KB329115  06/08/2004
KB822343  15/07/2005
KB823182  06/08/2004
KB823559  11/07/2003
KB824105  06/08/2004
KB824151  12/12/2004
KB825119  06/08/2004
KB826232  06/08/2004
KB828035  06/08/2004
KB828741  06/08/2004
KB828749  06/08/2004
KB832353  15/07/2005
KB832359  15/07/2005
KB835732  06/08/2004
KB837001  06/08/2004
KB839643  06/08/2004
KB839645  06/08/2004
KB840315  06/08/2004
KB840987  12/12/2004
KB841356  12/12/2004
KB841533  12/12/2004
KB841872  06/08/2004
KB841873  06/08/2004
KB842526  06/08/2004
KB842773  28/05/2005
KB842933  26/08/2004
KB871250  28/05/2005
KB87  28/05/2005
KB873339  24/12/2004
KB883935  15/07/2005
KB883939-IE6SP1-20050428.125228 15/07/2005
KB885250  28/05/2005
KB885834  28/05/2005
KB885835  24/12/2004
KB885836  24/12/2004
KB887797-OE6SP1-20041112.131144 24/12/2004
KB888113  28/05/2005
KB889293-IE6SP1-2004.235619 12/12/2004
KB890046  15/07/2005
KB890175  28/05/2005
KB890859  28/05/2005
KB890923-IE6SP1-20050225.103456 28/05/2005
KB891781  28/05/2005
KB893066  28/05/2005
KB893086  28/05/2005
KB893756  20/08/2005
KB893803v228/05/2005
KB894320  28/05/2005
KB896358  15/07/2005
KB896422  15/07/2005
KB896423  20/08/2005
KB896424  13/11/2005
KB896688-IE6SP1-20051004.130236 13/11/2005
KB896727-IE6SP1-20050719.165959 20/08/2005
KB897715-OE6SP1-20050503.210336 15/07/2005
KB899587  20/08/2005
KB899588 

[ANNOUNCEMENT] Updated: run-1.1.7-1

2006-03-08 Thread Alexander Gottwald
run-1.1.7-1 is  now available on Cygwin mirrors.

Changes
===

  * Copy cygwin environment variables to windows environment

*** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce 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]

If you need more information on unsubscribing, start reading here:

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

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

Alexander Gottwald
Cygwin run maintainer


signature.asc
Description: This is a digitally signed message part


Re: windows processes in CygWin

2006-03-08 Thread Brett Serkez
Emiel,

Please reply to the list and format so all can benefit/follow along.  I
slightly rearranged so this makes sense on the list.

> > The subject calls out services, the body talks about processes.
> > Which is it?
> >
> > > I want to monitor all the processes that are running on Windows
> > > 2003 and CygWin with a script (cobol).
> >
> i want to monitor the processes both in CygWin and Windoss on cpu
> usage. we use cobol  to extract the processes running under CygWin.
> i'am looking for a way to monitor the Windows processes in CygWin.

Ok, so my understanding is you want to run a utility to output process
information to a file and then write a COBOL program to read in this
file and analize it, looking for CPU information.  Perhaps you want to
pipe the information directly from the utility into the COBOL program.
Either way you need a consistent format for analysis.

Your use of the word monitor implies wrapping in a script so this
processing reoccurs at regular intervals.

>From the point-of-view of Windows, Cygwin processes are Windows
processes so using a Windows/DOS utility will view all processes.

Corinna's suggestion to use pslist from www.sysinternals.com is your
utility to output process information.  You can run DOS programs from
Cygwin, so you can redirect the output to a file or a pipe, then run
your COBOL program to do what it wants.  All can be wrapped in a script
using the language of your choice such as Perl, Bash, Sh,...

Brett

Brett C. Serkez, Techie


--
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: partition size incorrectly reported

2006-03-08 Thread Corinna Vinschen
On Mar  8 12:07, Roger Fishwick wrote:
> $ df -h
> FilesystemSize  Used Avail Use% Mounted on
> f:\cygwin\bin 500M  -64Z 0 100% /usr/bin
> f:\cygwin\lib 500M  -64Z 0 100% /usr/lib
> f:\cygwin 500M  -64Z 0 100% /
> c:4.1G  3.3G  756M  82% /cygdrive/c
> d:579M  579M 0 100% /cygdrive/d
> e:500M  -64Z  463M 101% /cygdrive/e
> f:500M  -64Z 0 100% /cygdrive/f
> h: 68G   41G   28G  60% /cygdrive/h
> j:4.0G  3.9G  125M  97% /cygdrive/j
> l:102G   57G   46G  56% /cygdrive/l
> o: 68G   68G  331M 100% /cygdrive/o
> q: 56G   11G   46G  19% /cygdrive/q
> z:1.4T  105G  1.3T   8% /cygdrive/z

Looks like you have quotas activated on drive f:

Cygwin can nothing do about that.  Maybe df can by taking quotas into
account.  Eric?

> F:\>f:\pstools\psinfo -d -h

http://cygwin.com/problems.html asks for a plain text attachment of
the cygcheck output.  The psinfo output is only marginally helpful.


Corinna

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

--
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: compiling cvs 1.12.13

2006-03-08 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

According to Sven Köhler on 3/7/2006 7:35 PM:
> Hi,
> 
> i'd like to compile cvs 1.12.13 for doing some testing, but it doesn't
> compile :-(
> 
> Does somebody have a clue, what the following may mean and how i could
> work around it?

It looks like cvs is using an older version of gnulib's getaddrinfo.c
replacement module, which until recently has had some bugs when used on
cygwin (I know, because those same compile errors were present in CVS
coreutils, prompting the fixes in gnulib).  As a workaround, you may be
able to just drop in the latest copy of getaddrinfo.[hc] from
http://cvs.savannah.gnu.org/viewcvs/gnulib/lib/?root=gnulib.  Otherwise,
ask upstream at the cvs development list for them to pull in newer files
from gnulib and spin cvs 1.12.14.

- --
Life is short - so eat dessert first!

Eric Blake [EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEDtTM84KuGfSFAYARAkcPAJ9Xn9gpw68QYEOKjw+dJOGpqX2o/QCfb2pk
WMG3xZkyIkC3jWBuOyYPdrM=
=EQJd
-END PGP SIGNATURE-

--
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: partition size incorrectly reported

2006-03-08 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

According to Corinna Vinschen on 3/8/2006 5:55 AM:
>> FilesystemSize  Used Avail Use% Mounted on
>> f:\cygwin\bin 500M  -64Z 0 100% /usr/bin
   
The display of negative disk usage (64-bit wraparound) is already fixed in
coreutils CVS, and stems from the fact that the OS is reporting more
available than total blocks in statfs/statvfs.  I'm a bit surprised that
it wasn't backported to coreutils 5.94, since the patch was made to CVS
head before 5.94 was released, but oh well (I'll see whether it is easy to
backport myself when I roll coreutils-5.94-5 after cygwin 1.5.20 comes out).

> Looks like you have quotas activated on drive f:
> 
> Cygwin can nothing do about that.  Maybe df can by taking quotas into
> account.  Eric?

Not really.  SUSv3/POSIX specify df without allowing it to take quotas
into account - so it is really space available on the file system, not
space available to the current user within the file system.  However, you
may want to propose a GNU extension that adds a new option to df which
takes quotas into account; if so, raise the question on the
bug-coreutilsgnuorg mailing list.  But remember that reading disk
quotas isn't very portable, so it may be a difficult task to actually
provide a worthwhile patch along those lines.

- --
Life is short - so eat dessert first!

Eric Blake [EMAIL PROTECTED]
volunteer cygwin coreutils maintainer
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEDtkD84KuGfSFAYARAh+uAKCwUM7RkTQfAa5Gep3wRCTo7qrt7ACaA2KZ
r+/DUuNbpoKM4TEHPMU5XDI=
=qeXN
-END PGP SIGNATURE-

--
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: partition size incorrectly reported

2006-03-08 Thread Corinna Vinschen
On Mar  8 06:15, Eric Blake wrote:
> According to Corinna Vinschen on 3/8/2006 5:55 AM:
> > Cygwin can nothing do about that.  Maybe df can by taking quotas into
> > account.  Eric?
> 
> Not really.  SUSv3/POSIX specify df without allowing it to take quotas
> into account - so it is really space available on the file system, not
> space available to the current user within the file system.  However, you
> may want to propose a GNU extension that adds a new option to df which
> takes quotas into account; if so, raise the question on the
> bug-coreutilsgnuorg mailing list.  But remember that reading disk
> quotas isn't very portable, so it may be a difficult task to actually
> provide a worthwhile patch along those lines.

Maybe Cygwin can do something about that by never returning more
available than total blocks.  Would that be helpful/desirable/correct,
or sahould we just keep it as it is now?


Corinna

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

--
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: partition size incorrectly reported

2006-03-08 Thread Corinna Vinschen
On Mar  8 14:23, Corinna Vinschen wrote:
> On Mar  8 06:15, Eric Blake wrote:
> > According to Corinna Vinschen on 3/8/2006 5:55 AM:
> > > Cygwin can nothing do about that.  Maybe df can by taking quotas into
> > > account.  Eric?
> > 
> > Not really.  SUSv3/POSIX specify df without allowing it to take quotas
> > into account - so it is really space available on the file system, not
> > space available to the current user within the file system.  However, you
> > may want to propose a GNU extension that adds a new option to df which
> > takes quotas into account; if so, raise the question on the
> > bug-coreutilsgnuorg mailing list.  But remember that reading disk
> > quotas isn't very portable, so it may be a difficult task to actually
> > provide a worthwhile patch along those lines.
> 
> Maybe Cygwin can do something about that by never returning more
> available than total blocks.  Would that be helpful/desirable/correct,
> or sahould we just keep it as it is now?

Hang on... I'm just looking into the output of statvfs on a drive which
has a 1Meg quota for the current user in place.  The values in the
statvfs structure correspond to the return values of GetDiskFreeSpaceEx
like this:

  f_blocks == TotalNumberOfBytes (corresponds to quota)
  f_bfree  == TotalNumberOfFreeBytes (does NOT correspond to quota)
  f_bavail == FreeBytesAvailable (corresponds to quota)

The values returned for the quota challanged drive:

f_bsize  : 4096
f_blocks : 256  (256 * f_bsize) == 1 Meg
f_bfree  : 1339399  (real free blocks of the drive)
f_bavail : 0(blocks free for user under quota lore)

Per standard, f_bavail shows the number of free blocks available to
non-superuser.  However, df seems to use the f_bfree value, which is,
per standard, the number of total blocks free on the drive.  I'm
wondering if df shouldn't rather use f_bavail and f_blocks instead of
f_bfree and f_blocks?!?

What Cygwin could do is to write the FreeBytesAvailable value also into
f_bfree, but I'm wincing at this idea since it would (unnecessarily?)
reduce the information available in the structure.  I'm not actually
convinced this would be a good idea.


Corinna

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

--
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: partition size incorrectly reported

2006-03-08 Thread Roger Fishwick



--On 08 March 2006 13:55 +0100 Corinna Vinschen <[EMAIL PROTECTED]> 
wrote:




Looks like you have quotas activated on drive f:


Aaargh quotas, I did check it on Thursday, did not spot that someone had 
created a quota for local administrator, did not know that you could have a 
local admin on a domain controller !


I should have spotted it today as the neat 500M was just to well...neat 
I'll put the later down to lack of sleep.


Corinna, many many thanks.

Roger






--
Internal Virus Database is out-of-date.
Checked by AVG Anti-Virus.
Version: 7.1.375 / Virus Database: 268.1.0/269 - Release Date: 24/02/2006


--
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: partition size incorrectly reported

2006-03-08 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

According to Corinna Vinschen on 3/8/2006 6:37 AM:
>> Maybe Cygwin can do something about that by never returning more
>> available than total blocks.  Would that be helpful/desirable/correct,
>> or sahould we just keep it as it is now?

I'm still thinking about the best approach here.  Also, right now it seems
that coreutils is preferring statfs over statvfs, even though statvfs is
the standardized interface (it is a known issue recently raised on the
upstream mailing list).

> 
> Hang on... I'm just looking into the output of statvfs on a drive which
> has a 1Meg quota for the current user in place.  The values in the
> statvfs structure correspond to the return values of GetDiskFreeSpaceEx
> like this:
> 
>   f_blocks == TotalNumberOfBytes (corresponds to quota)
>   f_bfree  == TotalNumberOfFreeBytes (does NOT correspond to quota)
>   f_bavail == FreeBytesAvailable (corresponds to quota)
> 
> The values returned for the quota challanged drive:
> 
> f_bsize  : 4096
> f_blocks : 256(256 * f_bsize) == 1 Meg
> f_bfree  : 1339399(real free blocks of the drive)
> f_bavail : 0  (blocks free for user under quota lore)
> 
> Per standard, f_bavail shows the number of free blocks available to
> non-superuser.  However, df seems to use the f_bfree value, which is,
> per standard, the number of total blocks free on the drive.  I'm
> wondering if df shouldn't rather use f_bavail and f_blocks instead of
> f_bfree and f_blocks?!?
> 
> What Cygwin could do is to write the FreeBytesAvailable value also into
> f_bfree, but I'm wincing at this idea since it would (unnecessarily?)
> reduce the information available in the structure.  I'm not actually
> convinced this would be a good idea.

Is it worth adding additional fields to struct statvfs to avoid loss of
information (of course, then those fields are not portable, because they
are not standardized)?  What does Linux do in the presence of user quotas?

- --
Life is short - so eat dessert first!

Eric Blake [EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEDuJF84KuGfSFAYARAtcoAKCV6+2i/6fj3a/TgIGPO2DzOM3VzwCgnrZQ
12N1RlGezfUMnBCdpes+3xE=
=dSCP
-END PGP SIGNATURE-

--
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: Croatian fonts

2006-03-08 Thread Igor Peshansky
Ugh, ...  Reformatted.

On Wed, 8 Mar 2006, b r wrote:

> --- Igor Peshansky <[EMAIL PROTECTED]> wrote:

.  Thanks.

>
> > On Thu, 23 Feb 2006, rakbsub wrote:
> >
> > > Anyone know if cygwin accepts unicode fonts on the command line?
> >
> > Cygwin does not do Unicode, but it does allow (or, rather, doesn't
> > disallow) native codepages.  For example, I have no problem using
> > Cyrillic fonts with Cygwin -- you need to use the fonts in the
> > appropriate encoding for your terminal.
> >
> > You might find
> > 
> > useful, too.
> > HTH,
> > Igor
>
> Dumb question, but how to I find a croatian locale in cygwin? I have
> done several searches and they lead me nowhere.

You don't find it "in Cygwin".  You find it outside of Cygwin, and then
install the fonts that support the right encoding.

Some Cygwin programs may have localized message files, in which case you
may be able to get Croatian messages from those programs, too.  You'll
need to set LC_ALL to the appropriate locale for this ("hr_HR"? Not sure).
HTH,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

--
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: partition size incorrectly reported

2006-03-08 Thread Corinna Vinschen
On Mar  8 06:55, Eric Blake wrote:
> > f_bsize  : 4096
> > f_blocks : 256  (256 * f_bsize) == 1 Meg
> > f_bfree  : 1339399  (real free blocks of the drive)
> > f_bavail : 0(blocks free for user under quota lore)
> > 
> > Per standard, f_bavail shows the number of free blocks available to
> > non-superuser.  However, df seems to use the f_bfree value, which is,
> > per standard, the number of total blocks free on the drive.  I'm
> > wondering if df shouldn't rather use f_bavail and f_blocks instead of
> > f_bfree and f_blocks?!?
> > 
> > What Cygwin could do is to write the FreeBytesAvailable value also into
> > f_bfree, but I'm wincing at this idea since it would (unnecessarily?)
> > reduce the information available in the structure.  I'm not actually
> > convinced this would be a good idea.
> 
> Is it worth adding additional fields to struct statvfs to avoid loss of
> information (of course, then those fields are not portable, because they
> are not standardized)?

What for?  The necessary information is available using the existing
structure members, and there are already more structure members than
information is available on Windows.  I don't think it's feasible to
add members for this purpose.

>   What does Linux do in the presence of user quotas?

I have no idea, sorry.


Corinna

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

--
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: windows processes in CygWin

2006-03-08 Thread Igor Peshansky
On Wed, 8 Mar 2006, Brett Serkez wrote:

> Emiel,
>
> Please reply to the list and format so all can benefit/follow along.  I
> slightly rearranged so this makes sense on the list.
>
> > > The subject calls out services, the body talks about processes.
> > > Which is it?
> > >
> > > > I want to monitor all the processes that are running on Windows
> > > > 2003 and CygWin with a script (cobol).
> > >
> > i want to monitor the processes both in CygWin and Windoss on cpu
> > usage. we use cobol  to extract the processes running under CygWin.
> > i'am looking for a way to monitor the Windows processes in CygWin.
>
> Ok, so my understanding is you want to run a utility to output process
> information to a file and then write a COBOL program to read in this
> file and analize it, looking for CPU information.  Perhaps you want to
> pipe the information directly from the utility into the COBOL program.
> Either way you need a consistent format for analysis.
>
> Your use of the word monitor implies wrapping in a script so this
> processing reoccurs at regular intervals.
>
> >From the point-of-view of Windows, Cygwin processes are Windows
> processes so using a Windows/DOS utility will view all processes.
>
> Corinna's suggestion to use pslist from www.sysinternals.com is your
> utility to output process information.  You can run DOS programs from
> Cygwin, so you can redirect the output to a file or a pipe, then run
> your COBOL program to do what it wants.  All can be wrapped in a script
> using the language of your choice such as Perl, Bash, Sh,...

FYI, Cygwin's "ps" also supports a "-W" option that lists all Windows
processes.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

--
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: cvs on cygwin error

2006-03-08 Thread Igor Peshansky
Sergio,

Messages on the list should stay on the list.  See
 for a list of reasons.

On Wed, 8 Mar 2006, Sergio A. de Carvalho Jr. wrote:

> Hi,
>
> I just saw your messages on the cygwin mailing list about a cvs server
> issue that generates an "cannot mkdir..." error. I'm experiencing the
> same problem and, as far as I could follow, it's a bug and the only
> workaround would be to replace the cygwin1.dll.
>
> Am I right? Or did you find a better solution?
>
> Best,
> Sergio

Use a snapshot DLL.  The fix will be in the next release.
Or, if you are willing to track this issue down in cvs and propose a
non-hackish patch, the cvs maintainer will consider it.
HTH,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

--
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: Wrapper for readline

2006-03-08 Thread Maurício

Eric Blake wrote:

(...)

readline to be used with non-readline console programs. Why isn't that 
utility part of cygwin distribution, doesn't it work on Windows?
  Also: I've just installed rlwrap (utopia.knoware.nl/~hlub/rlwrap), 
that does exactly that. What should I do to sugest it to be part of 
cygwin distribution?



Read http://cygwin.com/setup.html for how to become a
package maintainer.



  Cool

  Thanks,
  Maurício


--
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: partition size incorrectly reported

2006-03-08 Thread Corinna Vinschen
On Mar  8 13:55, Corinna Vinschen wrote:
> On Mar  8 12:07, Roger Fishwick wrote:
> > $ df -h
> > FilesystemSize  Used Avail Use% Mounted on
> > f:\cygwin\bin 500M  -64Z 0 100% /usr/bin
> > f:\cygwin\lib 500M  -64Z 0 100% /usr/lib
> > f:\cygwin 500M  -64Z 0 100% /
> > c:4.1G  3.3G  756M  82% /cygdrive/c
> > d:579M  579M 0 100% /cygdrive/d
> > e:500M  -64Z  463M 101% /cygdrive/e
> > f:500M  -64Z 0 100% /cygdrive/f
> > h: 68G   41G   28G  60% /cygdrive/h
> > j:4.0G  3.9G  125M  97% /cygdrive/j
> > l:102G   57G   46G  56% /cygdrive/l
> > o: 68G   68G  331M 100% /cygdrive/o
> > q: 56G   11G   46G  19% /cygdrive/q
> > z:1.4T  105G  1.3T   8% /cygdrive/z
> 
> Looks like you have quotas activated on drive f:
> 
> Cygwin can nothing do about that.  Maybe df can by taking quotas into
> account.  Eric?

Ok, after some mulling over MSDN and other dubious sources of
information, I think I found a way to overcome the problem of active
enforcing quotas.  There's a new DeviceIoControl call which has been
added since Win2K.  It allows to get the size information of a volume
without getting the information filtered through the quota mechanism.
So, with the patch I just applied to Cygwin, you should always get the
real size of a volume, not the crippled size which is a result of your
quota.

Please test the next developers snapshot from http://cygwin.com/snapshots/


Corinna

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

--
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: 1.5.19(0.150/4/2): missing device in /proc/partition after removing USB disk

2006-03-08 Thread Chris January
On 08/03/06, Loh, Joe wrote:
> Then we proceed to removing the first USB disk, i.e. /dev/sdb, using the
> the "Safe Removal" method from Windows.  Once that operation completes
> we "cat" the /proc/partitions again.  This time, the only disk shown is
> /dev/sda, which is the system disk.  The second USB disk was never
> removed.  The second "dd" on /dev/sdc proves that the disk is still
> accessible eventhough /proc/partitions never shows it.  The sequence of
> event is captured in the following text.  We are also attaching the
> cygcheck output as well.

This is a bug. The format_proc_partitions assumes that drives are
numbered consecutively - which is not the case if you hot remove a
drive.

Chris

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



Moving Home dir to another partition

2006-03-08 Thread Mool

1) Cygwin Installed on C:\Cygwin (C: partition win winXP SP2)
2) First run created /home/$USER in C:\Cygwin

how to MOVE my home dir in another partition D:, so I'll use 
D:\cygwin\home\$USER?



--
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 idle not working

2006-03-08 Thread Larry Hall (Cygwin)

sam reckoner wrote:
the following is the error message I get when I try to run idle. Below 
that is the cygwin diagnostic. Any help is appreciated.



Wrong list.  I've redirected any replies to the proper list.  Please remove
cygwin-apps from the recipient list if you use Reply-all.

Looks to me like you need to rebase.  Check the Cygwin Python README.  I
may be wrong but I think it talks about this.


--
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: python 2.4 idle not working

2006-03-08 Thread Jason Alonso
I get a different error.  It's  to the tune of "unable to remap
C:\cygwin\bin\tk84.dll to same address as parent(0x18DC) !=
0x18DD."

I think *my* error indicates that I need to remap, but Sam Reckoner's
error seems to be a different beast.  Unless, of course, that his
error is yet another form of the rebase error that I haven't seen yet.

Cheers,
Jason

On 3/8/06, Larry Hall (Cygwin) <[EMAIL PROTECTED]> wrote:
> sam reckoner wrote:
> > the following is the error message I get when I try to run idle. Below
> > that is the cygwin diagnostic. Any help is appreciated.
>
>
> Wrong list.  I've redirected any replies to the proper list.  Please remove
> cygwin-apps from the recipient list if you use Reply-all.
>
> Looks to me like you need to rebase.  Check the Cygwin Python README.  I
> may be wrong but I think it talks about this.
>
>
> --
> 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/
>
>

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



Using uw-imapd over secure 995 with cygwin -- Cant seem to get it working

2006-03-08 Thread Kevin Hilton
Briefly Im trying to use cygwin's uw-imapd port to attempt to establish
an imap connection over port 995 and 993.  I have successfully run the
daemon over the non-secure port.

Ive created the necessary .key and .pem files and placed them in
etc/ssl/certs.  First of all Im not sure if this is the proper location
for these certificates.

Second I tried starting the uw-imapd over the secure ports via the inetd
by placing the following lines in the inetd.conf file:
pop3s  stream  tcp  nowait  root   /usr/sbin/uw-ipop3d
imaps  stream  tcp  nowait  root   /usr/sbin/uw-imapd

Non secure ports are enabled via
imap  stream  tcp  nowait  root   /usr/sbin/uw-imapd
pop3  stream  tcp  nowait  root   /usr/sbin/uw-ipop3d

After restarting the inetd, and performing a netstat -a, I see the
machine is not listening on port 995 or port 993, however ports 143 and
110 are open and listening.

I must be missing something.  Any help would be appreciated.



--
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: Using uw-imapd over secure 995 with cygwin -- Cant seem to get it working

2006-03-08 Thread Corinna Vinschen
On Mar  8 10:44, Kevin Hilton wrote:
> Briefly Im trying to use cygwin's uw-imapd port to attempt to establish
> an imap connection over port 995 and 993.  I have successfully run the
> daemon over the non-secure port.
> 
> Ive created the necessary .key and .pem files and placed them in
> etc/ssl/certs.  First of all Im not sure if this is the proper location
> for these certificates.
> 
> Second I tried starting the uw-imapd over the secure ports via the inetd
> by placing the following lines in the inetd.conf file:
> pop3s  stream  tcp  nowait  root   /usr/sbin/uw-ipop3d
> imaps  stream  tcp  nowait  root   /usr/sbin/uw-imapd
> 
> Non secure ports are enabled via
> imap  stream  tcp  nowait  root   /usr/sbin/uw-imapd
> pop3  stream  tcp  nowait  root   /usr/sbin/uw-ipop3d
> 
> After restarting the inetd, and performing a netstat -a, I see the
> machine is not listening on port 995 or port 993, however ports 143 and
> 110 are open and listening.

Are the service names known in your services file?


Corinna

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

--
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: Moving Home dir to another partition

2006-03-08 Thread René Berber
Mool wrote:

> 1) Cygwin Installed on C:\Cygwin (C: partition win winXP SP2)
> 2) First run created /home/$USER in C:\Cygwin
> 
> how to MOVE my home dir in another partition D:, so I'll use
> D:\cygwin\home\$USER?

cp -rp /cygdrive/c/Cygwin/home/$USER /cygdrive/d/Cygwin/home

Edit /etc/passwd changing $USER's line with the new home (i.e. from /home/$USER
to /cygdrive/d/Cygwin/home/$USER)

_test it_, if it works then you can delete the old home directory.

All this is assuming you haven't changed the cygdrive prefix.  And if you do
change it in the future the new $HOME will not work, you'll have to edit passwd
again.
-- 
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: Using uw-imapd over secure 995 with cygwin -- Cant seem to get it working

2006-03-08 Thread René Berber
Kevin Hilton wrote:

> Briefly Im trying to use cygwin's uw-imapd port to attempt to establish
> an imap connection over port 995 and 993.  I have successfully run the
> daemon over the non-secure port.
> 
> Ive created the necessary .key and .pem files and placed them in
> etc/ssl/certs.  First of all Im not sure if this is the proper location
> for these certificates.
> 
> Second I tried starting the uw-imapd over the secure ports via the inetd
> by placing the following lines in the inetd.conf file:
> pop3s  stream  tcp  nowait  root   /usr/sbin/uw-ipop3d
> imaps  stream  tcp  nowait  root   /usr/sbin/uw-imapd
> 
> Non secure ports are enabled via
> imap  stream  tcp  nowait  root   /usr/sbin/uw-imapd
> pop3  stream  tcp  nowait  root   /usr/sbin/uw-ipop3d
> 
> After restarting the inetd, and performing a netstat -a, I see the
> machine is not listening on port 995 or port 993, however ports 143 and
> 110 are open and listening.
> 
> I must be missing something.  Any help would be appreciated.

inetd is an on-demand server, so it's not strange that nothing is listening to
ports 993 and 995, what is strange is that something is listening to ports 110
and 143.

You must have another instance of the server running.

Anyway try a "telnet localhost 993" and see if the server is started.
-- 
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: Using uw-imapd over secure 995 with cygwin -- Cant seem to get it working

2006-03-08 Thread René Berber
René Berber wrote:
[snip]
> inetd is an on-demand server, so it's not strange that nothing is listening to
> ports 993 and 995, what is strange is that something is listening to ports 110
> and 143.

Wrong statement, sorry, of course inetd should be listening.

-- 
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: "replaced while being copied" - cp fails, rsync and cat ok ; remote FS is ext3

2006-03-08 Thread Allen Otis

I am seeing  cp  fail with "replaced while being copied"
  $ cp k:/users/otisa/k* .
  cp: skipping file `k:/users/otisa/kiki_fstab.txt', as it was replaced while 
bein g copied

Some other Cywin operations including
  cat  k:/users/otisa/kiki_fstab.txt  > k.txt 
  rsync  k:/users/otisa/kiki_fstab.txt .
can successfully read the remote file and produce a correct copy 
on the local NTFS file system.

k: is a Linux  ext3 file system, being accessed via a Samba server .
Samba is running on a Sparc machine running Solaris 8.
The Linux machine is  Intel x86 32bit, running Redhat AS2.1  .

Attached are cygcheck.out and output from the getvolcheck source
in this thread for the file system mounted as k:

If I ssh to the Linix machine, I get
  % grep kiki2 /etc/fstab
  LABEL=/kiki2/kiki2  ext3defaults1 2
  % hostname
  kiki


Allen




rootdir: k:\
Volume Name: 
Serial Number  : 67436925
Max Filenamelength : 128
Filesystemname : 
Flags:
  FILE_CASE_SENSITIVE_SEARCH  : TRUE
  FILE_CASE_PRESERVED_NAMES   : TRUE
  FILE_UNICODE_ON_DISK: FALSE
  FILE_PERSISTENT_ACLS: TRUE
  FILE_FILE_COMPRESSION   : FALSE
  FILE_VOLUME_QUOTAS  : TRUE
  FILE_SUPPORTS_SPARSE_FILES  : FALSE
  FILE_SUPPORTS_REPARSE_POINTS: FALSE
  FILE_SUPPORTS_REMOTE_STORAGE: FALSE
  FILE_VOLUME_IS_COMPRESSED   : FALSE
  FILE_SUPPORTS_OBJECT_IDS: FALSE
  FILE_SUPPORTS_ENCRYPTION: FALSE
  FILE_NAMED_STREAMS  : FALSE
  FILE_READ_ONLY_VOLUME   : FALSE


Cygwin Configuration Diagnostics

Current System Time: Wed Mar 08 10:27:00 2006



Windows XP Professional Ver 5.1 Build 2600 Service Pack 2



Path:   C:\cygwin\usr\local\bin

C:\cygwin\bin

C:\cygwin\bin

C:\cygwin\usr\X11R6\bin

c:\WINDOWS\system32

c:\WINDOWS

c:\WINDOWS\System32\Wbem

c:\Program Files\ATI Technologies\ATI Control Panel

C:\cygwin\home\otisa\bin



Output from C:\cygwin\bin\id.exe (nontsec)

UID: 11427(otisa)GID: 10513(Domain Users)

544(Administrators)  545(Users)   10513(Domain Users)

12476(Engineering)   11403(engr)  12477(Engrdir)

12478(Engrmgr)   11404(gsi)   12382(Perm Employees)



Output from C:\cygwin\bin\id.exe (ntsec)

UID: 11427(otisa)GID: 10513(Domain Users)

544(Administrators)  545(Users)   10513(Domain Users)

12476(Engineering)   11403(engr)  12477(Engrdir)

12478(Engrmgr)   11404(gsi)   12382(Perm Employees)



SysDir: C:\WINDOWS\system32

WinDir: C:\WINDOWS



USER = 'otisa'

PWD = '/home/otisa/temp'

HOME = '/cygdrive/c/Documents and Settings/otisa'

MAKE_MODE = 'unix'



HOMEPATH = '\Documents and Settings\otisa'

MANPATH = 
'/usr/local/man:/usr/share/man:/usr/man::/usr/share/qt3/doc/man:/usr/X11R6/man'

APPDATA = 'C:\Documents and Settings\otisa\Application Data'

HOSTNAME = 'aotis-desk'

VS71COMNTOOLS = 'C:\Program Files\Microsoft Visual Studio .NET 
2003\Common7\Tools\'

TERM = 'cygwin'

PROCESSOR_IDENTIFIER = 'x86 Family 15 Model 4 Stepping 4, GenuineIntel'

WINDIR = 'C:\WINDOWS'

QTDIR = '/usr/lib/qt3'

OLDPWD = '/home/otisa'

USERDOMAIN = 'ADMIN'

OS = 'Windows_NT'

ALLUSERSPROFILE = 'C:\Documents and Settings\All Users'

TEMP = '/cygdrive/c/DOCUME~1/otisa/LOCALS~1/Temp'

COMMONPROGRAMFILES = 'C:\Program Files\Common Files'

LIB = 'C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Lib\'

USERNAME = 'otisa'

PROCESSOR_LEVEL = '15'

FP_NO_HOST_CHECK = 'NO'

SYSTEMDRIVE = 'C:'

USERPROFILE = 'C:\Documents and Settings\otisa'

QMAKESPEC = '/usr/lib/qt3/mkspecs/cygwin-g++'

PS1 = '\# $ '

LOGONSERVER = '\\HERATIO'

PROCESSOR_ARCHITECTURE = 'x86'

!C: = 'C:\cygwin\bin'

SHLVL = '1'

PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'

HOMEDRIVE = 'C:'

PROMPT = '$P$G'

COMSPEC = 'C:\WINDOWS\system32\cmd.exe'

TMP = '/cygdrive/c/DOCUME~1/otisa/LOCALS~1/Temp'

SYSTEMROOT = 'C:\WINDOWS'

PRINTER = 'Microsoft Office Document Image Writer'

CVS_RSH = '/bin/ssh'

PROCESSOR_REVISION = '0404'

PKG_CONFIG_PATH = '/usr/X11R6/lib/pkgconfig'

INFOPATH = '/usr/local/info:/usr/share/info:/usr/info:'

PROGRAMFILES = 'C:\Program Files'

NUMBER_OF_PROCESSORS = '2'

INCLUDE = 'C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\include\'

SESSIONNAME = 'Console'

COMPUTERNAME = 'AOTIS-DESK'

_ = '/usr/bin/cygcheck'

POSIXLY_CORRECT = '1'



HKEY_CURRENT_USER\Software\Cygnus Solutions

HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin

HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2

HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options

HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions

HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin

HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2

  (default) = '/cygdrive'

  cygdrive flags = 0x0022

HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/

  (default) = 'C:\cygwin'

  flag

Re: compiling cvs 1.12.13

2006-03-08 Thread Sven Köhler
>>> i'd like to compile cvs 1.12.13 for doing some testing, but it doesn't
>>> compile :-(
>>>
>>> Does somebody have a clue, what the following may mean and how i could
>>> work around it?
> 
> It looks like cvs is using an older version of gnulib's getaddrinfo.c
> replacement module, which until recently has had some bugs when used on
> cygwin (I know, because those same compile errors were present in CVS
> coreutils, prompting the fixes in gnulib).  As a workaround, you may be
> able to just drop in the latest copy of getaddrinfo.[hc] from
> http://cvs.savannah.gnu.org/viewcvs/gnulib/lib/?root=gnulib.  Otherwise,
> ask upstream at the cvs development list for them to pull in newer files
> from gnulib and spin cvs 1.12.14.

Well, i've grabbed the latest version of getaddrinfo.* from CVS and
added  "-DHAVE_NETINET_IN_H" to the CFLAGS, but now i still get those
errors:

make[3]: Entering directory `/tmp/install/cvs-1.12.13/lib'
if gcc -DHAVE_CONFIG_H -I. -I. -I..   -Ino/include  -DHAVE_NETINET_IN_H
-MT getaddrinfo.o -MD -MP -MF ".deps/getaddrinfo.Tpo" -c -o
getaddrinfo.o getaddrinfo.c; \
then mv -f ".deps/getaddrinfo.Tpo" ".deps/getaddrinfo.Po"; else rm -f
".deps/getaddrinfo.Tpo"; exit 1; fi
getaddrinfo.c: In function `getaddrinfo':
getaddrinfo.c:115: warning: assignment makes pointer from integer
without a cast
getaddrinfo.c:116: error: dereferencing pointer to incomplete type
getaddrinfo.c:119: error: dereferencing pointer to incomplete type
getaddrinfo.c:141: error: dereferencing pointer to incomplete type
getaddrinfo.c:175: error: dereferencing pointer to incomplete type
getaddrinfo.c:177: error: dereferencing pointer to incomplete type
getaddrinfo.c:183: error: dereferencing pointer to incomplete type
getaddrinfo.c:199: error: dereferencing pointer to incomplete type
getaddrinfo.c:200: error: dereferencing pointer to incomplete type
getaddrinfo.c:214: error: dereferencing pointer to incomplete type
make[3]: *** [getaddrinfo.o] Error 1
make[3]: Leaving directory `/tmp/install/cvs-1.12.13/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/install/cvs-1.12.13/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/install/cvs-1.12.13'
make: *** [all] Error 2


*sigh*



signature.asc
Description: OpenPGP digital signature


cron + ssmtp mailto functionality

2006-03-08 Thread Suresh Kumar
Background: 
=
I am a complete newbie in linux but have been using
bash for some scripting.
 
Functionality trying to achieve
==
I am trying to run a cron scheduler to run a job and
to automatically email me!
 
Problems
===
The cron job executes perfectly but the email
functionality does'nt work.
 
Here is my config
=
/etc/ssmtp/ssmtp.conf
=
mailhub=smtp.sbcglobal.yahoo.com
AuthUser=username
AuthPass=mypassword
FromLineOverride=YES
[EMAIL PROTECTED],net
rewriteDomain=sbcglobal.yahoo.com
[EMAIL PROTECTED]
 
usr/sbin/sendmail is a symbolic link to
/usr/sbin/ssmtp
 
Symtoms
===
1. dead.letter found in home/owner
2. /var/log/cron.log has sendmail: 530 authentication
required...message
 
Can somebody help me to fix this problem. I am
assuming symbolic link to ssmtp for sendmail is fine!
 
Help please
 
Thanks
SK
 
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

--
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: Moving Home dir to another partition

2006-03-08 Thread Igor Peshansky
On Wed, 8 Mar 2006, René Berber wrote:

> Mool wrote:
>
> > 1) Cygwin Installed on C:\Cygwin (C: partition win winXP SP2)
> > 2) First run created /home/$USER in C:\Cygwin
> >
> > how to MOVE my home dir in another partition D:, so I'll use
> > D:\cygwin\home\$USER?
>
> cp -rp /cygdrive/c/Cygwin/home/$USER /cygdrive/d/Cygwin/home

Unless cp has changed in multiple ways, a better idiom would be

tar -C /home -cf - $USER | tar -C /cygdrive/d/Cygwin/home -xf -

which will preserve symbolic links, etc.  In both cases, any extra ACLs on
the files will be lost.  Also, depending on the text vs. binary mode
settings of /cygdrive and /, there might be issues with that as well.

It may be better to *move* (not copy) the directory using Windows,
instead.

> Edit /etc/passwd changing $USER's line with the new home (i.e. from
> /home/$USER to /cygdrive/d/Cygwin/home/$USER)

No reason.  Just "mount -fs D:/cygwin/home/$USER /home/$USER", and you
won't have to change anything.

> _test it_, if it works then you can delete the old home directory.
>
> All this is assuming you haven't changed the cygdrive prefix.  And if
> you do change it in the future the new $HOME will not work, you'll have
> to edit passwd again.

HTH,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"
--
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: compiling cvs 1.12.13

2006-03-08 Thread Sven Köhler
>>> i'd like to compile cvs 1.12.13 for doing some testing, but it doesn't
>>> compile :-(
>>>
>>> Does somebody have a clue, what the following may mean and how i could
>>> work around it?
> 
> It looks like cvs is using an older version of gnulib's getaddrinfo.c
> replacement module, which until recently has had some bugs when used on
> cygwin (I know, because those same compile errors were present in CVS
> coreutils, prompting the fixes in gnulib).  As a workaround, you may be
> able to just drop in the latest copy of getaddrinfo.[hc] from
> http://cvs.savannah.gnu.org/viewcvs/gnulib/lib/?root=gnulib.  Otherwise,
> ask upstream at the cvs development list for them to pull in newer files
> from gnulib and spin cvs 1.12.14.

I had to add a #include 

Now at least getaddrinfo.c compiles fine.



signature.asc
Description: OpenPGP digital signature


Where to get older version Cygwin ( last year's version), thanks!

2006-03-08 Thread Chunchun Ni



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



Oh boy, this again! You just download it via setup.exe. (was Re: Where to get older version Cygwin ( last year's version), thanks!)

2006-03-08 Thread Christopher Faylor

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



compilation error using cygwin

2006-03-08 Thread Basavaraj Hiremath
Hi,
I am compiling arm cross compiler using cygwin, I have
following error.
Could you advice, what I am missing in cygwin...

Thanks in advance.
Raj


checking for sys/types.h... (cached) no
checking locale.h usability... no
checking locale.h presence... no
checking for locale.h... no
checking float.h usability... no
checking float.h presence... yes
configure: WARNING: float.h: present but cannot be
compiled
configure: WARNING: float.h: check for missing
prerequisite headers?
configure: WARNING: float.h: see the Autoconf
documentation
configure: WARNING: float.h: section "Present But
Cannot Be Compiled"
configure: WARNING: float.h: proceeding with the
preprocessor's result
configure: WARNING: float.h: in the future, the
compiler will take precedence
configure: WARNING: ##
- ##
configure: WARNING: ## Report this to the
package-unused lists.  ##
configure: WARNING: ##
- ##
checking for float.h... yes
checking for main in -lm... configure: error: Link
tests are not allowed after G
CC_NO_EXECUTABLES.
make: *** [configure-target-libstdc++-v3] Error 1

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



[BUG] rename("symlink", "regular_file") has weird results

2006-03-08 Thread Max Bowsher
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Suppose "foo.tmp" is a symlink, and "foo" is a regular file.

Calling rename("foo.tmp", "foo") results in the very bizarre situation
where, as far as Cygwin is concerned, there are TWO files called "foo"
within the same directory.

Below is a small C program to reproduce this state of affairs.

Max.

=

#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 

#define M1BAD(x) if ((x) == -1) { handle_error(#x); }
#define ZOK(x) if ((x) != 0) { handle_error(#x); }
static void handle_error(char *op)
{
fprintf(stderr, "E: %s: %s\n", op, strerror(errno));
exit(1);
}

int main(void)
{
  int fd;

  M1BAD(fd = open("foo", O_CREAT, 0644));
  ZOK(close(fd));

  ZOK(symlink("nonexistent", "foo.tmp"));

  ZOK(rename("foo.tmp", "foo"));

  return 0;
}

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (Cygwin)

iD8DBQFED1xzfFNSmcDyxYARAt9aAKCYNk2A4N0PNNv/Xi42WEE0h5ZJGgCfYfa/
F/Rm9fGDC1vQJKooGL/cYcs=
=+BiT
-END PGP SIGNATURE-

--
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: Moving Home dir to another partition

2006-03-08 Thread Mool

Igor Peshansky wrote:

On Wed, 8 Mar 2006, René Berber wrote:


Mool wrote:


1) Cygwin Installed on C:\Cygwin (C: partition win winXP SP2)
2) First run created /home/$USER in C:\Cygwin

how to MOVE my home dir in another partition D:, so I'll use
D:\cygwin\home\$USER?

cp -rp /cygdrive/c/Cygwin/home/$USER /cygdrive/d/Cygwin/home


Unless cp has changed in multiple ways, a better idiom would be

tar -C /home -cf - $USER | tar -C /cygdrive/d/Cygwin/home -xf -

which will preserve symbolic links, etc.  In both cases, any extra ACLs on
the files will be lost.  Also, depending on the text vs. binary mode
settings of /cygdrive and /, there might be issues with that as well.

It may be better to *move* (not copy) the directory using Windows,
instead.


Edit /etc/passwd changing $USER's line with the new home (i.e. from
/home/$USER to /cygdrive/d/Cygwin/home/$USER)


No reason.  Just "mount -fs D:/cygwin/home/$USER /home/$USER", and you
won't have to change anything.



Tried 'mount', worked fine.

- I haven't needed -f (force) option.
- The copy was done via Win for easiness, just 2 clicks (cut & paste)


_test it_, if it works then you can delete the old home directory.

All this is assuming you haven't changed the cygdrive prefix.  And if
you do change it in the future the new $HOME will not work, you'll have
to edit passwd again.


HTH,
Igor



Simple and effective.
Thank you all!


--
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: "replaced while being copied" - cp fails, rsync and cat ok ; remote FS is ext3

2006-03-08 Thread Eric Blake
> I am seeing  cp  fail with "replaced while being copied"
>   $ cp k:/users/otisa/k* .
>   cp: skipping file `k:/users/otisa/kiki_fstab.txt', as it was replaced while 
> bein g copied

Do you still see the problem with the latest snapshot installed?

-- 
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: Apache failure with 2006-03-01/2 snapshots

2006-03-08 Thread Christopher Faylor
On Thu, Mar 02, 2006 at 05:29:35PM -0700, Jerry D. Hedden wrote:
>Combination:
>cygwin-inst-20060302.tar.bz2 (2006-03-02 17:00 GMT) snapshot
>apache-1.3.33-2.tar.bz2
>
>Apache won't start, and outputs the following in its log:
>Cannot load /usr/lib/apache/mod_env.dll into server: Bad address
>
>The same holds for the 2006-03-01 Cygwin snapshot.
>
>Apache starts properly with the 2006-02-27 Cygwin snapshot.
>
>(Apache installed using setup.exe.  Cygwin snapshot are full
>distributions (inst=full), and installed using procedure in
>FAQ.)

This problem should be fixed in the latest snapshot.

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: "replaced while being copied" - cp fails, rsync and cat ok ; remote FS is ext3

2006-03-08 Thread Eric Blake
http://cygwin.com/acronyms/#PPIOSPE - that way, anyone
else with a similar issue can see the resolution

Also, top-formatting is discouraged on this list:
http://cygwin.com/acronyms/#TOFU

> > 
> > Do you still see the problem with the latest snapshot installed?
> > 

> With the cygwin1.dll from the 2006-03-08 snapshot installed ,
> my test case for  cp   works.  
> 
> And the tests for  rsync ,  cat   still work also .
> 
> Thanks for your help.
> 
> Allen

Glad to have helped.

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



snapshots vs. Win9x

2006-03-08 Thread Eric Blake
I've been running the 20060227 successfully for several days now
on Win98, so I tried upgrading today.  However, something introduced
between 20060227 and 20060301 causes all cygwin processes
to hang on exit; and the situation is not improved all the way
through 20060308.

Also, I noticed that the Changelog for 20060308 mentions
that Corinna touched dcrt0.cc (_dll_crt0), but I don't see
that change anywhere (perhaps an extra log entry leaked
in on this commit:
http://cygwin.com/ml/cygwin-cvs/2006-q1/msg00220.html)?

-- 
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: Test release available: apache2-2.2.0-1

2006-03-08 Thread Luis P Caamano
On 3/7/06, Max Bowsher <[EMAIL PROTECTED]> wrote:
>
>
> * mod_proxy and its sub-modules are now included in the build,
>   by user request.
>

Thank you!!

> * mod_ssl is now included in the build. I haven't received any user
>   requests for this one, but I figure it's popular enough that someone
>   will definitely want it eventually.

Wise choice.

--
Luis P Caamano
Atlanta, GA USA

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



Problems after upgrading to 1.5.19-4

2006-03-08 Thread Timothy King
Last night, I grabbed an additional package using setup.exe.  It also 
downloaded and installed the latest cygwin1.dll (1.5.19-4) and core utilities.  
I had not updated since early January.  While it was running the post-install 
script, I received serveral errors along the lines of "... could not be found 
in cygwin1.dll".  I rebooted, and now when I run the bash shell, it drops me in 
/usr/bin and I have no Cygwin directories in my path (/bin, /usr/bin).  Also, 
my term colors are now messed up.

I did a diff on the /etc and /home directories which I had backed up, but there 
were no differences in the config files.  I also did not find any other 
cygwin1.dll's on my system. It is interesting to note I have the cygwin sshd 
running on that machine, and when I ssh into it I have no problems with paths 
or term colors.

This is running on Windows XP Pro.  I know my way around Unix but I know little 
about how the Cygwin shell runs on windows.  I tried adding the Cygwin paths in 
my .bashrc, but now it barfs on the spaces in the Windows directory names.

Any help would be appreciated.

Tim


--
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: Problems after upgrading to 1.5.19-4

2006-03-08 Thread Larrie Carr

From: "Timothy King"
Last night, I grabbed an additional package using setup.exe.  It also 
downloaded and installed the latest cygwin1.dll (1.5.19-4) and core 
utilities.  I had not updated since early January.  While it was running 
the post-install script, I received serveral errors along the lines of 
"... could not be found in cygwin1.dll".  I rebooted, and now when I run 
the bash shell, it drops me in /usr/bin and I have no Cygwin directories 
in my path (/bin, /usr/bin).  Also, my term colors are now messed up.


I did a diff on the /etc and /home directories which I had backed up, but 
there were no differences in the config files.  I also did not find any 
other cygwin1.dll's on my system. It is interesting to note I have the 
cygwin sshd running on that machine, and when I ssh into it I have no 
problems with paths or term colors.


This is running on Windows XP Pro.  I know my way around Unix but I know 
little about how the Cygwin shell runs on windows.  I tried adding the 
Cygwin paths in my .bashrc, but now it barfs on the spaces in the Windows 
directory names.


Any help would be appreciated.

Tim


I had this problem a couple of months ago.  My problem was caused by the 
setup.exe being very helpful and (at least for me) defaulting to always 
installing the latest version of anything you already had installed.  And if 
you don't look at the right page, you don't know this is happening.


So normally  I don't exit out of all my cygwin stuff when I am just 
installing a simple package (like octave).  But for that one moment, 
setup.exe decided that the cygwin dll, et al had to be touched.


If you attempt to updated cygwin when cygwin (bash) is running, the 
cygwin.dll is locked.  So you can get updates to programs like rm that need 
that new cygwin.dll so everytime you run rm, you get this "missing blah 
..could nto be found in cygwin1.dll".


But you are hooped because setup.exe assumes that everything works (like rm) 
so if you try to reinstall with setup.exe, you are stuck.


My fix was to exit out of all cygwin programs and in cmd, go looking for the 
cygwin1.dll (assuming c: drive)


dir c:\cygwin\bin\cygwin1.dll*

you should find a cygwin1.dll and a cygwin1.dll.new - move the cygwin1.dll 
to cygwin1.dll.old and cygwin1.dll.new to cygwin1.dll.  If you see any other 
.new files, you might want to do the same.


Then I reinstalled using setup.exe all the cygwin tools again (core, etc) so 
that everything could run to completion successfully.


If you don't find the cygwin1.dll.new file, then my problem was not your 
problem (MPNYP).


Larrie. 




--
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: Problems after upgrading to 1.5.19-4

2006-03-08 Thread Timothy King
On 3/8/06, Larrie Carr <[EMAIL PROTECTED]> wrote:
> From: "Timothy King"
> > Last night, I grabbed an additional package using setup.exe.  It also
> > downloaded and installed the latest cygwin1.dll (1.5.19-4) and core
> > utilities.  I had not updated since early January.  While it was running
> > the post-install script, I received serveral errors along the lines of
> > "... could not be found in cygwin1.dll".  I rebooted, and now when I run
> > the bash shell, it drops me in /usr/bin and I have no Cygwin directories
> > in my path (/bin, /usr/bin).  Also, my term colors are now messed up.
> >
> > I did a diff on the /etc and /home directories which I had backed up, but
> > there were no differences in the config files.  I also did not find any
> > other cygwin1.dll's on my system. It is interesting to note I have the
> > cygwin sshd running on that machine, and when I ssh into it I have no
> > problems with paths or term colors.
> >
> > This is running on Windows XP Pro.  I know my way around Unix but I know
> > little about how the Cygwin shell runs on windows.  I tried adding the
> > Cygwin paths in my .bashrc, but now it barfs on the spaces in the Windows
> > directory names.
> >
> > Any help would be appreciated.
> >
> > Tim
>
> I had this problem a couple of months ago.  My problem was caused by the
> setup.exe being very helpful and (at least for me) defaulting to always
> installing the latest version of anything you already had installed.  And if
> you don't look at the right page, you don't know this is happening.
>
> So normally  I don't exit out of all my cygwin stuff when I am just
> installing a simple package (like octave).  But for that one moment,
> setup.exe decided that the cygwin dll, et al had to be touched.
>
> If you attempt to updated cygwin when cygwin (bash) is running, the
> cygwin.dll is locked.  So you can get updates to programs like rm that need
> that new cygwin.dll so everytime you run rm, you get this "missing blah
> ..could nto be found in cygwin1.dll".
>
> But you are hooped because setup.exe assumes that everything works (like rm)
> so if you try to reinstall with setup.exe, you are stuck.
>
> My fix was to exit out of all cygwin programs and in cmd, go looking for the
> cygwin1.dll (assuming c: drive)
>
> dir c:\cygwin\bin\cygwin1.dll*
>
> you should find a cygwin1.dll and a cygwin1.dll.new - move the cygwin1.dll
> to cygwin1.dll.old and cygwin1.dll.new to cygwin1.dll.  If you see any other
> .new files, you might want to do the same.
>
> Then I reinstalled using setup.exe all the cygwin tools again (core, etc) so
> that everything could run to completion successfully.
>
> If you don't find the cygwin1.dll.new file, then my problem was not your
> problem (MPNYP).
>
> Larrie.

Thanks for the response, but it doesn't seem to be the same problem. 
I do not have any .new files in c:\cygwin\bin.  I've tried
re-downloading and re-installing the the core (making sure I'm not
using the shell at the same time), but still have the problem.

Tim

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