To ITP or not to ITP, that is the question...

2005-05-02 Thread Peter A. Castro
(With apologies... :)
I have a quandry.
In the process of updating some packages I maintain for Cygwin (zsh 
suite3270), I've found that I now require some other software to build
them.  One is 'ICU' (International Components for Unicode) and the other
is 'yodl' (Yet oneOther Document Language).  I need yodl to generate the
doc for the developer snapshots of zsh (which I'm trying to create any
automated process for), and I need ICU for DBCS support in suite3270.
I've already build both of the above packages (in fact, I've gone the
next step and created Cygwin packages for them :).  I just don't know
weither there is any interest in these being offered as Cygwin packages.
So, my quandry is: Should I offer them?  Is there any interest from other
Cygwin users?  It's not a question of maintaining them, really.  Since I
now require them for other packages I maintain, I have to keep my private
copies up to date anyways.  And, since I've already gone through the
exercise of creating packages, there's not much left to do.
You can check them out at http://www.fruitbat.org/Cygwin
Yodl:
http://sourceforge.net/projects/yodl/
ICU:
http://oss.software.ibm.com/icu/
http://www.ibm.com/software/globalization/icu/
There are two wrinkles:
1) There's some confusion in my mind about yodl's viability.  I've seen
notices on the web about it being discontinued, yet the sourceforge
project was last updated in Jan of 2005.  I've build v1.31.18 so far. I
haven't gotten around to build v2.01.01 yet (it requirs 'icmake'!).  I
guess I'll have to look into building icmake next :|
2) ICU is an IBM product (at 9Mb, compress, for the source, it's hugh!).
Normally that's got both good and bad connotations.  This particular
release of ICU (3.2) is strange in that I can't seem to get the canned
sample demos to work correctly under Cygwin.  They run, but don't
generate the desired output.  That normally would bother me, except, a
build of the same version under Linux also has the sample demos failing
in the same way.  Well, at least it's consistent :) But, it begs the
question: does this code actually work at all?  I'd presume IBM thinks
so, otherwise why would they release it?  So, even though I've managed to
build and package it, it could be complete junk.
*sigh* It's never easy, is it?  Please send me your thoughts on this.
--
Peter A. Castro [EMAIL PROTECTED] or [EMAIL PROTECTED]
Cats are just autistic Dogs -- Dr. Tony Attwood


Re: ITP: cramfs-1.1, mtd-20050419

2005-05-02 Thread Corinna Vinschen
On Apr 25 16:18, Robb, Sam wrote:
 cramfs:
 
   Hint   : http://www.oneparticularharbor.net/cygwin/cramfs/setup.hint
   Binary : 
 http://www.oneparticularharbor.net/cygwin/cramfs/cramfs-1.1-1.tar.bz2
   Source : 
 http://www.oneparticularharbor.net/cygwin/cramfs/cramfs-1.1-1-src.tar.bz2
 
 mtd:
   Hint   : http://www.oneparticularharbor.net/cygwin/mtd/setup.hint
   Binary : 
 http://www.oneparticularharbor.net/cygwin/mtd/mtd-20050419-1.tar.bz2
   Source : 
 http://www.oneparticularharbor.net/cygwin/mtd/mtd-20050419-1-src.tar.bz2

I've uploaded both packages.  Packaging looks ok to me and both are
part of some Linux distro.


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  mailto:cygwin@cygwin.com
Red Hat, Inc.


RE: ITP: cramfs-1.1, mtd-20050419

2005-05-02 Thread Robb, Sam
 I've uploaded both packages.  Packaging looks ok to me and both are
 part of some Linux distro.

Thank you, Corinna.  I'll send out the announcements.

-Samrobb


Re: [patch] setup dependency fix, was Re: setup.exe problem with selecting curr radio button

2005-05-02 Thread Brian Dessent
Brian Dessent wrote:

  It may take me a while to comprehend the dependency code, but bugzilla-ed
  for now.
 
 Here is, I believe, a fix to the problem.  Each packagemeta object has a

Ping...


Cannot access Sun server via VNC

2005-05-02 Thread a12
Hello X users,
I have just installed XFree, and I can access a Sun server using:
XWin.exe -query host
When I try to access another Sun server using Cisco VPN, only X window 
is shown, but I do not get any login window from the server.
Is it possible to access a Sun server using VPN ?

Regards,
Marek


Re: Cannot access Sun server via VNC

2005-05-02 Thread Alexander Gottwald
On Mon, 2 May 2005, a12 wrote:

 Hello X users,
 
 I have just installed XFree, and I can access a Sun server using:
 XWin.exe -query host
 
 When I try to access another Sun server using Cisco VPN, only X window 
 is shown, but I do not get any login window from the server.
 Is it possible to access a Sun server using VPN ?

Have you tried the -from parameter? Have ou made sure the host allows 
remote XDMCP access? 

You should  first walk through the FAQs starting with 
http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-xdmcp-no-valid-address

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


Re: Cannot access Sun server via VNC

2005-05-02 Thread a12
Hello Alexander,
Thank you very much for your quick reply.
I will try your hint tonight.
Regards,
Marek
Alexander Gottwald skrev:
On Mon, 2 May 2005, a12 wrote:

Hello X users,
I have just installed XFree, and I can access a Sun server using:
XWin.exe -query host
When I try to access another Sun server using Cisco VPN, only X window 
is shown, but I do not get any login window from the server.
Is it possible to access a Sun server using VPN ?

Have you tried the -from parameter? Have ou made sure the host allows 
remote XDMCP access? 

You should  first walk through the FAQs starting with 
http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-xdmcp-no-valid-address

bye
ago


Cannot connect to a Sun server using xterm

2005-05-02 Thread a12
Hello X users,
I access a Sun server using:
XWin.exe -query sun-host
I login, and start an application in the Sun server correctly.
When I start xterm using startxwin.bat, and then I start xterm to a Sun 
server using:
xterm -e /bin/telnet sun-host 
I get a new xterm window from the Sun server, and I login to the Sun 
server correctly.
Then I start a graphical application in the Sun server, and I get the 
following error:
*** OI_init: Error, cannot connect to X server
ntc: couldn't open a connection to a X server

What have I missed ?
Regards,
Marek


Re: Cannot connect to a Sun server using xterm

2005-05-02 Thread Alexander Gottwald
On Mon, 2 May 2005, a12 wrote:

 Hello X users,
 
 I access a Sun server using:
 XWin.exe -query sun-host
 I login, and start an application in the Sun server correctly.
 
 When I start xterm using startxwin.bat, and then I start xterm to a Sun 
 server using:
 xterm -e /bin/telnet sun-host 
 I get a new xterm window from the Sun server, and I login to the Sun 
 server correctly.
 Then I start a graphical application in the Sun server, and I get the 
 following error:
 *** OI_init: Error, cannot connect to X server
 ntc: couldn't open a connection to a X server
 
 What have I missed ?

telnet does know nothing about the xserver. Use ssh instead.

xterm -e ssh -Y sun-host 

This will connect using the secure ssh protocol and tunnel all X11 
traffic thought the ssh connection. If this does not work check the
FAQ entries about ssh connections
 
http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-ssh-no-x11forwarding

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


mrxvt and hotkeys

2005-05-02 Thread Markus Jung
Hi List!

Thank you Scott for opening the discussion that brought up that great 
termial mrxvt.
It supports and it's working with transparent backround without that 
refresh problem 
I had with other terms!!! YEAH!!!

But theres one thing I can't get to work. The hotkeys to change tabs or 
something.
Has anyone get this working on cygwin X and how?? Whith which Key 
definition??

Thanks,

Markus


Re: Cannot connect to a Sun server using xterm

2005-05-02 Thread a12
Hello Alexander,
Thank you very much for your reply.
Following your hints, I entered in the xterm window in the PC:
xterm -e ssh -Y sun-host 
Then a SSH window appeared in the PC:
The authenticity of host 'borsen1 (a.b.c.d)' can't be established.
RSA key fingerprint is x:y:z:... .
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'borsen1,a.b.c.d' (RSA) to the list of known 
hosts.
Password:
Whatever I entered as the password, the password question reappeared, 
and eventually the ssh window was closed.

When I installed Cygwin ssh, I did not use any password.
Any hints ?
Regards,
Marek
Alexander Gottwald skrev:
On Mon, 2 May 2005, a12 wrote:

Hello X users,
I access a Sun server using:
XWin.exe -query sun-host
I login, and start an application in the Sun server correctly.
When I start xterm using startxwin.bat, and then I start xterm to a Sun 
server using:
xterm -e /bin/telnet sun-host 
I get a new xterm window from the Sun server, and I login to the Sun 
server correctly.
Then I start a graphical application in the Sun server, and I get the 
following error:
*** OI_init: Error, cannot connect to X server
ntc: couldn't open a connection to a X server

What have I missed ?
telnet does know nothing about the xserver. Use ssh instead.
xterm -e ssh -Y sun-host 
This will connect using the secure ssh protocol and tunnel all X11 
traffic thought the ssh connection. If this does not work check the
FAQ entries about ssh connections

http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-ssh-no-x11forwarding
bye
ago


Re: Cannot connect to a Sun server using xterm

2005-05-02 Thread Alexander Gottwald
On Mon, 2 May 2005, a12 wrote:

 Password:
 Whatever I entered as the password, the password question reappeared, 
 and eventually the ssh window was closed.
 
 When I installed Cygwin ssh, I did not use any password.
 
 Any hints ?

You are connecting to the sun server and must provide the password from
the sun server. most likely the same as with telnet

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


Re: Cannot connect to a Sun server using xterm

2005-05-02 Thread a12
Hello again,
Following your reply below, I created an userid in the Sun server, and 
entered:
xterm -e ssh -Y sun-host 

In order to test the graphical aplication in the Sun server, I closed 
both X windows, entered startxwin.bat in a DOS window, and entered in 
the first X window:
xterm -e ssh -Y userid@sun-host sun-host 
Then I replied to the password request, and the X window from the Sun 
server just closed.
I have also tried:
xterm -e ssh userid@sun-host -Y sun-host 
replied to the password request, and the X window from the Sun server 
closed too.

Any hints ?
Regards,
Marek
Alexander Gottwald skrev:
On Mon, 2 May 2005, a12 wrote:

Password:
Whatever I entered as the password, the password question reappeared, 
and eventually the ssh window was closed.

When I installed Cygwin ssh, I did not use any password.
Any hints ?
You are connecting to the sun server and must provide the password from
the sun server. most likely the same as with telnet
bye
ago


Re: Cannot connect to a Sun server using xterm

2005-05-02 Thread Alexander Gottwald
On Mon, 2 May 2005, a12 wrote:

 Hello again,
 
 Following your reply below, I created an userid in the Sun server, and 
 entered:
 xterm -e ssh -Y sun-host 
 
 In order to test the graphical aplication in the Sun server, I closed 
 both X windows, entered startxwin.bat in a DOS window, and entered in 
 the first X window:
 xterm -e ssh -Y userid@sun-host sun-host 
 Then I replied to the password request, and the X window from the Sun 
 server just closed.
 I have also tried:
 xterm -e ssh userid@sun-host -Y sun-host 
 replied to the password request, and the X window from the Sun server 
 closed too.

after ssh failed, the xterm is closed because it was not interactive.

You should try starting ssh from the cygwin prompt first. This will 
keep the error message.

open cygwin prompt

$ ssh userid@sun-host -Y sun-host 

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


RE: Cannot connect to a Sun server using xterm

2005-05-02 Thread Henry Camacho
I've done the following using our Sun hosts with success...

 ssh -Y -l root sunhost 

HFC


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alexander Gottwald
Sent: Monday, May 02, 2005 8:14 AM
To: cygwin-xfree@cygwin.com
Subject: Re: Cannot connect to a Sun server using xterm

On Mon, 2 May 2005, a12 wrote:

 Hello again,
 
 Following your reply below, I created an userid in the Sun server, and
 entered:
 xterm -e ssh -Y sun-host 
 
 In order to test the graphical aplication in the Sun server, I closed 
 both X windows, entered startxwin.bat in a DOS window, and entered in 
 the first X window:
 xterm -e ssh -Y userid@sun-host sun-host  Then I replied to the 
 password request, and the X window from the Sun server just closed.
 I have also tried:
 xterm -e ssh userid@sun-host -Y sun-host  replied to the password

 request, and the X window from the Sun server closed too.

after ssh failed, the xterm is closed because it was not interactive.

You should try starting ssh from the cygwin prompt first. This will keep
the error message.

open cygwin prompt

$ ssh userid@sun-host -Y sun-host 

bye
ago
--
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


Re: Cannot connect to a Sun server using xterm

2005-05-02 Thread Brian Dessent
Alexander Gottwald wrote:

 $ ssh userid@sun-host -Y sun-host 

Shouldn't this be just ssh -Y [EMAIL PROTECTED] or ssh -Y -l userid host
?  If he does the above, it will treat the second sun-host as the
command to run, which is probably why the window closes.

Brian


RE: Cannot connect to a Sun server using xterm

2005-05-02 Thread Alexander Gottwald
On Mon, 2 May 2005, Henry Camacho wrote:

 I've done the following using our Sun hosts with success...
 
  ssh -Y -l root sunhost 

Right. But using root for doing non-administrative tasks is a high
security risk. 

  xterm -e ssh -Y userid@sun-host sun-host  

What does this mean:

- start xterm (in the background)
- in xterm start ssh to host sun-host with user userid
- on sunhost start command sunhost

the last part is the problem

$ xterm -e ssh -Y userid@sun-host 

should work much better

  xterm -e ssh userid@sun-host -Y sun-host  replied to the password
  request, and the X window from the Sun server closed too.
 
 after ssh failed, the xterm is closed because it was not interactive.
 
 You should try starting ssh from the cygwin prompt first. This will keep
 the error message.
 
 open cygwin prompt
 
 $ ssh userid@sun-host -Y sun-host 

Oops this should be 

$ ssh -Y [EMAIL PROTECTED]

or like mentioned above

$ ssh -Y -l userid sun-host

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


Re: Cannot connect to a Sun server using xterm

2005-05-02 Thread Alexander Gottwald
On Mon, 2 May 2005, Brian Dessent wrote:

 Alexander Gottwald wrote:
 
  $ ssh userid@sun-host -Y sun-host 
 
 Shouldn't this be just ssh -Y [EMAIL PROTECTED] or ssh -Y -l userid host
 ?  If he does the above, it will treat the second sun-host as the
 command to run, which is probably why the window closes.

Of course. Missed that when doing copy-and-paste. Sometimes it's helpful
to read twice *g*

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


Re: Cannot connect to a Sun server using xterm

2005-05-02 Thread a12
Hi,
When I enter in the PC window:
ssh -Y [EMAIL PROTECTED]
I get a request for password, and I am logged into the Sun host.
Then I start the graphical application in the Sun host, and I get the 
following error message:
X11 connection rejected because of wrong authentication.
X connection to localhost:10.0 broken (explicit kill or server shutdown).

So I checked the DISPLAY variable, and as it was set to 
'localhost:10.0', I changed it to 'a.b.c.d:10.0', and restarted the 
application in the Sun host.
A while later, I got the following error message:
*** OI_init: Error, cannot connect to X server
ntc: couldn't open a connection to a X server

ntc is the name of the graphical application. As far as I understand, 
ntc cannot connect to a X server.

Any hints ?
Regards,
Marek
Alexander Gottwald skrev:
On Mon, 2 May 2005, Henry Camacho wrote:

I've done the following using our Sun hosts with success...
ssh -Y -l root sunhost 

Right. But using root for doing non-administrative tasks is a high
security risk. 


xterm -e ssh -Y userid@sun-host sun-host  

What does this mean:
- start xterm (in the background)
- in xterm start ssh to host sun-host with user userid
- on sunhost start command sunhost
the last part is the problem
$ xterm -e ssh -Y userid@sun-host 
should work much better

xterm -e ssh userid@sun-host -Y sun-host  replied to the password
request, and the X window from the Sun server closed too.
after ssh failed, the xterm is closed because it was not interactive.
You should try starting ssh from the cygwin prompt first. This will keep
the error message.
open cygwin prompt
$ ssh userid@sun-host -Y sun-host 
Oops this should be 

$ ssh -Y [EMAIL PROTECTED]
or like mentioned above
$ ssh -Y -l userid sun-host
bye
ago


Re: Cannot connect to a Sun server using xterm

2005-05-02 Thread Alexander Gottwald
On Mon, 2 May 2005, a12 wrote:

 Hi,
 
 When I enter in the PC window:
 ssh -Y [EMAIL PROTECTED]
 I get a request for password, and I am logged into the Sun host.
 
 Then I start the graphical application in the Sun host, and I get the 
 following error message:
 X11 connection rejected because of wrong authentication.
 X connection to localhost:10.0 broken (explicit kill or server shutdown).
 
 So I checked the DISPLAY variable, and as it was set to 
 'localhost:10.0', I changed it to 'a.b.c.d:10.0', and restarted the 
 application in the Sun host.

Guess what? localhost:10.0 was all right and a.b.c.d:10.0 is wrong. 

There may be some older authentication info left. 
Maybe this helps:
$ xauth del localhost:10.0 

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


RE: ssh -Y not an option

2005-05-02 Thread ab2540

I will read man Xsecurity but just to re-iterate; the ssh command
does not take the option -Y.  I get this statement

ssh: illegal option -- Y
Usage: ssh [options] host [command]

Sorry for the confusion I cut and pasted the wrong bit but I did
repost the letter

Regards
Anna



Re: ssh -Y not an option

2005-05-02 Thread Brian Dessent
[EMAIL PROTECTED] wrote:

 I will read man Xsecurity but just to re-iterate; the ssh command
 does not take the option -Y.  I get this statement
 
 ssh: illegal option -- Y
 Usage: ssh [options] host [command]
 
 Sorry for the confusion I cut and pasted the wrong bit but I did
 repost the letter

What is the full command that you're typing?

What does type ssh report?

What does cygcheck -c ssh report?

Brian


RE: ssh -Y not an option

2005-05-02 Thread Alexander Gottwald
On Mon, 2 May 2005 [EMAIL PROTECTED] wrote:

 
 I will read man Xsecurity but just to re-iterate; the ssh command
 does not take the option -Y.  I get this statement
 
 ssh: illegal option -- Y
 Usage: ssh [options] host [command]

This option was introduced with OpenSSH 3.8 and is equivalent to the
older -X switch. Starting with OpenSSH 3.8 -X has a different behaviour
and causes trouble with many applications.

So use ssh -Y remotehost where it does works and ssh -X remotehost 
otherwise.

bye
ago 
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


Re: Cannot access Sun server via VNC

2005-05-02 Thread a12
Hello again,
I have just tried your hint using:
Win.exe -query sun-host -from localip
where localip is the IP address received from Cisco VPN client.
Sun host IP address is a.b.c.d, and localip is a.e.f.g
XWin errors off, and the contents of /tmp/XWin.log are:
Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 6.8.2.0-2
Contact: cygwin-xfree@cygwin.com
XWin was started with the following command line:
XWin -query host1 -from  a.b.c.d
ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1024 h 768
winInitializeDefaultScreens - Returning
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
Fatal server error:
Xserver: failed to bind to -from address: a.b.c.d
winDeinitMultiWindowWM - Noting shutdown in progress
Then I tried to use the IP address that my ISP gave me:
XWin.exe -query host1 -from a.e.f.g
The contents of /tmp/XWin.log are the same as above.
As I am connected to Internet using a router, I also tried:
XWin.exe -quesry host1 -from 192.168.0.3
This time a get a X window, and the cursor appears as a cross hair. 
After some seconds, I get an error message, and the contents of 
/tmp/XWin.log are:
Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 6.8.2.0-2
Contact: cygwin-xfree@cygwin.com
XWin was started with the following command line:
XWin -query host1 -from 192.168.0.3
ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1024 h 768
winInitializeDefaultScreens - Returning
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
(II) XF86Config is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
(==) FontPath set to 
/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/TTF/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/CID/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/
MIT-SHM extension disabled due to lack of kernel support
XFree86-Bigfont extension local-client optimization disabled due to lack 
of shared memory support in the kernel
(--) Setting autorepeat to delay=500, rate=31
(--) winConfigKeyboard - Layout: 041d (041d)
(--) Using preset keyboard for Swedish (Sweden) (41d), type 4
(--) 3 mouse buttons found
Could not init font path element /usr/X11R6/lib/X11/fonts/TTF/, removing 
from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, 
removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing 
from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, 
removing from list!
Fatal server error:
XDMCP fatal error: Session failed Session 2 failed for display 
192.168.0.3:0: Cannot open display
winDeinitMultiWindowWM - Noting shutdown in progress

Any hints ?
Regards,
Marek
a12 wrote:
Hello Alexander,
Thank you very much for your quick reply.
I will try your hint tonight.
Regards,
Marek
Alexander Gottwald wrote:
On Mon, 2 May 2005, a12 wrote:

Hello X users,
I have just installed XFree, and I can access a Sun server using:
XWin.exe -query host
When I try to access another Sun server using Cisco VPN, only X 
window is shown, but I do not get any login window from the server.
Is it possible to access a Sun server using VPN ?

Have you tried the -from parameter? Have ou made sure the host allows 
remote XDMCP access?
You should  first walk through the FAQs starting with 
http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-xdmcp-no-valid-address

bye
ago



Re: Cannot access Sun server via VNC

2005-05-02 Thread Alexander Gottwald
On Mon, 2 May 2005, a12 wrote:

 Fatal server error:
 XDMCP fatal error: Session failed Session 2 failed for display 
 192.168.0.3:0: Cannot open display
 winDeinitMultiWindowWM - Noting shutdown in progress
 
 Any hints ?

It seems you're out of luck. XDMCP is a strange protocol and esp. 
network address translation (as used with VPN) will complicate 
the process. You'll have to use ssh with X11Forwarding

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


Re: Cannot access Sun server via VNC

2005-05-02 Thread a12
Hello again,
Following your reply below, I entered:
DISPLAY=localhost:0.0 ssh -Y [EMAIL PROTECTED]
and then entered the password for userid.
Then I received the following messages:
Warning: No xauth data; using fake authentication data for X11 forwarding.
tput: unknown terminal cygwin
tput: unknown terminal cygwin
tput: unknown terminal cygwin
Eventually I started the graphical application in the Sun host, and got 
the following messages:
connect localhost port 6000: Connection refused
X connection to localhost:10.0 broken (explicit kill or serever shutdown).

Shall I set the terminal type to something else ?
May the refused connection on port 6000 be caused by a firewall setting ?
Regards,
Marek
Alexander Gottwald wrote:
On Mon, 2 May 2005, a12 wrote:

Fatal server error:
XDMCP fatal error: Session failed Session 2 failed for display 
192.168.0.3:0: Cannot open display
winDeinitMultiWindowWM - Noting shutdown in progress

Any hints ?
It seems you're out of luck. XDMCP is a strange protocol and esp. 
network address translation (as used with VPN) will complicate 
the process. You'll have to use ssh with X11Forwarding

bye
ago


Linux @ home - Cygwin X server @ home won't work

2005-05-02 Thread seya
Hello all,

I encountered a XWindow problem which I never experienced before. I'm
trapped with this problem for the last four days; I need your help ( BTW
I've been using XWindow with Cygwin on WinXP for few years ).

[ Problem ]
When I use Cygwin X server on my notebook PC at home connected to a Linux
machine at office via VPN, it works fine. However, when I use the same
Cygwin X server connected to a Linux machine at home locally, it won't work.

In short, "Linux @ office - Cygwin X server @ home" does work but "Linux @
home - Cygwin X server @ home" won't work.

[ Operations ]
Following is the description of what I operated for both sides :

=== Cygwin X server @ home ===
I started X server with "startx " command. Then I issued "xhost +" to
disable access control so that any host can connect to this X server
(192.168.11.2).

=== Linux @ home ===
I exported DISPLAY and issued "xeyes" like below :

# export DISPLAY=192.168.11.2:0.0
# xeyes
# netstat -a | grep x11
tcp  0   1  192.168.11.8:32955   192.168.11.2:0.0  SYN_SENT

As you can see the request is sent to Cygwin X server (192.168.11.2)
properly.

---
Please help me to get our of his hell. I appreciate your help.

Re: cygwin-1.5.16-1: FIFOs broken

2005-05-02 Thread Lev S Bishop
cgf wrote:

 I thought that maybe something like:
  
 cat  FIFO 42FIFO

 might work since that would cause cat to keep FIFO open for input and
 output but that just hangs on both cygwin and linux.

Probably the right thing to do is:
in one shell:
$ cat  fifo

in the other shell:
$ exec 6fff
$ echo hello 6
$ echo more 6

$ exec 6-

(or something similar).

Or a more similar approach to your one also seems to work:

$ cat  fifo

One thing that is different on cygwin to linux, is if there are multiple 
readers of a fifo.

shell 1:
$ cat fifo

shell 2:
$ cat fifo

On linux, both keep waiting for someone to write to the fifo. 
On cygwin, when the second cat tries to listen on the fifo, they both 
exit. I don't know how fifos are supposed to work, but I'm guessing cygwin 
gets it wrong here.

Lev



--
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: Can cygwin create a ramdisk which is a cygwin filesystem?

2005-05-02 Thread Gary R. Van Sickle
 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of William Deegan
 Sent: Sunday, May 01, 2005 9:11 PM
 To: cygwin@cygwin.com
 Subject: Can cygwin create a ramdisk which is a cygwin filesystem?
 
 Greetings,
 
 As I understand it cygwin access to NTFS is slow for various reasons.
 For my purposes a filesystem on ramdisk managed by cygwin 
 would work just fine.
 Is that possible?
 
 -Bill
 

Cygwin's access to an NTFS partition is not particularly slow in general.
Some operations have to go through some contortions to make things look
Unixy, which slows them down, but those are mainly related to permissions
and such.  Unless you're actually having some sort of showstopping disk
speed problems, I'd just stick to normal NTFS partitions and not worry about
a few percentage points of speed.

-- 
Gary R. Van Sickle
 


--
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: old wtf? [Was: cygwin-1.5.16-1: FIFOs broken]

2005-05-02 Thread zzapper
On Sun, 01 May 2005 15:23:13 +0200,  wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Christopher Faylor wrote:
 However, that said, the above WJFFM.

It *is* in the oloca but not found in command line wtf, is this
expected? (e.g. a new version if waiting for some critical level of
new acronyms?)

  Lapo

WJFFM   Works Just Fine For Me. As in Nope, can't reproduce this here. Yet 
another way of saying
We're Just Frighteningly Freaking Mean (or insert your favorite F-words 
here). First used on the
list by Christopher Faylor. Also IWFM and WFM

http://www.cygwin.com/acronyms/   

OLOCA: The Official List of Cygwin Acronyms
WTF : cygwin acronym tool

http://www.acronymfinder.com/
http://www.astro.umd.edu/~marshall/abbrev.html

-- 
zzapper
vim -c :%s%s*%Cyrnfr)fcbafbe[Oenz(Zbbyranne%|:%s)[[()])-)Ig|norm Vg?
http://www.rayninfo.co.uk/tips/ vim, zsh  success tips


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



Help me to unsubcribe

2005-05-02 Thread giuseppe noce
Sorry I wish to ubsubscribe but I do not Know how it is possible, who help 
me ?

thanks
Giuseppe 



Controllato da McAfee Appliance (150)
--
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/


'Setup' selection question

2005-05-02 Thread Mills, John M.
All -

I want to select packages for cygwin 'Setup' to install, and want to ensure
that all dependencies for my selected packages will also be installed. It
appears that, if I am in a submenu and de-select a package, it may deselect
components that are required by another selected package, thus:

 1. Enter submenu 'X'
 2. Select application 'A' for installation
Notice some other applications are selected, presumably as dependencies
 3. Enter submenu 'Y'
 4. De-select application 'B' for installation
Notice some other applications are de-selected, presumably as
dependencies

It appears that some packages selected in (2) to satisfy dependencies are
being _deselected_ in (4). If so, I'm afraid this could break my
installation.

I actually _download_ the overall selection, burn it to a CD, and install it
on another computer. This final installation seems to be broken. (Xwin won't
start.) When I erase all installation traces I can find in the system used
for downloading (including registry keys), I get clean installations in that
original system from the same CD.

Questions:
 1. Is it possible to deselect needed files from downloading and/or
installation by deselecting _other_ files for which they are dependencies?

 2. By specifically deselecting files that may dependencies of another
package, are they dropped from the download?

 3. Is there some way to test the coverage of a set of selected packages as
far as satisfying its own internal dependencies?

 4. Should I get error messages during installation if some dependencies
can't be satisfied?

I don't have any clear symptoms of the problem; I'm fishing around to debug
my broken portable installation.

Thanks for any suggestions on these issues.

 - John Mills

John M. Mills
Staff Engineer
EMS Technologies
660 Engineering Drive
Norcross, GA 30092
770.263.9200 ext4882


--
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: Help me to unsubcribe

2005-05-02 Thread Corinna Vinschen
On May  2 15:05, giuseppe noce wrote:
 Sorry I wish to ubsubscribe but I do not Know how it is possible, who help 
 me ?

The signature of each posting to this list.

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


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  mailto:cygwin@cygwin.com
Red Hat, Inc.

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



Re: unknown windows error 64

2005-05-02 Thread Shaffer, Kenneth

 Was this a copy to a network share?  That error is
 ERROR_NETNAME_DELETED.

Yes, it was a copy from a local disk to an archive established on a share.

Is there a right way to copy to a share? I've done either of the
following:

   cp file //machine/share/directory

or

   cd //machine/share
   cp /c/directory/file directory

Do you know of any timeouts I might increase? Wonder why it would work for
many many block before it had a problem? (it's a large file)

--
Ken Shaffer



 - - - - - - -  Appended by Scientific-Atlanta, Inc.  - - - - - - -  
This e-mail and any attachments may contain information which is confidential, 
proprietary, privileged or otherwise protected by law. The information is 
solely intended for the named addressee (or a person responsible for delivering 
it to the addressee). If you are not the intended recipient of this message, 
you are not authorized to read, print, retain, copy or disseminate this message 
or any part of it. If you have received this e-mail in error, please notify the 
sender immediately by return e-mail and delete it from your computer.


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



Re: 1.5.16-1: chmod problem

2005-05-02 Thread Corinna Vinschen
On May  2 07:41, Pach Roman (GS-EC/ESA4) * wrote:
 Hello,
 I have tried now using strace.
 The file strace.14 has been generated for cygwin-1.5.14-1, and strace.15 for 
 cygwin-1.5.15-1.
 
 The command used was:
  strace chmod +w /u/tmp/yahoo  /tmp/strace.15 21
 
 The concerned part from strace.14:
...
   3310  116505 [main] chmod 1448 set_process_privilege: 0 = 
 set_process_privilege (SeRestorePrivilege, 1)
244  116749 [main] chmod 1448 set_file_attribute: 0 = set_file_attribute 
 (u:\tmp\yahoo, -1, -1, 0x124)
  10376  127125 [main] chmod 1448 chmod: 0 = chmod (/u/tmp/yahoo, 0x124)
699  127824 [main] chmod 1448 chdir: dir '/c'
...
 
 And the same from strace.15
...
199 5004896 [main] chmod 1436 fhandler_base::open: (u:\tmp\yahoo, 0x11)
   1441 5006337 [main] chmod 1436 seterrno_from_win_error: 
 /netrel/src/cygwin-1.5.15-1/winsup/cygwin/fhandler.cc:668 windows error 5
216 5006553 [main] chmod 1436 geterrno_from_win_error: windows error 5 == 
 errno 13
186 5006739 [main] chmod 1436 fhandler_base::open: C022 = NtCreateFile 
 (0x0, E0100, u:\tmp\yahoo, io, NULL, 0, 7, 1, 4400, NULL, 0)
187 5006926 [main] chmod 1436 fhandler_base::open: 0 = fhandler_base::open 
 (u:\tmp\yahoo, 0x11)
181 5007107 [main] chmod 1436 fhandler_base::open_fs: 0 = 
 fhandler_disk_file::open (u:\tmp\yahoo, 0x1)
185 5007292 [main] chmod 1436 chmod: -1 = chmod (/u/tmp/yahoo, 0x1B6)
   1226 5008518 [main] chmod 1436 open: open (/usr/share/locale/locale.alias, 
 0x0)
...
 
 The first thing I can see is that 'fhandler_base::open:' returns with the 
 'windows error 5'
 Is that the reason for chmod to fail later?

Yes.  Opening the file fails with access denied and then chmod has
no file handle to work with.

I'm sorry but I tried with 1.5.15 and 1.5.16 and I couldn't find a
situation in which this happens for me.


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  mailto:cygwin@cygwin.com
Red Hat, Inc.

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



Re: old wtf? [Was: cygwin-1.5.16-1: FIFOs broken]

2005-05-02 Thread Igor Pechtchanski
On Sun, 1 May 2005, Lapo Luchini wrote:

 Christopher Faylor wrote:
  However, that said, the above WJFFM.

 It *is* in the oloca but not found in command line wtf, is this
 expected? (e.g. a new version if waiting for some critical level of
 new acronyms?)

Umm, yes, thanks for the reminder -- a new version is about due.  In fact,
I have a fix for the OLOCA-WTF script from Dave Korn that I should
incorporate.  I'll try to release 'wtf' sometime this week.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

--
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: Shutdown 1.7-1 problem when w2k screen is locked

2005-05-02 Thread Wheeler, Frederick W \(Research\)

 On Apr 29 09:27, Wheeler, Frederick W (Research) wrote:
  
  I have found that when I Lock Computer in Windows 2000 just after running 
  shutdown --exitex 10
  then the computer does not shut down.  Nothing happens.  The command just 
  exits.
  
  When the computer is not locked, shutdown --exitex 10 does a complete 
  shutdown and power off.
  
  If I lock the computer right after running shutdown 10 (no --exitex) then 
  the computer does shutdown,
  but does not power off.  I get the It is now safe to turn off your 
  computer screen.  I get the same
  behavior from shutdown 10 even if the computer is not locked.

 If the Workstation is locked, you must add the -f (or --force) flag to
 force the system to shut down.  At least that's documented for XP.  If
 it doesn't work for 2K, I don't know how to workaround it.  There's no
 such thing as an UnlockWorkstation function, AFAICS.
 
 Corinna

Using --force makes shutdown work in 2K, even if the computer is locked.  I 
can't believe I missed that.
Thanks for pointing it out.

Thanks,
Fred Wheeler

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



problem of __RUNTIME_PSEUDO_RELOC_LIST_END

2005-05-02 Thread sjtu
hi,

I test a simple hello.c
#include stdio.h
main() {printf(Hello);} 

$ gcc -o hello hello.c
hello.c:6:2: warning: no newline at end of file
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../libcygwin.a(pseudo-reloc.
o)(.text+0x52): undefined reference to
`___RUNTIME_PSEUDO_RELOC_LIST_END__'
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../libcygwin.a(pseudo-reloc.
o)(.text+0x59): undefined reference to `___RUNTIME_PSEUDO_RELOC_LIST__'
collect2: ld returned 1 exit status

And attachment is the output of my cygwin's $ cygcheck -s -v -r 
check.out
(for special cause, I must install both cygwin  JediView -- A IDE
which will reinstall itself cygwin engine again - see attachement
detail)

thanks

liang Alei


check.out
Description: Binary data
--
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: cygwin-1.5.16-1: FIFOs broken

2005-05-02 Thread Igor Pechtchanski
On Sun, 1 May 2005, Christopher Faylor wrote:

 On Sat, Apr 30, 2005 at 09:52:28PM -0500, Ren? Berber wrote:
 Jerry D. Hedden wrote:
 [snip]
  However, that said, the above WJFFM.  In fact, it works more like linux
  in 1.5.16 than it does on 1.5.15, i.e., the cat command exits after
  printing YOUR TEXT HERE whereas it continues to block in 1.5.15.
 
  I tried the 4/30 snapshot of cygwin1.dll.  It exhibited the behavior you
  mentioned with the 'cat' exiting after it reads text.  However, this is
  a bad thing.  It means that the FIFO is being set EOF after there is no
  more data.  I tried my client-server app with the snapshot cygwin1.dll,
  and it failed because of this.
 
  It seems to me that the behavior of FIFOs under 1.5.15 was correct, and
  that under both 1.5.16 and the snapshot, FIFOs are now broken.
 
 FWIW, I just tested your example under Solaris 8 and it works just like
 Christopher describes.

 I think the previous 1.5.15 implementation of fifos represented my
 ever-evolving understanding of how they are supposed to work.  Either
 that or it was just a bug.

 (FWIW, I just tried the example on another machine and still see success
 with 1.5.16.)

 If you want to more-or-less duplicate the behavior of 1.5.15 you can do
 something like this:

 (echo 9; echo YOUR TEXT HERE)  /tmp/FIFO

This is pretty obvious from the context and the following paragraph, but
just to clarify for the archives: the above should be

(sleep 9; echo YOUR TEXT HERE)  /tmp/FIFO

 As long as there is something sitting around which has the fifo open,
 the cat process will not terminate.  Of course, there will be a long
 running sleep process sitting around in the above example and that
 may not be desirable.  So, there may be a more elegant way to do this.

 I thought that maybe something like:

 cat  FIFO 42FIFO

 might work since that would cause cat to keep FIFO open for input and
 output but that just hangs on both cygwin and linux.

Interestingly enough,

cat /tmp/FIFO

seems to work for me on RH7.3 (kernel 2.4.18-3, bash 2.05a).
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

--
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: cygwin-1.5.16-1: FIFOs broken

2005-05-02 Thread Igor Pechtchanski
On Sun, 1 May 2005, Jerry D. Hedden wrote:

  However, that said, the above WJFFM.  In fact, it works more like
  linux in 1.5.16 than it does on 1.5.15, i.e., the cat command exits
  after printing YOUR TEXT HERE whereas it continues to block in
  1.5.15.

  I tried the 4/30 snapshot of cygwin1.dll.  It exhibited the behavior
  you mentioned with the 'cat' exiting after it reads text.  However,
  this is a bad thing.  It means that the FIFO is being set EOF after
  there is no more data.  I tried my client-server app with the
  snapshot cygwin1.dll, and it failed because of this.
 
  It seems to me that the behavior of FIFOs under 1.5.15 was correct,
  and that under both 1.5.16 and the snapshot, FIFOs are now broken.

  FWIW, I just tested your example under Solaris 8 and it works just
  like Christopher describes.

 Okay.  I have seen the error of my ways.  I'm going to rewrite my app to use
 UPD instead.

Try running your test case using cat /tmp/FIFO.  If it works, look at
the bash sources to see how the  redirection is implemented, and use
that in your app.  It should be less effort than rewriting all of the
communication code (unless your app is very small).
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

--
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: cygwin-1.5.16-1: FIFOs broken

2005-05-02 Thread Christopher Faylor
On Mon, May 02, 2005 at 02:36:12AM -0400, Lev S Bishop wrote:
On linux, both keep waiting for someone to write to the fifo.  On
cygwin, when the second cat tries to listen on the fifo, they both
exit.  I don't know how fifos are supposed to work, but I'm guessing
cygwin gets it wrong here.

Yes, this is one of the reasons that I can't say fifos work fine in
cygwin.

cgf

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



Re: cygwin-1.5.16-1: FIFOs broken

2005-05-02 Thread Christopher Faylor
On Mon, May 02, 2005 at 10:30:40AM -0400, Igor Pechtchanski wrote:
On Sun, 1 May 2005, Christopher Faylor wrote:
 If you want to more-or-less duplicate the behavior of 1.5.15 you can do
 something like this:

 (echo 9; echo YOUR TEXT HERE)  /tmp/FIFO 

This is pretty obvious from the context and the following paragraph, but
just to clarify for the archives: the above should be

(sleep 9; echo YOUR TEXT HERE)  /tmp/FIFO

Actually, it should be:

(sleep 9 echo YOUR TEXT HERE)  /tmp/FIFO

i.e., no semicolon.

But, then, 'cat ' is better.

cgf

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



Re: problem of __RUNTIME_PSEUDO_RELOC_LIST_END

2005-05-02 Thread Christopher Faylor
On Mon, May 02, 2005 at 10:27:20PM +0800, sjtu wrote:
I test a simple hello.c
#include stdio.h
main() {   printf(Hello);} 

$ gcc -o hello hello.c
hello.c:6:2: warning: no newline at end of file
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../libcygwin.a(pseudo-reloc.
o)(.text+0x52): undefined reference to
`___RUNTIME_PSEUDO_RELOC_LIST_END__'
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../libcygwin.a(pseudo-reloc.
o)(.text+0x59): undefined reference to `___RUNTIME_PSEUDO_RELOC_LIST__'
collect2: ld returned 1 exit status

And attachment is the output of my cygwin's $ cygcheck -s -v -r 
check.out
(for special cause, I must install both cygwin  JediView -- A IDE
which will reinstall itself cygwin engine again - see attachement
detail)

So, in other words, you have an installation that is not supported by
this mailing list.  It sounds like you should contact the JediView
people and ask them for help.

cgf

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



Newbie help compiling ATLAS

2005-05-02 Thread Studious Apprentice
Hello to all!
I would like to compile ATLAS on windows thanks to the cygwin environment 
however I get some weird answers from the make programs...

I have installed cygwin with the GCC package on Windows XP service pack 2. I 
am running the following commands:

export BUILD_DIR=~/builds
export ATLAS_SRC=$BUILD_DIR/src/ATLAS
mkdir -p $ATLAS_SRC
cd $ATLAS_SRC/..
wget 
http://heanet.dl.sourceforge.net/sourceforge/math-atlas/atlas3.6.0.tar.gz
tar xzf atlas3.6.0.tar.gz
cd $ATLAS_SRC
make xconfig
./xconfig

I enter the most common values in the setup program and then it stops, 
outputting :
Storing L1 cache size of 64KB.
Unable to store L1CacheSize, aborting.
as if the program were not able to create the file.

The make file log shows these lines :
rm -f 
/home/Thyfate/builds/src/ATLAS/tune/sysinfo/WinNT_PIIISSE2/res/L1CacheSize
echo 16  
/home/Thyfate/builds/src/ATLAS/tune/sysinfo/WinNT_PIIISSE2/res/L1CacheSize
/bin/sh: 
/home/Thyfate/builds/src/ATLAS/tune/sysinfo/WinNT_PIIISSE2/res/L1CacheSize: 
No such file or directory
make: *** [ISetL1] Error 1

Is this related to some file permissions possibilities?
I already managed to get the config program to run till the end using mingw 
instead of gcc and then I noticed two other problems :

- a Make.inc shortcut created by the config program cannot be found by the 
make program. Though the shortcut is in the directory it looks in, it does 
not find the file (No such file or directory)
- when I replace the shortcut with the real file, gcc (not the mingw one, 
the cygwin one) can not be found by the make utility : /usr/bin/gcc can be 
run from the command line but the make file outputs an error message 
/bin/sh: /usr/bin/gcc No such file or directory

Thanks in advance for your help, I do not know where to start looking for 
help !

Charles

--
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: cygwin-1.5.16-1: FIFOs broken

2005-05-02 Thread Eric Blake
Christopher Faylor cgf-no-personal-reply-please at cygwin.com writes:

 
 On Mon, May 02, 2005 at 02:36:12AM -0400, Lev S Bishop wrote:
 On linux, both keep waiting for someone to write to the fifo.  On
 cygwin, when the second cat tries to listen on the fifo, they both
 exit.  I don't know how fifos are supposed to work, but I'm guessing
 cygwin gets it wrong here.
 
 Yes, this is one of the reasons that I can't say fifos work fine in
 cygwin.

Why not look at how POSIX defines FIFOs to work.  XBD 3.162 defines a FIFO as a 
special file whose behavior is further specified in open(2), read(2), write(2), 
and lseek(2).

open(2) states that when opening a FIFO, O_RDWR is undefined (you can only 
portably open a FIFO for just reading or just writing, so bash's `echo fifo' 
evokes undefined behavior).  Then, if O_NONBLOCK is set, O_RDONLY succeeds but 
O_WRONLY fails unless there is a previously open reader; if clear, O_RDONLY 
blocks until there is a writer and O_WRONLY blocks until there is a reader.

lseek(2) states that seeking on a FIFO fails with ESPIPE.

write(2) states that there are atomicity requirements on writes less than 
PIPE_BUF bytes.  It also states whether the write will succeed, fail with 
EPIPE, or with EAGAIN, based on blocking mode and available space in the pipe 
to the reader.  But in all cases, it will never return 0 (pipes always make 
progress, or in non-blocking mode return an error immediately).

read(2) states that a reader succeeds with 0 for end-of-file when there is no 
writer, fails immediately with EAGAIN if there is a writer but no data 
available in non-blocking mode, or blocks until the writer provides data (or 
the writer closes) in blocking mode.

When using redirections from the shell command line, you are opening the pipe 
in blocking mode.  So it shouldn't matter whether a writing process or a 
reading process is spawned first (the first end blocks until the second end has 
opened its descriptor), but neither process should complete until the last 
writing process closes its file descriptor (perhaps by exiting) to give the 
reader(s) an end-of-file indication, or the last reader closes its file 
descriptor to give the writer(s) an EPIPE.  The trick of `echo 99 fifo' 
ensures that there is a writer for a very long time, so that a reader never 
gets EOF.

--
Eric Blake



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



CYGWIN sshd service could not be started

2005-05-02 Thread Neil Aggarwal
Hello:

When I try to run:
net start sshd

I get this message:
The CYGWIN sshd service could not be started.

The event viewer has this event:
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.
You may be able to use the /AUXSOURCE= flag to retrieve this 
description; see Help and Support for details.  The following 
information is part of the event: sshd: PID 3700 : starting 
service `sshd' failed: execv: 255, error 255.

I am trying to run it on Windows Server 2003.

Here is what I did:

Create a direcotry C:\Cygwin

Visit http://sources.redhat.com/cygwin/ in your browser
Click on the Install Cygwin Now link.
Copy the setup.exe file to C:\Cygwin on your hard disk and run it.

On the cygwin setup intro screen, hit Next
Choose the Install from Internet selection and hit Next.

On the next screen:
For the Install Root Directory, give it C:\Cygwin
For Default Text File Type, select DOS
For Install For, select Just Me
Hit Next

For Local Package Directory, enter C:\Cygwin\Packages and hit Next.

For the connection, select Direct Connection and hit Next.

For the download site, choose any site prefixed by ftp:// and
hit Next.

On the select packages to install, I added the Net - OpenSSH
package.

When the installation finishes, check the boxes for 
Create Desktop Icon and Add to Start Menu and hit Next.

Hit OK on the Installation Complete dialog.

Right click on My Computer, select Properties, click the Advanced tab, click
the Environmental Variables button
Click the New button under System variables, set the Variable name to
CYGWIN,
set the variable value to ntsec tty (without the quotes) and click the
OK button.
Select the Path variable, click the Edit button, append ;C:\Cygwin\bin to
the
value, and click the OK button
Click the OK button to close the Environmental Variables sceen
Click the OK button to close the System Properties screen
Open a cygwin window by double-clicking on the Cygwin icon on the desktop
Run ssh-host-config 

When the script asks you about privilege separation, answer yes.
When the script asks about local user, answer yes.
When the script asks you about install sshd as a service, answer yes
When the script asks you to create a sshd_server account, answer yes
When prompted to enter a password for the sshd_server account,
enter a password and hit the enter key
When the script asks you for CYGWIN=, type ntsec tty (Without the
quotes)

Type net start sshd to start the daemon

Any ideas what went wrong?

Thanks,
Neil

--
Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
FREE! Valuable info on how your business can reduce operating costs by
17% or more in 6 months or less! http://newsletter.JAMMConsulting.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: Newbie help compiling ATLAS

2005-05-02 Thread Brian Dessent
Studious Apprentice wrote:

 I would like to compile ATLAS on windows thanks to the cygwin environment
 however I get some weird answers from the make programs...

Seems like the manual gives you information on how to do this:
http://math-atlas.sourceforge.net/errata.html#WinBuild.  Have you read
those links?

 echo 16 
 /home/Thyfate/builds/src/ATLAS/tune/sysinfo/WinNT_PIIISSE2/res/L1CacheSize
 /bin/sh:
 /home/Thyfate/builds/src/ATLAS/tune/sysinfo/WinNT_PIIISSE2/res/L1CacheSize:
 No such file or directory

Does that directory exist?

Brian

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



Re: CYGWIN sshd service could not be started

2005-05-02 Thread Brian Dessent
Neil Aggarwal wrote:

 For Install For, select Just Me

This is your problem.  You cannot install user mounts and then run
system services, otherwise it will not see the mounts.

It seems like you might have copied and pasted those steps from some
website somewhere.  That's precisely the reason why we recommend
ignoring all such sites - they invariably give you misleading or wrong
advice.

(It would probably be a good addition for ssh-host-config to check for
user mounts and bail or offer to remount them... this seems to come up a
lot.)

Brian

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



Re: problem of __RUNTIME_PSEUDO_RELOC_LIST_END

2005-05-02 Thread Brian Dessent
sjtu wrote:

 I test a simple hello.c
 #include stdio.h
 main() {printf(Hello);}
 
 $ gcc -o hello hello.c
 hello.c:6:2: warning: no newline at end of file
 /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../libcygwin.a(pseudo-reloc.
 o)(.text+0x52): undefined reference to
 `___RUNTIME_PSEUDO_RELOC_LIST_END__'
 /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../libcygwin.a(pseudo-reloc.
 o)(.text+0x59): undefined reference to `___RUNTIME_PSEUDO_RELOC_LIST__'
 collect2: ld returned 1 exit status

This looks questionable:

Package  Version
...
gcc  3.3.1-3
gcc-core 3.3.3-3
gcc-g++  3.3.3-3

You should really have the same version of all those packages.  You're
also using quite old versions of rather important packages:

ash  20020131-1
binutils 20011002-1
cygwin   1.5.12-1
(and many others)

Try updating your Cygwin packages to something current.

Brian

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



Re: problem of __RUNTIME_PSEUDO_RELOC_LIST_END

2005-05-02 Thread Christopher Faylor
On Mon, May 02, 2005 at 12:19:03PM -0700, Brian Dessent wrote:
sjtu wrote:

 I test a simple hello.c
 #include stdio.h
 main() {printf(Hello);}
 
 $ gcc -o hello hello.c
 hello.c:6:2: warning: no newline at end of file
 /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../libcygwin.a(pseudo-reloc.
 o)(.text+0x52): undefined reference to
 `___RUNTIME_PSEUDO_RELOC_LIST_END__'
 /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../libcygwin.a(pseudo-reloc.
 o)(.text+0x59): undefined reference to `___RUNTIME_PSEUDO_RELOC_LIST__'
 collect2: ld returned 1 exit status

This looks questionable:

Package  Version
...
gcc  3.3.1-3
gcc-core 3.3.3-3
gcc-g++  3.3.3-3

You should really have the same version of all those packages.  You're
also using quite old versions of rather important packages:

ash  20020131-1
binutils 20011002-1
cygwin   1.5.12-1
(and many others)

Try updating your Cygwin packages to something current.

I suspect that this is due to the use of a non-standard cygwin distro.
The cygwin DLL version was also not up-to-date.

cgf

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



RE: CYGWIN sshd service could not be started

2005-05-02 Thread Neil Aggarwal
Brian:

So, how do I change it to All Users?  Just rerun the
setup.exe and select the All users option?

Thanks,
Neil


--
Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
FREE! Valuable info on how your business can reduce operating costs by
17% or more in 6 months or less! http://newsletter.JAMMConsulting.com

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Brian Dessent
 Sent: Monday, May 02, 2005 2:01 PM
 To: cygwin@cygwin.com
 Subject: Re: CYGWIN sshd service could not be started
 
 
 Neil Aggarwal wrote:
 
  For Install For, select Just Me
 
 This is your problem.  You cannot install user mounts and then run
 system services, otherwise it will not see the mounts.
 
 It seems like you might have copied and pasted those steps from some
 website somewhere.  That's precisely the reason why we recommend
 ignoring all such sites - they invariably give you misleading or wrong
 advice.
 
 (It would probably be a good addition for ssh-host-config to check for
 user mounts and bail or offer to remount them... this seems 
 to come up a
 lot.)
 
 Brian
 
 --
 Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
 Problem reports:   http://cygwin.com/problems.html
 Documentation: http://cygwin.com/docs.html
 FAQ:   http://cygwin.com/faq/
 


--
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: Bespoke installations: simple elegance of setup.exe when setup.ini is absent

2005-05-02 Thread Sean McMahon
I for one appreciate the clarification as I sent a detailed bug-report to this
person assuming they were the maintainer.  My question as I've asked before is,
can or is someone working on improving accessibility of setup.exe for those of
us who have to use windows via a screenreader and keyboard.  Many of the buttons
and controlls do not get focus and can't be opperated in the normal manner.
- Original Message - 
From: Christopher Faylor [EMAIL PROTECTED]
To: cygwin@cygwin.com
Sent: Saturday, April 30, 2005 9:37 PM
Subject: Re: Bespoke installations: simple elegance of setup.exe when setup.ini
is absent


 On Sat, Apr 30, 2005 at 09:21:08PM -0500, Gary R. Van Sickle wrote:
 Chris, why are you doing this to yourself?

 Come on, GRVS.  You know the answer to that!  It's fun!

 I'm also doing it to help you, as I have repeatedly stated.  You now
 have the outlet you've been craving for almost two years.  I'm sure this
 has finally gotten your blood pumping after years of non-response from
 me.

 Also, if you must know, I'm getting something out of this, too.
 I've got a wicked cold and am confined to the house for a few days.

 As somebody falsely accused of dishonesty by you, Chris, how could I
 not mind it?  I don't like being falsely accused of lying any more than
 you like being rightfully accused of making uncalled-for rude comments.

 po-tayt-o/po-tatt-o

 I impatiently await your public explanation, if not retraction, if not
 apology, for this disturbing new low in your behavior in this forum.

 I think I see where you're trying to lead this.  Let me see if I can
 clarify.

 Yes, you did contribute code and so you are historically responsible
 for pieces of setup.exe (unless they've been rewritten by now, which is
 doubtful, I guess).  You are not, however, responsible for actively
 maintaining or supporting setup.exe currently.

 A casual reader of this mailing list might have been led to believe that
 you were somehow responsible for setup.exe as in the I have a problem
 will you help me with it sense.  So, I stepped in to clarify.

 It's difficult to say (although we can certainly guess) which definition
 of responsible you were talking about so please take the keeping you
 honest comment as trying to make you communicate a little more
 clearly.  I certainly was not intending to imply that you were some
 vile, loathsome committer of falsehoods.  I'm sorry that you took it
 that way.

 But, if you stop to think about it, if I was really doing something like
 that then, with my awful email style, wouldn't it be more likely that
 I'd say something like:

 In what way would you think that you could possibly be considered to be
 responsible for setup.exe?  You haven't contributed anything to the
 project in some time.  I can't see any useful reason for you to be
 representing yourself in this matter.  This message does nothing to
 advance this discussion.

 ?

 Instead, I was trying to emulate your lighthearted, playful style.
 Apparently, I didn't emulate you as well as I thought since surely, if I
 had, you would have been instructed by my response just as you
 continually try to lead me towards the light with all of your
 thoughtful, humorous (if slightly repetitive) missives.

 I guess my ham-fistedness touched a nerve and so does rate another
 apology.  I am sorry that I could not properly emulate your style so
 as to make my intent clearer to you.

 cgf

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


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



Problem with cygwin setup

2005-05-02 Thread jds
Sorry, my question is very basic, but I have to ask it.


Short Version:
Could someone tell me the target for the cygwin shortcut that should get 
installed?


Long Version:
Basically, my problem is that when I install cygwin it gets stuck on this 
screen:

http://www.physionet.org/physiotools/cygwin/setup-13.png


If I hit cancel then it brings up a pop-up box saying that the installation is 
complete, and turns my anti-virus software back on, however, I never see this 
screen:

http://www.physionet.org/physiotools/cygwin/setup-14.png


and so I don't have an icon installed on my desktop/start menu. I think 
everything has installed properly, so really I don't care about getting it 
working properly, if someone could just tell me what the target should be for 
the cygwin shortcut, that'd be great.

Thanks,
Jordan


--
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: CYGWIN sshd service could not be started

2005-05-02 Thread Brian Dessent
Neil Aggarwal wrote:

 So, how do I change it to All Users?  Just rerun the
 setup.exe and select the All users option?

http://cygwin.com/faq/faq0.html#TOC33

--
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: Bespoke installations: simple elegance of setup.exe when setup.ini is absent

2005-05-02 Thread Gary R. Van Sickle
Hi Sean, I'm redirecting this to the cygwin list so that we may all benefit:

 Is there any effort towards making setup.exe accessible?  

Not to my knowledge, no, which FWIW I find very unfortunate.

 Those of us who use a screen reading program and/or keyboard 
 access find it impossible to use setup.exe without 
 assistance.  The view button should activate with the 
 spacebar or enter key and does not.  The view button when 
 activated with the space bar should open up a list of 
 packages and does not.  Each item in the list should be a 
 multistate toggle which should be toggled with the spacebar.  
 Look at the windows installation program to see what I'm 
 talking about.  In the section which allows you to choose 
 accessories for example there is a button you can hit enter 
 or spacebar on which says details.  From there you are in a 
 list of programs you can select or deselect with the 
 spacebar.  This is how setup.exe should behave.

There are many problems with setup, hence my comment.  The unfortunate truth
is that setup development has historically been excruciatingly slow, and I
have no reason to believe that the level of activity will increase by any
appreciable extent in the forseeable future.  I know it may come as small
comfort, but it used to be worse.

If you are able to, I am certain that any effort you can lend to the
development of setup will be appreciated.

-- 
Gary R. Van Sickle
 

 - Original Message -
 From: Gary R. Van Sickle [EMAIL PROTECTED]
 To: cygwin@cygwin.com
 Sent: Thursday, April 28, 2005 6:58 PM
 Subject: RE: Bespoke installations: simple elegance of 
 setup.exe when setup.ini is absent
 
 
  [snip]
 
  Ahem.  As one of the many people responsible for setup, I 
 take issue with
  the accusation that it is either simple or elegant.
 
  ;-)
 
  -- 
  Gary R. Van Sickle
 
 
 
  --
  Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
  Problem reports:   http://cygwin.com/problems.html
  Documentation: http://cygwin.com/docs.html
  FAQ:   http://cygwin.com/faq/
 


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



RE: Problem with cygwin setup

2005-05-02 Thread Reid Thompson
jds wrote:
 Sorry, my question is very basic, but I have to ask it.
 
 
 Short Version:
 Could someone tell me the target for the cygwin shortcut that should
 get installed? 
 
 
 Long Version:
 Basically, my problem is that when I install cygwin it gets stuck on
 this screen: 

are you sure it's 'stuck' --- this might take a while:

#!/bin/sh
rm -f /usr/info/dir
for d in /usr/info /usr/share/info; do
for f in $d/*; do
case $f in
*\**)
;;
dir|dir.info*)
;;
*-[0123456789]*)
;;
*)
install-info --quiet $f /usr/share/info/dir ||
install-info  --quiet --entry=* $$f ($f): $$f $$f
/usr/share/info/dir
;;
esac
done
done /dev/null 21

Try running it by hand  letting it finish, then run setup again w/o
selecting any more packages.
reid

--
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: CYGWIN sshd service could not be started

2005-05-02 Thread Brian Dessent
Brian Dessent wrote:

 (It would probably be a good addition for ssh-host-config to check for
 user mounts and bail or offer to remount them... this seems to come up a
 lot.)

Here is a patch against ssh-host-config that checks for this.

Brian--- ssh-host-config.orig2005-05-02 13:09:13.984375000 -0700
+++ ssh-host-config 2005-05-02 13:23:50.640625000 -0700
@@ -583,6 +583,16 @@
chown ${_user}.544 ${LOCALSTATEDIR}/log/sshd.log
   fi
 fi
+if mount | egrep -q 'on /(|usr/(bin|lib)) type user'
+then
+  echo
+  echo Warning: It appears that you have user mode mounts (\Just me\
+  echo chosen during install.)  Any daemons installed as services will
+  echo fail to function unless system mounts are used.  To change this,
+  echo re-run setup.exe and choose \All users\.
+  echo
+  echo For more information, see http://cygwin.com/faq/faq0.html#TOC33;
+fi
   fi
 fi
 

--
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: Bespoke installations: simple elegance of setup.exe when setup.ini is absent

2005-05-02 Thread Gary R. Van Sickle
 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Sean McMahon
 Sent: Monday, May 02, 2005 2:57 PM
 To: cygwin@cygwin.com
 Subject: Re: Bespoke installations: simple elegance of 
 setup.exe when setup.ini is absent
 
 I for one appreciate the clarification as I sent a detailed 
 bug-report to this person assuming they were the maintainer. 

Hi Sean,

A couple of things:

- One should never send any project-related questions directly to a
maintainer.  The mailing lists exist so that the entire community may all
benefit from the questions and answers asked there.
- I have never been the setup maintainer, nor have I ever claimed to be (in
public or private), nor have I ever attempted to imply that I was.
- I am responsible for a good portion of setup's UI.  It used to be a series
of dialog boxes.  It is now a Wizard-style UI.  I did that.
- I am glad that Chris' comments clarified that.  Let us all hope that he
applies this helpful service across the board, and not just for those who
call him on his often bizarre behavior here.  Well, except for the false
accusations of dishonesty part, I don't think that's very helpful to
anybody.
 
 My question as I've asked before is, can or is someone 
 working on improving accessibility of setup.exe for those of 
 us who have to use windows via a screenreader and keyboard.  
 Many of the buttons and controlls do not get focus and can't 
 be opperated in the normal manner.

As I hopefully addressed in my response to you, to the best of my knowledge
nobody is working on this.  As to the question of can, the answer there is
a most resounding yes.  There's plenty that needs doing in setup.

-- 
Gary R. Van Sickle
 
 - Original Message -
 From: Christopher Faylor [EMAIL PROTECTED]
 To: cygwin@cygwin.com
 Sent: Saturday, April 30, 2005 9:37 PM
 Subject: Re: Bespoke installations: simple elegance of 
 setup.exe when setup.ini is absent
 
 
  On Sat, Apr 30, 2005 at 09:21:08PM -0500, Gary R. Van Sickle wrote:
  Chris, why are you doing this to yourself?
 
  Come on, GRVS.  You know the answer to that!  It's fun!
 
  I'm also doing it to help you, as I have repeatedly stated.  You now
  have the outlet you've been craving for almost two years.  
 I'm sure this
  has finally gotten your blood pumping after years of 
 non-response from
  me.
 
  Also, if you must know, I'm getting something out of this, too.
  I've got a wicked cold and am confined to the house for a few days.
 
  As somebody falsely accused of dishonesty by you, Chris, 
 how could I
  not mind it?  I don't like being falsely accused of lying 
 any more than
  you like being rightfully accused of making uncalled-for 
 rude comments.
 
  po-tayt-o/po-tatt-o
 
  I impatiently await your public explanation, if not 
 retraction, if not
  apology, for this disturbing new low in your behavior in 
 this forum.
 
  I think I see where you're trying to lead this.  Let me see if I can
  clarify.
 
  Yes, you did contribute code and so you are historically 
 responsible
  for pieces of setup.exe (unless they've been rewritten by 
 now, which is
  doubtful, I guess).  You are not, however, responsible for actively
  maintaining or supporting setup.exe currently.
 
  A casual reader of this mailing list might have been led to 
 believe that
  you were somehow responsible for setup.exe as in the I 
 have a problem
  will you help me with it sense.  So, I stepped in to clarify.
 
  It's difficult to say (although we can certainly guess) 
 which definition
  of responsible you were talking about so please take the 
 keeping you
  honest comment as trying to make you communicate a little more
  clearly.  I certainly was not intending to imply that you were some
  vile, loathsome committer of falsehoods.  I'm sorry that you took it
  that way.
 
  But, if you stop to think about it, if I was really doing 
 something like
  that then, with my awful email style, wouldn't it be more 
 likely that
  I'd say something like:
 
  In what way would you think that you could possibly be 
 considered to be
  responsible for setup.exe?  You haven't contributed anything to the
  project in some time.  I can't see any useful reason for you to be
  representing yourself in this matter.  This message does nothing to
  advance this discussion.
 
  ?
 
  Instead, I was trying to emulate your lighthearted, playful style.
  Apparently, I didn't emulate you as well as I thought since 
 surely, if I
  had, you would have been instructed by my response just as you
  continually try to lead me towards the light with all of your
  thoughtful, humorous (if slightly repetitive) missives.
 
  I guess my ham-fistedness touched a nerve and so does rate another
  apology.  I am sorry that I could not properly emulate your style so
  as to make my intent clearer to you.
 
  cgf
 
  --
  Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
  Problem reports:   http://cygwin.com/problems.html
  

setup alternatives (was Re: Bespoke installations: simple elegance of setup.exe when setup.ini is absent)

2005-05-02 Thread Christopher Faylor
On Mon, May 02, 2005 at 12:57:18PM -0700, Sean McMahon wrote:
I for one appreciate the clarification as I sent a detailed bug-report
to this person assuming they were the maintainer.  My question as I've
asked before is, can or is someone working on improving accessibility
of setup.exe for those of us who have to use windows via a screenreader
and keyboard.  Many of the buttons and controlls do not get focus and
can't be opperated in the normal manner.

Did you happen to follow the setup.exe sucks thread over in
cygwin-apps?  Basically, it boils down to the fact that I and others are
not really thrilled with setup.exe in its current form.  While it is an
impressive program in some ways, the UI is (apparently) too
non-intuitive and the mean-time between bug fixes is too long.

Are you aware of a setup-like program out there which gets it right as
far as UI is concerned?  It would be nice to transition to an
open-sources alternative which was actively supported.

cgf

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



Re: CYGWIN sshd service could not be started

2005-05-02 Thread Christopher Faylor
On Mon, May 02, 2005 at 01:25:10PM -0700, Brian Dessent wrote:
Brian Dessent wrote:

 (It would probably be a good addition for ssh-host-config to check for
 user mounts and bail or offer to remount them... this seems to come up a
 lot.)

Here is a patch against ssh-host-config that checks for this.

I wonder if it would make sense to eliminate the just for me option from
setup.exe and just present a screen if setup.exe is not able to install
mount points for the whole system.  Either that or always duplicate the
just for me mount points to the system mount points, too.

cgf

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



RE: CYGWIN sshd service could not be started

2005-05-02 Thread Neil Aggarwal
Brian:

Thanks for the help.  I appreciate it.

Thanks
Neil


--
Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
FREE! Valuable info on how your business can reduce operating costs by
17% or more in 6 months or less! http://newsletter.JAMMConsulting.com

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Brian Dessent
 Sent: Monday, May 02, 2005 3:17 PM
 To: cygwin@cygwin.com
 Subject: Re: CYGWIN sshd service could not be started
 
 
 Neil Aggarwal wrote:
 
  So, how do I change it to All Users?  Just rerun the
  setup.exe and select the All users option?
 
 http://cygwin.com/faq/faq0.html#TOC33
 
 --
 Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
 Problem reports:   http://cygwin.com/problems.html
 Documentation: http://cygwin.com/docs.html
 FAQ:   http://cygwin.com/faq/
 


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



RE: Problem with cygwin setup

2005-05-02 Thread jds

Thanks for your help Reid, but...

 are you sure it's 'stuck' --- this might take a while:
Well, I let it sit for 20 minutes and nothing happened...


 Try running it by hand  letting it finish, then run setup again w/o
 selecting any more packages.

Maybe I don't understand you, or your don't understand me, or I'm just 
clueless, but what I really want to know is how to run cygwin now that it's 
installed, given that I don't have an icon on my desktop. I dunno, isn't the 
icon just a shortcut to some .exe, or is it something else? Thanks for your 
help, but I really didn't know what to do with that big thing that you copied 
for me.


Anyways, here's my log file if it helps (minus a whole bunch of stuff in the 
middle):

2005/05/02 13:21:46 Starting cygwin install, version 2.457.2.2
2005/05/02 13:21:46 Failed to set CYGWIN=nontsec
2005/05/02 13:21:46 Current Directory: C:\Jordan Work\cygwin
2005/05/02 13:21:46 Changing gid to Users
2005/05/02 13:21:46 Found McAfee anti virus program
2005/05/02 13:21:51 Disabled Anti Virus software
2005/05/02 13:21:53 source: network install
2005/05/02 13:21:56 root: C:\cygwin binary system
2005/05/02 13:21:58 Selected local directory: C:\Jordan Work\cygwin
2005/05/02 13:21:59 net: Direct
2005/05/02 13:22:01 site: 
ftp://ftp.mirror.ac.uk/sites/sources.redhat.com/ftp/cygwin
2005/05/02 13:22:12 site: ftp://mirror.cpsc.ucalgary.ca/mirror/cygwin.com
2005/05/02 13:22:20 Visited: 547 nodes out of 552.
2005/05/02 13:22:20 Dependency ordered install:
[ ... deleted]
2005/05/02 13:22:22 running: C:\cygwin\bin\sh.exe -c 
/etc/postinstall/post-texmf.sh
2005/05/02 13:35:42 Enabled Anti Virus software
2005/05/02 13:35:43 mbox note: Nothing needed to be installed
2005/05/02 13:35:44 Ending cygwin install


-Original Message-

 Date: Mon May 02 13:17:03 PDT 2005
 From: Reid Thompson [EMAIL PROTECTED]
 Subject: RE: Problem with cygwin setup
 To: , cygwin@cygwin.com

 jds wrote:
  Sorry, my question is very basic, but I have to ask it.
  
  
  Short Version:
  Could someone tell me the target for the cygwin shortcut that should
  get installed? 
  
  
  Long Version:
  Basically, my problem is that when I install cygwin it gets stuck on
  this screen: 
 
 are you sure it's 'stuck' --- this might take a while:
 
 #!/bin/sh
 rm -f /usr/info/dir
 for d in /usr/info /usr/share/info; do
 for f in $d/*; do
   case $f in
   *\**)
   ;;
   dir|dir.info*)
   ;;
   *-[0123456789]*)
   ;;
   *)
   install-info --quiet $f /usr/share/info/dir ||
   install-info  --quiet --entry=* $$f ($f): $$f $$f
 /usr/share/info/dir
   ;;
   esac
 done
 done /dev/null 21
 
 Try running it by hand  letting it finish, then run setup again w/o
 selecting any more packages.
 reid


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

2005-05-02 Thread Brian Dessent
jds wrote:

 Maybe I don't understand you, or your don't understand me, or I'm just 
 clueless, but what I really want to know is how to run cygwin now that it's 
 installed, given that I don't have an icon on my desktop. I dunno, isn't the 
 icon just a shortcut to some .exe, or is it something else? Thanks for your 
 help, but I really didn't know what to do with that big thing that you copied 
 for me.

There should be a cygwin.bat in the directory you choose to install to;
just run that.

Alternatively, open a command prompt:

cd \cygwin\bin  # or whatever your location is
bash -li

To run any postinstall scripts that did not complete, do the following
from the bash prompt:

cd /etc/postinstall
for F in *.sh; do . $F  mv $F $F.done; done

Brian

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



Re: Bespoke installations: simple elegance of setup.exe when setup.ini is absent

2005-05-02 Thread Christopher Faylor
On Mon, May 02, 2005 at 03:39:51PM -0500, Gary R. Van Sickle wrote:
- I am glad that Chris' comments clarified that.  Let us all hope that he
applies this helpful service across the board, and not just for those who
call him on his often bizarre behavior here.  Well, except for the false
accusations of dishonesty part, I don't think that's very helpful to
anybody.

Yes, Gary, I'll be glad to respond to you again.  You have only but to
profess indignation at a harmless turn of phrase and I'll be there to
provide you with the outlet you are apparently looking for.

To just to address your hope -- with my awful email style how could I
resist putting anyone in their place who dared step out of line?  Are
you afraid that your strange power over me, where I immediately start
being helpful after you've made one of your every-few-weeks vituperative
forays into this mailing list, might cause me to shirk my duties?

Have no fear Mr.  Mesmer, I'll do my duty.  I can resist your powers
just enough for that, at least.

cgf

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



Re: Problem with cygwin setup

2005-05-02 Thread jds
Ok, I guess something else must've gone wrong because I don't have a cygwin.bat 
file. Thanks for your help, I'll try completely deleting everything and then 
re-installing it.

-Original Message-

 Date: Mon May 02 13:57:35 PDT 2005
 From: Brian Dessent [EMAIL PROTECTED]
 Subject: Re: Problem with cygwin setup
 To: cygwin@cygwin.com

 jds wrote:
 
  Maybe I don't understand you, or your don't understand me, or I'm just 
  clueless, but what I really want to know is how to run cygwin now that it's 
  installed, given that I don't have an icon on my desktop. I dunno, isn't 
  the icon just a shortcut to some .exe, or is it something else? Thanks for 
  your help, but I really didn't know what to do with that big thing that you 
  copied for me.
 
 There should be a cygwin.bat in the directory you choose to install to;
 just run that.
 
 Alternatively, open a command prompt:
 
 cd \cygwin\bin  # or whatever your location is
 bash -li
 
 To run any postinstall scripts that did not complete, do the following
 from the bash prompt:
 
 cd /etc/postinstall
 for F in *.sh; do . $F  mv $F $F.done; done
 
 Brian
 
 --
 Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
 Problem reports:   http://cygwin.com/problems.html
 Documentation: http://cygwin.com/docs.html
 FAQ:   http://cygwin.com/faq/



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



RE: setup alternatives (was Re: Bespoke installations: simple elegance of setup.exe when setup.ini is absent)

2005-05-02 Thread James Renton
What about http://sourceforge.net/projects/wix/?
 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Christopher Faylor
Sent: Monday, May 02, 2005 4:39 PM
To: cygwin@cygwin.com
Subject: setup alternatives (was Re: Bespoke installations: simple
elegance of setup.exe when setup.ini is absent)

On Mon, May 02, 2005 at 12:57:18PM -0700, Sean McMahon wrote:
I for one appreciate the clarification as I sent a detailed bug-report 
to this person assuming they were the maintainer.  My question as I've 
asked before is, can or is someone working on improving accessibility 
of setup.exe for those of us who have to use windows via a screenreader

and keyboard.  Many of the buttons and controlls do not get focus and 
can't be opperated in the normal manner.

Did you happen to follow the setup.exe sucks thread over in
cygwin-apps?  Basically, it boils down to the fact that I and others are
not really thrilled with setup.exe in its current form.  While it is an
impressive program in some ways, the UI is (apparently) too
non-intuitive and the mean-time between bug fixes is too long.

Are you aware of a setup-like program out there which gets it right as
far as UI is concerned?  It would be nice to transition to an
open-sources alternative which was actively supported.

cgf

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


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



side effects of Cygwin's maximum memory test

2005-05-02 Thread Utku Ozcan
I *think* that the test below, which tests memory allocation limit of
Cygwin *might* produce problems in Windows XP:

http://sources.redhat.com/cygwin/cygwin-ug-net/setup-maxmem.html

In this page, I have compiled the C code, and after having run the
compiled executable, Windows XP gave suddenly a warning that virtual
memory setting has been changed (I think, that repeated malloc() calls
in this code somehow change the virtual memory settings in Windows
XP).

After that, I have observed harddisk related problems which I cannot
produce them repeated. Sometimes during power-on, harddisk locked, PC
never started (harddisk lamp lighted continuously). It helped to boot
the computer several times so that it can run. The last symptom was,
that PC could not boot itself and operating system dumped ntfs
corrupt or damaged message.

I have looked at internet, but could not find any information that I
could correlate the problems with it. The only thing I could find is
that Virtual Memory setting was user defined min: 768 MB, max: 1536 MB
(was not in automatical control of OS any more, compiled C code above
in the link must have forced the operating system to change it).

Then I have run defragmentation. The results can be viewed at:
http://www.geocities.com/utku_ozcan/vol_c_defrag.JPG

The only thing I can figure out is, that before and after the
defragmentation, harddisk has big holes in between. This cannot be
pagefile.sys, because it can be as much as 1,5 GB (max: 1536 MB). Big
holes between defragmented areas seems to be in 5-10 GB regions.

I know, I need proof, but sorry, not capable of producing it. Maybe my
harddisk had big fragment distances in Gigabytes before, OS cannot
boot because HD consume in that case excessive amount of time to read
fragmented sectors.

This problem occurred maybe when I run the C code above (fragmented
harddisk - manual change of virtual memory because of Cygwin test C
code).

Just a thought.

Utku

--
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: Bespoke installations: simple elegance of setup.exe when setup.ini is absent

2005-05-02 Thread Brian Ford
On Thu, 28 Apr 2005, 20:58:44 -0500 Gary R. Van Sickle wrote:

 As one of the many people responsible for setup...

On Mon, 2 May 2005, Gary R. Van Sickle wrote:

 - I am responsible for a good portion of setup's UI.  It used to be a series
 of dialog boxes.  It is now a Wizard-style UI.  I did that.

I believe it was simply the choice of the word responsible that cgf
objected to.  Along with the above use of the present tense am, I can see
how casual observers might be (and were) confused.

From
http://www.m-w.com/cgi-bin/dictionary?book=Dictionaryva=responsiblex=0y=0:

1 a: liable to be called on to answer
  b: liable to be called to account as the primary cause, motive, or agent
3  : marked by or involving responsibility or accountability

Perhaps:

As one of the many contributors to setup...

and

I contributed a good portion of setup's UI.

might have been better choices in hind sight.

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
the best safety device in any aircraft is a well-trained pilot...


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

2005-05-02 Thread Brian Keener
Jds wrote:
 Short Version: 
 Could someone tell me the target for the cygwin shortcut that should get 
 installed? 
  

From what I recall it was dependent on your OS - for old Win9x OS's it was 
placed in 
Desktop and for Win2k or WinNT and the like it was placed in Documents and 
setting and 
either All Users or your User Id based on how you answered the option for all 
users 
or just me during setup.

Thought - which option did you select and are you the administrator for this 
system - 
also what OS are you on and one last thought:

Looking at your log:

2005/05/02 13:22:22 running: C:\cygwin\bin\sh.exe -c 
/etc/postinstall/post-texmf.sh 
2005/05/02 13:35:42 Enabled Anti Virus software 
2005/05/02 13:35:43 mbox note: Nothing needed to be installed 
2005/05/02 13:35:44 Ending cygwin install 

Notice the Nothing needed to be installed note - did you actually see it 
download and 
install anything - did you in fact select something to be installed - from the 
Chooser 
screen when it shows you all the categories you must select at least the Base 
Category.

bk




--
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: read bug in Cygwin 1.5.16?

2005-05-02 Thread Peter Farley
Thanks Chris.  I will try to test the snapshot soon,
but I may have some RL events interrupting me before I
can do so.

I'll report back after testing.

Peter

--- Christopher Faylor
[EMAIL PROTECTED] wrote:
 On Sun, May 01, 2005 at 04:56:13PM -0700, Peter
 Farley wrote:
 Hi all,
 
 I tried to forward this message to the main cygwin
 list yesterday, but had a little trouble getting it
 there, probably because I mentioned xterm in the
 subject.  I'm trying again in case this is NOT an
 X problem but a base cygwin problem.
 
 I have attached the test program xtermbug.c instead
 of pasting it inline.  I hope that is OK for this
 list.
 
 Thanks for the test program.
 
 There was a problem with setting VMIN == VTIME == 0
 on ttys/ptys.  I've just checked in a fix.  It will 
 be in today's snapshot, when it shows
 up: http://cygwin.com/snapshots/ .
 
 cgf


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

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



RE: Bespoke installations: simple elegance of setup.exe when setup.ini is absent

2005-05-02 Thread Gary R. Van Sickle
 -Original Message-
 From: Brian Ford 
 Sent: Monday, May 02, 2005 5:45 PM
 To: Gary R. Van Sickle
 Cc: cygwin@cygwin.com
 Subject: RE: Bespoke installations: simple elegance of 
 setup.exe when setup.ini is absent
 
 On Thu, 28 Apr 2005, 20:58:44 -0500 Gary R. Van Sickle wrote:
 
  As one of the many people responsible for setup...
 
 On Mon, 2 May 2005, Gary R. Van Sickle wrote:
 
  - I am responsible for a good portion of setup's UI.  It 
 used to be a 
  series of dialog boxes.  It is now a Wizard-style UI.  I did that.
 
 I believe it was simply the choice of the word responsible 
 that cgf objected to.

Unfortunately no, Brian.  What Chris objected to was my taking him to task
over an uncalled-for rude comment he made.  His comments in this thread are,
in his mind anyway, some sort of retribution for that.

Yeah, I don't get it either.

-- 
Gary R. Van Sickle


--
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: read bug in Cygwin 1.5.16?

2005-05-02 Thread Peter Farley
Thanks Brian, but I don't think support on earlier
versions of cygwin is going to be an issue.  There's
only one other person who tried and found this same
bug, so we're somewhat rara avis (rare birds).

If the snapshot fix works, I can wait for the release
to come out.  It isn't that urgent, since my
workaround is just to run in a console window instead
of an xterm.

Thanks again for the help.

Peter

--- Brian Dessent [EMAIL PROTECTED] wrote:
 
 Christopher Faylor wrote:
 
  There was a problem with setting VMIN == VTIME ==
 0 on ttys/ptys.  I've
  just checked in a fix.  It will be in today's
 snapshot, when it shows
  up: http://cygwin.com/snapshots/ .
 
 Peter Farley wrote:
 
  kbattr.c_cc[VMIN] = 0;
  kbattr.c_cc[VTIME] = 0;
 
 If you're always using select() to read, you could
 set VMIN = 1 as a workaround if you need to support 
 versions of Cygwin prior to the above fix.
 
 Brian


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

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



RE: Bespoke installations: simple elegance of setup.exe when setup.ini is absent

2005-05-02 Thread Gary R. Van Sickle
Chris, Chris, Chris.  I can imagine how anxious you must be, having to wait
up to several full hours for my responses to your avoid-the-issue posts, but
really you only have yourself to blame.  We could both go on to much more
productive things if you'd simply admit that you were out of line and have
been on far too many occaisions, and promise to behave better in the future.
And then, if you actually do behave better in the future, why, in thirty
years or so, we'll look back over a homebrew to your inexplicable rudeness
and this epiphany you're having after having been called on it enough times,
and O, how we'll laugh!

(BTW: that's not the royal we, that's the Cygwin community we, which is
lucky enough to be witnessing this historic event.  I know you believe that
you and I are some sort of internet soulmates or something, but, well, no,
we ain't.  And that's the you and I we there, lest anybody become any
more confused.)

Ok, fine, I'll write a short response for you here to tide you over, until
such time as I can address your aforementioned avoid-the-issue posts.  Don't
say I never did nothin for ya.

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Christopher Faylor
 Sent: Monday, May 02, 2005 4:16 PM
 To: cygwin@cygwin.com
 Subject: Re: Bespoke installations: simple elegance of 
 setup.exe when setup.ini is absent
 
 On Mon, May 02, 2005 at 03:39:51PM -0500, Gary R. Van Sickle wrote:
 - I am glad that Chris' comments clarified that.  Let us all 
 hope that 
 he applies this helpful service across the board, and not just for 
 those who call him on his often bizarre behavior here.  Well, except 
 for the false accusations of dishonesty part, I don't think 
 that's very 
 helpful to anybody.
 
 Yes, Gary, I'll be glad to respond to you again.  You have 
 only but to profess indignation at a harmless turn of phrase 

You would characterize your deliberate, public, and unwarranted questioning
of my honesty as harmless, Chris?  Are you so sure that such bizarre
behavior does you no harm?

 and I'll be there to provide you with the outlet you are 
 apparently looking for.
 

Who's looking for what now?  Is that what your inexplicable rudeness and now
false accusations of dishonesty are?  Some sort of outlet for your pent up
hatred of the Cygwin community, or the Man, or humanity, or the World?
One is indeed drawn to such a conclusion, in the absence of any other
logical explanation.  If that is so, let me ask you: Is it working?  Do your
snide comments ease the pain, Chris?  Do they, Chris?

Do they?

 To just to address your hope -- with my awful email style how 
 could I resist putting anyone in their place who dared step 
 out of line?

I don't know how, which is why I'm hoping you'll be able to apply this new
standard in the same fair and even-handed fashion that you've applied your
puzzlingly unwarranted rudeness policy.  Heretofore, I am unaware of any
instance in which you kept anybody honest and/or accused them of
dishonesty.  You certainly have to agree that implementing such a policy
will be a much more involved task than randomly spraying the Cygwin mailing
lists with rude comments.  It will involve many hours of checking the time
between various posts, poring over cvs logs, and who knows what other kinds
of time-consuming research.  I am well aware that you are already saddled
with more than enough work.  I simply hope you're up to the additional load.

  Are you afraid that your strange power over me, 

Nobody has anything to fear from my strange power over you, Chris.

 where I immediately start being helpful after you've made one 
 of your every-few-weeks vituperative forays into this mailing 
 list, might cause me to shirk my duties?
 

Well, I don't know what vituperative means, but if it's something along
the lines of When Chris is called on his inappropriate behavior, he
temporarily 'shapes up', you can set your watch by it, well, frankly, yes.

 Have no fear Mr.  Mesmer, I'll do my duty.  I can resist your 
 powers just enough for that, at least.
 

Excellent.  I shall await with bated breath the first instance of you
falsely accusing somebody else on this list of dishonesty!  What an exciting
time to be a member of the Cygwin community[1]!

-- 
Gary R. Van Sickle
[1] By member of the Cygwin community I of course mean what everybody
knows I mean, no more, no less.  Don't want to get two false accusations of
dishonesty in a row!


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



postgresql and sockets

2005-05-02 Thread Krzysztof Duleba
Hi

I am using Cygwin postgresql as my db engine for high load jboss/Hibernate
web app. It works fine, but after some 10k transactions socket seems
broken and I get this message:

$ psql
psql: could not connect to server: Bad file descriptor
Is the server running locally and accepting
connections on Unix domain socket /tmp/.s.PGSQL.5432?

$ cat /tmp/.s.PGSQL.5432
!socket 1304 s D872D6B4-84B51718-5811C571-3E0793C6

However, `psql -h localhost -p 5432' succeeds. So in fact the socket is
still there, but the link stored in /tmp/.s.PGSQL.5432 is broken.

If I restart postmaster service, psql works again. Now /tmp/.s.PGSQL.5432
has different content:

$ cat /tmp/.s.PGSQL.5432
!socket 1661 s A50B48C0-681AB839-08CFE772-54D105A7

I use the default postgresql.conf, only the following line was changed:
tcpip_socket = true

Any ideas is the problem related to Cygwin? If yes then I will try to
provide more info. I know it's not too specific, but a month ago
postgresql worked more stable (it wasn't as loaded as it is now though).

Regards
Krzysztof Duleba


cygcheck.out
Description: Binary data
--
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: Bespoke installations: simple elegance of setup.exe when setup.ini is absent

2005-05-02 Thread Cliff Hones
Gary R. Van Sickle wrote:
 ...
 [Yet more boring vitriolic rubbish.]
 ...

I've been on this list for a good four years now, and never ever
considered setting up a filter.  I came close during the fortune
flamewars and I'm getting even more close now.  Please, Gary and CGF,
can you take your discussion offline.

-- Cliff

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



execvp error:cygwin+make+busybox

2005-05-02 Thread John Williams
Hello,
Attempting to cross-compile Busybox 1.00 under Cygwin (1.5.16-1) I am 
hitting an error similar to one previously reported on the Cygwin list 
(Jan 05):

http://www.cygwin.com/ml/cygwin/2005-01/msg00657.html
No resolution was posted to the list at that time.
The busybox Makefile attempts to run the host CC (gcc in this case) to 
build some setup/config tools, as well as spawning a shell script to do 
a bit of preparatory work.  This is before any cross-compiling begins.

Make reports the following error:
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/mkdep 
/cygdrive/e/cygwin-uclinux/uClinux-dist/user/busybox/scripts/mkdep.c
make[3]: execvp: gcc: Invalid argument
make[3]: *** [scripts/mkdep] Error 127

The problem occurs with Make versions 3.79.1 and 3.80 (haven't tested 
any earlier versions)

The Makefile fragment which fails looks like this:
scripts/mkdep: $(top_srcdir)/scripts/mkdep.c
$(HOSTCC) $(HOSTCFLAGS) -o $@ $
HOSTCC and HOSTCFLAGS can be deduced from above output, but there's 
nothing exotic in there.

Another fragment which fails is this:
.config.mkconfig: $(ROOTDIR)/config/.config
sh ./mkconfig  .config.tmp
This fragment fails with:
make[3]: execvp: sh: Invalid argument
If executed directly from the commandline, these commands complete fine 
- it's only when spawning from within the Makefile.

cygcheck output is attached.
Any insights into the nature and possible solution of this problem would 
be greatly appreciated.

Thanks,
John

Cygwin Configuration Diagnostics
Current System Time: Tue May 03 10:26:33 2005

Windows XP Professional Ver 5.1 Build 2600 Service Pack 2

Path:   c:\xilinx\edk7.1\cygwin\usr\local\bin
c:\xilinx\edk7.1\cygwin\bin
c:\xilinx\edk7.1\cygwin\bin
c:\xilinx\edk7.1\cygwin\bin
c:\xilinx\edk7.1\bin\nt
c:\xilinx\edk7.1\gnu\powerpc-eabi\nt\bin
c:\xilinx\edk7.1\gnu\microblaze\nt\bin
c:\xilinx\edk7.1\bin\nt
e:\Nutc\bin
e:\Nutc\bin\X11
e:\Nutc\mksnt
c:\EDK\bin\nt
c:\EDK\gnu\microblaze\nt\bin
c:\EDK\gnu\powerpc-eabi\nt\bin
c:\WINDOWS\SYSTEM32
c:\WINDOWS
c:\WINDOWS\SYSTEM32\WBEM
c:\PROGRAM FILES\SUPPORT TOOLS\
c:\PROGRAM FILES\J2SDK1.4.0\BIN
c:\PROGRAM FILES\J2SDK1.4.0\JRE\BIN
e:\Mentor\WG2002\LICENS~1
c:\matlab6p5p1\bin\win32
c:\Xilinx\ise7.1\bin\nt
c:\program files\winrsync\support
e:\Mentor\WG2002\vbsa\BIN
c:\Program Files\SSH Communications Security\SSH Secure Shell
h:\usr\bin

Output from c:\xilinx\edk7.1\cygwin\bin\id.exe (nontsec)
UID: 400(jwilliams) GID: 401(mkpasswd)
0(root) 544(Administrators) 545(Users)  401(mkpasswd)

Output from c:\xilinx\edk7.1\cygwin\bin\id.exe (ntsec)
UID: 400(jwilliams) GID: 401(mkpasswd)
0(root) 544(Administrators) 545(Users)  401(mkpasswd)

SysDir: C:\WINDOWS\system32
WinDir: C:\WINDOWS

HOME = `H:\'
MAKE_MODE = `unix'
PWD = `/cygdrive/e/cygwin-uclinux'
USER = `jwilliams'

Use `-r' to scan registry

c:  hd  NTFS 20481Mb  91% CP CS UN PA FC 
e:  hd  FAT32 8110Mb  80% CPUN   NEW VOLUME
g:  net NTFS 16553Mb  13% CP CS  groups
h:  net NTFS   1048432Mb  84% CP CS  jwilliams
s:  net NTFS 74433Mb  99% CP CS UN PA FC software
z:  net NTFS 29533Mb  97% CP CSPAjwilliam

c:\xilinx\edk7.1\cygwin  /  userbinmode
c:\xilinx\edk7.1\cygwin/bin  /usr/bin   userbinmode
c:\xilinx\edk7.1\cygwin/lib  /usr/lib   userbinmode
./cygdrive  userbinmode,cygdrive

Found: c:\xilinx\edk7.1\cygwin\bin\awk.exe
Found: c:\xilinx\edk7.1\cygwin\bin\bash.exe
Found: c:\xilinx\edk7.1\cygwin\bin\cat.exe
Found: c:\xilinx\edk7.1\cygwin\bin\cp.exe
Found: c:\xilinx\edk7.1\cygwin\bin\cpp.exe
Found: c:\xilinx\edk7.1\cygwin\bin\find.exe
Found: c:\xilinx\edk7.1\cygwin\bin\gcc.exe
Not Found: gdb
Found: c:\xilinx\edk7.1\cygwin\bin\grep.exe
Found: c:\xilinx\edk7.1\cygwin\bin\ld.exe
Found: c:\xilinx\edk7.1\cygwin\bin\ls.exe
Found: c:\xilinx\edk7.1\cygwin\bin\make.exe
Found: c:\xilinx\edk7.1\cygwin\bin\mv.exe
Found: c:\xilinx\edk7.1\cygwin\bin\rm.exe
Found: c:\xilinx\edk7.1\cygwin\bin\sed.exe
Found: c:\xilinx\edk7.1\cygwin\bin\sh.exe
Found: c:\xilinx\edk7.1\cygwin\bin\tar.exe

   55k 2004/09/14 c:\xilinx\edk7.1\cygwin\bin\cygbz2-1.dll
   18k 2004/07/06 c:\xilinx\edk7.1\cygwin\bin\cygcharset-1.dll
7k 2003/10/19 c:\xilinx\edk7.1\cygwin\bin\cygcrypt-0.dll
  895k 2004/04/28 c:\xilinx\edk7.1\cygwin\bin\cygdb-4.2.dll
 1156k 2004/04/28 c:\xilinx\edk7.1\cygwin\bin\cygdb_cxx-4.2.dll
  174k 2004/10/14 c:\xilinx\edk7.1\cygwin\bin\cygexpat-0.dll
   40k 2004/10/10 c:\xilinx\edk7.1\cygwin\bin\cygform-8.dll
   45k 2001/04/25 c:\xilinx\edk7.1\cygwin\bin\cygform5.dll
   35k 2002/01/09 c:\xilinx\edk7.1\cygwin\bin\cygform6.dll
   48k 2003/08/09 c:\xilinx\edk7.1\cygwin\bin\cygform7.dll
   28k 

Re: Bespoke installations: simple elegance of setup.exe when setup.ini is absent

2005-05-02 Thread Christopher Faylor
On Tue, May 03, 2005 at 12:57:03AM +0100, Cliff Hones wrote:
Gary R. Van Sickle wrote:
 ...
 [Yet more boring vitriolic rubbish.]
 ...

I've been on this list for a good four years now, and never ever
considered setting up a filter.  I came close during the fortune
flamewars and I'm getting even more close now.  Please, Gary and CGF,
can you take your discussion offline.

Sorry, Cliff.  You're right.  I'll stop now.  I was having fun but it
was at the expense of the cygwin mailing list.

There really is no place to take this off-line since Gary has adamantly
vetoed the idea of personal email.  I guess the cygwin-talk list is an
option but there's no reason to bore people over there either.

So, I'll stop now.  My apologies to the cygwin list.

cgf

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



mkdir -p and network drives

2005-05-02 Thread Pierre A. Humblet
According to the Cygwin Faq,

*
Why doesn't `mkdir -p' work on a network share?
Unfortunately, you cannot do something like this: 

bash$ mkdir -p //MACHINE/Share/path/to/new/dir
mkdir: cannot create directory `//MACHINE': No such file or directory

This is because mkdir checks for the existence of each directory on the path,
creating them as necessary. Since `//MACHINE' is not a directory (you can't cd
to it either), mkdir tries to create it, and fails. 
**

This behavior would be fine with me, but the latest mkdir (GNU coreutils)
5.3.0
creates /MACHINE/Share/path/to/new/dir and returns 0

Pierre




--
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: execvp error:cygwin+make+busybox

2005-05-02 Thread Christopher Faylor
On Tue, May 03, 2005 at 10:39:13AM +1000, John Williams wrote:
Attempting to cross-compile Busybox 1.00 under Cygwin (1.5.16-1) I am 
hitting an error similar to one previously reported on the Cygwin list 
(Jan 05):

http://www.cygwin.com/ml/cygwin/2005-01/msg00657.html

No resolution was posted to the list at that time.

The busybox Makefile attempts to run the host CC (gcc in this case) to 
build some setup/config tools, as well as spawning a shell script to do 
a bit of preparatory work.  This is before any cross-compiling begins.

Make reports the following error:

gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/mkdep 
/cygdrive/e/cygwin-uclinux/uClinux-dist/user/busybox/scripts/mkdep.c
make[3]: execvp: gcc: Invalid argument
make[3]: *** [scripts/mkdep] Error 127

The problem occurs with Make versions 3.79.1 and 3.80 (haven't tested 
any earlier versions)

The Makefile fragment which fails looks like this:

scripts/mkdep: $(top_srcdir)/scripts/mkdep.c
$(HOSTCC) $(HOSTCFLAGS) -o $@ $

HOSTCC and HOSTCFLAGS can be deduced from above output, but there's 
nothing exotic in there.

Another fragment which fails is this:

.config.mkconfig: $(ROOTDIR)/config/.config
sh ./mkconfig  .config.tmp

This fragment fails with:
make[3]: execvp: sh: Invalid argument

If executed directly from the commandline, these commands complete fine 
- it's only when spawning from within the Makefile.

cygcheck output is attached.

Any insights into the nature and possible solution of this problem would 
be greatly appreciated.

IIRC, I also had this problem on Cygwin until I deleted the
.EXPORT_ALL_VARIABLES from Rules.mak.  I have a specialized build
environment so it is possible that there are other things required to
get things working after that, but this was the culprit which caused
these problems.

Another work around is to do this:

mount -X -b -f c:\cygwin\bin /bin
mount -X -b -f c:\cygwin\bin /usr/bin
mount -x -b -f c:\cygwin\bin\strace.exe /usr/bin/strace.exe
mount -x -b -f c:\cygwin\bin\strace.exe /bin/strace.exe
mount -x -b -f c:\cygwin\bin\cygcheck.exe /usr/bin/cygcheck.exe
mount -x -b -f c:\cygwin\bin\cygcheck.exe /bin/cygcheck.exe

Mounting your /bin directory with the -X flag will make cygwin bypass
the windows mechanism for passing environment variables to subprocesses.
The errors that you are seeing are coming from environment table
overflow in in make due to every single Makefile variable being forced
into the environment.

cgf

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



RE: Help !!! - Problem running Cygwin in Remote Desktop session with non-admin privileges

2005-05-02 Thread Moghe, Jayant
Corinna:

I have been facing problems in downloading Cygwin 1.5.16. Can you please
suggest a mirror site where this is available?

Thank you for your help.

Best regards,

Jayant

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Corinna Vinschen
Sent: Friday, April 29, 2005 7:15 PM
To: cygwin@cygwin.com
Subject: Re: Help !!! - Problem running Cygwin in Remote Desktop session
with non-admin privileges

On Apr 29 15:36, Corinna Vinschen wrote:
 On Apr 29 18:50, Moghe, Jayant wrote:
  I there any way where I can avail paid support?
 
 Sure, but isn't it easier to report your problem somewhat more
detailed
 and see if you get a free (as in free beer) reply within a couple of
 days?

For the records:  I tried to reproduce your problem with a 2K3 Server
machine running terminal services.  Logging in via remote desktop with
a non-admin acocunt, I was able to use bash and any other tool just
fine.

This is with Cygwin 1.5.16.  Did you upgrade?  Perhaps that helps.
Other than that, I found that bash can be somewhat obdurate if the
/tmp directory is not writable for the user.  I suggest to change
the permissions with

 chmod 1777 /tmp


HTH,
Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  mailto:cygwin@cygwin.com
Red Hat, Inc.

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



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



New Package: mtd-20050419-1

2005-05-02 Thread Robb, Sam
The mtd-20050419-1 package is now available via cygwin setup.exe.

The mtd  package contains utilities for dealing with flash memory
technology devices (mtd).  These tools can be used to create jffs2
filesystem images for embedded Linux systems.

The initial source for this package was taken from the infradead.org
CVS server, and trimmed back to exclude a few megabytes of code that
has no use under cygwin.

For now, the mtd package only includes the mkfs.jffs2 utility for
cygwin.  Hopefully, as time permits and as people show additional
interest, the remaining mtd utilities will be ported to run under
cygwin as well.  PTC.

   *** INSTALLATION ***

To install cramfs on cygwin, run the cygwin setup program. On the
Select Packages page, open the Devel category and select the
cramfs package.

  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

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

[EMAIL PROTECTED]

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

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

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

- Sam Robb ([EMAIL PROTECTED])
- http://www.timesys.com


New package: cramfs-1.1-1

2005-05-02 Thread Robb, Sam
The cramfs-1.1-1 package is now available via cygwin setup.exe.

The cramfs package contains utilities that can be used to create
and verify Linux cramfs filesystem images.  These tools cam be
used to create cramfs filesystem images for embedded Linux systems.

This port of cramfs is based on the vanilla cramfs-1.1 sources, but
includes patches for device table support and generating cramfs image
files with an endianess that differs from the host.

Please note that while mkcramfs supports '-r' (allowing you to create
a reversed-endian cramfs image), cramfsck does *not* (yet) support
images that do not have the same endianness as the host.  PTC.

   *** INSTALLATION ***

To install mtd on cygwin, run the cygwin setup program. On the
Select Packages page, open the Devel category and select the
mtd package.

  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

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

[EMAIL PROTECTED]

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

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

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

- Sam Robb ([EMAIL PROTECTED])
- http://www.timesys.com