Re: Common installation, user ID

2002-11-15 Thread Marc Girod
Hello,

I notice this several month old posting (17 Jul 2002), and find it is
related to problems I experienced myself recently, and I'd wish to
avoid in a next attempt (my host has been reinstalled in-between).

>>>>> "MH" == Manzoorul Hassan <[EMAIL PROTECTED]> writes:

MH> I would like to install cygwin in a common location (shared directory) 

In my case, I attempt the installation on a Windows Terminal Server.

MH> Currently, irrespective of the user that I am logged in as, the
MH> 'id' command shows that the user is Administrator

Anyway, same symptom here.

How did you solve your problems?
Did I miss something at the installation step?

Best Regards!
Marc

-- 
Marc GirodP.O. Box 323Voice:  +358-71 80 25581
Nokia NBI 00045 NOKIA Group   Mobile: +358-50 38 78415
Takomo 1 / 4c27   Finland Fax:+358-71 80 61604



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




sshd installation on NT 5.0

2002-11-26 Thread Marc Girod
Hi!

There has recently been a discussion on the installation of sshd on
NT4, but I feel my problems are more basic.

I installed cygwin on a Windows Terminal Server, for all users, as
local admin. I installed cygrunsrv, and openssh. I ran
ssh-host-config, and answered basically yes to everything (default).
I added a system environment variable: CYGWIN="binmode ntsec tty"

I got an entry in the services list, with automaitc startup, and "Log
on as" LocalSystem, but it doesn't start, neither automatically, nor
by hand from the start menu ("the service didn't return an error")...


Also, there is no /etc/services, should there be one?

In short, is there an installation guide, which I missed?

Best Regards!
Marc

-- 
Marc GirodP.O. Box 323Voice:  +358-71 80 25581
Nokia NBI 00045 NOKIA Group   Mobile: +358-50 38 78415
Takomo 1 / 4c27   Finland Fax:+358-71 80 61604



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: sshd installation on NT 5.0

2002-11-26 Thread Marc Girod
>>>>> "ADF" == Andrew DeFaria <[EMAIL PROTECTED]> writes:

ADF> Did you reboot after you added CYGWIN to your system environment?

Shame on me, I hadn't. I'm glad I kept my child faith in miracles.
Now I have, and it didn't affect.

Thanks anyway.

-- 
Marc GirodP.O. Box 323Voice:  +358-71 80 25581
Nokia NBI 00045 NOKIA Group   Mobile: +358-50 38 78415
Takomo 1 / 4c27   Finland Fax:+358-71 80 61604



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: sshd installation on NT 5.0

2002-11-26 Thread Marc Girod
>>>>> "VH" == Vince Hoffman <[EMAIL PROTECTED]> writes:

VH> have a look in /var/log/sshd.log any errors there ?

Empty.

VH> also in the event viewer and post any error messages back to the
VH> list.

There is some stuff in the Application folder (thanks, I didn't know
of the whole "Event Viewer")

First, there are lots of other errors, from sources: Perflib and
rasctrs (in pairs as it seems, 4 or 5 times a minute!??)

Then I find (need to key in, since I cannot copy-paste):

TypeDate   Time Source Category Event User   Computer
Information 27.11.2002 08:41:14 sshd   None 0 SYSTEM HEITSB03LAB
Error   27.11.2002 08:41:14 sshd   None 0 SYSTEM HEITSB03LAB

And in the Event Properties description (copy-paste works), respectively:

The description for Event ID ( 0 ) in Source ( sshd ) cannot be found.
The local computer may not have the necessary registry information or
message DLL files to display messages from a remote computer. The
following information is part of the event: sshd : Win32 Process Id =
0xBF4 : Cygwin Process Id = 0xBF4 : `sshd' service stopped.

The description for Event ID ( 0 ) in Source ( sshd ) cannot be found.
The local computer may not have the necessary registry information or
message DLL files to display messages from a remote computer. The
following information is part of the event: sshd : Win32 Process Id =
0xBF4 : Cygwin Process Id = 0xBF4 : starting service `sshd' failed:
execv: 128, Transport endpoint is not connected.

These are for may attempts to start the service from the menu.
Attempts to connect from other hosts are not detected (Connection
refused).

Ah... found something else in the System folder:

TypeDate   Time SourceCategory Event User Computer
Information 27.11.2002 08:57:11 Application Popup None 26N/A  HEITSB03LAB

Application popup: sshd.exe - Unable To Locate DLL : The dynamic link
library cygcrypto.dll could not be found in the specified path
D:\cygwin\usr\sbin;.;C:\WINNT\System32;C:\WINNT\system;C:\WINNT;c:\WINNT\system32;c:\WINNT;c:\WINNT\System32\Wbem;c:\Program
Files\Support Tools\;c:\Program Files\Resource Kit\;c:\Program
Files\nsr\bin;c:\Program Files\Common Files\Network
Associates\VirusScan
Engine\4.0.xx\;c:\WINNT\System32\Citrix\IMA;c:\WINNT\System32\Citrix\IMA\SubSystems;c:\WINNT\System32\Citrix\IMA;c:\WINNT\System32\Citrix\IMA\Subsystems;c:\WINNT\System32\Citrix\IMA;c:\WINNT\system32;c:\WINNT\SSLRelay;d:\Program
Files\Rational\ClearCase\bin;D:\cygwin\bin.

What did I fail to install?

VH>  The only guide i know of is /usr/doc/Cygwin/openssh-3.5p1-2.README  :)

But this looks like a very good reading...

Thanks a lot!
I have already much to dig.

-- 
Marc GirodP.O. Box 323Voice:  +358-71 80 25581
Nokia NBI 00045 NOKIA Group   Mobile: +358-50 38 78415
Takomo 1 / 4c27   Finland Fax:+358-71 80 61604



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: sshd installation on NT 5.0

2002-11-27 Thread Marc Girod
>>>>> "VH" == Vince Hoffman <[EMAIL PROTECTED]>
>>>>> "MG" == Marc Girod <[EMAIL PROTECTED]>

MG> What did I fail to install?

I installed the crypt libs, but they didn't bring in any
cygcrypto.dll.

Also, I wonder the search path. There is D:\cygwin\usr\sbin in it, but
not D:\cygwin\usr\lib where the other dlls are found...

VH> The only guide i know of is /usr/doc/Cygwin/openssh-3.5p1-2.README  :)

MG> But this looks like a very good reading...

There is something about the owner of /var/empty, which is in my case
SYSTEM ("standard configuration"). Shouldn't I change it to 'sshd' (as
I chose the privsep install option), and why didn't ssh-host-config do
it?

-- 
Marc GirodP.O. Box 323Voice:  +358-71 80 25581
Nokia NBI 00045 NOKIA Group   Mobile: +358-50 38 78415
Takomo 1 / 4c27   Finland Fax:+358-71 80 61604



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: sshd installation on NT 5.0

2002-11-27 Thread Marc Girod
>>>>> "CV" == Corinna Vinschen <[EMAIL PROTECTED]> writes:

CV> It's the OpenSSL package you're missing.

Thanks, now I got it, but it didn't help.

CV> There are no DLLs in /lib, except for applications which
CV> explicitely load them from there.

I see. I checked now that cygcrypto.dll is indeed in /usr/bin, i.e. in
/bin (is this a hard link? they have the same node id, as shown with
"ls -dli").

Now, I still get the same error in my System event viewer error
telling the dll is not found in the search path, yet it is accessible
from D:\cygwin\bin...

Application popup: sshd.exe - Unable To Locate DLL : The dynamic link library 
cygcrypto.dll could not be found in the specified path 
D:\cygwin\usr\sbin;.;C:\WINNT\System32;C:\WINNT\system;C:\WINNT;c:\WINNT\system32;c:\WINNT;c:\WINNT\System32\Wbem;c:\Program
 Files\Support Tools\;c:\Program Files\Resource Kit\;c:\Program 
Files\nsr\bin;c:\Program Files\Common Files\Network Associates\VirusScan 
Engine\4.0.xx\;c:\WINNT\System32\Citrix\IMA;c:\WINNT\System32\Citrix\IMA\SubSystems;c:\WINNT\System32\Citrix\IMA;c:\WINNT\System32\Citrix\IMA\Subsystems;c:\WINNT\System32\Citrix\IMA;c:\WINNT\system32;c:\WINNT\SSLRelay;d:\Program
 Files\Rational\ClearCase\bin;D:\cygwin\bin.  

CV> The owner must be the same who starts the sshd parent process.
CV> That's SYSTEM on NT/2K/XP boxes (as it's "root" on Unices).

Thanks. So it is right.

-- 
Marc GirodP.O. Box 323Voice:  +358-71 80 25581
Nokia NBI 00045 NOKIA Group   Mobile: +358-50 38 78415
Takomo 1 / 4c27   Finland Fax:+358-71 80 61604



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: sshd installation on NT 5.0

2002-11-27 Thread Marc Girod
>>>>> "MG" == Marc Girod <[EMAIL PROTECTED]> writes:

MG> Now, I still get the same error in my System event viewer error

Sorry, I was looking at an old error, i.e. this error was not
generated anymore.

There is no entry anymore in the System folder of the event viewer,
only in the Application one, the same kind of pairs as before:

TypeDate   Time Source Category Event User   Computer
Information 27.11.2002 12:20:54 sshd   None 0 SYSTEM HEITSB03LAB
Error   27.11.2002 12:20:54 sshd   None 0 SYSTEM HEITSB03LAB

with the following descriptions (respectively):

The description for Event ID ( 0 ) in Source ( sshd ) cannot be found. The local 
computer may not have the necessary registry information or message DLL files to 
display messages from a remote computer. The following information is part of the 
event: sshd : Win32 Process Id = 0x9FC : Cygwin Process Id = 0x9FC : `sshd' service 
stopped.

The description for Event ID ( 0 ) in Source ( sshd ) cannot be found. The local 
computer may not have the necessary registry information or message DLL files to 
display messages from a remote computer. The following information is part of the 
event: sshd : Win32 Process Id = 0x9FC : Cygwin Process Id = 0x9FC : starting service 
`sshd' failed: execv: 1, Operation not permitted.

So, the second one (the error) has changed...

Operation not permitted?

-- 
Marc GirodP.O. Box 323Voice:  +358-71 80 25581
Nokia NBI 00045 NOKIA Group   Mobile: +358-50 38 78415
Takomo 1 / 4c27   Finland Fax:+358-71 80 61604



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: sshd installation on NT 5.0

2002-11-27 Thread Marc Girod
>>>>> "MG" == Marc Girod <[EMAIL PROTECTED]> writes:

MG> Operation not permitted?

I tried from the command line and got:

$ ./sshd
Could not load host key: /etc/ssh_host_key
Could not load host key: /etc/ssh_host_rsa_key
Could not load host key: /etc/ssh_host_dsa_key
Disabling protocol version 1. Could not load host key
Disabling protocol version 2. Could not load host key
sshd: no hostkeys available -- exiting.
$ 

Indeed, there are no keys in /etc. Shouldn't ssh-host-config have
created them?

I run it again, and now it did:

$ ssh-host-config
Generating /etc/ssh_host_key
Generating /etc/ssh_host_rsa_key
Generating /etc/ssh_host_dsa_key
Overwrite existing /etc/ssh_config file? (yes/no) yes
Generating /etc/ssh_config file
Overwrite existing /etc/sshd_config file? (yes/no) yes
Privilege separation is set to yes by default since OpenSSH 3.3.
However, this requires a non-privileged account called 'sshd'.
For more info on privilege separation read /usr/doc/openssh/README.privsep.

Shall privilege separation be used? (yes/no) yes
Generating /etc/sshd_config file

Do you want to install sshd as service?
(Say "no" if it's already installed as service) (yes/no) yes

Which value should the environment variable CYGWIN have when
sshd starts? It's recommended to set at least "ntsec" to be
able to change user context without password.
Default is "binmode ntsec tty".  CYGWIN="binmode ntsec tty"
cygrunsrv: Error installing a service: OpenService:  Win32 error 1073:
The specified service already exists.


Host configuration finished. Have fun!ation finished. Have fun!

$ cd /usr/sbin
$ ./sshd
Bad owner or mode for /var/empty
$ ls -la /var/empty
total 0
drwxr-xr-x2 SYSTEM   SYSTEM  0 Nov 26 17:19 .
drwxrwxrwx6 Administ None0 Nov 26 17:19 ..
$ 

-- 
Marc GirodP.O. Box 323Voice:  +358-71 80 25581
Nokia NBI 00045 NOKIA Group   Mobile: +358-50 38 78415
Takomo 1 / 4c27   Finland Fax:+358-71 80 61604



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: sshd installation on NT 5.0

2002-11-27 Thread Marc Girod
>>>>> "CV" == Corinna Vinschen <[EMAIL PROTECTED]> writes:

CV> That's correct.

Right, thanks. Now, it worked from the command line, so that I could
connect from my other host.

I had a Success Audit event in the Security folder of the event
viewer. But then, I reprotected the empty directory, killed the sshd
process, and tried to start it from the Services pane.

It failed again with the same "Operation not permitted" error as
previously.

In the properties for the service, the path is:

D:\cygwin\bin\cygrunsrv.exe

and the "Log on as" account is "Local System account". I assume it is
sshd which is being started as user "sshd".

Also, there are no "Start parameters".

I try from the command line, first without arguments, then:

$ cygrunsrv -S sshd
cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error 1062:
The service has not been started.

-- 
Marc GirodP.O. Box 323Voice:  +358-71 80 25581
Nokia NBI 00045 NOKIA Group   Mobile: +358-50 38 78415
Takomo 1 / 4c27   Finland Fax:+358-71 80 61604



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: sshd installation on NT 5.0

2002-11-27 Thread Marc Girod
>>>>> "CV" == Corinna Vinschen <[EMAIL PROTECTED]> writes:

Thanks a lot for your help!

CV> Things to check:

I'll be back answering those asap.
Unfortunately, my host crashed (or so I believe: my session was
interrupted, and I cannot log in anymore), and my local support is not
as responsive as you...

My last attempts, a few weeks ago, had ended up in a similar way:
crash, then waiting for many days until the machine was completely
reinstalled. I had no way to investigate anything myself, and wasn't
told anything about the actual failure.

Afterwards, two things came to my mind:
- the extra errors in the event viewer logs: Perflib and rasctrs. Can
  *they* be the cause of the problem? If they took 300 bytes each, and
  there were a pair 5 times a minutes for 3 days, they took about
  13 Mb of space -- sure, nothing to explain the crash? If I get back
  to the host, I'll have a closer look at them...
- as I have installed cygwin, and packages under it, I have always
  started setup from the command line. In fact clicking on the setup
  icon wouldn't work, telling me to use the Add/[smthg] utility and
  put the host in some install mode. I even tried the utility, but
  couldn't find a source from local disk (options were CD ROM and some
  web site). Is there such an install mode, which I'd have by-passed,
  with some weird side-effects (cache flushing, registry protections,
  who knows)?

-- 
Marc GirodP.O. Box 323Voice:  +358-71 80 25581
Nokia NBI 00045 NOKIA Group   Mobile: +358-50 38 78415
Takomo 1 / 4c27   Finland Fax:+358-71 80 61604



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Bug in Cygwin SSHD on windows XP

2002-11-27 Thread Marc Girod
>>>>> "Max" == Max Bowsher <[EMAIL PROTECTED]> writes:

Max> 126 == DLL not found.

On win2k, I got the name of the dll and the value of the search path
from the Event Viewer, System Folder, in the description filed of the
popup for the related Information record.

-- 
Marc GirodP.O. Box 323Voice:  +358-71 80 25581
Nokia NBI 00045 NOKIA Group   Mobile: +358-50 38 78415
Takomo 1 / 4c27   Finland Fax:+358-71 80 61604



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: sshd installation on NT 5.0

2002-11-28 Thread Marc Girod
>>>>> "CV" == Corinna Vinschen <[EMAIL PROTECTED]> writes:

CV> Things to check:

CV> - /usr/sbin/sshd.exe, /bin/cygwin1.dll, /bin/cygcrypto.dll, /bin/cygz.dll 
CV>   executable for everyone?

$ ls -l /usr/sbin/sshd.exe /bin/cygwin1.dll /bin/cygcrypto.dll /bin/cygz.dll
-rwxrwxrwx1 Administ None   657920 Nov  9 11:58 /bin/cygcrypto.dll
-rwxrwxrwx1 Administ None   940360 Nov 23 05:20 /bin/cygwin1.dll
-rwxrwxrwx1 Administ None50688 Mar 12  2002 /bin/cygz.dll
-rwxrwxrwx1 Administ None   305664 Nov  9 11:20 /usr/sbin/sshd.exe

A bit liberal, maybe... Usually -r-xr-xr-x should be enough? (Also below)

CV> - /etc readable for everyone but only writable by the owner?

$ ls -ld /etc
drwxrwxrwx6 Administ None 4096 Nov 28 14:11 /etc

CV> - /etc/passwd, /etc/group readable for everyone?

$ ls -l /etc/passwd /etc/group
-rwxrwxrwx1 Administ None  468 Nov 26 17:12 /etc/group
-rwxrwxrwx1 Administ None 2904 Nov 26 17:20 /etc/passwd

CV> - /etc/passwd and /etc/group contain uid/gid 18 entry for SYSTEM, both
CV>   with SID in either pw_gecos or gr_passwd field?

$ grep -E '\<18\>' /etc/passwd /etc/group
/etc/passwd:SYSTEM:*:18:544:,S-1-5-18::
/etc/group:SYSTEM:S-1-5-18:18:8:

Not sure about the positions...

CV> - /etc/passwd contains sshd entry?

$ grep -E '\' /etc/passwd
sshd:unused_by_nt/2000/xp:1021:513:sshd 
privsep,U-HEITSB03LAB\sshd,S-1-5-21-1935655697-1409082233-1801674531-1021:/var/empty:/bin/false

CV> - /etc/ssh* owned by SYSTEM?

$ ls -l /etc/ssh*
-rw-rw-rw-1 NOSP_Adm None 1049 Nov 27 12:42 /etc/ssh_config
-rw---1 NOSP_Adm None  668 Nov 27 12:42 /etc/ssh_host_dsa_key
-rw-r--r--1 NOSP_Adm None  612 Nov 27 12:42 /etc/ssh_host_dsa_key.pub
-rw---1 NOSP_Adm None  537 Nov 27 12:42 /etc/ssh_host_key
-rw-r--r--1 NOSP_Adm None  341 Nov 27 12:42 /etc/ssh_host_key.pub
-rw---1 NOSP_Adm None  887 Nov 27 12:42 /etc/ssh_host_rsa_key
-rw-r--r--1 NOSP_Adm None  232 Nov 27 12:42 /etc/ssh_host_rsa_key.pub
-rw-rw-rw-1 NOSP_Adm None 2142 Nov 27 12:42 /etc/sshd_config

Changed to SYSTEM:SYSTEM

CV> - /etc/ssh*key files only writable by owner SYSTEM?

$ ls -l /etc/ssh*key
-rw---1 SYSTEM   SYSTEM668 Nov 27 12:42 /etc/ssh_host_dsa_key
-rw---1 SYSTEM   SYSTEM537 Nov 27 12:42 /etc/ssh_host_key
-rw---1 SYSTEM   SYSTEM887 Nov 27 12:42 /etc/ssh_host_rsa_key

CV> - /var/empty owned by SYSTEM?
CV> - /var/empty permissions only writable by owner SYSTEM?

$ ls -ld /var/empty
drwxr-xr-x2 SYSTEM   SYSTEM      0 Nov 26 17:19 /var/empty

And yes, it started...
Thank You very much!

-- 
Marc GirodP.O. Box 323Voice:  +358-71 80 25581
Nokia NBI 00045 NOKIA Group   Mobile: +358-50 38 78415
Takomo 1 / 4c27   Finland Fax:+358-71 80 61604



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: sshd installation on NT 5.0

2002-11-28 Thread Marc Girod
>>>>> "MG" == Marc Girod <[EMAIL PROTECTED]> writes:

MG> A bit liberal, maybe... Usually -r-xr-xr-x should be enough? (Also below)

Once I was mentioning protections problems (some enhancements to the
post-processing part of the installation?), one more detail: it seems
that ssh connections won't work if there is no read rights to other on
the ~/.ssh/authorized_keys* files.

That's no the case on unix...

Best Regards!
Marc

-- 
Marc GirodP.O. Box 323Voice:  +358-71 80 25581
Nokia NBI 00045 NOKIA Group   Mobile: +358-50 38 78415
Takomo 1 / 4c27   Finland Fax:+358-71 80 61604



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Problems using sshd as a service

2002-12-04 Thread Marc Girod
>>>>> "DB" == David Brown <[EMAIL PROTECTED]> writes:

DB> Any ideas would be much appreciated.

I had similar problems recently, and Corinna Vinschen (among others)
helpped me to solve them.
Just look at messages in this group/list with a subject of:

  sshd installation on NT 5.0

between 26 and 29.11.
Eventually, my problems were with the ownership of the files and
directories (OK for starting from the command line, but not as a
service) and the protections (read for all).

-- 
Marc GirodP.O. Box 323Voice:  +358-71 80 25581
Nokia NBI 00045 NOKIA Group   Mobile: +358-50 38 78415
Takomo 1 / 4c27   Finland Fax:+358-71 80 61604



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Intermittent problems on Vista (was: tetex on Vista)

2007-12-12 Thread Marc Girod

Hi,


Dave Korn wrote:
> 
> On 04 December 2007 13:18, Wilfried wrote:
> ...
>> I also observed this, even with UAC (User Account Control) deactivated.
> ...
>   Is it possible that the same thing is happening as a result of running
> setup.exe as an admin user under vista but running cygwin itself as the
> ordinary limited user?
> ...
> 

I had just problems running startx, which failed with a forking error,
and I found the thread about the need to run programs with 'instal'
in their name under 'elevated' rights:

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1020271&SiteID=1

...and I wonder what is the status of all this.
Now, my startx suddenly succeeded twice in a row.
I re-ran setup.exe as Administrator, and got the same dialog as
twice before already:

  This program might not have been installed correctly
...
offering to 'reinstall using recommended settings'...
I could find no mention of this in the FAQ.

I have not deactivated the UAC, should I?

Thanks,
Marc
-- 
View this message in context: 
http://www.nabble.com/tetex-on-Vista-tp14108577p14297841.html
Sent from the Cygwin list mailing list archive at Nabble.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: Intermittent problems on Vista (was: tetex on Vista)

2007-12-12 Thread Marc Girod

Hi again,

I reported that startx worked fine,...

Marc Girod wrote:
> 
> Now, my startx suddenly succeeded twice in a row.
> 
...but emacs started within it does not: I cannot start a 'shell'.
>From the *Messages* buffer:

Source file `/usr/share/emacs/21.2/lisp/comint.el' newer than byte-compiled
file
Loading shell (compiled; note, source file is newer)...done
apply: Doing vfork: no error
apply: Doing vfork: resource temporarily unavailable [2 times]

Marc
-- 
View this message in context: 
http://www.nabble.com/tetex-on-Vista-tp14108577p14298291.html
Sent from the Cygwin list mailing list archive at Nabble.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/



emacs shell (was: Intermittent problems on Vista)

2007-12-12 Thread Marc Girod

Hi again,

Still not clear about whether this is just a symptom of a known and generic
problem with Vista...


Marc Girod wrote:
> 
> From the *Messages* buffer:
> 
> Source file `/usr/share/emacs/21.2/lisp/comint.el' newer than
> byte-compiled file
> Loading shell (compiled; note, source file is newer)...done
> apply: Doing vfork: no error
> apply: Doing vfork: resource temporarily unavailable [2 times]
> 

And the error in the terminal from where emacs was started is (several times
each code, as if at random, with different address ranges):

379530601 [main] emacs 4964 child_copy: linked dll data write copy failed,
0x33B000..0x33B440, done 0, windows pid 4080, Win32 error 487
570693374 [main] emacs 4964 child_copy: linked dll data write copy failed,
0x94..0x940240, done 0, windows pid 4080, Win32 error 998

Marc
-- 
View this message in context: 
http://www.nabble.com/tetex-on-Vista-tp14108577p14300048.html
Sent from the Cygwin list mailing list archive at Nabble.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/



Not yet supported (was: emacs shell)

2007-12-12 Thread Marc Girod

Hi...


Marc Girod wrote:
> 
> And the error in the terminal from where emacs was started is (several
> times each code, as if at random, with different address ranges):
> 
> 379530601 [main] emacs 4964 child_copy: linked dll data write copy failed,
> 0x33B000..0x33B440, done 0, windows pid 4080, Win32 error 487
> 570693374 [main] emacs 4964 child_copy: linked dll data write copy failed,
> 0x94..0x940240, done 0, windows pid 4080, Win32 error 998
> 

OK. I get now the same kind of errors again with startx:

326 [main] xterm 4680 child_copy: linked dll data write copy failed,
0x869000..0x86CF40, done 0, windows pid 5416, Win32 error 87
xterm: Error 29, errno 11: Resource temporarily unavailable
Reason: spawn: fork() failed
xinit:  Resource temporarily unavailable (errno 11):  can't send HUP to
process group 4680

...and I found such hits in older messages in the archive, with other
variants of Windows, in conjunction to inconsistent versions of cygwin1.dll.
I checked there is no such problem now.
But running 'cygcheck -s', I got into:

Windows Longhorn/Vista (not yet supported!) Ver 6.0 Build 6000

Marc
-- 
View this message in context: 
http://www.nabble.com/tetex-on-Vista-tp14108577p14301296.html
Sent from the Cygwin list mailing list archive at Nabble.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: Not yet supported (was: emacs shell)

2007-12-12 Thread Marc Girod

Thanks...


Dave Korn wrote:
> 
>   Good.  The next things to try would be running a rebaseall[*], and
> checking
> the BLODA[**].
> 

rebaseall ran without any output.
The only BLODA I can recognize is McAfee anti-virus.
There is an integrated WebCam on the laptop, but no Logitech labelled
process in the task manager output.

After this, startx started at least twice in a row, but emacs didn't show
up.
I.e. started, but no window!...

I ran the ash & rebaseall with my normal account, not as Administrator...?

Marc
-- 
View this message in context: 
http://www.nabble.com/tetex-on-Vista-tp14108577p14302172.html
Sent from the Cygwin list mailing list archive at Nabble.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/



emacs (was: Not yet supported)

2007-12-12 Thread Marc Girod

Hi Ken,


Ken Brown-6 wrote:
> 
> This is an old problem.  You have to reinstall libncurses7 to get emacs 
> back.  See
> 
> http://sourceware.org/ml/cygwin/2006-10/msg00540.html
> 

Indeed.
And my shell started in emacs too...
Gee... but I am short of problems!
Thanks!

Marc
-- 
View this message in context: 
http://www.nabble.com/tetex-on-Vista-tp14108577p14303136.html
Sent from the Cygwin list mailing list archive at Nabble.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/



shell-file-name (was: emacs)

2007-12-12 Thread Marc Girod

Hi,


Marc Girod wrote:
> 
> And my shell started in emacs too...
> Gee... but I am short of problems!
> 

Maybe I can contribute something...
The default value of shell-explicit-shell-file-name in emacs is /bin/sh, not
/usr/bin/bash
with the result that aliases do not work (because even if HOME is defined
correctly
.bashrc is not run).
Of course, this is a trivial customization, but maybe this value is
surprising for people
who might not know to look at it.

Thanks again all!
Marc
-- 
View this message in context: 
http://www.nabble.com/tetex-on-Vista-tp14108577p14303962.html
Sent from the Cygwin list mailing list archive at Nabble.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/



_update-info-dir (was: libXm.so)

2007-12-31 Thread Marc Girod

Hello,

I was skimming this thread, and found an answer to a question I did have
time to make:


Dave Korn wrote:
> 
>   http://cygwin.com/packages/ is the best place to search.  If it's in the
> cygwin distro, that will tell you which package you need installed.
> 

But what I am looking for is:
 _update-info-dir/_update-info-dir-00573-1   Generate info/dir file
automatically

Now, trying to install this from setup, I cannot find it.
I assume it should be in the Doc category, but is not.
I cycle the View to show all packages, and get the full list in alphabetic
order, from
 a2ps
to
 zsh

If the leading '_' was ignored, it ought to be between unzip and upx...

What am I missing?

Thanks,
Marc
-- 
View this message in context: 
http://www.nabble.com/libXm.so-tp14555733p14560489.html
Sent from the Cygwin list mailing list archive at Nabble.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: _update-info-dir (was: libXm.so)

2007-12-31 Thread Marc Girod
Thanks...

On Dec 31, 2007 7:52 PM, Captain Webber <[EMAIL PROTECTED]> wrote:
> Find it as /etc/setup/_update-info-dir.lst.gz

setup> cd /tmp
tmp> zcat /etc/setup/_update-info-dir.lst.gz > _update-info-dir.lst
tmp> wc -l _update-info-dir.lst
3 _update-info-dir.lst
tmp> cat _update-info-dir.lst
etc/
etc/postinstall/
etc/postinstall/update-info-dir.sh
tmp> ll /etc/postinstall/update-info-dir.sh
ls: cannot access /etc/postinstall/update-info-dir.sh: No such file or directory
tmp> cd /etc/postinstall/
postinstall> ll update-info-dir.sh.done
-r-xr-x---+ 1 marc Users 413 Feb 20  2006 update-info-dir.sh.done

Ah... The point is that there was no 'dir' in either of the two info
directories I found:
/usr/info, and /usr/share/info, before I edited one myself by hand.

So, possibly this was run once at an early stage, and I should ran it again?
Which I did. Thanks: it worked.

Marc

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



chmod o-r woes...

2008-02-22 Thread Marc Girod
Hello,

I read: http://cygwin.com/faq/faq-nochunks.html#faq.using.chmod
and: http://cygwin.com/cygwin-ug-net/ntsec.html,

and still do not understand...
I am unable to remove the read right for world (and group) from .netrc.

~> export CYGWIN=ntsec
~> chmod -c o-r .netrc
mode of `.netrc' changed to 0640 (rw-r-)
~> ls -la .netrc
-rw-r--r-- 1 emagiro Domain Users 54 Feb 21 11:33 .netrc
~> getfacl .netrc
# file: .netrc
# owner: emagiro
# group: Domain Users
user::rw-
group::r--
other:r--
mask:rwx
~>

I installed cygwin 'for myself' as I did not have admin rights on this box
(which I got later).
I built the /etc/passwd and /etc/group with the utilities and the -l -d
options (takes hours on my network...)
mkpasswd is in fact still pending, so that I use a temp version of it,
in which I had a 'local' entry for myself:

etc> grep emagiro passwd*
passwd:emagiro:unused_by_nt/2000/xp:654351:10513:emagiro,U-EEMEA\emagiro,S-1-5-21-507921405-1897051121-725345543-644351:/cygdrive/h:/bin/bash
etc> id
uid=654351(emagiro) gid=10513(Domain Users)
groups=544(Administrators),545(Users),552997(DATA-G-AdvancedCopper-R)
...

[I truncated]
I ran cygcheck -c and -s and could not see anything wrong.

What can I do to fix my environement, or even to diagnose what's wrong?
strace chmod...?

Marc

--
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: chmod o-r woes...

2008-02-24 Thread Marc Girod
Thanks Dave,

Dave Korn  artimi.com> writes:

>   This H drive of which you speak, it is a network drive perhaps?

Indeed.

> paying close attention to the bit about how to generate, attach and send your
> cygcheck output with your question to the list

Argh! How do I attach something via gmane?
How can I reply to your mail otherwise?

$ cygcheck -s -v -r > cygcheck.out
$ wc -l cygcheck.out
459 cygcheck.out

I won't insert it now. I'll wait for your suggestions.

>   But I agree that documentation you mentioned could be clarified a bit, it
> doesn't (as far as I could see after a quick skim through) explicitly mention
> smbntsec, just links to the ntsec section of the same page.

ntsec binds to a url.
No smbntsec.html can be found from the same space.
Do you have a path for me?

Marc


--
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: chmod o-r woes...

2008-02-25 Thread Marc Girod
Dave Korn  artimi.com> writes:

>   Highly significant ...

No doubt.

> -> the words "CYGWIN environment variable" are a link to
>http://cygwin.com/cygwin-ug-net/using-cygwinenv.html

This I had found... But not clearly understood whether I was
supposed to set it myself, or whether Cygwin would set an 
initial value. I found it empty, and tried myself to give it
a value dynamically, without result, so that I did not set it
in my .bash_profile.

> -> description of smbntsec just below:

Which I had missed... Shame on me.

>   So, try your original test again, but with
> 
> ~> export CYGWIN=ntsec smbntsec
> 
> at the start.

Thanks. This helpped.
I didn't even have to give the chmod again.
With the environment variable, the rights showed up correctly.
[I now set this to my .bash_profile]

Which is of course worrisome: in order to read my password,
on just needs to unset the CYGWIN environment variable...

Marc


--
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: chmod o-r woes...

2008-02-25 Thread Marc Girod
Will Parsons  nodomain.invalid> writes:

> What I've done is to uuencode it (I think uuencode is part of sharutils):
> 
> $ uuencode cygcheck.out cygcheck.out > cygcheck.uue
> 
> and inserted the uuencoded text into the message.  Nobody's complained, so
> I think it must work.

Thanks.
I believe this is what I'll do next time (rather than install ThunderBird 
as Michael suggested (thanks anyway)).
But for now, I assume that my problem being 'solved', this is not 
necessary anymore?

Marc


--
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: chmod o-r woes...

2008-02-25 Thread Marc Girod
Dave Korn  artimi.com> writes:

>   I always set my basic CYGWIN settings in the windows system properties
> global environment.

Thanks. I did it now.

>   If the remote drive supports proper NTFS ACLs, any file cygwin creates on it
> /while/ CYGWIN=smbntsec is in effect will have proper NTFS access permissions,
> so, e.g. if it has rwx--, it will only have access permissions for your
> windows user account.  You might want to chmod -R 700 (or whatever group/world
> perms you'd prefer) your home drive to make sure nobody can go snooping.

I may have cried victory too early.
I tried now to set the permissions as you suggested, and it failed 
the other way around:

~> chmod go+r .bash_profile
chmod: changing permissions of `.bash_profile': Permission denied
~> ll .bash_profile
-rwx--+ 1 emagiro Domain Users 66 Feb 25 10:29 .bash_profile
~> getfacl .bash_profile
# file: .bash_profile
# owner: emagiro
# group: Domain Users
user::rwx
group::---
group:Administrators:rwx
mask:rwx
other:---
~> ll -d .
drwx--+ 6 Administrators Domain Users 0 Feb 25 10:39 .

I now add the updated and uuencoded cygcheck.out:

begin 700 cygcheck.uue
M#0I#>6=W:[EMAIL PROTECTED])A=&EO;B!$:6%G;F]S=&EC[EMAIL PROTECTED]&[EMAIL PROTECTED]($9E8B`R-2`Q,3HR.#HR,R`R,#`X#0H-"E=I;F1O
M=W,@,C`P,"!06=W:6Y<=7-R
[EMAIL PROTECTED],5(V7&)I;@T*"4,Z7&-Y9W=I;EQU6=W:6Y<[EMAIL PROTECTED],5(V
M7&)I;@T*"6,Z7%=)3DY47'-Y6%<4F5S97)V97(@9F]R($]U
M=&QO;VM<#0H)8SI<5TE.3E0-"@DE4$%42"4-"@EC.EQ0'0-"@EC.EQ06=W:6Y<8FEN7&ED+F5X92`H;F]N='-E8RD-"E5)1#H@
M-C4T,S4Q*&5M86=I&[EMAIL 
PROTECTED]&YT4-#1$(M4BD-"C8R,30X."A$051!+4FEO;F5%=F5N=&[EMAIL PROTECTED](Q,S0U*$1!5$$M1RU297!?4S4R=&@M4BD-
M"C8R,3,T,RA$051!+47-P'5S97)S*0T*,34V.#`Q*$5%22U"2'5S97)S*2`@("`@
M("`@("`@("`@("`@(#$T.30Y,BA%14DM57-E7-$:7(Z($,Z7%=)3DY47'-Y"<-"@T*2$]-15!!5$@@
M/2`G7"<-"D%04$1!5$$@/2`G0SI<1&]C=6UE;G1S(&%N9"!3971T:6YG7-Y;41")PT*4%)/0T534T]27TE$14Y4249)15(@/2`G>[EMAIL PROTECTED]($9A;6EL
M>2`Q-2!-;V1E;"`T(%-T97!P:6YG(#$L($=E;G5I;F5);G1E;"<-"E1%4DT@
M/2`G9'5M8B<-"E=)3D1)4B`]("=#.EQ724Y.5"<-"E=)3D1/5TE$(#T@)S$P
[EMAIL PROTECTED]7-T96TS,EQO6=W:[EMAIL PROTECTED]
M,[EMAIL PROTECTED],CDI)PT*4TA,5DP@/2`G-"<-"E!!5$A%6%0@/2`G+D-/33LN15A%.RY"
M050[+D--1#LN5D)3.RY60D4[+DI3.RY*4T4[+E=31CLN5U-()PT*55-%4D1.
M4T1/34%)3B`]("=E96UE82YE&PN:F%R.T,Z7%!R
M;[EMAIL PROTECTED]<2F%V85QJ6=D6=C:&5C
M:R<-"@T*2$M%65]#55)214Y47U5315)<4V]F='=A6=W:6X-"DA+15E?0U524D5.5%]54T527%-O9G1W87)E7$-Y9VYU
M6=D6=N=7,@4V]L=71I;VYS7$-Y9W=I;@T*2$M%65],3T-!3%]-04-(
M24Y%7%-/1E1705)%7$-Y9VYU6=D6=N=7,@4V]L=71I;VYS7$-Y9W=I;EQM;W5N=',@=C)<+PT*("`H9&5F875L
M="D@/2`G0SI<8WEG=VEN)PT*("!F;&%G6=N=7,@4V]L=71I;VYS7$-Y9W=I
M;EQM;W5N=',@=C)<+W5S#`P,#`P,#!A#0I(2T597TQ/0T%,7TU!0TA)3D5<4T]&5%=!
M4D5<0WEG;G5S(%-O;'5T:6]N6=W:6Y<4')O9W)A;2!/<'1I;VYS#0H-
M"F$Z("!F9"`@("`@("`@("`@("!.+T$@("[EMAIL PROTECTED]("`@("`@("`@("`@("`@
M("`@("`-"F,Z("!H9"[EMAIL PROTECTED]&4R`@("[EMAIL PROTECTED]@.3,E($-0($-3(%5.
M(%!!($9#("`@("!%4T]%7U6=D<[EMAIL PROTECTED]6=W:6X@
M("`@("`O("`@("`@("`@('-Y7-T96T@(&)I;FUO9&4-"D,Z7&-Y9W=I;B]L:6(@
M("]U6=D6=W:6Y<8FEN7&9I
M;F0N97AE#0I.;[EMAIL PROTECTED];F0Z(&=C8PT*3F]T($9O=6YD.B!G9&(-"D9O=6YD
M.B!#.EQC>6=W:6Y<8FEN7&=R97`N97AE#0I&;[EMAIL PROTECTED]<8WEG=VEN7&)I
M;EQK:6QL+F5X90T*1F]U;F0Z($,Z7&-Y9W=I;EQB:6Y<;&0N97AE#0I&;W5N
[EMAIL PROTECTED]<8WEG=VEN7&)I;EQL&4-"DYO="!&;W5N9#H@;6%K90T*1F]U
M;F0Z($,Z7&-Y9W=I;EQB:6Y<;78N97AE#0I.;[EMAIL PROTECTED];F0Z('!A=&-H#0I&
M;[EMAIL PROTECTED]<8WEG=VEN7&)I;EQP97)L+F5X90T*1F]U;F0Z($,Z7&-Y9W=I
M;EQB:6Y<6=A6=B>C(M
M,2YD;&[EMAIL PROTECTED]7,]-"XP#0H@("`@("`@("`@("`@
M("`@("`B8WEG8GHR+3$N9&QL(B!V,"XP('1S/3(P,#8O,3$O,3`@,C,Z-#(-
M"B`@("`W:R`R,#`S+S$P+S$Y($,Z7&-Y9W=I;EQB:6Y<8WEG8W)Y<'0M,"YD
M;&[EMAIL PROTECTED]7,]-"XP#0H@("`@("`@("`@("`@("`@
M("`B8WEG8W)Y<'0M,"YD;&PB('[EMAIL PROTECTED]',],C`P,R\Q,"\Q.2`X.C4W#0H@
M(#DT,VL@,C`P-R\Q,B\Q-R!#.EQC>6=W:6Y<8FEN7&-Y9V1B+30N-2YD;&P@
M+2!O7,]-"XP#0H@("`@("`@("`@("`@("`@("`B
M8WEG9&(M-"XU+F1L;"(@=C`N,"!T6=W:6Y<8FEN7&-Y9V1B7V-X>"TT+C4N9&QL
M("T@;W,]-"XP(&EM9STQ+C`@"TT+C4N9&QL(B!V,"XP('1S/3(P,#7,]-"XP#0H@("`@("`@("`@("`@("`@
M("`B8WEG97AP870M,"YD;&PB('[EMAIL PROTECTED]',],C`P-R\T+S8@,C$Z-#,-"B`@
M,38Q:R`R,#`W+S`S+S(X($,Z7&-Y9W=I;EQB:6Y<8WEG9F]N=&-O;F9I9RTQ
M+F1L;"`M(&]S/30N,"!I;6<],2XP('-Y6=F;VYT8V]N9FEG+3$N9&QL(B!V,"XP('1S/3(P,#6=F;W)M
[EMAIL PROTECTED]&QL("T@;W,]-"XP(&EM9STQ+C`@6=W:6Y<8FEN7&-Y9V9O6=F;W)M-RYD;&PB('[EMAIL PROTECTED]',],C`P,R\X+SD@,3`Z,C4-"[EMAIL 
PROTECTED]
M:R`R,#`W+S`U+S,Q($,Z7&-Y9W=I;EQB:6Y<8WEG9G)E971Y<&4M-BYD;&P@
M+2!O7,]-"XP#0H@("`@("`@("`@("`@("`@("`B
M8WEG9G)E971Y<&4M-BYD;&PB('[EMAIL PROTECTED]',],C`P-R\U+S,Q(#0Z,S0-"B`@
M(#$Y:R`R,#`V+S$Q+S$Y($,Z7&-Y9W=I;EQB:6Y<8WEG9V1B;2TT+F1L;"`M
M(&]S/30N,"!I;6<],2XP('-Y6=G9&)M+30N9&QL(B!V,"XP('1S/3(P,#8O,3$O,[EMAIL PROTECTED]("`@(#AK
M(#(P,#8O,3$O,[EMAIL PROTECTED]<8WEG=VEN7&)I;EQC>6=G9&)M7V-O;7!A="TT+F1L
M;"`M(&]S/30N,"!I;6<],2XP('-Y6=G9&)M7V-O;7!A="TT+F1L;"(@=C`N,"!T38N9&QL("T@;W,]-"XP(&EM9STQ+C`@6=W:6Y<8FEN7&-Y9VEC;VYS+3`N
M9&QL("T@;W,]-"XP(&EM9STQ+C`@6=W:6Y<8FEN7&-Y9VEC;VYV+3(N9&QL
M("T@;W,]-"XP(&EM9STQ+C`@6=I;G1L+3$

Re: Uuencoded cygcheck

2008-02-25 Thread Marc Girod
Larry Hall (Cygwin  cygwin.com> writes:

> Is this really a recommended way of transmitting this information?

I made a minor mistake in addition...
I didn't remember correctly the reason for the 'remotefile' 
argument of uuencode, and I gave cygcheck.uue, instead of 
cygcheck.out.

Marc


--
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: Uuencoded cygcheck

2008-02-26 Thread Marc Girod
Marc Girod  gmail.com> writes:

> 
> Larry Hall (Cygwin  cygwin.com> writes:
> 
> > Is this really a recommended way of transmitting this information?

I note in addition:
- that the '@' characters were converted to '  ',
  which makes the use of the uuencoded data more
  challenging than necessary
- that nobody replied anymore...

Marc



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



Attachment without nntp (was: Uuencoded cygcheck)

2008-02-29 Thread Marc Girod
Marc Girod  gmail.com> writes:

> > Larry Hall (Cygwin  cygwin.com> writes:
> > 
> > > Is this really a recommended way of transmitting this information?
 
> I note in addition:
...
> - that nobody replied anymore...

Well, I tried now the alternative road, and installed TunderBird.
I guess I got what I expected: neither nntp nor snntp (563) ports are
drilled in my company's firewall.

So, this road is blocked too, no?

What next? Cry, yes, but then?

Marc




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



chmod failure (was: Attachment without nntp)

2008-03-03 Thread Marc Girod
Hello,

Brian Dessent  dessent.net> writes:

> http://pastebin.com/

First thanks to Will for following up (I very much agree with much 
of what you wrote), and thanks to Brian for this new suggestion.

So this is my cygcheck.out:

http://pastebin.com/m4c045ea9

This is on a differnt host than previously,
a laptop on which I installed Cygwin 'for all',
in which I have the CYGWIN environment variable set in the system environment
to use both ntsec and smbntsec,
with my same home directory from a network drive.
I have seeded the /etc/[passwd|group] files with the respective commands
and the -l -d options, with the following quirk:
my mkpasswd process has been running over the week-end, and I have been
refreshing passwd by taking copies of the current status, and adding a 
line for my own account.
Funny: the timestamp doesn't change, and marks the creation time of the 
file, although it has been updated recently.

Here is the symptom about which I hope to read an explanation:

~> ls -ld . .bashrc
drwx--+ 8 Administrators Domain Users   0 Feb 29 13:14 .
-rwx--+ 1 emagiroDomain Users 118 Feb 29 13:14 .bashrc
~> chmod go+r .bashrc
chmod: changing permissions of `.bashrc': Permission denied
~> id
uid=654351(emagiro) gid=10545(Domain Users)
groups=544(Administrators),545(Users),552997(DATA-G-AdvancedCopper-R),
507088(DATA-G-AreaVisibileOL0-R),621351(DATA-G-ContractControl-R),
537205(DATA-G-Delivery2UK-R),578809(DATA-G-DFMapplication-R),
537126(DATA-G-DocumentiCEM-R),621450(DATA-G-Formazione-R),
621317(DATA-G-IndustrialEng-R),621462(DATA-G-Inventario-C),
537584(DATA-G-IOM Scanner-R),621308(DATA-G-LabStrumentiMSud-R),
543532(DATA-G-LegacyCCDB-R),621488(DATA-G-MaOPM-R),543162(DATA-G-Metrics-R),
647455(DATA-G-NPC Metriche-R),647192(DATA-G-NPCEngineering-R),
524937(DATA-G-NPIBuildPlan-R),
537114(DATA-G-OpticalDB-R),567649(DATA-G-OpticalNet-R),
621314(DATA-G-Pianif-AltreLinee-R),621354(DATA-G-PlanningControl-R),
638286(DATA-G-PubblicazioneEventi-R),621345(DATA-G-Rep_S52th-R),
621343(DATA-G-Rep_S54-R),490364(DATA-G-Segreteria Centro-R),
537289(DATA-G-Shuttle-R),543277(DATA-G-Sysprovhp-C),
647472(DATA-G-Vista Refresh-R),10513(Domain Users),108690(EEI-AC-trxusers),
156801(EEI-BHusers),149492(EEI-Users),545995(INACC-DEL-MANAGE-C),
12197(INACC-POINTSEC-R),156809(LMI-BHUsers),490152(TEAM-G-AreaWind-R),
490154(TEAM-G-Fastweb-R),552836(TEAM-G-FotonicaShared-C),
490385(TEAM-G-GIG-R),621402(TEAM-G-MAdepANR-R),
490194(TEAM-G-Vodafone&MUX NRO-R),10545(Domain Users)

(all on one line which I had to cut to <80 chars to make gmane happy).

I fail to get a passwordless ssh session to a unix host, and to start
http2--Bad system call, with a log of:
[Mon Mar 03 12:01:01 2008] [info] mod_unique_id: using ip addr 159.107.167.27
[Mon Mar 03 12:01:01 2008] [info] Init: Seeding PRNG with 136 bytes of entropy
[Mon Mar 03 12:01:02 2008] [info] Init: Generating temporary RSA private keys
(512/1024 bits)
[Mon Mar 03 12:01:02 2008] [info] Init: Generating temporary DH parameters
(512/1024 bits)


I guess these may relate to the first problem.
Thanks
Marc


--
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: chmod failure

2008-03-03 Thread Marc Girod
Hi again,

Marc Girod  gmail.com> writes:

> This is on a different host than previously,

Just a couple of additions...
I do have admin rights on that box.

> Here is the symptom about which I hope to read an explanation:
 
> ~> ls -ld . .bashrc
> drwx--+ 8 Administrators Domain Users   0 Feb 29 13:14 .
> -rwx--+ 1 emagiroDomain Users 118 Feb 29 13:14 .bashrc
> ~> chmod go+r .bashrc
> chmod: changing permissions of `.bashrc': Permission denied

~> touch foo
~> ll foo
-rw-r--r-- 1 emagiro Domain Users 0 Mar  3 14:32 foo
~> getfacl foo
# file: foo
# owner: emagiro
# group: Domain Users
user::rw-
group::r--
mask:rwx
other:r--
~> getfacl .bashrc
# file: .bashrc
# owner: emagiro
# group: Domain Users
user::rwx
group::---
group:Administrators:rwx
mask:rwx
other:---
~> getfacl .
# file: .
# owner: Administrators
# group: Domain Users
user::rwx
user:emagiro:rwx
group::---
mask:rwx
other:---
default:user:Administrators:rwx
default:user:emagiro:rwx
default:mask:rwx

At some point, .bashrc got Adminsitrators as group, as it seems...
I don't quite understand all this...
But maybe it is explained in the ntsec page...

Marc



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



mkpasswd -l -d completed after 5 days

2008-03-05 Thread Marc Girod
Hello,

I started a 'mkpasswd -d -l > passwd.ld' process last Friday around 15:30,
and this one completed today (Wednesday) at 8:42.
The size of the file produced is 3 MB, or 20142 lines.
It does contain an entry for (one of) my colleagues, but not for myself.

I gave a cygckeck.out file 2 days ago via pastebin (since I cannot do it 
via an attachment):

  http://pastebin.com/m4c045ea9

It should still be valid for 19 days...

My other problems (first with chmod) are still unsolved.
Should I repeat/sum it up?
Or would this be considered as spam, since the thread is available?

http://cygwin.com/ml/cygwin/2008-03/msg00028.html

Marc


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



Starting http2: Win32 error 1062

2008-03-05 Thread Marc Girod
Hello,

I installed now apache2, and tried to start it as a service.
Here is a transcript:

~> cygrunsrv --list
cygserver
httpd2
~> cygrunsrv --start httpd2
cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error 1062:
The service has not been started.


/var/log/httpd2.log contains records such as:

(13)Permission denied: httpd2: could not open error log file
/var/log/apache2/error_log.
Unable to open logs

I cannot see what would be wrong with /var/log/apache2:

~> getfacl /var/log/apache2
# file: /var/log/apache2
# owner: emagiro
# group: Users
user::---
group::---
mask:rwx
other:rwx
default:other:rwx
~> ls -la /var/log/apache2
total 5
drwxrwxrwx+ 2 emagiro Users   0 Mar  3 11:22 .
drwxrwxrwx+ 3 emagiro Users   0 Mar  5 12:36 ..
-rw-r--r--  1 emagiro Domain Users0 Mar  3 11:22 access_log
-rw-r--r--  1 emagiro Domain Users 4788 Mar  3 12:01 error_log

Here is my updated cygcheck.out:

http://pastebin.com/m4f71f81c

Thanks for any help!
Marc


--
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: Starting http2: Win32 error 1062

2008-03-05 Thread Marc Girod
Hi Dave,

Dave Korn  artimi.com> writes:

> fortunately your cygcheck had the answer

This is also why I didn't add these, knowing they would be redundant.

>   That error message does not say that anything is wrong with
> /var/log/apache2.  It says that something is wrong with
> /var/log/apache2/error_log.
> 
> > -rw-r--r--  1 emagiro Domain Users 4788 Mar  3 12:01 error_log

Thanks, indeed.
 
> Account : LocalSystem
> ^^ 
> 
> you have installed it to run as the LocalSystem user.  LocalSystem does not
> have write permission for that file because LocalSystem is not you.

cygrunsrv did it... I ran cygrnsrv.

>   This probably happened because you probably manually ran apache2 under
> your own user id while doing the installation

Now that you mention it, this is correct.

> - this is why we really need to know exactly what you did and every step
> on the way - and it was the first time it had ever been run, which means
> that it created the files for the logs for the first time because they
> didn't exists yet, which means it was running as you and created them
> only with perms for you.

Makes sense.
 
>   You chould 'chown' the log files so LocalSystem owns them, or you could
> delete them and let apache2 recreate them next time it runs.

Thanks. It worked (I did the latter, which resulted in:

apache2> ll
total 9
drwxrwxrwx+ 2 emagiro Users 0 Mar  5 16:32 .
drwxrwxrwx+ 3 emagiro Users 0 Mar  5 12:36 ..
-rw-rw-rw-  1 SYSTEM  Administrators0 Mar  5 16:32 access_log
-rw-rw-rw-  1 SYSTEM  Administrators 3255 Mar  5 16:32 error_log

Marc


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



chmod on network drive (was: Starting http2: Win32 error 1062)

2008-03-05 Thread Marc Girod
Hello again,

I have a follow-up question to my protection problem,
now trying to access pages under my ~/public_html directory.

My home is on a network drive, and my previously reported 
problem applies again:

Forbidden

You don't have permission to access /~emagiro on this server.

The record in error_log:

[Wed Mar 05 16:41:17 2008] [error] [client 159.107.167.27] client denied by
server configuration: /cygdrive/h/public_html

And from the command line:

~> ll ~/public_html
total 12
drwx--+ 4 emagiroDomain Users0 Feb 29 16:45 .
drwx--+ 8 Administrators Domain Users0 Mar  5 14:06 ..
drwx--+ 2 emagiroDomain Users0 Mar  5 09:27 d
-rw-r--r--  1 emagiroDomain Users 1021 Feb 29 16:45 index.html
-rw-r--r--  1 emagiroDomain Users  754 Feb 29 16:39 index.html~
drwx--+ 3 emagiroDomain Users0 Mar  3 18:01 log
~> chmod go+rx ~/public_html
chmod: changing permissions of `/cygdrive/h/public_html': Permission denied
~> echo $CYGWIN
ntsec smbntsec server
~> getfacl public_html
# file: public_html
# owner: emagiro
# group: Domain Users
user::rwx
group::---
group:Administrators:rwx
mask:rwx
other:---
default:user:emagiro:rwx
default:group:Administrators:rwx
default:mask:rwx

My previously reported  cygcheck.out is still relevant:

http://pastebin.com/m4f71f81c

What can I do?
Thanks,
Marc


--
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: chmod on network drive

2008-03-05 Thread Marc Girod
Marc Girod  gmail.com> writes:

> I have a follow-up question to my protection problem,
> now trying to access pages under my ~/public_html directory.

I hacked now a work-around, but didn't really fix the error.

I created a new directory, and copied the previous contents there.
Then, I actually changed in httpd-userdir.conf


 into:


which surprisingly worked, but will probably work only for me.
In fact, this h drive is likely to support only one user at a time?...

Marc


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



Trying to install mod_perl on apache2

2008-03-06 Thread Marc Girod
Hi,

Now that I got my apache2 to work (thanks to Dave Korn),
I want to install TWiki on it, and I configured it to use mod_perl.
I downloaded and extracted mod_perl,
ran perl Makefile.PL.
2 glitches:

1)
* WARNING *

  Your Perl is configured to link against libgdbm, 
  but libgdbm.so was not found.
  You might need to install Perl from source


* WARNING *

I installed libgdbm (which as it seems, wasn't in my deafult cygwin perl).
This didn't affect the warning though--I hope the reason is that the
shared library on Cygwin is named libgdm.dll, and the script looks for
libgdm.so...

2)
Enter `q' to stop search
Please tell me where I can find your apache src
 [../apache_x.x/src]

I have no sources, although I could possibly install apache2-devel.
The generation goes on...?

Then I tried make test (as myself, and not thinking of what would happen).
My apache server was actually down.
The tests failed:

...
/httpd -f `pwd`/t/conf/httpd.conf -X -d `pwd`/t &
httpd listening on port 8529
will write error_log to: t/logs/error_log
/bin/sh: /httpd: No such file or directory
letting apache warm up...\c
done
/usr/bin/perl.exe t/TEST 0
still waiting for server to warm up...not ok
server failed to start! (please examine t/logs/error_log) at t/TEST line 95.
make: *** [run_tests] Error 119

There is no t/logs/error_log.
I don't know what httpd it actually tried to start, but probably as myself,
whereas my daemon is actually named httpd2.exe.

My first problem is that it doesn't start anymore
(it started this morning, even if I didn't check again right before
the installation...).

The error in /var/log/httpd2.log is:

(112)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs

Looking with /cygdrive/c/WINNT/system32/netstat, I can find nobody
sitting on port 80 at this time...

mod_perl-1.30> cygrunsrv --query httpd2
Service : httpd2
Display name: CYGWIN httpd2
Current State   : Stopped
Command : /usr/sbin/httpd2 -DNO_DETACH

mod_perl-1.30> cygrunsrv --list
cygserver
httpd2

Has anybody installed mod_perl in Cygwin?
Here is my updated cycgcheck.out:

http://pastebin.com/m734362d9

Thanks,




--
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: Trying to install mod_perl on apache2

2008-03-06 Thread Marc Girod
Marc Girod  gmail.com> writes:

> Here is my updated cycgcheck.out:
 
> http://pastebin.com/m734362d9

Hum... I can see an other difference since yesterday than the expected 
libgdm:

Potential app conflicts:

ZoneAlarm Personal Firewall
Detected: HKLM Registry Key.

Indeed... Something was installed today (which is why apache was down).

Marc


--
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: GraphicsMagick: gm does nothing, always exits with status 53 - cygcheck-svr.out (1/1)

2008-03-06 Thread Marc Girod
Hello Andrew,

Andrew Schulman <[EMAIL PROTECTED]> writes:

> begin 644 cygcheck-svr.out
> M#0I#>6=W:6X  0V]N9FEG=7)A=&EO;B!$:6%G;F]S=&EC M>7-T96T  5&EM93H  5&AU($UA M=W,  6%`  4')O9F5S 0G5I;&0  ...

I tried recently to do the same as you did, and to give my cygcheck.out
uuencoded.
But I was dissuaded to do so, and indeed, note e.g. that (at least in the
gmane http view) since the '@' [0x040] characters are converted to:
'  ', the reading is incovenient.

I was told to use instead http://pastebin.com/

e.g. as in:

http://pastebin.com/m734362d9

This has proven a workable approach.
Best Regards!
Marc


--
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: Trying to install mod_perl on apache2

2008-03-06 Thread Marc Girod
Marc Girod  gmail.com> writes:

> Indeed... Something was installed today (which is why apache was down).

I still don't know whether the applications installed today are
responsible for the failure.
In any case, changing the port to 81 made the server startable again.

Now, what do I do with mod_perl?
Do I try to make test (I'll look into the makefile to see whether it
has any chance to detect my server at port 81, and to try to talk to it).
Or I should skip the test and install boldly?

Opinions?
Marc


--
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: Trying to install mod_perl on apache2

2008-03-06 Thread Marc Girod
Hi...

Marc Girod  gmail.com> writes:

> Now, what do I do with mod_perl?

Speaking to myself, it seems?
Well... I must keep you up-to-date in case you decided to help me!

It looks I cannot skip using the apache sources.
This is where the makefile attempts to start httpd (just one macro
expanding to empty).

The makefile rule is:

start_httpd: test_pre_init
@(cd t/conf; test -f httpd.conf || cp httpd.conf-dist httpd.conf)
@(cd t/net; test -f config.pl || cp config.pl.dist config.pl)
@$(TOUCH) t/conf/srm.conf
$(APACHE_SRC)/$(HTTPD) -f `pwd`/t/conf/httpd.conf -X -d `pwd`/t &
@echo httpd listening on port $(PORT)
@echo will write error_log to: t/logs/error_log
@echo "letting apache warm up...\c"
@sleep 2
@echo done

which means that I may still hope to give a sensible value to the macros...
I need anyway to pass the cygrunsrv spell one way or an other.

Marc


--
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: Trying to install mod_perl on apache2

2008-03-06 Thread Marc Girod
Dave Korn  artimi.com> writes:

>   I think I see a possible connection here...

Please. My understatement was not totally clueless.
But I am surprised that 81 works, then.
Even checked from an other machine.
 
>   BTW, is it ZA free edition or ZA professional (full paid-for edition)?

I am afraid it probably is.

>   See http://cygwin.com/faq/faq-nochunks.html#faq.using.bloda for details.

Thanks again.
Marc


--
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: Trying to install mod_perl on apache2

2008-03-06 Thread Marc Girod
Marc Girod  gmail.com> writes:

> Well... I must keep you up-to-date in case you decided to help me!

One other detail I now seem to understand, is that there is a specific
mod_perl2 for apache2 (even if the latest release is older than the 1.30 
I took).

I'll go this way for a while...

Marc


--
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: mkpasswd -l -d completed after 5 days

2008-03-07 Thread Marc Girod
Matt Seitz (matseitz  cisco.com> writes:

> I ran into similar problems with "mkpasswd" taking a long time on a
> large Active Directory (AD) domain.  I
> worked around the issue using the following procedure:
...

Thanks.
I think I can go on with the files I got.
Maybe the purpose of these procedures should be better documented.
What is actually needed, and for what?
There is already a good deal of contents about ntsec and smbsec, 
but it could still be improved, I'm afraid.

I am still puzzled by the non-obvious way the various accounts work.
E.g. I can do 'chown 18:544 ...' (SYSTEM:Administrators, with the SYSTEM
mapping as it seems to the 'LocalSystem' reported by cygcheck as the uid
under which my apache is run under cygrunsrv) to some file, after which 
I cannot edit it anymore, but despite my expectations, I can still copy
files to the same directory where I cannot touch them!?

bin> ls -lnd .
drwxr-xr-x+ 3 18 544 0 Mar  6 18:26 .
bin> touch foo
touch: cannot touch `foo': Permission denied
bin> ls -lnd foo
ls: cannot access foo: No such file or directory
bin> touch /tmp/foo
bin> mv /tmp/foo .
bin> ls -lnd foo
-rw-r--r-- 1 654351 10545 0 Mar  7 09:13 foo
bin> ls -ld foo
-rw-r--r-- 1 emagiro Domain Users 0 Mar  7 09:13 foo
bin> ls -ld .
drwxr-xr-x+ 3 SYSTEM Administrators 0 Mar  7 09:13 .
bin> getfacl .
# file: .
# owner: SYSTEM
# group: Administrators
user::rwx
group::r-x
mask:rwx
other:r-x
default:user::rwx
default:group::---
default:other:---
bin> grep :18: /etc/passwd
SYSTEM:*:18:544:,S-1-5-18::
bin> egrep '^Account' /tmp/cygcheck.out
Account : LocalSystem
Account : LocalSystem
bin> chown 18:544 foo
bin> ls -ld foo
-rw-r--r-- 1 SYSTEM Administrators 0 Mar  7 09:13 foo
bin> echo foo > foo
bash: foo: Permission denied

It is not trivial to draw the line between what is normal (or must be 
accepted) and what is weird and should be fixed...

Esp. when you first do something in a network drive, and have installed
cygwin 'for yourself' without admin rights, then reinstall cygwin 'for
all' and access the same home directory.

Thanks,
Marc


--
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: Trying to install mod_perl on apache2

2008-03-07 Thread Marc Girod
Dave Korn  artimi.com> writes:

>   It may be a matter of whoever installed it having seen a request for a
> listening task on port 80 pop up and having clicked to block it without
> really knowing why;

Agreed.

> have you gone through the per-program allow/deny
> settings to see if an entry has been created for it?

I tried to look for that, but abandoned after a short while not finding
where to look at. I am slightly overwhelmed with too many options...

>   Ouchie.  Alas, I can't promise you that uninstalling it will solve the
> underlying problem that you have to deal with here, only that it's worth
> considering.

Guess whether I have the right to do that.
All of this is buried under a deep layer of opaque wrappers installed
semi-automatically. This doesn't make it simple to follow...

> Given that it probably takes somewhere between 30 minutes and
> an hour to uninstall, reboot, test, and then reinstall if necessary, it's up
> to you to decide when that becomes more worth while than trying other
> things!

Thanks!

For now, I decided to give a try to TWiki without mod_perl, and to 
come back to mod_perl later...
The reason I do this on cygwin on my laptop, is that my IT support won't
grant me sudo access to the Solaris box on my desk...

Marc

I consider the following witty signature: Did you try reboot?



--
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: Problem with Cygwin and ClearCase

2008-03-11 Thread Marc Girod
Robin Walker  cam.ac.uk> writes:

> The PATH might be different?
 
> Environment variables different?

I just tried to reproduce, and at least I can start clearexplorer from
a cygwin bash shell without error.
I put my transcript in a pastebin, in order to avoid to have to split
the long lines to please gmane.
I have only v2003.06.00 of ClearCase.

http://pastebin.com/m3ef692eb

Marc


--
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: emacs 21.3 does work while 22.1 works: Why 21.3 is default in cygwin setup

2008-03-11 Thread Marc Girod
Tatsuro MATSUOKA  yahoo.co.jp> writes:

> Why 21.3 is default in the cygwin setup?
> It does work at all

Sorry, but isn't the default 21.2.13?
And what is wrong with it, exactly?
I use it all the time... In X mode.

Marc


--
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: emacs 21.3 does work while 22.1 works: Why 21.3 is default in cygwin setup

2008-03-11 Thread Marc Girod
Hi,

On Tue, Mar 11, 2008 at 9:03 PM, Tatsuro MATSUOKA
<[EMAIL PROTECTED]> wrote:

>  I extracted all bz2 files concerning to the emacs.

I installed with the standard setup...

>  The size of emacs-x11.exe is 0 byte
>  That's why emacs does not work at all.

Well, I can do:

~> cygcheck -c emacs
Cygwin Package Information
Package  VersionStatus
emacs21.2-13OK
~> cygcheck -c emacs-X11
Cygwin Package Information
Package  VersionStatus
emacs-X1121.2-13OK
~>

What does the cygcheck utility tell you?
Marc

--
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: emacs 21.3 does work while 22.1 works: Why 21.3 is default in cygwin setup

2008-03-12 Thread Marc Girod
Hello,

On Wed, Mar 12, 2008 at 12:20 AM, Tatsuro MATSUOKA
<[EMAIL PROTECTED]> wrote:

>  I have downdloded emacs-X11-21.2-13.tar.bz2 from
>  ftp://mirror.nyi.net/cygwin/release/emacs/emacs-X11/

Indeed. Why not installing the standard way?

>  There are two folders under usr
>  usr/bin
>  usr/share

It depends on your choices...

usr> find . -maxdepth 1 -type d
.
./bin
./include
./info
./lib
./libexec
./local
./man
./sbin
./share
./src
./ssl
./tmp
./X11R6

>  at usr/bin
>  $ ls -l
>  total 4584
>  -rwx--+ 1 Tatsu none   0 Mar 23  2004 emacs-21.2.exe*
>  -rwx--+ 1 Tatsu none 4694016 Mar 23  2004 emacs.exe*

usr> cd bin
bin> ls -l emacs*
-r-xr-x---+ 1 marc Users 4694016 Dec 11 21:52 emacs-21.2.exe
-r-xr-x---+ 1 marc Users 4350464 Dec 11 21:51 emacs-nox.exe
-r-xr-x---+ 1 marc Users 4694016 Mar 22  2004 emacs.exe
-r-xr-x---+ 1 marc Users   12288 Mar 22  2004 emacsclient.exe

It seems that your installation aborted.
Maybe you could check the number of files in your tar...

bin> cygcheck -c | grep emacs
emacs21.2-13OK
emacs-el 21.2-13OK
emacs-X1121.2-13OK
xemacs-emacs-common  21.4.21-1  OK
bin> cygcheck -l emacs | wc -l
1143
bin> cygcheck -l emacs-X11 | wc -l
3

Marc

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



Looking for the 'stdout' of a Windows application

2009-12-13 Thread Marc Girod

Hello,

I run a proprietary application, IBM Rational cleartool.exe from cygwin.
In some usage scenarios which I am now interested in, it prompts the user
for an interactive decision.
I do not get this prompt under cygwin (either X --emacs shell or xterm-- or
the Cygwin terminal.
My process just hangs.
I get it in the Windows Command Prompt, in plain text mode, and I can reply
there.
I give an example below.

I tried to use the SysInternals tools to find what kind of file descriptor
might be open while my process is hanging.
My first surprise is that the pid reported by pslist doesn't match this
reported under cygwin by ps.
The tools I used is: handle -a -p 
(using the pid reported by: pslist cleartool)

The list is rather long, and I am not sure what to look at there.
My own SID shows up there:
 USID:  NT:S-1-5-21-507921405-1897051121-725345543-644351

Any chance to get the output to my cygwin shell?
Thanks

Marc

C:\Windows\system32>handle -a -p 5024

Handle v3.42
Copyright (C) 1997-2008 Mark Russinovich
Sysinternals - www.sysinternals.com

4: File  (---)
8: File  (---)   C:\cygwin2\home\emagiro
C: File  (---)   C:\cygwin2\home\emagiro
   10: File  (---)   C:\cygwin2\home\emagiro
   14: File  (---)   C:\cygwin2\home\emagiro
   18: File  (---)   C:\cygwin2\home\emagiro
   1C: File  (---)   C:\cygwin2\home\emagiro
   20: File  (---)   C:\cygwin2\home\emagiro
   24: File  (---)   \Device\mvfs\view\emagiro_cw\atcctest\foo
   28: File  (---)   \Device\mvfs\view\emagiro_cw\atcctest\foo
   2C: File  (---)   \Device\mvfs\view\emagiro_cw\atcctest\foo
   30: Section
   34: File  (---)   \Device\mvfs\view\emagiro_cw\atcctest\foo
   38: File  (---)   \Device\mvfs\view\emagiro_cw\atcctest\foo
   3C: File  (---)   \Device\mvfs\view\emagiro_cw\atcctest\foo
   40: File  (---)   \Device\mvfs\view\emagiro_cw\atcctest\foo
   44: File  (---)   \Device\mvfs\view\emagiro_cw\atcctest\foo
   48: Directory \KnownDlls
   4C: File  (---)   \Device\mvfs\view\emagiro_cw\atcctest\foo
   50: Event
   54: Mutant
   58: Process
   5C: Event
   60: WindowStation \Sessions\1\Windows\WindowStations\WinSta0
   64: Key   HKLM
   68: Event
   6C: Process   sh.exe(5820)
   70: Key   HKLM\SYSTEM\ControlSet001\Control\Session Manager
   74: Directory \BaseNamedObjects\cygwin1S5
   78: Section   \BaseNamedObjects\cygwin1S5\shared.5
   7C: Directory \BaseNamedObjects\cygwin1S5
   80: Section   \BaseNamedObjects\cygwin1S5\shared.5
   84: Directory \Sessions\1\BaseNamedObjects\cygwin1S5
   88: Directory \Sessions\1\BaseNamedObjects\cygwin1S5
   8C: Section  
\BaseNamedObjects\cygwin1S5\S-1-5-21-507921405-1897051121-725345543-644351.1
   90: Key   HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image
File Execution Options\DllNXOptions
   94: Directory \BaseNamedObjects\cygwin1S5
   98: Section   \BaseNamedObjects\cygwin1S5\shared.5
   9C: Directory \Sessions\1\BaseNamedObjects\cygwin1S5
   A0: Key   HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image
File Execution Options
   A4: Event
   A8: Directory \BaseNamedObjects\cygwin1S5
   AC: Directory \BaseNamedObjects\cygwin1S5
   B0: Section   \BaseNamedObjects\cygwin1S5\shared.5
   B4: Directory \Sessions\1\BaseNamedObjects\cygwin1S5
   B8: Section   \BaseNamedObjects\cygwin1S5\shared.5
   BC: Directory \Sessions\1\BaseNamedObjects\cygwin1S5
   C0: WindowStation \Sessions\1\Windows\WindowStations\WinSta0
   C4: Desktop   \Default
   C8: Directory \BaseNamedObjects\cygwin1S5
   CC: Directory \BaseNamedObjects\cygwin1S5
   D0: Section   \BaseNamedObjects\cygwin1S5\shared.5
   D4: Directory \Sessions\1\BaseNamedObjects\cygwin1S5
   D8: Section   \BaseNamedObjects\cygwin1S5\shared.5
   DC: Directory \Sessions\1\BaseNamedObjects\cygwin1S5
   E0: Event
   E4: Process
   E8: Directory \BaseNamedObjects\cygwin1S5
   EC: Section   \BaseNamedObjects\cygwin1S5\shared.5
   F0: Directory \Sessions\1\BaseNamedObjects\cygwin1S5
   F4: Directory \BaseNamedObjects\cygwin1S5
   F8: Event \BaseNamedObjects\cygwin1S5\cygtty.output.done.0
   FC: Event \BaseNamedObjects\cygwin1S5\cygtty.ioctl.done.0
  100: Event \BaseNamedObjects\cygwin1S5\cygtty.ioctl.request.0
  104: Event \BaseNamedObjects\cygwin1S5\cygtty.input.avail.0
  108: Mutant\BaseNamedObjects\cygwin1S5\cygtty.output.mutex.0
  10C: Mutant\BaseNamedObjects\cygwin1S5\cygtty.input.mutex.0
  110: Section   \BaseNamedObjects\cygwin1S5\shared.5
  114: Directory \Sessions\1\BaseNamedObjects\cygwin1S5
  118: Event
  11C: Event
  120: Event
  124: Directory \BaseNamedObjects\cygwin1S5
  128: Section   \BaseNamedObjects\cygwin1S5\shared.5
  12C: Directory \Sessions\1\BaseNamedObjects\cygwin1S5
  130: Directory \BaseNamedObjects\cygwin1S5
  134: Section   \BaseNamedObjects\cygwin1S5\shared.5
  138: Directory \Sessions\1\Bas

Re: Looking for the 'stdout' of a Windows application

2009-12-13 Thread Marc Girod


Dave Korn-6 wrote:
> 
>   *shudder*
> 
Er?

Dave Korn-6 wrote:
> 
>   It's almost certainly not hung: it's printed the prompt, which has
> gotten
> lost somewhere, and it's now waiting for your input.  Try hitting enter.
> 
This is what I meant.
I thought I had tried hitting Enter... It works.
Under emacs, the shell gets killed!?

Dave Korn-6 wrote:
> 
>   Perfectly normal.  That's why cygwin's ps output has the WINPID column.
> (Remember, you can't properly fork or exec in windows; you have to create
> a
> new process each time.)
> 
OK. Thanks.

Dave Korn-6 wrote:
> 
>   When you say it doesn't work in the "Cygwin terminal", do you mean the
> standard dos-box style console?  If it doesn't work there, you must have
> the
> 'tty' set in your CYGWIN environment variable; remove it.
> 
I did. Removed. No effect. Should I have rebooted?
BTW, after killing the process from an other teminal, I loose the stdin/out
in this one (be it the console or xterm).

Dave Korn-6 wrote:
> 
>   As for the gui terminals, there's probably nothing you can do.  Well,
> apart
> from typing your answers blind each time it pauses...
> 
Thanks
Marc
-- 
View this message in context: 
http://old.nabble.com/Looking-for-the-%27stdout%27-of-a-Windows-application-tp26769438p26770209.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Looking for the 'stdout' of a Windows application

2009-12-13 Thread Marc Girod


Andy Koppe wrote:
> 
> 2009/12/13 Marc Girod:
> Surprised it doesn't work in the Cygwin console, unless you've got
> CYGWIN=tty set?
> 
I have. Dave Korn told me to take it away.
Anyway, no result one way or the other.

Andy Koppe wrote:
> 
>  The problem likely is that cleartool.exe expects to
> get input from a Windows console but is actually connected to a Cygwin
> pty.
> 
OK.

Andy Koppe wrote:
> 
> I'm currently working on a little utility for this sort of situation.
> It's called 'conin' and translates Cygwin pty input to Windows console
> input. Source is available at
> http://mintty.googlecode.com/svn/utils/conin.c and a Cygwin 1.7
> executable can be found at
> http://mintty.googlecode.com/files/conin-0.0.1.zip.
> 
I took your binary, and tried it in my emacs shell: it didn't help, apart
that the shell didn't die in the end.
No effect in the cygwin console either, with or without tty.

Andy Koppe wrote:
> 
> More info at
> http://groups.google.com/group/mintty-discuss/browse_thread/thread/1f9cf480117b8a0b
> 
Thank. I'll look tomorrow, or maybe only Tuesday...

Marc
-- 
View this message in context: 
http://old.nabble.com/Looking-for-the-%27stdout%27-of-a-Windows-application-tp26769438p26770344.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Looking for the 'stdout' of a Windows application

2009-12-13 Thread Marc Girod


Andy Koppe wrote:
> 
> Did you restart your Cygwin session? I think that setting only gets
> read once at the start of the first Cygwin process.
> 
No: I only set the environment varaible in the console shell.
I am now updating cygwin... I didn't do that for a few weeks.

Andy Koppe wrote:
> 
> Oh well. I obviously misdiagnosed the situation, since you'd said the
> problem was that output didn't appear. That probably means that
> cleartool is using console-specific output functions. 'conin' does not
> address that.
> 
> Are you getting no output from cleartool at all or is it just that the
> prompt that doesn't appear? Any reaction if you enter a command
> anyway?
> 
In fact it does: if I (well, my users...) could guess the answers right
without reading the prompts (e.g. in the merge case...), it would
work.
So, there doesn't seem to be anything too fancy...
At least the input is taken from the stdin...

Marc
-- 
View this message in context: 
http://old.nabble.com/Looking-for-the-%27stdout%27-of-a-Windows-application-tp26769438p26770640.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Looking for the 'stdout' of a Windows application

2009-12-13 Thread Marc Girod


Dave Korn-6 wrote:
> 
>   Ghastly top-heavy over-engineered UML-laden bloatware that comes with
> its
> own non-standard filing system does tend to make me do that ;-)
> 
There's a gem well hidden inside.

Dave Korn-6 wrote:
> 
>   That'll teach you to choose the wrong side in the One True Editor wars!
> 
Emacs is not an editor: I told you it is the shell that dies...
Are you using the vi shell?

Dave Korn-6 wrote:
> 
>   It should suffice to exit all cygwin processes, but don't forget that
> includes any cygwin services you've got running.
> 
OK. It does. Without CYGWIN=tty, I get the output to the console.
What shall I miss without it?
http://old.nabble.com/file/p26770960/cygcheck.srvc cygcheck.srvc 

Dave Korn-6 wrote:
> 
>   Try 'stty sane', typing blind if you have to?
> 
I have bad memories of 'stty sane'. OK, it was on hpux...
But it wasn't sane.
Anyway, tried now, and no: didn't work.
I tried with Enter, Ctrl-J, Ctrl-M/Ctrl-J, and finally, I had to kill xterm.

Here is my cygcheck output (I just updated, and checked the problem is the
same).
Thanks,
Marc
-- 
View this message in context: 
http://old.nabble.com/Looking-for-the-%27stdout%27-of-a-Windows-application-tp26769438p26770960.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Merits of ClearCase (was: Looking for the 'stdout' of a Windows application)

2009-12-14 Thread Marc Girod


Eric Blake wrote:
> 
> In my opinion, the MVFS file system is a piece of trash.  It has so many
> corner cases that intentionally _break_ POSIX rules and thus get in the
> way of normal assumptions about how file systems should work
> 
Maybe. The question is: is it worth it?
I believe it is.

Eric Blake wrote:
> 
> That, and for all the 'power' that clearcase supposedly offers, it still
> doesn't offer atomic commits.
> 
There's a lot of crap in what is advertised as the offering.
But there is something revolutionary that hardly nobody noticed,
and which makes the requirement for atomic commits sound like
saying that a Jumbo Jet doesn't even eat carots, like any good horse.

It is trivial to get atomicity of publication in ClearCase (within one vob):
you rename a label type.

Marc
-- 
View this message in context: 
http://old.nabble.com/Looking-for-the-%27stdout%27-of-a-Windows-application-tp26769438p26778349.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Merits of ClearCase

2009-12-14 Thread Marc Girod


Eric Blake wrote:
> 
> That's a workaround, not a solution.  Any VCS that requires an O(n) (n as
> the number of files being labeled) labeling post-processing pass in order
> to create enough records in the database to track commits atomically, when
> there are O(1) solutions like git where commits are atomic _without any
> additional effort), is just too slow to be worth anything in my opinion.
> 
Renaming a label type is an O(0) operation.
It doesn't depend on the number of labels of that type applied.

Eric Blake wrote:
> 
> Besides, git is open source, clearcase is not. 
> 
That's a different issue.
I very much agree on the advantages of free software.

But you are still comparing a free horse to a commercial plane.
And, there is some freedom bound to the fact the latter flies.

Marc
-- 
View this message in context: 
http://old.nabble.com/Looking-for-the-%27stdout%27-of-a-Windows-application-tp26769438p26779905.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: ttyfier (was: Re: Looking for the 'stdout' of a Windows application)

2009-12-14 Thread Marc Girod


Andy Koppe wrote:
> 
> Thanks, I had't heard of ttyfier. Interesting stuff! More
> comprehensive than my 'conin' attempt because it tranlates output as
> well as input.
> 
I downloaded the sources and built it.
My first try at using it wasn't very convincing: it didn't display anything
and I had to kill it with pskill.
I confirm that I am interested in the output, as well as in the input.

Marc
-- 
View this message in context: 
http://old.nabble.com/ttyfier-%28was%3A-Re%3A-Looking-for-the-%27stdout%27-of-a-Windows-application%29-tp26774072p26779940.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



/de/conout (was: Looking for the 'stdout' of a Windows application)

2009-12-18 Thread Marc Girod


defaria wrote:
> 
> the problem is that cleartool is written for Windows 
> thus uses /dev/conout
> 
I can see /dev/conout, but what can I do with it?

I found one hit in the docs:
http://www.cygwin.com/1.7/cygwin-ug-net/using-specialnames.html

Thanks,
Marc
-- 
View this message in context: 
http://old.nabble.com/Looking-for-the-%27stdout%27-of-a-Windows-application-tp26769438p26847257.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: /dev/conout

2009-12-18 Thread Marc Girod


defaria wrote:
> 
> So I've always just used something like "cleartool ci -c 'my comment' 
> " or "cleartool ci -nc " and if I ever do a cleartool 
> command and it seems to hang the first thing I think of is "Oh I bet 
> it's that pty thing".
> 
I believe I have better than that with my ClearCase::Wrapper::MGi.
It preempts these interactions.
My problem is twofold:
- the commands in which the interactions are part of the specificity, such
as merge
- the commands which I'd rather not override explicitly
I was thus looking for generically dropping my own treatment to plain
cleartool...
I am still looking forward to tfy...
The console doesn't seem to help me, unless it may be hidden, and I may read
what gets written there.
Marc
-- 
View this message in context: 
http://old.nabble.com/Looking-for-the-%27stdout%27-of-a-Windows-application-tp26769438p26850175.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



ttyfier (was: /dev/conout)

2009-12-20 Thread Marc Girod


Marc Girod wrote:
> 
> I am still looking forward to tfy...
> 
Building it, I get a exe called tfy.exe, and a ttyfier1.dll shared library.

I try:

  ./tfy cleartool -ver

in the cygwin console and in an xterm
I get a 'flash' then nothing, and the process seems to hang.

I can kill them with:

pskill tfy

and restore the terminal settings with:

stty sane
stty erase ^?

Does unsetting CYGWIN=tty setting apply there (need full restart...?)
I start playing with gdb...

Marc
-- 
View this message in context: 
http://old.nabble.com/Looking-for-the-%27stdout%27-of-a-Windows-application-tp26769438p26863035.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: ttyfier

2009-12-20 Thread Marc Girod


Marc Girod wrote:
> 
> I start playing with gdb...
> 
I don't get very far: it returns directly to the shell prompt.
I did a make clean, uncommented the DEBUG = -g, and make again,
but to no avail.

ttyfier> file tfy.exe 
tfy.exe: PE32 executable for MS Windows (console) Intel 80386 32-bit

Marc
-- 
View this message in context: 
http://old.nabble.com/Looking-for-the-%27stdout%27-of-a-Windows-application-tp26769438p26863533.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Questions about gnu debug

2009-12-24 Thread Marc Girod


Eliot Moss wrote:
> 
> And this may add a little to your understanding:
> 
Few of which pertains to cygwin...

Eliot Moss wrote:
> 
> Hope these distinctions help
> 
They are matters of taste, and of experience.
I have an other taste and an other experience.
Hard to compare, I know.

Eliot Moss wrote:
> 
> emacs is an *editor* [...] but it would
> probably still feel somewhat primitive compared
> to advanced GUI interfaces.
> 
Ahum.
Emacs is an environment which builds upon the generic concept of text
buffer.
This is a very powerful concept, because it allows for rich tool support,
and for in-depth and relatively light-weight user configuration. By
comparison, windows offer little support and a high threshold for users to
produce useful tools.
Humans painted on cave walls 3 years ago. Then they invented language.
GUIs have so far proven a temporary re-play of history for people who didn't
record it.

Marc
-- 
View this message in context: 
http://old.nabble.com/Questions-about-gnu-debug-tp26904577p26917415.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Fwd: 1.7.1 setup mirrors list is empty

2010-03-08 Thread Marc Girod

Hi,


Nazar Gabriel wrote:
> 
> After stepping through the screens the list for mirrors to choose from is
> empty.
> 

I don't have an empty list, but I do have some problems with them.
The Swedish mirror has an older version of setup.exe.
The installation from funet.fi couldn't complete, and later I got a popup
telling me that it wasn't anymore an official cygwin mirror (?)
All the others I tried (heanet.ie, Dresden, Karlsruhe, Switzerland,
France...) tell me:

  Unable to get setup.ini

Some known problems?

Marc
-- 
View this message in context: 
http://old.nabble.com/Fwd%3A-1.7.1-setup-mirrors-list-is-empty-tp27830001p27831947.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Fwd: 1.7.1 setup mirrors list is empty

2010-03-08 Thread Marc Girod


Christopher Faylor-8 wrote:
> 
> There is only one Swedish mirror: ftp.sunet.se.  It has a recent version
> of setup.ini.  Mirrors are not supposed to keep copies of setup.exe and,
> in fact, I don't see one at that site.
> 
My mistake: I meant setup.ini.
setup.exe 2.686, which I downloaded yesterday (and again today),
told me while I was using sunet.se that this one had a version older
than the one I had used last.



OK.



> No, of course not.  It does sound like possibly you haven't downloaded
> the most recent version of setup.exe from http://cygwin.com/ though.
> 

I have.
I may now have a connection problem, although firefox to nabble is happy,
as well as skype.
Setup stays in download mode (setup.bz2), empty progress bar,
now from sunet.se as well as all the others.

And my current cygwin installation is not functional anymore.

Marc
-- 
View this message in context: 
http://old.nabble.com/Fwd%3A-1.7.1-setup-mirrors-list-is-empty-tp27830001p27832207.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Fwd: 1.7.1 setup mirrors list is empty

2010-03-09 Thread Marc Girod


Marc Girod wrote:
> 
> Setup stays in download mode (setup.bz2), empty progress bar,
> now from sunet.se as well as all the others.
> 
And suddenly it started to work again from heanet.ie.
Thanks,
Marc
-- 
View this message in context: 
http://old.nabble.com/Fwd%3A-1.7.1-setup-mirrors-list-is-empty-tp27830001p27832666.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Problems installing Text-Iconv-1.7 (perl module)

2010-03-09 Thread Marc Girod

As part of Net::LDAP, I try to install Text-Iconv-1.7, and it fails.
I installed libiconv (I already had libiconv2), but 'perl Makefile.PL' has a
comiple test which fails.
I reproduced on the command line, removing the redirections to /dev/null:

Text-Iconv-1.7> gcc -I/usr/include -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__
-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include 
-Wl,--enable-auto-import -Wl,--export-all-symbols -Wl,--stack,8388608
-Wl,--enable-auto-image-base -fstack-protector -L/usr/local/lib -L/usr/lib
-o linktest linktest.c -L/usr/lib
cc1: error: unrecognized command line option "-fstack-protector"
cc1: error: unrecognized command line option "-fstack-protector"
Text-Iconv-1.7> gcc -I/usr/include -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__
-fno-strict-aliasing -pipe -I/usr/local/include  -Wl,--enable-auto-import
-Wl,--export-all-symbols -Wl,--stack,8388608 -Wl,--enable-auto-image-base
-L/usr/local/lib -L/usr/lib -o linktest linktest.c -L/usr/lib
/cygdrive/c/Users/emagiro/AppData/Local/Temp/ccqJIK6Z.o:linktest.c:(.text+0x3a):
undefined reference to `_libiconv_open'
collect2: ld returned 1 exit status
Text-Iconv-1.7> strings /usr/lib/libiconv.a | grep libiconv_open
_libiconv_open
_libiconv_open_into
_libiconv_open
_libiconv_open_into

???

Marc
-- 
View this message in context: 
http://old.nabble.com/Problems-installing-Text-Iconv-1.7-%28perl-module%29-tp27833019p27833019.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Problems installing Text-Iconv-1.7 (perl module)

2010-03-09 Thread Marc Girod


Reini Urban wrote:
> 
> you need gcc-4
> 

Thanks, to both of you (Corina and Reini).
Do I understand right that perl was built with gcc 4 and -fstack-protect?
So, shouldn't gcc 4 be the default?
OK... It has been beaten to death and I just didn't notice or look for it...

Text-Iconv-1.7> gcc  -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__
-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include 
-Wl,--enable-auto-import -Wl,--export-all-symbols -Wl,--stack,8388608
-Wl,--enable-auto-image-base -fstack-protector -L/usr/local/lib -liconv  -o
linktest linktest.c
/cygdrive/c/Users/emagiro/AppData/Local/Temp/ccwhhRl0.o:linktest.c:(.text+0x26):
undefined reference to `_libiconv_open'
collect2: ld returned 1 exit status
Text-Iconv-1.7> gcc --version
gcc (GCC) 4.3.4 20090804 (release) 1
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

For -liconv, I added it now, but it doesn't affect.
Please note that this package installs fine on Solaris (without -liconv,
which I agree, looks like a miracle).
I would guess that somewhere it looks for a shared library, and doesn't find
the dll as one...

Marc
-- 
View this message in context: 
http://old.nabble.com/Problems-installing-Text-Iconv-1.7-%28perl-module%29-tp27833019p27841003.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Problems installing Text-Iconv-1.7 (perl module)

2010-03-09 Thread Marc Girod


Larry Hall (Cygwin) wrote:
> 
> Did you install it?
> 
I installed libiconv, but there is no dll in it: an archive, and this dll.a
file, of which I don't what to think:

~> cygcheck -l libiconv | grep lib/libiconv
/usr/lib/libiconv.a
/usr/lib/libiconv.dll.a
/usr/lib/libiconv.la
~> file /usr/lib/libiconv.dll.a
/usr/lib/libiconv.dll.a: current ar archive

Marc
-- 
View this message in context: 
http://old.nabble.com/Problems-installing-Text-Iconv-1.7-%28perl-module%29-tp27833019p27845834.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Problems installing Text-Iconv-1.7 (perl module)

2010-03-09 Thread Marc Girod


Larry Hall (Cygwin) wrote:
> 
> Sorry.  Reread the thread.  You forgot to put the -liconv at the end.
> Remember, Windows != UNIX/Linux. ;-)
> 
Thanks! It worked, and then I read the makefile better,
and it did it correctly, only the second time: it made a first
attempt without it (in case the symbols would be found in
libc), and added it to the second phase.
Which it didn't try as long as the first phase failed because
of my first using gcc 3.
So, with gcc 4, Text::Iconv installs correctly on cygwin
without needing to tweak the Makefile.PL.

Marc
-- 
View this message in context: 
http://old.nabble.com/Problems-installing-Text-Iconv-1.7-%28perl-module%29-tp27833019p27846072.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



MIT krb5 on cygwin?

2010-03-09 Thread Marc Girod

Still trying to install Net::LDAP, I am now in GSSAPI-0.26.
This one requires...

  An installed Version of GSS-API bindings, e.g

  MIT Kerberos 
  Heimdal  
  VAS  

It goes on indicating that...

- Windows - MIT KfW SDK:

  This SDK does not provide the krb5-config command,
  .
  Instead of using krb5-config you need to specifiy the compiler and linker
flags
  on the perl Makefile.PL commandline. run
  perl Makefile.PL --help
  to see all available configuration options.

I downloaded and extracted MIT Kfw SDK sources, but all the build
instructions are for Visual C++, and this won't give me anything linkable.

Am I completely going the wrong way?

Thanks,
Marc
-- 
View this message in context: 
http://old.nabble.com/MIT-krb5-on-cygwin--tp27846278p27846278.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: MIT krb5 on cygwin?

2010-03-10 Thread Marc Girod


Corinna Vinschen-2 wrote:
> 
> Let me put it this way.  We would be really glad to have a Cygwin
> maintainer for an MIT krb5 package.
> 
I see...
I gave a try now to krb5-1.8 (instead of looking at the Windows port).
Configure dies in:

configure:7006: error: Shared libraries are not yet supported on this
platform.

Not quite sure yet how it got to this conclusion.
Possibly using an --enable-static flag would get us further.
I kind of guess there must be a 'standard way' to cope with this.
I think of this funny libiconv.dll.a file that I saw earlier...

Er... OK, I looked at http://cygwin.com/cygwin-ug-net/dll.html
and found 'The import library is a regular UNIX-like .a library...'

But the only Iconv related dll I found was:

/usr/lib/perl5/site_perl/5.10/i686-cygwin/auto/Text/Iconv/Iconv.dll

so that I don't know what to think.
Marc


-- 
View this message in context: 
http://old.nabble.com/MIT-krb5-on-cygwin--tp27846278p27849925.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: MIT krb5 on cygwin?

2010-03-11 Thread Marc Girod


Alec Kloss-17 wrote:
> 
> FYI, I did submit some fixed to make heimdal work under cygwin...
> depending on what you're trying to accomplish with LDAP heimdal
> should be sufficient.
Thanks!
At least, it was enough for me to build GSSAPI-0.26.
I had however to add -heimsqlite to the value of $lib_flags in
krb5-config.
This in order to avoid link errors such as e.g.:

/home/emagiro/tmp/heimdal-1.3.2rc2/lib/krb5/scache.c:1379: undefined
reference to `_sqlite3_bind_text'

A bit surprised that building GSSAPI would rebuild sources under heimdal...?
I had installed it under /usr/heimdal (default), and passed this to:

GSSAPI-0.26> perl Makefile.PL --gssapiimpl /usr/heimdal

Marc
-- 
View this message in context: 
http://old.nabble.com/MIT-krb5-on-cygwin--tp27846278p27863939.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Font change in Gnu emacs/X11 following upgrade

2010-04-29 Thread Marc Girod

Hello,

I just upgraded for the first time for a few months.
Starting my Gnu emacs under X11, I notice that my font (and frames) is
larger than previously, by a factor ~1.5.

I did record the following last October, and it stayed the same now:

~> cygcheck -c | egrep 'bitstream.*vera'
font-bitstream-vera-ttf1.10-1  OK
~> xlsfonts | egrep -- '-bitstream-bitstream vera sans mono.*-iso.*-1$'
-bitstream-bitstream vera sans mono-bold-o-normal--0-0-0-0-m-0-iso10646-1
-bitstream-bitstream vera sans mono-bold-o-normal--0-0-0-0-m-0-iso8859-1
-bitstream-bitstream vera sans mono-bold-r-normal--0-0-0-0-m-0-iso10646-1
-bitstream-bitstream vera sans mono-bold-r-normal--0-0-0-0-m-0-iso8859-1
-bitstream-bitstream vera sans mono-medium-o-normal--0-0-0-0-m-0-iso10646-1
-bitstream-bitstream vera sans mono-medium-o-normal--0-0-0-0-m-0-iso8859-1
-bitstream-bitstream vera sans mono-medium-r-normal--0-0-0-0-m-0-iso10646-1
-bitstream-bitstream vera sans mono-medium-r-normal--0-0-0-0-m-0-iso8859-1

With list-fontsets in the *Help* buffer:

Fontset: -*-*-*-*-*-*-*-*-*-*-*-*-fontset-default
Fontset: -*-fixed-medium-r-normal-*-16-*-*-*-*-*-fontset-standard
Fontset: -bitstream-Bitstream Vera Sans
Mono-normal-normal-normal-*-12-*-*-*-m-0-fontset-startup

The X server greets me with a new identity:

Vendor: The Cygwin/X Project
Release: 1.8.0.0 (1080)
Build Date: 2010-04-02

I join my cygcheck output.

Any explanation and quick fix?
Thanks,
Marc

http://old.nabble.com/file/p28403800/cygcheck.100429 cygcheck.100429 
-- 
View this message in context: 
http://old.nabble.com/Font-change-in-Gnu-emacs-X11-following-upgrade-tp28403800p28403800.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Font change in Gnu emacs/X11 following upgrade

2010-04-29 Thread Marc Girod

I just thought I'd add my /var/log/XWin.0.log file, which contains my X
startup string...
The complete startup string, from /Emacs.bat, is:

bash --login -c "/usr/bin/startx /usr/bin/emacs -g 90x37+150+0 -- /usr/bin/X
:0 -multiwindow -clipboard"

Thanks,
Marc
http://old.nabble.com/file/p28403944/XWin.0.log XWin.0.log 
-- 
View this message in context: 
http://old.nabble.com/Font-change-in-Gnu-emacs-X11-following-upgrade-tp28403800p28403944.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Font change in Gnu emacs/X11 following upgrade

2010-04-29 Thread Marc Girod


Ken Brown-6 wrote:
> 
> [This should have gone to the cygwin-xfree list.  I've set the reply-to 
> accordingly.]
> 

Sorry... I wasn't sure whether it was emacs or X.
I reply via nabble: hope it will follow the reply-to.



> This is a result of the change in the default server DPI announced in
> 
> http://cygwin.com/ml/cygwin-xfree-announce/2010-04/msg0.html
> 
> As the announcement states, you may want to set Xft.dpi in your 
> ~/.Xdefaults.  Setting it to 75 will restore the previous font and frame 
> sizes in emacs under X11.
> 

Sounds simple and clear, but I do it, and get the same result...?

2009> ll ~/.Xdefaults
-rw-r--r-- 1 emagiro EEI-ATusers 12 2010-04-29 19:18
/home/emagiro/.Xdefaults
2009> cat ~/.Xdefaults
Xft.dpi: 75

I tried a smaller value (50), but no effect.
And now I start getting errors:

File error: Doing vfork, resource temporarily unavailable

while retrying... Not every time.

Marc
-- 
View this message in context: 
http://old.nabble.com/Font-change-in-Gnu-emacs-X11-following-upgrade-tp28403800p28404239.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: [1.7] Editing in /etc

2009-02-28 Thread Marc Girod


Chris wrote:
> 
> Fixed...  I messed up the permissions in my /dev directory.
> 
There may be issues with editing some files in /etc...
I think of /etc/hosts, OK... a symlink to a Windows file.

Editing it, you have to be careful with preserving its ownership
(including group) and permissions from the Windows point of view.

I have been using the cygwin tools from a Windows Admin cmd:


c:\cygwin\bin\chown SYSTEM:SYSTEM hosts
c:\cygwin\bin\getfacl hosts.bak | c:\cygwin\bin\setfacl -f - hosts


Marc
-- 
View this message in context: 
http://www.nabble.com/-1.7--Editing-in--etc-tp22257197p22261804.html
Sent from the Cygwin list mailing list archive at Nabble.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/



Announcement: port of cleartool wrapper to cygwin

2009-03-09 Thread Marc Girod

With versions 1.15 and 1.44 of respectively ClearCase::Wrapper and
ClearCase::Argv ( http://cpan.org CPAN  perl scripts, originally by David
Boyce),
I achieved what looks like a port of IBM/Rational ClearCase on Cygwin.

This requires a Windows installation of ClearCase.
It offers a cleartool.plx script which will spawn a backgound cleartool
process, and pass it arbitrary commands, preforming pre- and post-processing
(mostly paths and eol) suitable for piping, and use from the command line
and from scripts.

Limitations for now concern:
- interactive comments (you need to use '-c "my comments"', or '-nc')
- running the cleartool emulation itself, in interactive mode

Beside ClearCase on Windows, you need to install into your cygwin perl a
cloning package, such as Clone, and:

- ClearCase::Argv
- ClearCase::Wrapper

ClearCase::Wrapper comes with some in-built enhancements to cleartool, but
the intention is to implement real changes in separate packages, such as
ClearCase::Wrapper::DSB and ClearCase::Wrapper::MGi (which you are of course
encouraged to install as well).

Beyond the  http://cpan.org CPAN  site, I wish to advertise a 
http://code.google.com/p/clearcase-cpan/ Google site , where I maintain the
on-going development.

I welcome bug reports (esp. as issues there) and contributions.
The publication to CPAN remains David's responsibility (apart for the ::MGi
module).

Enjoy,

Marc
-- 
View this message in context: 
http://www.nabble.com/Announcement%3A-port-of-cleartool-wrapper-to-cygwin-tp22411044p22411044.html
Sent from the Cygwin list mailing list archive at Nabble.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/



unable to remap C:\cygwin\bin\cygncurses-8.dll

2009-03-23 Thread Marc Girod

Hello,

I started all of a sudden to get repeated errors under the perl debugger:

  DB<1> c 53
  5 [main] perl 5248 C:\cygwin\bin\perl.exe: *** fatal error - unable to
remap C:\cygwin\bin\cygncurses-8.dll to same address as parent(0x86) !=
0x14D
  8 [main] perl 4556 child_info::sync: wait failed, pid 5248, Win32
error 183
519 [main] perl 4556 fork: child 5248 - died waiting for dll loading,
errno 11
5212781 [main] perl 2340 C:\cygwin\bin\perl.exe: *** fatal error - unable to
remap C:\cygwin\bin\cygncurses-8.dll to same address as parent(0x86) !=
0x151
5224312 [main] perl 4556 fork: child 2340 - died waiting for dll loading,
errno 11

http://www.nabble.com/file/p22667393/cygcheck.src cygcheck.src 

[ running cygcheck, I get errors for: 'id' program not found
  yet: 
~> type id
id is /usr/bin/id
~> cygcheck -f /usr/bin/id
coreutils-6.10-2
]

Marc
-- 
View this message in context: 
http://www.nabble.com/unable-to-remap-C%3A%5Ccygwin%5Cbin%5Ccygncurses-8.dll-tp22667393p22667393.html
Sent from the Cygwin list mailing list archive at Nabble.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: unable to remap C:\cygwin\bin\cygncurses-8.dll

2009-03-25 Thread Marc Girod

Just to report that the problem disappeared after reboot.
Marc
-- 
View this message in context: 
http://www.nabble.com/unable-to-remap-C%3A%5Ccygwin%5Cbin%5Ccygncurses-8.dll-tp22667393p22700800.html
Sent from the Cygwin list mailing list archive at Nabble.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: unable to remap C:\cygwin\bin\cygncurses-8.dll

2009-03-25 Thread Marc Girod


Dave Korn-6 wrote:
> 
>   Did you by any chance run setup.exe to do an update and have a bash
> shell
> still open and then perhaps click on the "In-use files detected"
> replace-on-reboot option and then try to carry on using Cygwin without
> rebooting?  The behaviour you describe is exactly what you'd expect to see
> in
> that case.
> 
I don't remember it, but cannot exclude it either (a few hours earlier?).
I think I'd have noticed having to click on the popup, but these days, I
tend to click and clac on so many things... Is this logged somewhere?
Thanks anyway!
Marc
-- 
View this message in context: 
http://www.nabble.com/unable-to-remap-C%3A%5Ccygwin%5Cbin%5Ccygncurses-8.dll-tp22667393p22701144.html
Sent from the Cygwin list mailing list archive at Nabble.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: unable to remap C:\cygwin\bin\cygncurses-8.dll

2009-03-25 Thread Marc Girod


Dave Korn wrote:
> 
>   /var/log/setup.log.full should tell you if it happened in the
> most-recent
> previous run of setup.exe
> 
Thanks.
My latest setup run is thus stamped between:

2009/03/11 13:49:59 Starting cygwin install, version 2.573.2.3
... and
2009/03/11 14:11:07 Ending cygwin install

Marc
-- 
View this message in context: 
http://www.nabble.com/unable-to-remap-C%3A%5Ccygwin%5Cbin%5Ccygncurses-8.dll-tp22667393p22701533.html
Sent from the Cygwin list mailing list archive at Nabble.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/



edit Aux.pm under GNU emacs hangs

2009-04-06 Thread Marc Girod

Hi,

I try to open a new file named 'Aux.pm' under GNU emacs, and this one hangs.
Both in X and -nw modes.

This is emacs 21.2.13 under cygwin 1.5.25-15.

emacs works otherwise normally.

Marc
-- 
View this message in context: 
http://www.nabble.com/edit-Aux.pm-under-GNU-emacs-hangs-tp22909185p22909185.html
Sent from the Cygwin list mailing list archive at Nabble.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: unable to remap C:\cygwin\bin\cygncurses-8.dll

2009-05-07 Thread Marc Girod


Dave Korn-6 wrote:
> 
> Maybe some sort of BLODA.
> 
Most possible... but beyond my control.

My last install log (on cygwin 1.7) says:

2009/05/06 17:20:52 Starting cygwin install, version 2.609
2009/05/06 17:20:52 Current Directory: C:\tmp
2009/05/06 17:20:52 User has backup/restore rights
2009/05/06 17:20:52 Could not open service McShield for query, start and
stop. McAfee may not be installed, or we don't have access.
2009/05/06 17:21:10 Ending cygwin install

Right now, the problem is far less frequent than it used to be.
In fact, the only thing I have met is 'vfork unavailable' at startup, or
starting
processes from emacs, i.e. not anymore while debugging perl.

Marc
-- 
View this message in context: 
http://www.nabble.com/unable-to-remap-C%3A%5Ccygwin%5Cbin%5Ccygncurses-8.dll-tp22667393p23432086.html
Sent from the Cygwin list mailing list archive at Nabble.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: linked dll data write copy failed errors

2009-05-11 Thread Marc Girod


David Barr-5 wrote:
> 
> On Nov 14, 2007 10:58 AM, Larry Hall (Cygwin) wrote:
> I found the problem: Logitech webcam software.  I uninstalled the
> software and I'm not getting the error any more.
> 
I have the same problem as you described, now on cygwin 1.7, on Vista.
What can I do in order to identify the BLODA (Logitech webcam not 
installed--yet...)?
In my environment, most 'security' related settings are protected
beyond the reach of my local administrator right.
At least using the guis...
I attach the output of cygcheck -srvc
and I did run rebaseall
http://www.nabble.com/file/p23484887/cygcheck.out cygcheck.out 
-- 
View this message in context: 
http://www.nabble.com/linked-dll-data-write-copy-failed-errors-tp13750118p23484887.html
Sent from the Cygwin list mailing list archive at Nabble.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/



Empty emacs dired (was: linked dll data write copy failed errors)

2009-05-11 Thread Marc Girod


Marc Girod wrote:
> 
> I have the same problem as you described
> 
Sorry... the problem I have is an empty emacs dired.
No 'linked dll data write copy failed errors'...
I get this only unless I get:

apply: Doing vfork: resource temporarily unavailable

Marc
-- 
View this message in context: 
http://www.nabble.com/linked-dll-data-write-copy-failed-errors-tp13750118p23485586.html
Sent from the Cygwin list mailing list archive at Nabble.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/



insert-directory function in Gnu emacs returns nil

2009-05-13 Thread Marc Girod

Hello,

Symptom: systematically empty dired in Gnu emacs,
no error message.

I first posted as a followup to an old message reporting the same symptom,
but this only confused the matters, as the cause was then probably 
different:
http://www.nabble.com/linked-dll-data-write-copy-failed-errors-to13750118.html
linked dll data write copy failed errors 

I do suffer from bloda-like problems (intermittent vfork failures), but this
seems to be non related, since it is systematic.
I may occasionally get a vfork error too, but this is then reported.
I debugged the elisp part down to the call to:

insert-directory is a compiled Lisp function in `files'.
(insert-directory FILE SWITCHES &optional WILDCARD FULL-DIRECTORY-P)

This one just returns nil, whatever the arguments:

(insert-directory "/home/emagiro" "-la")
nil
(insert-directory "/tmp" "-la")
nil

The variable: insert-directory-program is set to the default "ls", which is
in
my path and works otherwise. Changing it to the full path doesn't affect
the behaviour.

Gnu emacs is 21.2.1, and cygwin 1.7.
I already posted my cygcheck output.

Marc
-- 
View this message in context: 
http://www.nabble.com/insert-directory-function-in-Gnu-emacs-returns-nil-tp23523466p23523466.html
Sent from the Cygwin list mailing list archive at Nabble.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: insert-directory function in Gnu emacs returns nil

2009-05-13 Thread Marc Girod


Ken Brown-6 wrote:
> 
> I doubt if anyone on the cygwin list is going to be able to help you 
> debug this.
> 
Unless the problem is in fact with the 1.7 root...

I have 1.5 installed as c:/cygwin and 1.7 as c:/cygwin2.
Now running 1.7:

emacs> df /tmp
Filesystem   1K-blocks  Used Available Use% Mounted on
C:/cygwin258612732  40769352  17843380  70% /

The insert-dired function seems to invoke ls as follows,
from my "*scratch*" buffer:

(call-process "/usr/bin/ls" nil t "-la" "--" "/tmp")
0

(call-process "/usr/bin/ls" nil t "-la" "--" "/tmp/foo")
/usr/bin/ls: cannot access /tmp/foo: No such file or directory
2

(call-process "/usr/bin/ls" nil t "-la" "--" "/cygdrive/c/cygwin/tmp/foo")
/cygdrive/c/cygwin/tmp/foo
0

So, ls finds something under the 1.5 root, but the 1.7 ones seems empty.



> But you might try a more recent version of emacs to see if 
> you still have the problem.  I've built emacs 23 (still in pre-release 
> testing) for cygwin-1.7, and it works fine for me except for a minor bug 
> that's easy to work around:
> 
>   http://cygwin.com/ml/cygwin-apps/2009-04/msg00116.html
> 

Excellent. Of course I wish to try this.
Thanks,
Marc
-- 
View this message in context: 
http://www.nabble.com/insert-directory-function-in-Gnu-emacs-returns-nil-tp23523466p23524451.html
Sent from the Cygwin list mailing list archive at Nabble.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: insert-directory function in Gnu emacs returns nil

2009-05-13 Thread Marc Girod


Marc Girod wrote:
> 
> So, ls finds something under the 1.5 root, but the 1.7 ones seems empty.
> 
Sorry... now I got one case of success (with call-process, not dired),
but this means that my error is not systematic, only very frequent.
And that it may work with the 1.7 root as well...

(call-process "/usr/bin/ls" nil t "-la" "--" "/cygdrive/c/cygwin2/tmp/bar")
/cygdrive/c/cygwin2/tmp/bar
0

Got that only with one file, never with the directory.
But also now with "/tmp/bar".

So, I may be back to the bloda theory, and the question how to identify
the precise problem, so that I can report it to my Windows support...

Marc
-- 
View this message in context: 
http://www.nabble.com/insert-directory-function-in-Gnu-emacs-returns-nil-tp23523466p23524788.html
Sent from the Cygwin list mailing list archive at Nabble.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/



emacs 23 (was: insert-directory function in Gnu emacs returns nil)

2009-05-13 Thread Marc Girod


Ken Brown-6 wrote:
> 
> (insert-directory "/tmp" "-la")
> total 657
> drwxrwxrwt 1 kbrown-admin None  0 May 13 11:57 .
> drwxr-xr-x 1 kbrown-admin None  0 Apr 14 11:07 ..
> -r--r--r-- 1 kbrown   None 11 May 13 11:02 .X0-lock
> 
In fact, even when it produces something, it is not correct!
I don't get the normal 'long' output, just more or less an 'ls -1'



> Please let me know if it works for you (apart from possible BLODA 
> issues).
> 
I downloaded and extracted everything, checked that I have all 
the prerequisites in the setup.hint files.

Now, I just dump the files where they are expected?

Marc

-- 
View this message in context: 
http://www.nabble.com/insert-directory-function-in-Gnu-emacs-returns-nil-tp23523466p23526019.html
Sent from the Cygwin list mailing list archive at Nabble.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: emacs 23

2009-05-13 Thread Marc Girod


Ken Brown-6 wrote:
> 
> Then go to /etc/postinstall and run the postinstall scripts emacs.sh and 
> emacs-X11.sh.  (This is for the alternatives setup.)
> 
Two more requirements:
- desktop-file-utils
- shared-mime-info

I get:

postinstall> ./emacs.sh
./emacs.sh: line 9: /usr/bin/update-desktop-database: Permission denied
./emacs.sh: line 10: /usr/bin/update-mime-database: Permission denied
postinstall> ll /usr/bin/update-desktop-database.exe
-rwxr-xr-x 1 emagiro root 33792 Nov 12  2004
/usr/bin/update-desktop-database.exe
postinstall> ll emacs.sh
-rwxr-xr-x 1 emagiro EEI-ATusers 241 Apr 23 15:24 emacs.sh
postinstall> ll /usr/bin/update-mime-database.exe
-rwxr-xr-x 1 emagiro root 31744 May  3  2006
/usr/bin/update-mime-database.exe

Anyway, I already hardlinked emacs-X11 by hand:

postinstall> ll -d /usr/bin/emacs*
-rwxr-xr-x 2 emagiro EEI-ATusers 15838208 Apr 23 15:25
/usr/bin/emacs-X11.exe
-rwxr-xr-x 1 emagiro EEI-ATusers 15408128 Apr 23 15:24
/usr/bin/emacs-nox.exe
-rwxr-xr-x 2 emagiro EEI-ATusers 15838208 Apr 23 15:25 /usr/bin/emacs.exe
-rwxr-xr-x 1 emagiro EEI-ATusers20480 Apr 23 15:25
/usr/bin/emacsclient.exe

But I try... and bingo! It works, and even solves my dired problem.
Now, there are some problems with the fonts...

I have some holes, and otherwise hardly readable text...

list-fontsets gives:

Fontset: -*-*-*-*-*-*-*-*-*-*-*-*-fontset-default
Fontset: -*-fixed-medium-r-normal-*-16-*-*-*-*-*-fontset-standard
Fontset:
-b&h-lucidatypewriter-medium-r-normal-sans-11-*-100-100-m-70-fontset-startup

My startup script:

log> cat /Emacs.bat
@echo off

C:
chdir C:\cygwin2\bin

bash --login -c "/usr/bin/startx /usr/bin/emacs -fn lucidasanstypewriter-8
-g 80x43+88+69 -- /usr/bin/X :0 -multiwindow -clipboard"

Marc
-- 
View this message in context: 
http://www.nabble.com/insert-directory-function-in-Gnu-emacs-returns-nil-tp23523466p23526801.html
Sent from the Cygwin list mailing list archive at Nabble.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: emacs 23

2009-05-13 Thread Marc Girod


Marc Girod wrote:
> 
> Now, there are some problems with the fonts...
> 
> I have some holes, and otherwise hardly readable text...
> 
OK... Self-inflicted wound.
I removed my -fn and the result is much better!

Fontset: -*-*-*-*-*-*-*-*-*-*-*-*-fontset-default
Fontset: -*-fixed-medium-r-normal-*-16-*-*-*-*-*-fontset-standard
Fontset:
-B&H-LucidaTypewriter-normal-normal-normal-*-12-*-*-*-m-*-fontset-startup

Such a small differnce, such a large effect...
Thanks!
Marc

P.S. I'll report more findings as they come!
-- 
View this message in context: 
http://www.nabble.com/insert-directory-function-in-Gnu-emacs-returns-nil-tp23523466p23526945.html
Sent from the Cygwin list mailing list archive at Nabble.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: emacs 23

2009-05-14 Thread Marc Girod


Ken Brown-6 wrote:
> 
> On 5/13/2009 2:25 PM, Marc Girod wrote:
> The lines in the postinstall scripts involving desktop-database and 
> mime-database were added by cygport, not by me.
> 
Indeed, no visible problem.

One thing I noticed, is that I used cperl-mode 6.2,
and 23.0.92 brought back 5.3 (21.2 had 4.23...).

Do you think it would be worth upgrading it for everybody?
Or would this be a departure from 23 as on other platforms,
and therefore unwanted?

I just byte-compile 6.2 on 23.0.92, and got a lot of warnings for
various obsolete practices...
I'll send the transcript to Ilya...

Thanks,
Marc
-- 
View this message in context: 
http://www.nabble.com/insert-directory-function-in-Gnu-emacs-returns-nil-tp23523466p23536460.html
Sent from the Cygwin list mailing list archive at Nabble.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: Debugging a time zone problem

2009-05-14 Thread Marc Girod


Ken Brown-6 wrote:
> 
> I've built emacs 23 under both cygwin 1.5 and 1.7, and it runs fine for 
> me except for a glitch involving time zones:  Emacs gets the local time 
> zone wrong by 4 hours.
> 
I am using your port on 1.7, and cannot reproduce.

In my *scratch* buffer:

  Time-stamp: <2009-05-14 10:33:36 emagiro>
(getenv "TZ")
nil

I filled the template:

  Time-stamp: <>

with the time-stamp command, and the time matches my clock.

Note that my local timezone is now:

src> date
Thu May 14 10:35:36 GMTDT 2009

Looking at the sources, the most suspicious place given your description,
seems to be msdos.c, around lines 4453-4494...

Thanks,
Marc

-- 
View this message in context: 
http://www.nabble.com/Debugging-a-time-zone-problem-tp21876155p23537290.html
Sent from the Cygwin list mailing list archive at Nabble.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: Debugging a time zone problem

2009-05-14 Thread Marc Girod


Marc Girod wrote:
> 
> Looking at the sources, the most suspicious place given your description,
> seems to be msdos.c, around lines 4453-4494...
> 
and even more so with lines 4450-4452:

  /* Time zone determined from country code.  To make this possible, the
 country code may not span more than one time zone.  In other words,
 in the USA, you lose.  */

There are 4 zones in the US?
Countries with several timezones are the large ones: Russia, China, India,
Canada, Brazil,...
Unfortunately, there are also populated (with users, I mean)...
For them, a different mechanism seems to be needed.
Er... why does gdb affect?

Marc
-- 
View this message in context: 
http://www.nabble.com/Debugging-a-time-zone-problem-tp21876155p23538459.html
Sent from the Cygwin list mailing list archive at Nabble.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: [1.7] Updated: {emacs,emacs-X11,emacs-el}-23.0.92-1

2009-05-16 Thread Marc Girod


Eli Zaretskii wrote:
> 
> ...if Emacs could know the Cygwin version.
> 
uname -r

this gives on 2 installations e.g.:

1.5.25(0.156/4/2)
1.7.0(0.210/5/3)

$ ./uname -s
CYGWIN_NT-6.0

Marc
-- 
View this message in context: 
http://www.nabble.com/Re%3A--1.7--Updated%3A-%7Bemacs%2Cemacs-X11%2Cemacs-el%7D-23.0.92-1-tp23559935p23572106.html
Sent from the Cygwin list mailing list archive at Nabble.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: [1.7] Updated: {emacs,emacs-X11,emacs-el}-23.0.92-1

2009-05-16 Thread Marc Girod

I just noticed that my /usr/share/info/dir file was reduced to a bare
minimum:
2 lines for libc and libm...
I had just updated 1.7 to the latest...

My setup.log.full has indeed:

unlink C:\cygwin2/usr/share/info/dir
unlink C:\cygwin2/usr/share/info/libc.info
unlink C:\cygwin2/usr/share/info/libm.info
unlink C:\cygwin2/usr/share/info/standards.info
...
Installing file cygfile:///usr/share/info/dir
Installing file cygfile:///usr/share/info/libc.info
Installing file cygfile:///usr/share/info/libm.info
Installing file cygfile:///usr/share/info/standards.info

Marc
-- 
View this message in context: 
http://www.nabble.com/Re%3A--1.7--Updated%3A-%7Bemacs%2Cemacs-X11%2Cemacs-el%7D-23.0.92-1-tp23559935p23572302.html
Sent from the Cygwin list mailing list archive at Nabble.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: [1.7] Updated: {emacs,emacs-X11,emacs-el}-23.0.92-1

2009-05-16 Thread Marc Girod


Marc Girod wrote:
> 
> uname -r
> 
Er... maybe you would object that this is part of coreutils,
and thus not necessarily of every cygwin installation...

Marc
-- 
View this message in context: 
http://www.nabble.com/Re%3A--1.7--Updated%3A-%7Bemacs%2Cemacs-X11%2Cemacs-el%7D-23.0.92-1-tp23559935p23572349.html
Sent from the Cygwin list mailing list archive at Nabble.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: [ANNOUNCEMENT] [1.7] Updated: cygwin-1.7.0-48

2009-05-16 Thread Marc Girod


Corinna Vinschen-2 wrote:
> 
> Just download http://cygwin.com/setup-1.7.exe and use that setup tool
> to install Cygwin 1.7.
> 
I understand that at least on Vista, following the installation, I need to
run:

  ./rebaseall

in an ash Window (from the C:/cygwin2 tree set apart for 1.7, of course)

What about:

  ./peflagsall

? I tried to read the threads, but didn't quite understand everything...
And I didn't find "instructions" about it.

Thanks,
Marc
-- 
View this message in context: 
http://www.nabble.com/-ANNOUNCEMENT---1.7--Updated%3A-cygwin-1.7.0-48-tp23565489p23572590.html
Sent from the Cygwin list mailing list archive at Nabble.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/



  1   2   >