[ITP] getmail 4.7.7 -- mail retriever with support for POP3, IMAP4 and SDPS

2007-11-30 Thread Cygwin-bug#20071130T1701

Included in Debian stable

  http://packages.debian.org/getmail4

Jari

sdesc: mail retriever with support for POP3, IMAP4 and SDPS
ldesc: A simple replacement for fetchmail. It retrieves mail (either all
messages, or only unread messages) from one or more POP3/IMAP4/SDPS
servers for one or more email accounts, and reliably delivers into a
qmail-style Maildir, mbox file or to a command (pipe delivery) like
maildrop or procmail, specified on a per-account basis. getmail also
has support for domain (multidrop) mailboxes.
category: Mail Python
requires: cygwin python

a) manual

  wget\
http://cygwin.cante.net/getmail/getmail-4.7.7-1-src.tar.bz2 \
http://cygwin.cante.net/getmail/getmail-4.7.7-1.tar.bz2 \
http://cygwin.cante.net/getmail/setup.hint

b) automated

  gpg --keyserver wwwkeys.pgp.net --recv-keys 955A92D8

  mkdir getmail ; cd getmail
  rm -f get.sh get.sh.sig
  wgethttp://cygwin.cante.net/getmail/get.sh \
  http://cygwin.cante.net/getmail/get.sh.sig 
  gpg --verify get.sh.sig get.sh 
  sh get.sh

-- 
Welcome to FOSS revolution: we fix and modify until it shines


[ITP] bool 0.2.1 -- Utility for matching boolean queries in text or html files

2007-11-30 Thread Cygwin-bug#20071130T1507

Included in Debian stable

http://packages.debian.org/bool

Jari

sdesc: Utility for matching boolean queries in text or html files
ldesc: A utility for finding files that match a boolean expression. It
supports AND, OR and NOT as well as the NEAR operator for locating two
expressions within a short distance from each other. The program has
separate text processing and HTML processing algorithms; the former
separates patterns separated by newlines or words separated by
hyphens. The latter understands many features of the HTML 4.01
standard. This program is part of the GNU project.
words separated by hyphens.
category: Text
requires: cygwin

a) manual

  wget\
http://cygwin.cante.net/bool/bool-0.2.1-1-src.tar.bz2 \
http://cygwin.cante.net/bool/bool-0.2.1-1.tar.bz2 \
http://cygwin.cante.net/bool/setup.hint

b) automated

  gpg --keyserver wwwkeys.pgp.net --recv-keys 955A92D8

  mkdir bool ; cd bool
  rm -f get.sh get.sh.sig
  wgethttp://cygwin.cante.net/bool/get.sh \
  http://cygwin.cante.net/bool/get.sh.sig 
  gpg --verify get.sh.sig get.sh 
  sh get.sh

  cd /usr/src/cygwin-packages/bool
  less /usr/src/cygwin-packages/bool/get.sh
  tar -jtvf /usr/src/cygwin-packages/bool/bool-0.2.1-1.tar.bz2

-- 
Welcome to FOSS revolution: we fix and modify until it shines


Re: [ITP] msmtp 1.4.13-1 -- Light SMTP client with support for server profiles

2007-11-30 Thread Corinna Vinschen
On Nov 29 22:45, Jari Aalto wrote:
 http://cygwin.cante.net/msmtp/setup.hint \
 http://cygwin.cante.net/msmtp/msmtp-1.4.13-1-src.tar.bz2 \
 http://cygwin.cante.net/msmtp/msmtp-1.4.13-1.tar.bz2

Uploaded.  Please announce.


Corinna

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


Re: please upload: nasm-2.00-1

2007-11-30 Thread Corinna Vinschen
On Nov 30 14:20, Dean Scarff wrote:
 Thanks.

 http://scarff.id.au/file/cygwin/nasm/nasm-2.00-1-src.tar.bz2
 http://scarff.id.au/file/cygwin/nasm/nasm-2.00-1.tar.bz2

Uploaded.  Please note that the curr: line should only be present
if the version numbering is ambiguous.  This isn't the case here so
I left setup.hint unchanged.


Thanks,
Corinna

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


Re: Using XWin.exe to connect to a linux X Server

2007-11-30 Thread Erich Dollansky

Hi,

jose isaias cabrera wrote:


Not to leave you hanging, the problem was the xdmcp was not enabled.  
But there is another problem, which has nothing to do with cygwin.  
Somehow, my userID has something weird.  Other co-workers are connecting 
fine, but my user ID is not working from any machine.  They can login 
from my cygwin setup with their logonID without any problem, but my 
userID just does not work.  From my setup and their setup.



have you checked to what DISPLAY is set for your user ID on the Linux box?

If it is set to local host, I expect what you are getting.

Erich

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



Re: Using XWin.exe to connect to a linux X Server

2007-11-30 Thread jose isaias cabrera



jose isaias cabrera schrieb:



jose isaias cabrera schrieb:

I am trying to connect to a Gentoo X Server and it is connecting,
but I
don't seem to be able to open an xterm.  All I get is a full screen
without anything.  I am running this command:

XWin -query d-tuxedo


Are you sure XDMCP is enabled on this server?
Try Xwin -query gentoo.numeric.ip -from windows.nummeric.ip
I did that and I get the same thing.  I get the Cygwin X Window with 
the

title,

Cygwin/X - d-tuxedo.na.xde3.xerox.org

Because I think I am connecting, but I am not getting anything yet.



What you get if you try to connect with XDMCP (that's the protocol you
are using if you chose -query) is completely depending on the settings
of the gentoo Server.
Usually that would be a login window.
If you don't get anything, i assume xdmcp is not enabled on the
gentoo box. Check if a process is listening to udp port 177
(netstat -unlp |grep 177).


So, here is what I get,

d-tuxedo 10:14:06- su
Password:
d-tuxedo jicman # netstat -unlp |grep 177
d-tuxedo jicman #


so, I guess  so, maybe XDMCP is not enabled.  But I am able to get into
gnome when I am in front of the machine...


Yes, looks like xdmcp is not enabled. If you sitting at the machine you 
don't need xdmcp, only if you want to connect via the network.

Enable xdmcp or use ssh tunneling. I recommend the first.


ssh is enabled, though.  That's how I connect to it from windows.  I use 
putty or cygwin.


let me enable xdmcp.

I will let you know how it goes.


Ok, so I enabled xdmcp and now I have a beautiful gnome signon screen.  But, 
after login on, the screen disappears and the gnome signon screens appears 
again.  Here is the output of the cygwin command line:


jicman 12:12:58- XWin -clipboard -query d-tuxedo.na.xde3.xerox.org
Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 6.8.99.901-4

Contact: cygwin-xfree@cygwin.com

XWin was started with the following command line:

XWin -clipboard -query d-tuxedo.na.xde3.xerox.org

_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
(II) XF86Config is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
winPrefsLoadPreferences: /home/us319318/.XWinrc
LoadPreferences: Done parsing the configuration file...
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 0007
winSetEngine - Using Shadow DirectDraw NonLocking
winAdjustVideoModeShadowDDNL - Using Windows display depth of 32 bits per 
pixel

winFinishScreenInitFB - Masks: 00ff ff00 00ff
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: 0409 (0409)
(--) Using preset keyboard for English (USA) (409), type 4
Rules = xorg Model = pc105 Layout = us Variant = (null) Options = 
(null)

(--) 5 mouse buttons found
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing 
from list!

winPointerWarpCursor - Discarding first warp: 697 486
winProcEstablishConnection - Hello
winProcEstablishConnection - Xdmcp enabled, waiting to start clipboard 
client until fourth call.

winProcEstablishConnection - Hello
winProcEstablishConnection - Xdmcp enabled, waiting to start clipboard 
client until fourth call.

winProcEstablishConnection - Hello
winProcEstablishConnection - Xdmcp enabled, waiting to start clipboard 
client until fourth call.

winInitClipboard ()
winClipboardProc - Hello
DetectUnicodeSupport - Windows NT/2000/XP
winProcQueryTree - winInitClipboard returned.
winClipboardProc - DISPLAY=127.0.0.1:0.0
winProcEstablishConnection - Hello
winProcEstablishConnection - Clipboard client already launched, returning.
winClipboardProc - XOpenDisplay () returned and successfully opened the 
display.


winProcSetSelectionOwner - Clipboard not yet started, aborting.
winProcSetSelectionOwner - Clipboard not yet started, aborting.

winClipboardIOErrorHandler!

winClipboardProc - setjmp returned for IO Error Handler.
FreeFontPath: FPE /usr/X11R6/lib/X11/fonts/misc/ refcount is 2, should be 
1; fixing.

(II) XF86Config is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
winPrefsLoadPreferences: /home/us319318/.XWinrc
LoadPreferences: Done parsing the configuration file...
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 0007
winSetEngine - Using Shadow DirectDraw NonLocking
winFinishScreenInitFB - Masks: 00ff ff00 00ff
MIT-SHM extension disabled due to lack of kernel support
XFree86-Bigfont 

Re: Using XWin.exe to connect to a linux X Server

2007-11-30 Thread jose isaias cabrera





jose isaias cabrera schrieb:



jose isaias cabrera schrieb:

I am trying to connect to a Gentoo X Server and it is connecting,
but I
don't seem to be able to open an xterm.  All I get is a full screen
without anything.  I am running this command:

XWin -query d-tuxedo


Are you sure XDMCP is enabled on this server?
Try Xwin -query gentoo.numeric.ip -from windows.nummeric.ip
I did that and I get the same thing.  I get the Cygwin X Window with 
the

title,

Cygwin/X - d-tuxedo.na.xde3.xerox.org

Because I think I am connecting, but I am not getting anything yet.



What you get if you try to connect with XDMCP (that's the protocol you
are using if you chose -query) is completely depending on the settings
of the gentoo Server.
Usually that would be a login window.
If you don't get anything, i assume xdmcp is not enabled on the
gentoo box. Check if a process is listening to udp port 177
(netstat -unlp |grep 177).


So, here is what I get,

d-tuxedo 10:14:06- su
Password:
d-tuxedo jicman # netstat -unlp |grep 177
d-tuxedo jicman #


so, I guess  so, maybe XDMCP is not enabled.  But I am able to get into
gnome when I am in front of the machine...


Yes, looks like xdmcp is not enabled. If you sitting at the machine you 
don't need xdmcp, only if you want to connect via the network.

Enable xdmcp or use ssh tunneling. I recommend the first.


ssh is enabled, though.  That's how I connect to it from windows.  I use 
putty or cygwin.


let me enable xdmcp.

I will let you know how it goes.

thanks.


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



Re: Using XWin.exe to connect to a linux X Server

2007-11-30 Thread Holger Krull
jose isaias cabrera schrieb:
 
 jose isaias cabrera schrieb:
 I am trying to connect to a Gentoo X Server and it is connecting,
 but I
 don't seem to be able to open an xterm.  All I get is a full screen
 without anything.  I am running this command:

 XWin -query d-tuxedo

 Are you sure XDMCP is enabled on this server?
 Try Xwin -query gentoo.numeric.ip -from windows.nummeric.ip
 I did that and I get the same thing.  I get the Cygwin X Window with the
 title,

 Cygwin/X - d-tuxedo.na.xde3.xerox.org

 Because I think I am connecting, but I am not getting anything yet.


 What you get if you try to connect with XDMCP (that's the protocol you
 are using if you chose -query) is completely depending on the settings
 of the gentoo Server.
 Usually that would be a login window.
 If you don't get anything, i assume xdmcp is not enabled on the
 gentoo box. Check if a process is listening to udp port 177
 (netstat -unlp |grep 177).
 
 So, here is what I get,
 
 d-tuxedo 10:14:06- su
 Password:
 d-tuxedo jicman # netstat -unlp |grep 177
 d-tuxedo jicman #
 
 
 so, I guess  so, maybe XDMCP is not enabled.  But I am able to get into
 gnome when I am in front of the machine...

Yes, looks like xdmcp is not enabled. If you sitting at the machine you don't 
need xdmcp, only if you want to connect via the network. 
Enable xdmcp or use ssh tunneling. I recommend the first.

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



Re: Using XWin.exe to connect to a linux X Server

2007-11-30 Thread jose isaias cabrera



jose isaias cabrera schrieb:

I am trying to connect to a Gentoo X Server and it is connecting, but I
don't seem to be able to open an xterm.  All I get is a full screen
without anything.  I am running this command:

XWin -query d-tuxedo


Are you sure XDMCP is enabled on this server?
Try Xwin -query gentoo.numeric.ip -from windows.nummeric.ip

I did that and I get the same thing.  I get the Cygwin X Window with the
title,

Cygwin/X - d-tuxedo.na.xde3.xerox.org

Because I think I am connecting, but I am not getting anything yet.



What you get if you try to connect with XDMCP (that's the protocol you are 
using if you chose -query) is completely depending on the settings of the 
gentoo Server.

Usually that would be a login window.
If you don't get anything, i assume xdmcp is not enabled on the
gentoo box. Check if a process is listening to udp port 177
(netstat -unlp |grep 177).


So, here is what I get,

d-tuxedo 10:14:06- su
Password:
d-tuxedo jicman # netstat -unlp |grep 177
d-tuxedo jicman #


so, I guess  so, maybe XDMCP is not enabled.  But I am able to get into 
gnome when I am in front of the machine...




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



Re: Using XWin.exe to connect to a linux X Server

2007-11-30 Thread jose isaias cabrera





jose isaias cabrera schrieb:



jose isaias cabrera schrieb:

I am trying to connect to a Gentoo X Server and it is connecting,
but I
don't seem to be able to open an xterm.  All I get is a full screen
without anything.  I am running this command:

XWin -query d-tuxedo


Are you sure XDMCP is enabled on this server?
Try Xwin -query gentoo.numeric.ip -from windows.nummeric.ip
I did that and I get the same thing.  I get the Cygwin X Window with 
the

title,

Cygwin/X - d-tuxedo.na.xde3.xerox.org

Because I think I am connecting, but I am not getting anything yet.



What you get if you try to connect with XDMCP (that's the protocol you
are using if you chose -query) is completely depending on the settings
of the gentoo Server.
Usually that would be a login window.
If you don't get anything, i assume xdmcp is not enabled on the
gentoo box. Check if a process is listening to udp port 177
(netstat -unlp |grep 177).


So, here is what I get,

d-tuxedo 10:14:06- su
Password:
d-tuxedo jicman # netstat -unlp |grep 177
d-tuxedo jicman #


so, I guess  so, maybe XDMCP is not enabled.  But I am able to get into
gnome when I am in front of the machine...


Yes, looks like xdmcp is not enabled. If you sitting at the machine you 
don't need xdmcp, only if you want to connect via the network.

Enable xdmcp or use ssh tunneling. I recommend the first.


ssh is enabled, though.  That's how I connect to it from windows.  I use 
putty or cygwin.


let me enable xdmcp.


Ok, so I enabled xdmcp and now I have a beautiful gnome signon screen.  But,
after login on, the screen disappears and the gnome signon screens appears
again.  Here is the output of the cygwin command line:

jicman 12:12:58- XWin -clipboard -query d-tuxedo.na.xde3.xerox.org
Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 6.8.99.901-4

Contact: cygwin-xfree@cygwin.com

XWin was started with the following command line:

XWin -clipboard -query d-tuxedo.na.xde3.xerox.org

_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
(II) XF86Config is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
winPrefsLoadPreferences: /home/us319318/.XWinrc
LoadPreferences: Done parsing the configuration file...
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 0007
winSetEngine - Using Shadow DirectDraw NonLocking
winAdjustVideoModeShadowDDNL - Using Windows display depth of 32 bits per
pixel
winFinishScreenInitFB - Masks: 00ff ff00 00ff
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: 0409 (0409)
(--) Using preset keyboard for English (USA) (409), type 4
Rules = xorg Model = pc105 Layout = us Variant = (null) Options =
(null)
(--) 5 mouse buttons found
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing
from list!
winPointerWarpCursor - Discarding first warp: 697 486
winProcEstablishConnection - Hello
winProcEstablishConnection - Xdmcp enabled, waiting to start clipboard
client until fourth call.
winProcEstablishConnection - Hello
winProcEstablishConnection - Xdmcp enabled, waiting to start clipboard
client until fourth call.
winProcEstablishConnection - Hello
winProcEstablishConnection - Xdmcp enabled, waiting to start clipboard
client until fourth call.
winInitClipboard ()
winClipboardProc - Hello
DetectUnicodeSupport - Windows NT/2000/XP
winProcQueryTree - winInitClipboard returned.
winClipboardProc - DISPLAY=127.0.0.1:0.0
winProcEstablishConnection - Hello
winProcEstablishConnection - Clipboard client already launched, returning.
winClipboardProc - XOpenDisplay () returned and successfully opened the
display.

winProcSetSelectionOwner - Clipboard not yet started, aborting.
winProcSetSelectionOwner - Clipboard not yet started, aborting.

winClipboardIOErrorHandler!

winClipboardProc - setjmp returned for IO Error Handler.
FreeFontPath: FPE /usr/X11R6/lib/X11/fonts/misc/ refcount is 2, should be
1; fixing.
(II) XF86Config is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
winPrefsLoadPreferences: /home/us319318/.XWinrc
LoadPreferences: Done parsing the configuration file...
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 0007
winSetEngine - Using Shadow DirectDraw NonLocking
winFinishScreenInitFB - Masks: 00ff ff00 00ff
MIT-SHM extension disabled due to lack of kernel support
XFree86-Bigfont extension local-client optimization disabled due to 

Re: Using XWin.exe to connect to a linux X Server

2007-11-30 Thread Reid Thompson

On Fri, 2007-11-30 at 09:42 -0500, jose isaias cabrera wrote:
 Holger Krull escribio,
 
  jose isaias cabrera schrieb:
 
  Greetings.
 
  I am trying to connect to a Gentoo X Server and it is connecting, but I
  don't seem to be able to open an xterm.  All I get is a full screen
  without anything.  I am running this command:
 
  XWin -query d-tuxedo
 
  Are you sure XDMCP is enabled on this server?
  Try Xwin -query gentoo.numeric.ip -from windows.nummeric.ip
 I did that and I get the same thing.  I get the Cygwin X Window with the 
 title,
 
 Cygwin/X - d-tuxedo.na.xde3.xerox.org
 
 Is there a way to add a menu on the X in the taskbar?  I see that there is a 
 Show Cursor, an About and Exit.  Can I add an XTerm to that?  Because I 
 think I am connecting, but I am not getting anything yet.
 
 thanks.
 
 
 --
 Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
 Problem reports:   http://cygwin.com/problems.html
 Documentation: http://x.cygwin.com/docs/
 FAQ:   http://x.cygwin.com/docs/faq/
 
from http://x.cygwin.com/features.html

Configurable Tray Icon Menu - Menu entries can be added to the
configurable tray icon menu via a .XWinrc file in the user's home
directory, or via a system.XWinrc file in /usr/X11R6/lib/X11.

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



Re: Using XWin.exe to connect to a linux X Server

2007-11-30 Thread jose isaias cabrera


Holger Krull escribio,


jose isaias cabrera schrieb:


Greetings.

I am trying to connect to a Gentoo X Server and it is connecting, but I
don't seem to be able to open an xterm.  All I get is a full screen
without anything.  I am running this command:

XWin -query d-tuxedo


Are you sure XDMCP is enabled on this server?
Try Xwin -query gentoo.numeric.ip -from windows.nummeric.ip
I did that and I get the same thing.  I get the Cygwin X Window with the 
title,


Cygwin/X - d-tuxedo.na.xde3.xerox.org

Is there a way to add a menu on the X in the taskbar?  I see that there is a 
Show Cursor, an About and Exit.  Can I add an XTerm to that?  Because I 
think I am connecting, but I am not getting anything yet.


thanks.


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



Re: Using XWin.exe to connect to a linux X Server

2007-11-30 Thread Holger Krull
jose isaias cabrera schrieb:
 
 Greetings.
 
 I am trying to connect to a Gentoo X Server and it is connecting, but I
 don't seem to be able to open an xterm.  All I get is a full screen
 without anything.  I am running this command:
 
 XWin -query d-tuxedo

Are you sure XDMCP is enabled on this server?
Try Xwin -query gentoo.numeric.ip -from windows.nummeric.ip

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



Re: Using XWin.exe to connect to a linux X Server

2007-11-30 Thread jose isaias cabrera


Not to leave you hanging, the problem was the xdmcp was not enabled.  But 
there is another problem, which has nothing to do with cygwin.  Somehow, my 
userID has something weird.  Other co-workers are connecting fine, but my 
user ID is not working from any machine.  They can login from my cygwin 
setup with their logonID without any problem, but my userID just does not 
work.  From my setup and their setup.


This is a Gentoo x86 server running gdm.  In case anyone has heard anything 
about it.


Thanks for the help.






jose isaias cabrera schrieb:



jose isaias cabrera schrieb:

I am trying to connect to a Gentoo X Server and it is connecting,
but I
don't seem to be able to open an xterm.  All I get is a full 
screen

without anything.  I am running this command:

XWin -query d-tuxedo


Are you sure XDMCP is enabled on this server?
Try Xwin -query gentoo.numeric.ip -from windows.nummeric.ip
I did that and I get the same thing.  I get the Cygwin X Window with 
the

title,

Cygwin/X - d-tuxedo.na.xde3.xerox.org

Because I think I am connecting, but I am not getting anything yet.



What you get if you try to connect with XDMCP (that's the protocol 
you
are using if you chose -query) is completely depending on the 
settings

of the gentoo Server.
Usually that would be a login window.
If you don't get anything, i assume xdmcp is not enabled on the
gentoo box. Check if a process is listening to udp port 177
(netstat -unlp |grep 177).


So, here is what I get,

d-tuxedo 10:14:06- su
Password:
d-tuxedo jicman # netstat -unlp |grep 177
d-tuxedo jicman #


so, I guess  so, maybe XDMCP is not enabled.  But I am able to get 
into

gnome when I am in front of the machine...


Yes, looks like xdmcp is not enabled. If you sitting at the machine you 
don't need xdmcp, only if you want to connect via the network.

Enable xdmcp or use ssh tunneling. I recommend the first.


ssh is enabled, though.  That's how I connect to it from windows.  I use 
putty or cygwin.


let me enable xdmcp.


Ok, so I enabled xdmcp and now I have a beautiful gnome signon screen. 
But,

after login on, the screen disappears and the gnome signon screens appears
again.  Here is the output of the cygwin command line:

jicman 12:12:58- XWin -clipboard -query d-tuxedo.na.xde3.xerox.org
Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 6.8.99.901-4

Contact: cygwin-xfree@cygwin.com

XWin was started with the following command line:

XWin -clipboard -query d-tuxedo.na.xde3.xerox.org

_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
(II) XF86Config is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more 
information

winPrefsLoadPreferences: /home/us319318/.XWinrc
LoadPreferences: Done parsing the configuration file...
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 0007
winSetEngine - Using Shadow DirectDraw NonLocking
winAdjustVideoModeShadowDDNL - Using Windows display depth of 32 bits per
pixel
winFinishScreenInitFB - Masks: 00ff ff00 00ff
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: 0409 (0409)
(--) Using preset keyboard for English (USA) (409), type 4
Rules = xorg Model = pc105 Layout = us Variant = (null) Options =
(null)
(--) 5 mouse buttons found
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing
from list!
winPointerWarpCursor - Discarding first warp: 697 486
winProcEstablishConnection - Hello
winProcEstablishConnection - Xdmcp enabled, waiting to start clipboard
client until fourth call.
winProcEstablishConnection - Hello
winProcEstablishConnection - Xdmcp enabled, waiting to start clipboard
client until fourth call.
winProcEstablishConnection - Hello
winProcEstablishConnection - Xdmcp enabled, waiting to start clipboard
client until fourth call.
winInitClipboard ()
winClipboardProc - Hello
DetectUnicodeSupport - Windows NT/2000/XP
winProcQueryTree - winInitClipboard returned.
winClipboardProc - DISPLAY=127.0.0.1:0.0
winProcEstablishConnection - Hello
winProcEstablishConnection - Clipboard client already launched, returning.
winClipboardProc - XOpenDisplay () returned and successfully opened the
display.

winProcSetSelectionOwner - Clipboard not yet started, aborting.
winProcSetSelectionOwner - Clipboard not yet started, aborting.

winClipboardIOErrorHandler!

winClipboardProc - setjmp returned for IO Error Handler.
FreeFontPath: FPE /usr/X11R6/lib/X11/fonts/misc/ refcount is 2, should 
be

1; fixing.
(II) XF86Config is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more 
information


Re: Using XWin.exe to connect to a linux X Server

2007-11-30 Thread jose isaias cabrera




Hi,

DISPLAY on the Linux box must be set to the IP address of the cygwin box.

H...

But DISPLAY on the cygwin box must be set to either localhost or the IP 
address of this machine.
Ok, this one was set to d-tuxedo, which I did not change.  But I just set it 
back to localhost:0.0 and still happens.


You also must have some method to communicate between both machines. I 
always used telnet as it was all locally done. You can also take SSH if 
you do not know who else listens between.
I do.  I am able to connect to d-tuxedo through ssh, etc.  I just want to 
use X with cygwin to get to it.





Erich

jose isaias cabrera wrote:


d-tuxedo 00:32:35- set | grep DISPLAY
DISPLAY=localhost:0.0

what should it be?


- Original Message - From: Erich Dollansky 
[EMAIL PROTECTED]

To: cygwin-xfree@cygwin.com
Sent: Friday, November 30, 2007 12:31 AM
Subject: Re: Using XWin.exe to connect to a linux X Server



Hi,

jose isaias cabrera wrote:


I am trying to connect to a Gentoo X Server and it is connecting, but I 
don't seem to be able to open an xterm.  All I get is a full screen 
without anything.  I am running this command:


I did this for years using FreeBSD as the server. No problems.


XWin -query d-tuxedo

Ok, I used the startup script provided by cygwin to start the local X 
server and then connected to the FreeBSD machine.


Did you set the DISPLAY variable properly on the Linux box?

Erich

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



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




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




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



Re: Using XWin.exe to connect to a linux X Server

2007-11-30 Thread Reid Thompson

On Fri, 2007-11-30 at 09:38 -0500, jose isaias cabrera wrote:
 
  Hi,
 
  DISPLAY on the Linux box must be set to the IP address of the cygwin box.
 H...
 
  But DISPLAY on the cygwin box must be set to either localhost or the IP 
  address of this machine.
 Ok, this one was set to d-tuxedo, which I did not change.  But I just set it 
 back to localhost:0.0 and still happens.
 
  You also must have some method to communicate between both machines. I 
  always used telnet as it was all locally done. You can also take SSH if 
  you do not know who else listens between.
 I do.  I am able to connect to d-tuxedo through ssh, etc.  I just want to 
 use X with cygwin to get to it.
 
try ssh -Y [EMAIL PROTECTED]

or ssh -X [EMAIL PROTECTED]

and then try to start an xterm

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



Re: Using XWin.exe to connect to a linux X Server

2007-11-30 Thread Holger Krull
jose isaias cabrera schrieb:
 I am trying to connect to a Gentoo X Server and it is connecting, but I
 don't seem to be able to open an xterm.  All I get is a full screen
 without anything.  I am running this command:

 XWin -query d-tuxedo

 Are you sure XDMCP is enabled on this server?
 Try Xwin -query gentoo.numeric.ip -from windows.nummeric.ip
 I did that and I get the same thing.  I get the Cygwin X Window with the
 title,
 
 Cygwin/X - d-tuxedo.na.xde3.xerox.org
 
 Because I think I am connecting, but I am not getting anything yet.
 

What you get if you try to connect with XDMCP (that's the protocol you are 
using if you chose -query) is completely depending on the settings of the 
gentoo Server.
Usually that would be a login window.
If you don't get anything, i assume xdmcp is not enabled on the gentoo box. 
Check if a process is listening to udp port 177 (netstat -unlp |grep 177).

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



Re: Using XWin.exe to connect to a linux X Server

2007-11-30 Thread xerces8
1.)
If you start the XWin.exe and then connect to d-tuxedo over ssh and there you 
start:
DISPLAY=your_displays_IP:0 xterm

does it work ?

2.) is there an XDCMP server running on d-tuxedo ?
(can be set somewhere in the gdm settings Allow remote loginW or similar)

Regards,
David

-Original Message-
From: jose isaias cabrera [EMAIL PROTECTED]
To: cygwin-xfree@cygwin.com
Date: Thu, 29 Nov 2007 23:58:26 -0500
Subject: Using XWin.exe to connect to a linux X Server

 
 Greetings.
 
 I am trying to connect to a Gentoo X Server and it is connecting, but I 
 don't seem to be able to open an xterm.  All I get is a full screen without 
 anything.  I am running this command:
 
 XWin -query d-tuxedo
 
 where d-tuxedo is the X Server.  It works well with xinit.  Here is the 
 .xinitrc:
 
 jicman 23:51:28- cat .xinitrc
 #!/bin/sh
 # $Xorg: xinitrc.cpp,v 1.3 2000/08/17 19:54:30 cpqbld Exp $
 
 userresources=$HOME/.Xresources
 usermodmap=$HOME/.Xmodmap
 sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
 sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap
 
 # merge in defaults and keymaps
 
 if [ -f $sysresources ]; then
 xrdb -merge $sysresources
 fi
 
 if [ -f $sysmodmap ]; then
 xmodmap $sysmodmap
 fi
 
 if [ -f $userresources ]; then
 xrdb -merge $userresources
 fi
 
 if [ -f $usermodmap ]; then
 xmodmap $usermodmap
 fi
 
 # start some nice programs
 
 
 xhost + localhost
 cd
 xterm -display $DISPLAY -name xterm-1 -sb \
 -sl 1000 -geometry +0+0 
 xterm -display $DISPLAY -name xterm-2 -sb \
 -sl 1000 -geometry +270+190 
 #fvwm2
 wmaker
 
 So, what is it that I am doing wrong?  I tried searching on different places 
 and google it, but I could not find any thing.
 
 Any help would be greated appreciated.
 
 thanks,
 
 josé 
 
 
 --
 Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
 Problem reports:   http://cygwin.com/problems.html
 Documentation: http://x.cygwin.com/docs/
 FAQ:   http://x.cygwin.com/docs/faq/
 



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



Re: configure command does not run.... d2u does not help either... appreciation from Dave

2007-11-30 Thread Christopher Faylor
On Fri, Nov 30, 2007 at 11:41:56AM -0800, MasterOfSw wrote:
  I am trying to compile a package called meep by means of cygwin.
  While running the configure command I get an error as:
  
  ./configure: line 13: $'r': command not found
 
 Guess #1:  Don't use WinZIP (or any other windows GUI program)
 to
 
 unpack
 .tar.gz files for Cygwin, because they mangle the line ends from LF
 to
 
 CRLF.
 Use tar xvzf meep-0.10.1.tar.gz in a bash shell instead.
 


I run into this exact thing all the time and still forget to NOT use the 
Windows un-tar utility.

I don't know why d2u doesn't work though, if it really is just a LF/CRLF 
problem. 
I can use the Windows tar functions for non-cygwin related items. Just not 
with cygwin. 

You probably just haven't installed/uninstalled enough.  After a while Cygwin
just gets tired, gives up, and quietly executes files extracted with winzip.

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: cp.exe chunk size

2007-11-30 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

According to skelker on 11/30/2007 2:23 PM:
 Hi,
 Is there a reason that cp.exe uses 8KB chunk sizes to copy files?  This
 behavior leads to very fragmented files, especially when copying large
 files.

This has been brought up before, if you want to search the archives for
posix_fallocate.  The problem is not with cp.exe, but with the way that
the POSIX read/write functions are implemented on top of Windows system
calls in cygwin1.dll.  When cygwin 1.7.0 comes out, I will be
experimenting with using posix_fallocate to see if that can reduce the
fragmentation.  But in the meantime, you'll have to just live with it.

- --
Don't work too hard, make some time for fun as well!

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

iD8DBQFHUIR184KuGfSFAYARAkVyAKDHRbMhsJhY+9CseozooXZygU8xewCghlGj
ujKefnP3WWUI4PTX5wGNCuo=
=AgaY
-END PGP SIGNATURE-

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



Re: configure command does not run.... d2u does not help either... appreciation from Dave

2007-11-30 Thread MasterOfSw
  I am trying to compile a package called meep by means of cygwin.
  While running the configure command I get an error as:
  
  ./configure: line 13: $'r': command not found
 
 Guess #1:  Don't use WinZIP (or any other windows GUI program)
 to
 
 unpack
 .tar.gz files for Cygwin, because they mangle the line ends from LF
 to
 
 CRLF.
 Use tar xvzf meep-0.10.1.tar.gz in a bash shell instead.
 


I run into this exact thing all the time and still forget to NOT use the 
Windows un-tar utility.

I don't know why d2u doesn't work though, if it really is just a LF/CRLF 
problem. 
I can use the Windows tar functions for non-cygwin related items. Just not with 
cygwin. 




  

Be a better pen pal. 
Text or chat with friends inside Yahoo! Mail. See how.  
http://overview.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: Latin (accented) characters and subversion

2007-11-30 Thread Larry Azlin
Larry Azlin, le Thu 29 Nov 2007 22:56:03 -0800, a écrit :
 svnadmin create archive_cyg
 svn import *.txt file:///cygdrive/c/temp/Test/archive_cyg -m Initial
 import
 svn: Can't convert string from native encoding to 'UTF-8':
 svn: ?\233.txt

I'm having such troubles too. The solution I'm using is to just prepend
LANG=C
to my svn command.

Samuel

Thanks for the suggestion, Samuel.  Unfortunately, prepending LANG=C to the svn 
command doesn't seem to have any effect on my system.

Larry Azlin




  

Get easy, one-click access to your favorites. 
Make Yahoo! your homepage.
http://www.yahoo.com/r/hs

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



[ANNOUNCEMENT] New package: msmtp 1.4.13-1 -- Light SMTP client with support for server profiles

2007-11-30 Thread Jari Aalto
PACKAGE DESCRIPTION
===

Homepage: http://freshmeat.net/projects/msmtp
License : GPL

A SMTP client that can be used to send mails from Mutt and
probably other MUAs (mail user agents). It forwards mails to an SMTP
server (for example at a free mail provider), which takes care of the
final delivery. Using profiles, it can be easily configured to use
different SMTP servers with different configurations, which makes it
ideal for mobile clients.


CHANGES SINCE LAST RELEASE
==

See http://freshmeat.net/redir/msmtp/42503/url_changelog/ChangeLog

INSTALL OR UPGRADE NOTES


Standard install

CYGWIN INSTALLATION INFORMATION
===

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

/usr/share/doc/package-version/*
/usr/share/doc/Cygwin/package-version.README

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

CYGWIN-ANNOUNCE UNSUBSCRIBE INFO


This message has been sent to cygwin-announce list.

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

[EMAIL PROTECTED]

More information on unsubscribing can be found:

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

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

-- 
Welcome to FOSS revolution: we fix and modify until it shines

--
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: Failure in building GFortran on Cygwin

2007-11-30 Thread Corinna Vinschen
On Nov 30 07:26, Eric Blake wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 According to Corinna Vinschen on 11/30/2007 7:20 AM:
  
  However, this *is* a problem in the newlib/cygwin headers.  Cygwin
  exports a timezone function and a _timezone variable.  The timezone
  function was an ill-advised invention in Cygwin way back in the last
  century.  Unfortunately it has to be kept for backward compatibility.
 
 For 1.5.x, yes.  But can we delete timezone() for 1.7.x, on the grounds
 that any binary that still uses the timezone function is old enough that
 it would benefit from re-porting to the latest cygwin sources anyway?

I'm thinking along the same lines.  While that breaks backward
compatibility, I'm not overly concerned in case of applications which
have never been ported to a newer Cygwin version the last 10 or so
years.


Corinna

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

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



Re: Failure in building GFortran on Cygwin

2007-11-30 Thread Corinna Vinschen
[Forgot to CC the fortran list.  Re-sending...]

On Nov 29 17:05, Jerry DeLisle wrote:
 Angelo Graziosi wrote:
 /tmp/gcc/libgfortran/intrinsics/system_clock.c: In function
 'system_clock_4':
 /tmp/gcc/libgfortran/intrinsics/system_clock.c:67: error: storage size of
 'tzp' isn't known
 /tmp/gcc/libgfortran/intrinsics/system_clock.c:67: warning: unused
 variable 'tzp'
 /tmp/gcc/libgfortran/intrinsics/system_clock.c: In function
 'system_clock_8':
 /tmp/gcc/libgfortran/intrinsics/system_clock.c:130: error: storage size of
 'tzp' isn't known
 /tmp/gcc/libgfortran/intrinsics/system_clock.c:130: warning: unused
 variable 'tzp'
 [...]
 The Cygwin version is 1.5.25-2 (exp.).
 I can confirm this.  I saw it last wekend trying to do my regular cygwin 
 build of gfortran for the wiki.  The build died and I assumed I did 
 something wrong and was going to try back later.

 Well this is definitely a regression somewhere.  Its not on the gfortran 
 side which has not touched that file for several months.  It could be 
 something broke in the configure for cygwin.  The error occurs in a 
 conditional comapile:

 #if defined(HAVE_SYS_TIME_H)  defined(HAVE_GETTIMEOFDAY)

 I will open a PR to track this.

A simple testcase would have been much more helpful.

From the name of the variable I assume that tzp is a `struct timezone'
variable.  Given that it's unused, and given that struct timezone is a
BSDism which isn't present in the POSIX standard(*), it might be a good
idea to just remove it entirely from the source or to keep it only when
the build target is a BSD system.

However, this *is* a problem in the newlib/cygwin headers.  Cygwin
exports a timezone function and a _timezone variable.  The timezone
function was an ill-advised invention in Cygwin way back in the last
century.  Unfortunately it has to be kept for backward compatibility.
Alas, we're stuck with the _timezone variable and we have to

  #define timezone _timezone

at one point in the headers.  The problem is that the above define
happens in a Cygwin specific header after the definition of `struct
timezone'.  So the usage of `struct timezone' in application code
results in a `struct _timezone', which is not defined and the above
error occurs.

AFAICS there are at least two ways to solve this problem, but I'm a bit
unsure right now, which is the better one.  Saty tuned.


Corinna


(*) gettimeofday's second parameter is void* in POSIX, see
http://www.opengroup.org/onlinepubs/009695399/functions/gettimeofday.html

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

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

--
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: Failure in building GFortran on Cygwin

2007-11-30 Thread Corinna Vinschen
On Nov 29 17:05, Jerry DeLisle wrote:
 Angelo Graziosi wrote:
 /tmp/gcc/libgfortran/intrinsics/system_clock.c: In function
 'system_clock_4':
 /tmp/gcc/libgfortran/intrinsics/system_clock.c:67: error: storage size of
 'tzp' isn't known
 /tmp/gcc/libgfortran/intrinsics/system_clock.c:67: warning: unused
 variable 'tzp'
 /tmp/gcc/libgfortran/intrinsics/system_clock.c: In function
 'system_clock_8':
 /tmp/gcc/libgfortran/intrinsics/system_clock.c:130: error: storage size of
 'tzp' isn't known
 /tmp/gcc/libgfortran/intrinsics/system_clock.c:130: warning: unused
 variable 'tzp'
 [...]
 The Cygwin version is 1.5.25-2 (exp.).
 I can confirm this.  I saw it last wekend trying to do my regular cygwin 
 build of gfortran for the wiki.  The build died and I assumed I did 
 something wrong and was going to try back later.

 Well this is definitely a regression somewhere.  Its not on the gfortran 
 side which has not touched that file for several months.  It could be 
 something broke in the configure for cygwin.  The error occurs in a 
 conditional comapile:

 #if defined(HAVE_SYS_TIME_H)  defined(HAVE_GETTIMEOFDAY)

 I will open a PR to track this.

A simple testcase would have been much more helpful.

From the name of the variable I assume that tzp is a `struct timezone'
variable.  Given that it's unused, and given that struct timezone is a
BSDism which isn't present in the POSIX standard(*), it might be a good
idea to just remove it entirely from the source or to keep it only when
the build target is a BSD system.

However, this *is* a problem in the newlib/cygwin headers.  Cygwin
exports a timezone function and a _timezone variable.  The timezone
function was an ill-advised invention in Cygwin way back in the last
century.  Unfortunately it has to be kept for backward compatibility.
Alas, we're stuck with the _timezone variable and we have to

  #define timezone _timezone

at one point in the headers.  The problem is that the above define
happens in a Cygwin specific header after the definition of `struct
timezone'.  So the usage of `struct timezone' in application code
results in a `struct _timezone', which is not defined and the above
error occurs.

AFAICS there are at least two ways to solve this problem, but I'm a bit
unsure right now, which is the better one.  Saty tuned.


Corinna


(*) gettimeofday's second parameter is void* in POSIX, see
http://www.opengroup.org/onlinepubs/009695399/functions/gettimeofday.html

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

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



[ANNOUNCEMENT] Updated: nasm-2.00-1

2007-11-30 Thread Dean Scarff
Version 2.00-1 of nasm has been uploaded, and should be available on  
the cygwin mirrors in the near future.  Please find it under the  
Devel category in cygwin's setup utility.


This release constitutes a major revision of the upstream stable  
sources.  From http://nasm.sf.net/ :


After 7 months of intense development, the NASM team brings you  
NASM 2.0!!! This version of NASM supercedes version 0.98.39 (and  
Apple's 0.98.40) and introduces full 64-bit (x86-64/x64/AMD64/Intel  
64) architecture and object file support. We have also addressed  
quite a few bugs and feature requests along the way.


Special note:

I have removed support for the GNUWin32 COFF format (-f gnuwin32  
option).  This format was introduced to work around historical  
disagreements between MinGW interpretation, Microsoft implementation,  
and the COFF/PE specifications of the VirtualSize field for .bss  
section headers.  These have been (reportedly) resolved in binutils  
since 2003.  Please use -f win32 now in contexts where -f  
gnuwin32 was used.


If you get link errors, such as ld: PE operations on non PE file,  
when linking nasm objects produced with nasm -f win32, and you are  
using the latest version of Cygwin's binutils, please send a report  
to the cygwin mailing list.


In general, questions, comments, and reports should go to the cygwin  
mailing list: cygwin@cygwin.com


  *** 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.


--
Dean


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



big enormous shell script - to remotely execute .exes on machines

2007-11-30 Thread airzonk

Hi all:

I need to write a shell script that does the following:

* Takes a list of machines by IP address and mounts the C$ share
* For each of these machines, executes an .exe on the *remote* host, not the
machine I am running the script from.  I am not sure if this is even
possible; these machines do not have the cygwin dll or environment on them.

* This executable causes the remote thin clients to reboot into write filter
enable mode - which allows changes to be made.  It needs to sleep for about
5 minutes after the last machine has the remote .exe executed.

* After the sleep, it needs to (re) mount each machine's C$ share and copy
an identical set of files over to each directory.

I think the kicker here is having the .exe run on the *remote* machine, not
the local one.  Anyone know if this is possible ?

Thanks - 
Gabe
-- 
View this message in context: 
http://www.nabble.com/big-enormous-shell-script---to-remotely-execute-.exes-on-machines-tf4902155.html#a14042448
Sent from the Cygwin list mailing list archive at Nabble.com.


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



Re: Problem with mkgroup

2007-11-30 Thread Marco Atzeri

--- Larry Hall (Cygwin)  ha scritto:

 Erik Weibust wrote:
  I am having problems with a new cygwin install on
 windows vista business.
  
  The first time I log in I get an error message
 about my group being
  mkgroup. The error message states to run mkpasswd
 and mkgroup with the -d
  flag for domain users. I get a very large passwd
 file when running this. Am
  I safe to delete the majority of the users from
 the passwd file, mainly just
  leaving my own login? I'm guessing there are some
 admin type users that
  probably need to still be there. Is there a list
 of the users to keep,
  because my file if very, very long?
 
 
 You can trim out whatever you like from the file but
 you should make sure
 that you leave whatever groups your users are a part
 of.  There shouldn't
 be a great harm in leaving well enough alone though.
 

I think a short list is 

mkpasswd -l
plus the user_id in the domain

mkgroup -l
plus 

Domain Users
HelpServicesGroup:
Domain Admins:
Domain Computers:
Domain Controllers:
Domain Guests:

Regards
Marco



  ___ 
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: 
http://it.docs.yahoo.com/nowyoucan.html

--
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: Launching java process trouble

2007-11-30 Thread Jeannot Lelapin

Thank's for your explanation and your link.

I will read it when i have the time but now my solution is right and i 
have not now the time to explore the Windows Security Model.


Really Great Thank's

Jeannot

Larry Hall (Cygwin) wrote:


Jeannot Lelapin wrote:


Hello Larry,

thank's for your link.

i create the all same variable in the bash script ( like when it is 
launch manually ) launched by crontab, and the java process launched 
by the AutoIt compiled script doesn't start.


I write a big AutoIt Script for Windows XP launch by 
JustInTimeScheduler and that's fine.




This means you either missed a dependent variable or that your script 
relies

on some other aspect of your environment that you don't get by default
through cron.  For example, 'crond' run as a service which, unless you've
set it it up to run as you (which is an option of the 'cron-config' setup
script), it's running as the SYSTEM.  Although it will switch contexts to
your user when your script runs, this is not the same as running as you
from the command-line.  See http://cygwin.com/cygwin-ug-net/ntsec.html
for more details of Windows security model and it's impact on Cygwin.  This
may or may not be an issue for your script.  But it does point out yet
another difference that your script might have trouble with.





--
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 compiling project (bash error 126, ash error 122)

2007-11-30 Thread Andrew Schulman
 /cygdrive/c/CCStudio_v3.3/C2000/cgtools/bin/ar2000: error 122

Jan, as I read that error, it's coming from the compiler, not the shell.  Have
you checked the compiler documentation for error 122?

 C:/cygwin/bin/bash: /cygdrive/c/CCStudio_v3.3/C2000/cgtools/bin/ar2000: 
 Message too long
 make[1]: Leaving directory `/cygdrive/c/Projects/PER/Library.MTH/mth/qf28xx'
 make[1]: *** 
 [/cygdrive/c/Projects/PER/Project.TH1/dist/rel/MTH_qf28xx-01-00-00-01-DEV/MTH_qf28xx-01-00-00-01-DEV.lib]
  
 Error 126
 make: *** [build_libs] Error 2

Not sure about this one.
Andrew.


--
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: Failure in building GFortran on Cygwin

2007-11-30 Thread Igor Peshansky
On Fri, 30 Nov 2007, Corinna Vinschen wrote:

 On Nov 30 07:26, Eric Blake wrote:
  According to Corinna Vinschen on 11/30/2007 7:20 AM:
  
   However, this *is* a problem in the newlib/cygwin headers.  Cygwin
   exports a timezone function and a _timezone variable.  The timezone
   function was an ill-advised invention in Cygwin way back in the last
   century.  Unfortunately it has to be kept for backward compatibility.
 
  For 1.5.x, yes.  But can we delete timezone() for 1.7.x, on the grounds
  that any binary that still uses the timezone function is old enough that
  it would benefit from re-porting to the latest cygwin sources anyway?

 I'm thinking along the same lines.  While that breaks backward
 compatibility, I'm not overly concerned in case of applications which
 have never been ported to a newer Cygwin version the last 10 or so
 years.

And plus, renaming the function to, e.g., _cygwin_timezone will allow for
a one-line fix for those applications...
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Belief can be manipulated.  Only knowledge is dangerous.  -- Frank Herbert

--
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: More questions about mkgroup and mkpasswd

2007-11-30 Thread Larry Hall (Cygwin)

Erik Weibust wrote:

So yesterday when I installed cygwin I got an error about my group being
mkgroup and that it should be rebuilt. It mentioned that if I am a network
user I should use mkpasswd and mkgroup with the -d flag. What is this giving
me over just saying mkpasswd -l? All I see is it creating massive passwd and
group files.


It gathers information from the domain controller and adds it to these
files.  This should include all domain users and groups.  This can be
overkill but the good thing is that if it doesn't complain in the process
or take way too long to generate, it just works.


Also, I saw that my home dir in my /etc/passwd is somewhere that doesn't
exist on a network server. Can I safely just change it to a local /home/user
dir?


Assign it to whatever you like.  See the '-p' flag on 'mkpasswd'.  Or just
edit the '/etc/passwd' file afterward.  Be careful not to change you user's
SID info though.


Lastly, I see that some of my files have a group of Users and others have
Domain Users, how can I easily set all my files to the same group? I
literally just installed Cygwin, so I have no problem reinstalling to get
it right from the beginning, if there is a better way to install Cygwin
when you are on a domain.


chgrp -R Domain Users ~

The above has not be tested.  It's meant to be an example, not a directive
of what to do literally.  See the man page for 'chgrp' for more details.

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

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: Failure in building GFortran on Cygwin

2007-11-30 Thread Jerry DeLisle

Corinna Vinschen wrote:

[Forgot to CC the fortran list.  Re-sending...]

On Nov 29 17:05, Jerry DeLisle wrote:

Angelo Graziosi wrote:

/tmp/gcc/libgfortran/intrinsics/system_clock.c: In function
'system_clock_4':
/tmp/gcc/libgfortran/intrinsics/system_clock.c:67: error: storage size of
'tzp' isn't known
/tmp/gcc/libgfortran/intrinsics/system_clock.c:67: warning: unused
variable 'tzp'
/tmp/gcc/libgfortran/intrinsics/system_clock.c: In function
'system_clock_8':
/tmp/gcc/libgfortran/intrinsics/system_clock.c:130: error: storage size of
'tzp' isn't known
/tmp/gcc/libgfortran/intrinsics/system_clock.c:130: warning: unused
variable 'tzp'
[...]
The Cygwin version is 1.5.25-2 (exp.).
I can confirm this.  I saw it last wekend trying to do my regular cygwin 
build of gfortran for the wiki.  The build died and I assumed I did 
something wrong and was going to try back later.


Well this is definitely a regression somewhere.  Its not on the gfortran 
side which has not touched that file for several months.  It could be 
something broke in the configure for cygwin.  The error occurs in a 
conditional comapile:


#if defined(HAVE_SYS_TIME_H)  defined(HAVE_GETTIMEOFDAY)

I will open a PR to track this.


A simple testcase would have been much more helpful.



Here is code with the problem:  Not super simple, but I think you can follow it.

Thanks for hellp

void
system_clock_4(GFC_INTEGER_4 *count, GFC_INTEGER_4 *count_rate,
   GFC_INTEGER_4 *count_max)
{
  GFC_INTEGER_4 cnt;
  GFC_INTEGER_4 rate;
  GFC_INTEGER_4 mx;

#if defined(HAVE_SYS_TIME_H)  defined(HAVE_GETTIMEOFDAY)
  struct timeval tp1;
  struct timezone tzp;

  if (sizeof (tp1.tv_sec)  sizeof (GFC_INTEGER_4))
internal_error (NULL, tv_sec too small);

  if (gettimeofday(tp1, tzp) == 0)
{
  GFC_UINTEGER_4 ucnt = (GFC_UINTEGER_4) tp1.tv_sec * TCK;
  ucnt += (tp1.tv_usec + 50 / TCK) / (100 / TCK);
  if (ucnt  GFC_INTEGER_4_HUGE)
cnt = ucnt - GFC_INTEGER_4_HUGE - 1;
  else
cnt = ucnt;
  rate = TCK;
  mx = GFC_INTEGER_4_HUGE;
}
  else
{
  if (count != NULL)
*count = - GFC_INTEGER_4_HUGE;
  if (count_rate != NULL)
*count_rate = 0;
  if (count_max != NULL)
*count_max = 0;
  return;
}
#elif defined(HAVE_TIME_H)
  GFC_UINTEGER_4 ucnt;

  if (sizeof (time_t)  sizeof (GFC_INTEGER_4))
internal_error (NULL, time_t too small);

  ucnt = time (NULL);
  if (ucnt  GFC_INTEGER_4_HUGE)
cnt = ucnt - GFC_INTEGER_4_HUGE - 1;
  else
cnt = ucnt;
  mx = GFC_INTEGER_4_HUGE;
#else
  cnt = - GFC_INTEGER_4_HUGE;
  mx = 0;
#endif
  if (count != NULL)
*count = cnt;
  if (count_rate != NULL)
*count_rate = TCK;
  if (count_max != NULL)
*count_max = mx;
}





--
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: big enormous shell script - to remotely execute .exes on machines

2007-11-30 Thread Vince
airzonk wrote:
 Hi all:
 
 I need to write a shell script that does the following:
 
 * Takes a list of machines by IP address and mounts the C$ share
 * For each of these machines, executes an .exe on the *remote* host, not the
 machine I am running the script from.  I am not sure if this is even
 possible; these machines do not have the cygwin dll or environment on them.
 
 * This executable causes the remote thin clients to reboot into write filter
 enable mode - which allows changes to be made.  It needs to sleep for about
 5 minutes after the last machine has the remote .exe executed.
 
 * After the sleep, it needs to (re) mount each machine's C$ share and copy
 an identical set of files over to each directory.
 
 I think the kicker here is having the .exe run on the *remote* machine, not
 the local one.  Anyone know if this is possible ?
 
Easiest way I can think of would be to use psexec
http://www.microsoft.com/technet/sysinternals/Utilities/PsTools.mspx

Vince


 Thanks - 
 Gabe


--
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: Latin (accented) characters and subversion

2007-11-30 Thread Samuel Thibault
Larry Azlin, le Thu 29 Nov 2007 22:56:03 -0800, a écrit :
 svnadmin create archive_cyg
 svn import *.txt file:///cygdrive/c/temp/Test/archive_cyg -m Initial import
 svn: Can't convert string from native encoding to 'UTF-8':
 svn: ?\233.txt

I'm having such troubles too. The solution I'm using is to just prepend
LANG=C
to my svn command.

Samuel

--
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: configure command does not run.... d2u does not help either... appreciation from Dave

2007-11-30 Thread asadollahbaik a. (aa306)

 Hi,
 
 I am a new user to cygwin and even to unix.
 
 I am trying to compile a package called meep by means of cygwin.
 While running the configure command I get an error as:
 
 ./configure: line 13: $'r': command not found

Guess #1:  Don't use WinZIP (or any other windows GUI program) to unpack
.tar.gz files for Cygwin, because they mangle the line ends from LF to CRLF.
Use tar xvzf meep-0.10.1.tar.gz in a bash shell instead.

Dear Dave,

I owe you a big appreciation. After one week and half struggling with this 
program uninstalling and reinstalling for thousands time a day, you helped me a 
lott...

Thanks,
Asa,

--
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: Failure in building GFortran on Cygwin

2007-11-30 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

According to Corinna Vinschen on 11/30/2007 7:20 AM:
 
 However, this *is* a problem in the newlib/cygwin headers.  Cygwin
 exports a timezone function and a _timezone variable.  The timezone
 function was an ill-advised invention in Cygwin way back in the last
 century.  Unfortunately it has to be kept for backward compatibility.

For 1.5.x, yes.  But can we delete timezone() for 1.7.x, on the grounds
that any binary that still uses the timezone function is old enough that
it would benefit from re-porting to the latest cygwin sources anyway?

- --
Don't work too hard, make some time for fun as well!

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

iD8DBQFHUB2U84KuGfSFAYARAgKkAKCy0XnLBoYOAGTgqDDn+gH4JbKUpACfWRzr
HRu9Z0y0/Q1QIFs6isv8LhI=
=+4Ey
-END PGP SIGNATURE-

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



More questions about mkgroup and mkpasswd

2007-11-30 Thread Erik Weibust
So yesterday when I installed cygwin I got an error about my group being 
mkgroup and that it should be rebuilt.  It mentioned that if I am a network 
user I should use mkpasswd and mkgroup with the -d flag.  What is this giving 
me over just saying mkpasswd -l?  All I see is it creating massive passwd and 
group files.

Also, I saw that my home dir in my /etc/passwd is somewhere that doesn't exist 
on a network server.  Can I safely just change it to a local /home/user dir?

Lastly, I see that some of my files have a group of Users and others have 
Domain Users, how can I easily set all my files to the same group?  I literally 
just installed Cygwin, so I have no problem reinstalling to get it right from 
the beginning, if there is a better way to install Cygwin when you are on a 
domain.

[EMAIL PROTECTED] /home
$ ls -la
total 8
drwxrwxrwx+  3 eweibust Domain Users0 Nov 29 17:58 .
dr-xr-x---+ 12 eweibust Users4096 Nov 29 17:58 ..
drwxrwxrwx+  2 eweibust Domain Users 4096 Nov 29 18:00 eweibust
 
--  
Erik Weibust
developer, blogger - http://erik.weibust.net
leader Dallas Java User Group (JavaMUG) - http://javamug.org
leader Dallas Spring User Group (SDUG) - http://SpringDallasUG.org





  

Be a better sports nut!  Let your teams follow you 
with Yahoo Mobile. Try it now.  
http://mobile.yahoo.com/sports;_ylt=At9_qDKvtAbMuh1G1SQtBI7ntAcJ

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



cp.exe chunk size

2007-11-30 Thread skelker

Hi,
Is there a reason that cp.exe uses 8KB chunk sizes to copy files?  This
behavior leads to very fragmented files, especially when copying large
files.

--skelker
-- 
View this message in context: 
http://www.nabble.com/cp.exe-chunk-size-tf4924593.html#a14093712
Sent from the Cygwin list mailing list archive at Nabble.com.


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



Re: Failure in building GFortran on Cygwin

2007-11-30 Thread Christopher Faylor
On Fri, Nov 30, 2007 at 03:58:42PM +0100, Corinna Vinschen wrote:
On Nov 30 07:26, Eric Blake wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 According to Corinna Vinschen on 11/30/2007 7:20 AM:
  
  However, this *is* a problem in the newlib/cygwin headers.  Cygwin
  exports a timezone function and a _timezone variable.  The timezone
  function was an ill-advised invention in Cygwin way back in the last
  century.  Unfortunately it has to be kept for backward compatibility.
 
 For 1.5.x, yes.  But can we delete timezone() for 1.7.x, on the grounds
 that any binary that still uses the timezone function is old enough that
 it would benefit from re-porting to the latest cygwin sources anyway?

I'm thinking along the same lines.  While that breaks backward
compatibility, I'm not overly concerned in case of applications which
have never been ported to a newer Cygwin version the last 10 or so
years.

But we do have a fairly transparent way of dealing with this problem which
will allow any ancient apps to continue to work.  We used it for the transition
from 32 - 64 bit file I/O.

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/