Re: On forming a SC [was Re: ITP moratorium still in effect?]

2004-03-29 Thread Corinna Vinschen
On Mar 28 17:24, Christopher Faylor wrote:
 I can't speak for Corinna, but I would rather *not* have to be the bad
 guy or a single (double?) point of contact.  I would rather have more
 community involvement.  I'm already drowning in being the focal point
 for most cygwin bugs with help from only two other developers.  I don't
 want to invent new things for me or Corinna to do, especially when there
 is no requirement for in-depth cygwin knowledge.

I second the idea of a community driven cygwin net distribution and I
would say that it's basically already the case.  It's just that the
appoval and review process is a bit... well, uncontrolled or unreliable.
Therefore to have a sort of a commitee, a bunch of people who feel
responsible for the net distro, would probably be a good idea.

However, I think Chris and I shouldn't be involved much in this
process at all.  I can't speak for Chris, but I told him once on the
phone, that from my point of view we are just maintainers for one
component of the net distro, the Cygwin package itself (ignoring for now
the other random packages which we maintain).

 Setting up a council or committee to approve or disprove apps means
 that the load is shared and there theoretically a consistent way for
 packages to be included.

With both of us not being member of the comittee, IMO.  A veto right
would be ok but it should only be excersised when absolutely necessary
(e. g. legal problems).

 Another approach might be to ask: Do the Linux vendors support it?. 
 
 That is exactly an idea that I was going to propose.  I was waiting to
 see where the discussion was going first.  I was going to use actually
 veto ac-archive on this basis but then noticed that when I typed:
 
   up2date ac-archive
 
 ac-archive got pulled into my fedora-based system.   So vetoing ac-archive
 because for this reason wouldn't work.

Hmm.  I don't like the idea.  We should really keep in mind that

1. All Linux distros are different
2. Cygwin is not Linux

Which distro of Linux will we use as role model?  Red Hat?  Fedora?  SuSE?
Debian?  Connectiva?  Which version?  What if a package is in, say, Debian
Woody but not in Red Hat 9?  And why should that be a rule?  Cygwin is not
Linux.  Cygwin doesn't support all function calls of a Linux system.  Also
some vanilla package maintainers ignore Windows based systems or even refuse
to make any patches to accomodate them.  Or some packages are incredibly
difficult to port, sometimes because of the weird build system.  These are
good reasons for some packages being in Cygwin in favor of other packages
which are usually used on Linux.  E. g., we have Exim and ssmtp but not
sendmail and postfix.  After all, also the users might be different in what
tools they use.

If our net distro is in any way similar to a Linux distro, I guess it
would be Debian or, perhaps, Fedora.  And then, two questions should be
raised and discussed:

- How is the distro process controlled in Debian and Fedora and
  can we inherit them?
- What criteria are used to refuse or accept a package and can we
  inherit them?

 I don't think that the current setup.exe is dumbed down.  It just isn't
 really feature-rich.

That's true.  I'm wondering mostly about stuff like, for instance,
jumping immediately to the package selection, keeping all other
settings, including the mirror.  This would allow running w/o having to
retrieve the mirror list from cygwin.com.  Or no questions about desktop
icon and start menu entry.

However, it *would* be nice to have a rpm based system, wouldn't it?


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Developermailto:[EMAIL PROTECTED]
Red Hat, Inc.


Re: Postgresql and cygserver

2004-03-29 Thread Corinna Vinschen
Hi Jason,

On Mar 26 21:58, Jason Tishler wrote:
 Sorry for the delay, but I was on vacation.

no worries.  I hope you enjoyed them.

 On Tue, Mar 23, 2004 at 03:58:45PM +0100, Corinna Vinschen wrote:
  can we expect a new postgresql package soon, which uses the IPC
  functions from cygserver instead of cygipc?
 
 I'm also starting a new job on Monday, so my free time will be even more
 scarce than it usually is.  Nevertheless, I will try to release a
 PostgreSQL package built against cygserver as soon as possible.

That would be nice, thank you.

 BTW, is anyone interested in becoming the Cygwin PostgreSQL maintainer?
 I haven't used PostgreSQL since 7/01. :,(  I'm willing to help get the
 new maintainer up to speed...

I guess you should post a heads-up to find somebody on the cygwin
mailing list.  If you step down and nobody steps up, we would have
to pull postgresql from the distro.  Though I'm not using it either,
I think that would be a set-back for the distro.


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Developermailto:[EMAIL PROTECTED]
Red Hat, Inc.


Re: A new method of storing package data base information, proposing packages, and announcing updates

2004-03-29 Thread Corinna Vinschen
On Mar 27 00:26, Daniel Reed wrote:
 If no #!src is provided, external-source will be required in the final
 .hint. If no external-source is provided when one is needed, the field will
 be set to the first complete package preceeding the current one. That is,
 in the above example, libfoo-devel will have an external-source of libfoo.

I would refuse the package instead.  Otherwise we could have pretty
funny results.

 If a fourth package, libfoo-demo, was provided without #!src nor
 external-source, it too would be given an external-source of libfoo
 (skipping over libfoo-devel). For truly binary-only packages (such as
 packages composed completely of shell scripts), #!src may be provided and
 left blank.

I would require

#!bin-only

 sufficient. This would make it easy to construct an automatic web form or
 special-purpose email address for package maintainers to cause new versions
 to be downloaded, auto-reviewed, and pushed to the live repository without
 any human intervention.

Urgh, no webform, please.  Why not keeping it on cygwin-apps, just
requiring a specific layout, beginning with some marker in the subject?

Also, you would have to make sure that this doesn't pull new packages
into the distro automagically, just because the layout of the announcement
and the packaging was correct ;-)


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Developermailto:[EMAIL PROTECTED]
Red Hat, Inc.


Re: On forming a SC [was Re: ITP moratorium still in effect?]

2004-03-29 Thread Christopher Faylor
On Mon, Mar 29, 2004 at 11:41:54AM +0200, Corinna Vinschen wrote:
On Mar 28 17:24, Christopher Faylor wrote:
 I can't speak for Corinna, but I would rather *not* have to be the bad
 guy or a single (double?) point of contact.  I would rather have more
 community involvement.  I'm already drowning in being the focal point
 for most cygwin bugs with help from only two other developers.  I don't
 want to invent new things for me or Corinna to do, especially when there
 is no requirement for in-depth cygwin knowledge.

I second the idea of a community driven cygwin net distribution and I
would say that it's basically already the case.  It's just that the
appoval and review process is a bit... well, uncontrolled or unreliable.
Therefore to have a sort of a commitee, a bunch of people who feel
responsible for the net distro, would probably be a good idea.

However, I think Chris and I shouldn't be involved much in this
process at all.  I can't speak for Chris, but I told him once on the
phone, that from my point of view we are just maintainers for one
component of the net distro, the Cygwin package itself (ignoring for now
the other random packages which we maintain).

 Setting up a council or committee to approve or disprove apps means
 that the load is shared and there theoretically a consistent way for
 packages to be included.

With both of us not being member of the comittee, IMO.  A veto right
would be ok but it should only be excersised when absolutely necessary
(e. g. legal problems).

 Another approach might be to ask: Do the Linux vendors support it?. 
 
 That is exactly an idea that I was going to propose.  I was waiting to
 see where the discussion was going first.  I was going to use actually
 veto ac-archive on this basis but then noticed that when I typed:
 
   up2date ac-archive
 
 ac-archive got pulled into my fedora-based system.   So vetoing ac-archive
 because for this reason wouldn't work.

Hmm.  I don't like the idea.  We should really keep in mind that

1. All Linux distros are different
2. Cygwin is not Linux

Which distro of Linux will we use as role model?  Red Hat?  Fedora?  SuSE?
Debian?  Connectiva?

*any* distro.  That is what I was looking for.  If no distro contains ac-archive
then there needs to be special dispensation.

 I don't think that the current setup.exe is dumbed down.  It just isn't
 really feature-rich.

That's true.  I'm wondering mostly about stuff like, for instance,
jumping immediately to the package selection, keeping all other
settings, including the mirror.  This would allow running w/o having to
retrieve the mirror list from cygwin.com.  Or no questions about desktop
icon and start menu entry.

Yep.  That's just a simple matter of coding.

However, it *would* be nice to have a rpm based system, wouldn't it?

I guess.  I shudder at the thought of what would be involved to get rpm
working on a first time installation, though.

cgf


Re: setup.exe development stalled?

2004-03-29 Thread Robert Collins
On Thu, 2004-03-25 at 23:29, Reini Urban wrote:
 Robert Collins schrieb:
  On Sat, 2004-03-13 at 08:07, Christopher Faylor wrote:
 At the very least, it would be nice to get out a new release which
 resized correctly.  I know that the current implementation isn't perfect
 but I wonder if it is better than the alternative of having a new user a
 week sending in a suggestion that the browser should be resizeable.
 
 Why don't you just release the current snapshot?

Lets put it to the floor. While I'm not happy with the current UI
resulting from the resizability... if a simple majority of the package
maintainers are, I'll release. 

There, hows that?

Rob
-- 
GPG key available at: http://www.robertcollins.net/keys.txt.


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


ATTN: w32api maintainer, please remove mingw-specific code

2004-03-29 Thread Nicholas Wourms
Earnie or Danny,

The recent directx reorganization in the winsup/w32api dir has allowed
some mingw-only code to slip into the general build
(lib/directx/dxerr.c).  This causes a compile failure when building a
cygwin target.  Please have the author of the new code rectify this by
not using tchar.h functions.  Thanks in advance.
Cheers,
Nicholas




Re: setup.exe development stalled?

2004-03-29 Thread Joshua Daniel Franklin
--- Robert Collins [EMAIL PROTECTED] wrote:
  At the very least, it would be nice to get out a new release which
  resized correctly.  I know that the current implementation isn't perfect
  but I wonder if it is better than the alternative of having a new user a
  week sending in a suggestion that the browser should be resizeable.
  
  Why don't you just release the current snapshot?
 
 Lets put it to the floor. While I'm not happy with the current UI
 resulting from the resizability... if a simple majority of the package
 maintainers are, I'll release. 

I agree that the current snapshot isn't best, but neither is the current
release, so I'm for getting the resizablility to end users.

__
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html


Re: setup.exe development stalled?

2004-03-29 Thread Andre Bleau
Robert Collins wrote:



On Thu, 2004-03-25 at 23:29, Reini Urban wrote:
 Robert Collins schrieb:
  On Sat, 2004-03-13 at 08:07, Christopher Faylor wrote:
 At the very least, it would be nice to get out a new release which
 resized correctly.  I know that the current implementation isn't perfect
 but I wonder if it is better than the alternative of having a new user a
 week sending in a suggestion that the browser should be resizeable.

 Why don't you just release the current snapshot?
Lets put it to the floor. While I'm not happy with the current UI
resulting from the resizability... if a simple majority of the package
maintainers are, I'll release.
There, hows that?

Rob
As I reported previously in 
http://sources.redhat.com/ml/cygwin-apps/2003-12/msg00133.html , the 
setup-2.418 snapshot with resizable chooser has worked well for me for 
months now.

The only very minor inconvenient I experienced is that some screens are not 
as pretty when resized as they could be.

So I vote for the release of that snapshot.



André Bleau, Cygwin's OpenGL package maintainer.

Please address all questions and problem reports about Cygwin's OpenGL 
package to cygwin at cygwin dot com .  



Re: setup.exe development stalled?

2004-03-29 Thread Christopher Faylor
On Mon, Mar 29, 2004 at 09:49:08AM -0800, Joshua Daniel Franklin wrote:
--- Robert Collins [EMAIL PROTECTED] wrote:
  At the very least, it would be nice to get out a new release which
  resized correctly.  I know that the current implementation isn't perfect
  but I wonder if it is better than the alternative of having a new user a
  week sending in a suggestion that the browser should be resizeable.
  
  Why don't you just release the current snapshot?
 
 Lets put it to the floor. While I'm not happy with the current UI
 resulting from the resizability... if a simple majority of the package
 maintainers are, I'll release. 

I agree that the current snapshot isn't best, but neither is the current
release, so I'm for getting the resizablility to end users.

Ditto.

cgf


Re: setup.exe development stalled?

2004-03-29 Thread Igor Pechtchanski
On Mon, 29 Mar 2004, Andre Bleau wrote:

 Robert Collins wrote:

 On Thu, 2004-03-25 at 23:29, Reini Urban wrote:
   Robert Collins schrieb:
On Sat, 2004-03-13 at 08:07, Christopher Faylor wrote:
   At the very least, it would be nice to get out a new release which
   resized correctly.  I know that the current implementation isn't perfect
   but I wonder if it is better than the alternative of having a new user a
   week sending in a suggestion that the browser should be resizeable.
  
   Why don't you just release the current snapshot?
 
 Lets put it to the floor. While I'm not happy with the current UI
 resulting from the resizability... if a simple majority of the package
 maintainers are, I'll release.
 
 There, hows that?
 
 Rob

 As I reported previously in
 http://sources.redhat.com/ml/cygwin-apps/2003-12/msg00133.html , the
 setup-2.418 snapshot with resizable chooser has worked well for me for
 months now.

 The only very minor inconvenient I experienced is that some screens are not
 as pretty when resized as they could be.

 So I vote for the release of that snapshot.
 André Bleau

I've been using a self-built version of setup (CVS head + some local
patches) for my local upgrades since early December, with no discernible
problems.  So I second André's vote.

FWIW, I'd also like to submit some more changes that aren't ready for
primetime, but which, I think, should be present in development snapshots.
They are much less stable than the resizability patches, and I don't think
it's fair to require anyone wanting a resizable setup to use a snapshot
with raw and unstable functionality.
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!

I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster.  -- Patrick Naughton


Re: setup.exe development stalled?

2004-03-29 Thread Corinna Vinschen
On Mar 29 09:49, Joshua Daniel Franklin wrote:
 --- Robert Collins [EMAIL PROTECTED] wrote:
   At the very least, it would be nice to get out a new release which
   resized correctly.  I know that the current implementation isn't perfect
   but I wonder if it is better than the alternative of having a new user a
   week sending in a suggestion that the browser should be resizeable.
   
   Why don't you just release the current snapshot?
  
  Lets put it to the floor. While I'm not happy with the current UI
  resulting from the resizability... if a simple majority of the package
  maintainers are, I'll release. 
 
 I agree that the current snapshot isn't best, but neither is the current
 release, so I'm for getting the resizablility to end users.

I agree.

Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Developermailto:[EMAIL PROTECTED]
Red Hat, Inc.


emacs 21.3.50-1 available

2004-03-29 Thread Joe Buehler
New experimental GNU emacs package files are available at:

http://68.98.176.216:3000/cygwin/emacs-21.3.50-1/emacs-21.3.50-1-src.tar.bz2
http://68.98.176.216:3000/cygwin/emacs-21.3.50-1/emacs-21.3.50-1.tar.bz2
http://68.98.176.216:3000/cygwin/emacs-21.3.50-1/emacs-X11/emacs-X11-21.3.50-1.tar.bz2
http://68.98.176.216:3000/cygwin/emacs-21.3.50-1/emacs-X11/setup.hint
http://68.98.176.216:3000/cygwin/emacs-21.3.50-1/emacs-el/emacs-el-21.3.50-1.tar.bz2
http://68.98.176.216:3000/cygwin/emacs-21.3.50-1/emacs-el/setup.hint
http://68.98.176.216:3000/cygwin/emacs-21.3.50-1/emacs-leim/emacs-leim-21.3.50-1.tar.bz2
http://68.98.176.216:3000/cygwin/emacs-21.3.50-1/emacs-leim/setup.hint
http://68.98.176.216:3000/cygwin/emacs-21.3.50-1/setup.hint
This is a version of emacs built from the current official GNU emacs
CVS sources, for those who want to try it out.
Please mark this as an experimental version when uploading -- do not
replace the 21.2 version, which should continue as the current version
in setup.exe.
--
Joe Buehler


Re: A new method of storing package data base information, proposing packages, and announcing updates

2004-03-29 Thread Daniel Reed
On 2004-03-29T11:57+0200, Corinna Vinschen wrote:
) On Mar 27 00:26, Daniel Reed wrote:
)  If no #!src is provided, external-source will be required in the final
)  .hint. If no external-source is provided when one is needed, the field will
) I would refuse the package instead.  Otherwise we could have pretty
) funny results.

This is only a convenience feature. The hint provided by the maintainer
(through email or as downloaded from the web) would be augmented by a
processor on sources to fill in the missing bits as per whichever policies
are eventually adopted.


)  (skipping over libfoo-devel). For truly binary-only packages (such as
)  packages composed completely of shell scripts), #!src may be provided and
)  left blank.
) I would require
) #!bin-only

Sure; it should not be a problem to have #!binary-only or #!bin-only serve
as an alias for an empty #!src. The goal is to have some specific action to
differentiate binary-only packages from externally sourced packages.


)  sufficient. This would make it easy to construct an automatic web form or
)  special-purpose email address for package maintainers to cause new versions
)  to be downloaded, auto-reviewed, and pushed to the live repository without
)  any human intervention.
) Urgh, no webform, please.  Why not keeping it on cygwin-apps, just

My idea for a web script would be to validate the data before it is sent to
cygwin-apps, if only to avoid please fix X and repost messages. If the
format validated, the script would then forward the message to the list with
an optional preamble/epilog on behalf of the maintainer. The part that
performed updates would either automatically scan the archives or at most
require someone to login to sources, go into the package's release/
directory, and type make update.

) requiring a specific layout, beginning with some marker in the subject?

There should not need to be any special magic in the subject, just a
requirement that the hints start with @ packagename or @ package/path.


) Also, you would have to make sure that this doesn't pull new packages
) into the distro automagically, just because the layout of the announcement
) and the packaging was correct ;-)

At most it would be pulled into a non-live repository automatically. If
there is no entry in the live release/ tree, nothing sent to cygwin-apps or
otherwise submitted would cause any modifications to release/.

-- 
Daniel Reed [EMAIL PROTECTED] http://naim-users.org/nmlorg/   http://naim.n.ml.org/
True nobility lies not in being superior to another man, but in being
superior to one's previous self.


Re: emacs 21.3.50-1 available

2004-03-29 Thread Joe Buehler
Larry Hall wrote:

Joe, is there a reason you don't specify that this is a test version in 
your setup.hint?  Unless I'm mistaken, if you do this, you can specify 
that this version is experimental and then also which version is current
and which is previous.  So you don't need to ask someone else to do so
for you.  Or is emacs special in some way in this regard?
No -- I just didn't know how it was done.  Do I have to do anything to the
existing emacs hint files or just the new ones?
--
Joe Buehler


RE: ATTN: w32api maintainer, please remove mingw-specific code

2004-03-29 Thread Danny Smith
From: Nicholas Wourms

 The recent directx reorganization in the winsup/w32api dir has
allowed
 some mingw-only code to slip into the general build
 (lib/directx/dxerr.c).  This causes a compile failure when building a
 cygwin target.  Please have the author of the new code rectify this by
 not using tchar.h functions.  Thanks in advance.


Should be fixed now.
http://www.cygwin.com/ml/cygwin-cvs/2004-q1/msg00304.html
Danny


 Cheers,
 Nicholas



Re: Postgresql and cygserver

2004-03-29 Thread Jason Tishler
On Mon, Mar 29, 2004 at 11:46:20AM +0200, Corinna Vinschen wrote:
 On Mar 26 21:58, Jason Tishler wrote:
  Nevertheless, I will try to release a PostgreSQL package built
  against cygserver as soon as possible.
 
 That would be nice, thank you.

I tried over the weekend, but found a SEGV problem under 1.5.9.  Then, I
tried the latest CVS and was bitten by the current cygheap problem.  I
was not able to get past this problem in the limited time I had... :,(

  BTW, is anyone interested in becoming the Cygwin PostgreSQL
  maintainer?  I haven't used PostgreSQL since 7/01. :,(  I'm willing
  to help get the new maintainer up to speed...
 
 I guess you should post a heads-up to find somebody on the cygwin
 mailing list.

I will post to cygwin@ and pgsql-cygwin@ to see if I can find a victim,
I mean, volunteer. :,)

 If you step down and nobody steps up, we would have to pull postgresql
 from the distro.

Understood.

 Though I'm not using it either, I think that would be a set-back for
 the distro.

Agreed, which is why I continue to maintain it even though I haven't
used it for a long time.

Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6


Re: window mangager running already

2004-03-29 Thread Danny Staple
It looks like X has not stopped properly. If there is not a remaining
window - check the process list, and look for XWin.exe. Stop this process
- and try to start it up again.

As for a multi-desktop screen - a couple of google, and sourceforge sites
reveal many options(currently sourceforge is down for maintenance).  For
example listing only free ones:

Multidesk 2001 http://download.com.com/3000-2346-3293012.html?tag=lst-0-9

SDesk (More of a superlarge scrollable desktop)
http://download.com.com/3000-2346-10133509.html?tag=lst-0-16

There are many- If I could get to sourceforge now I would list those in
preference

Orion

-- 
OrionRobots.co.uk - Robots from Sol to Sirius.
http://www.tiscali-network.co.uk/orionbroadband/services/ - Broadband and
Phone calls at realistic prices.

 Thanks,

 I deleted the wmaker line from the .xinitrc. Still 'startx' does not
 start
 up.
 Here is the XWin.log. Do you have any idea about what is going on?

 Welcome to the XWin X Server
 Vendor: The Cygwin/X Project
 Release: 4.3.0.61
 Contact: [EMAIL PROTECTED]

 XWin was started with the following command line:

 XWin -multiwindow -clipboard

 ddxProcessArgument - Initializing default screens
 winInitializeDefaultScreens - w 1280 h 1024
 winInitializeDefaultScreens - Returning
 OsVendorInit - Creating bogus screen 0
 winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
 winCheckDisplayNumber - Cygwin/X is already running on display 0

 Fatal server error:
 InitOutput - Duplicate invocation on display number: 0.  Exiting.

 winDeinitMultiWindowWM - Noting shutdown in progress




 Is there a way to get the nice multi-desktop features of a Unix window
 manager
 while working under CygWin?

 --
 // Frank R. Schäfer, Franzstr. 21, D-50931 Köln
 // Tel.: 49+176/22 02 58 59; 49+2237/609 537




Re: Modal and AOT exit dialog

2004-03-29 Thread Takuma Murakami
Harold,

 I just checked in a framework for you to display the number of connected 
 clients in the Exit box.  All that is left for you to do is to go to 
 windialogs.c/winExitDlgProc/WM_INITDIALOG and set the value to 
 iConnectedClients to whatever the number of connected clients is.  :)

Thank you for the great help, I utilized the framework with
a slight change that took iConnectedClients into ScreenPriv.
(A file scope variable could be preferable since it is referenced
only within windialog.c.)

I also added the silent exit feature (actually the above feature
is a by-product of this).  If a user adds the line (just 1 word)
SilentExit
the Exit dialog won't appear when no client is connected.
Of course, this is off by default not to confuse users.

The single word preference is the easiest to implement with
lexer and parser, but you might want to change it to more
readable ones such as SilentExit = yes before the release.

Takuma Murakami



Re: test case for clipboard hang?

2004-03-29 Thread Ed Avis
Harold L Hunt II huntharo at msu.edu writes:

1) Reboot
2) start a fresh xwin, xterm, notepad, and put some text in the xterm and 
   notepad
3) select, ^C copy from notepad, middle-click in xterm. it pastes 
   successfully
4) select in xterm, leave the text reverse-videoed
5) ^V paste into notepad (successfully)
6) drop the selection in xterm (by left clicking somewhere)
7) ^V paste into notepad (successfully, even though the selection is 
   dropped)
8) select a different piece of text in xterm.
9) drop the selection in xterm
10) ^V paste into notepad: it hangs for a few seconds and doesn't paste. 
(The paste menu option is NOT greyed out at this point).

I'd really appreciate some feedback on the new fix in 
XFree86-xserv-4.3.0-63, which should be hitting mirrors within a few hours.

Yes, I can reproduce the hang with 4.3.0-50 (actually, I used xemacs not xterm)
but it does not hang in 4.3.0-63.  After I drop the X selection it is no longer
in the Windows clipboard, so that I cannot paste into Notepad.  I don't know if
this is consistent with cut and paste on a native X desktop, but it is a massive
improvement over hanging.  Thanks!

-- 
Ed Avis [EMAIL PROTECTED]



cygwin mno-cygwin XOpenDisplay crash (on XP)

2004-03-29 Thread Collet Sylvie
Hi every body,
 
 
I have a bug during the execution of this code on XP and I don't know what's
wrong
 
#include X11/Xlib.h
#include iostream
 
int main(int argc, char** argv) {
std::cerr  1  std::endl;
  Display* dpy = XOpenDisplay(NULL);
std::cerr  2  std::endl;
  return 0 ;
}
 
 
g++ -mno-cygwin -I/usr/X11R6/include -c main.c 
g++ -mno-cygwin -o a.exe main.o -L/usr/X11R6/lib -lX11-6.dll
 
 
In fact, I have a Java Main which call a library that contains the
source of a X application in C++. That why I use -mno-cygwin but
when I use it, XopenDisplay doesn't work well... All is OK without the 
-mno-cygwin flags during the compilation.
 
Could you, please, help me because I have no more ideas on this
subject?
 
Thanks
 
Sylvie

 



invalid Window parameter error through ssh X forwarding

2004-03-29 Thread Richard Gourdeau
I have just upgraded my xfree-cygwin setup (Xwin serv Release 4.3.0-64, 
etc.).

Some apps that worked through ssh without any problem with my previous 
setup (Xwin serv Release 4.3.0-58, etc.) are now exiting with errors 
messages related to an invalid Window parameter.

For example, in a xterm after an ssh connect with X forwarding, gftp 
starts but as soon as I try to select a menu item, I get the following 
error:
===
[EMAIL PROTECTED] gourdeau]$  gftp 
[1] 13684
[EMAIL PROTECTED] gourdeau]$ Gdk-ERROR **: BadWindow (invalid Window 
parameter)
  serial 3647 error_code 3 request_code 38 minor_code 0
Gdk-ERROR **: BadAccess (attempt to access private resource denied)
  serial 3648 error_code 10 request_code 102 minor_code 0

[1]+  Exit 1  gftp
===
I have notice that the mouse cursor remains as an X and does not 
change to an arrow when moved over the gftp application.

I am using the startxwin.sh script from the distribution (unmodified) 
to start Xwin in multiwindow mode.

Should I specify some optional parameters or is this a known problem ?

--
Richard Gourdeau


Re: invalid Window parameter error through ssh X forwarding

2004-03-29 Thread Harold L Hunt II
Replace 'ssh -X' with 'ssh -Y'.

Harold

Richard Gourdeau wrote:
I have just upgraded my xfree-cygwin setup (Xwin serv Release 4.3.0-64, 
etc.).

Some apps that worked through ssh without any problem with my previous 
setup (Xwin serv Release 4.3.0-58, etc.) are now exiting with errors 
messages related to an invalid Window parameter.

For example, in a xterm after an ssh connect with X forwarding, gftp 
starts but as soon as I try to select a menu item, I get the following 
error:
===
[EMAIL PROTECTED] gourdeau]$  gftp 
[1] 13684
[EMAIL PROTECTED] gourdeau]$ Gdk-ERROR **: BadWindow (invalid Window 
parameter)
  serial 3647 error_code 3 request_code 38 minor_code 0
Gdk-ERROR **: BadAccess (attempt to access private resource denied)
  serial 3648 error_code 10 request_code 102 minor_code 0

[1]+  Exit 1  gftp
===
I have notice that the mouse cursor remains as an X and does not 
change to an arrow when moved over the gftp application.

I am using the startxwin.sh script from the distribution (unmodified) 
to start Xwin in multiwindow mode.

Should I specify some optional parameters or is this a known problem ?



Re: cygwin mno-cygwin XOpenDisplay crash (on XP)

2004-03-29 Thread Alexander Gottwald
On Mon, 29 Mar 2004, Collet Sylvie wrote:

 Hi every body,
  
  
 I have a bug during the execution of this code on XP and I don't know what's
 wrong
  
 #include X11/Xlib.h
 #include iostream
  
 int main(int argc, char** argv) {
 std::cerr  1  std::endl;
   Display* dpy = XOpenDisplay(NULL);
 std::cerr  2  std::endl;
   return 0 ;
 }

Which bug? The error messages or at least a detailed error description 
is important

 g++ -mno-cygwin -I/usr/X11R6/include -c main.c 
 g++ -mno-cygwin -o a.exe main.o -L/usr/X11R6/lib -lX11-6.dll
  
  
 In fact, I have a Java Main which call a library that contains the
 source of a X application in C++. That why I use -mno-cygwin but
 when I use it, XopenDisplay doesn't work well... All is OK without the 
 -mno-cygwin flags during the compilation.

Cygwin/X relies on cygwin. I doubt you can compile your app without
the cygwin support.


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


Re: test case for clipboard hang?

2004-03-29 Thread Harold L Hunt II
Ed,

Ed Avis wrote:

Harold L Hunt II huntharo at msu.edu writes:


1) Reboot
2) start a fresh xwin, xterm, notepad, and put some text in the xterm and 
 notepad
3) select, ^C copy from notepad, middle-click in xterm. it pastes 
 successfully
4) select in xterm, leave the text reverse-videoed
5) ^V paste into notepad (successfully)
6) drop the selection in xterm (by left clicking somewhere)
7) ^V paste into notepad (successfully, even though the selection is 
 dropped)
8) select a different piece of text in xterm.
9) drop the selection in xterm
10) ^V paste into notepad: it hangs for a few seconds and doesn't paste. 
  (The paste menu option is NOT greyed out at this point).


I'd really appreciate some feedback on the new fix in 
XFree86-xserv-4.3.0-63, which should be hitting mirrors within a few hours.


Yes, I can reproduce the hang with 4.3.0-50 (actually, I used xemacs not xterm)
but it does not hang in 4.3.0-63.  After I drop the X selection it is no longer
in the Windows clipboard, so that I cannot paste into Notepad.
Thank you.  It is good to know that this is confirmed as fixed for the 
time being.

I don't know if
this is consistent with cut and paste on a native X desktop, but it is a massive
improvement over hanging.  Thanks!
I'm willing to be it is consistent.  We monitor the PRIMARY and 
CLIPBOARD selections... most apps set one or the other.  We still 
advertise to Win32 that we have data to paste if either PRIMARY or 
CLIPBOARD is owned by an X application other than the clipboard 
integration manager.  The problem before was that we didn't stop 
advertising data to paste when both PRIMARY and CLIPBOARD were not owned 
by valid X applications; the reason for this is that the clipboard 
manager looked like a valid X app and it owned at least one of PRIMARY 
and CLIPBOARD still, so we kept advertising data to paste.  The failure 
mode for this was inconsistent: the first time seemed to grab data from 
the X application that used to own the selection while the second time 
might have tried grabbing data from the clipboard manager for the 
clipboard manager to paste, which lead to a deadlock.

Simple test case: don't use -clipboard, select some text in a xterm, 
unselect it, then right-click in another xterm... I don't think you'll 
see any text pasted unless there is a clipboard manager of some sort 
running (i.e. don't do this in Xdmcp).

Harold


Re: lesstif 0.93.94 and the attempt to add non-widget ... error

2004-03-29 Thread Brian Ford
Sorry I can't be more helpful than this right now.  LtXmFixupVendorShell
is not working.  Find out why.

On Mon, 29 Mar 2004, Volker Quetschke wrote:

 In order to burn a few minutes and debug a grace (lesstif) problem
 (See thread Grace (xmgrace) 5.1.12-1  graph program --  ...) I
 rebuild lesstif-0.93.94-1.

 A few patches were needed to use the build script, see the
 attached patch. (It also contains a slight modification to
 use autoreconf, proposed by Brian Ford)

 BUT it didn't help. When I build grace with lesstif-0.93.94
 (selfbuild or the testversion installed with setup) and
 start xmgrace I get this:

 --- snip ---
 $ grace-5.1.14/src/xmgrace.exe
 Warning: XmManager ClassInitialize: XmeTraitSet failed

 Error: attempt to add non-widget child DropSiteManager to parent
 xmgrace which supports only widgets
 --- snip ---

 Using the same xmgrace.exe but downgrading to lesstif 0.93.91-6
 I can start grace. !?

 The lesstif faq http://www.lesstif.org/FAQ.html#QU3.0 claims that
 this error stems from using the wrong order of linker flags, but I
 guess that 0.93.94 fails and 0.93.91 works contradicts this.

 The linker flags are: ../Xbae/Xbae/libXbae.a -lXm -lXpm -lXp -lXmu
   -lXt -lXext -lX11  -lSM -lICE  ../cephes/libcephes.a
   ../T1lib/libt1.a  -ltiff -ljpeg -lpng -lz -lm (from the actual build)

 Any ideas?

 Volker



-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax:   314-551-8444


RE: Updated: XFree86-xserv-4.3.0-65

2004-03-29 Thread Orrigo, Giampaolo .
Harold,
I have just installed xserv-4.3.0-65.
In the About... dialog, when I pass the mouse over the hyperlinks, the mouse
pointer disappears.

I'm running it on NT 4.0

Thanks,

GP

 -Original Message-
 From: Harold L Hunt II
 Sent: Monday, March 29, 2004 15:04
 To:   cygxannounce
 Subject:  Updated: XFree86-xserv-4.3.0-65
 
 The following package has been updated in the Cygwin distribution:
 
 *** XFree86-xserv-4.3.0-65
 
 Changes
 ===
 
 1) _usr_X11R6_lib_X11_system.XWinrc, win.h, windialogs.c, winprefs.h,
 winprefslex.l, winprefsyacc.y - Introduce SilentExit feature that is
 enabled by .XWinrc file.  Show the number of connected clients in the
 exit confirmation dialog.  (Takuma Murakami)
 
 2) InitOutput.c, winglobals.c - Try to be cleaner about closing down
 the clipboard.  (Harold L Hunt II - CodeWeavers)
 
 3) XWin.rc, windialogs.c, winresource.h, wintrayicon.c - Fix problem
 with tray menu in non-multi-window modes, add framework for Takuma to
 display the number of connected clients on shutdown.  (Harold L Hunt
 II - CodeWeavers)
 
 --
 Harold Hunt
 
 To update your installation, click on the Install Cygwin now link on
 the http://cygwin.com/ web page.  This downloads setup.exe to your
 system.  Once you've downloaded setup.exe, run it and select XFree86
 and then click on the appropriate field until the above announced
 version number appears if it is not displayed already.
 
 If your mirror doesn't yet have the latest version of this package after
 24 hours, you can either continue to wait for that site to be updated or
 you can try to find another mirror.
 
 Please send questions or comments to the Cygwin/X mailing list at:
 [EMAIL PROTECTED]
 
 If you want to subscribe go to:
 http://cygwin.com/lists.html
 
 I would appreciate if you would use this mailing list rather than
 emailing me directly.  This includes ideas and comments about the setup
 utility or Cygwin/X in general.
 
 If you want to make a point or ask a question the Cygwin/X mailing
 list is the appropriate place.


Documentaiton of .XWinrc?

2004-03-29 Thread David Arnstein
I'm searching for documentation of the file .XWinrc.

I have no man page for this file, although the man page for XWin
refers to a man page in section 5 for .XWinrc.

I could not find any mention of .XWinrc in the cygwin-xfree users
guide.

I suggest that both of the above two sources of information should be
updated.

I found an old posting to this mailing list that referenced
http://www.msu.edu/~huntharo/xwin/devel/server/example.XWinrc.

Is this the only documentation that is available?

Thanks for any help.
-- 
David Arnstein   
[EMAIL PROTECTED]  


Re: A suggestion (XWin.n) and a question (run.exe).

2004-03-29 Thread Harold L Hunt II
Rodrigo,

Rodrigo Medina wrote:
I can do the patch, but I need to know from where to
obtain the exact information.
The file to patch is here:

http://pdx.freedesktop.org/cgi-bin/viewcvs.cgi/xc/programs/Xserver/hw/xwin/XWin.man?root=xorgonly_with_tag=CYGWIN

There are instructions for pulling down our CVS tree here:

http://x.cygwin.com/devel/server/

The User's Guide documentation will be helpful (the man page should 
contain at least the information in the User's Guide section on 
command-line parameters):

http://x.cygwin.com/docs/ug/configure-cygwin-x-options.html

The definitive resource for command-line parameters specific to XWin.exe 
is in winprocarg.c:

http://pdx.freedesktop.org/cgi-bin/viewcvs.cgi/xc/programs/Xserver/hw/xwin/Attic/winprocarg.c?root=xorgonly_with_tag=CYGWIN

A helpful guide for which parameters cannot be used together is in 
winvalargs.c:

http://pdx.freedesktop.org/cgi-bin/viewcvs.cgi/xc/programs/Xserver/hw/xwin/Attic/winvalargs.c?root=xorgonly_with_tag=CYGWIN

Finally, I usually describe how to use a new command-line parameter in 
the Change Log when the new parameter was introduced.  So, go to the 
change log and do a quick search for a particular parameter that you see 
in winprocarg.c to get some information about what it does.  Here is the 
full change log:

http://x.cygwin.com/devel/server/changelog-full.html

I hope that helps.  I will really appreciate an updated man page.

Harold


Re: Documentaiton of .XWinrc?

2004-03-29 Thread Harold L Hunt II
David,

David Arnstein wrote:

I'm searching for documentation of the file .XWinrc.

I have no man page for this file, although the man page for XWin
refers to a man page in section 5 for .XWinrc.
I could not find any mention of .XWinrc in the cygwin-xfree users
guide.
See the second-to-last item:

http://x.cygwin.com/devel/todo.html

I suggest that both of the above two sources of information should be
updated.
I found an old posting to this mailing list that referenced
http://www.msu.edu/~huntharo/xwin/devel/server/example.XWinrc.
Is this the only documentation that is available?
For now, until somebody writes the additional documentation that you 
would like.

Harold


RE: Hydravision problem?

2004-03-29 Thread [EMAIL PROTECTED]







Thank you!



I tried setting the two displays to the same

resolution and it worked! Then I added two -screen

options with the correct native resolutions and it

works perfectly! Very nice too.



Thank you all again.



Pete



-



Howdy,



At 10:05 PM 3/24/2004 -0500, Pete Inskeep wrote: 

On the secondary display the xterm seems fine. No

immediate issures.

On the primary display the refresh does not seem to work

correctly.

The window seems to have some smaller portion on the left hand side

that works correctly. The size seems to vary from a sliver on the left

barely visable to about half the xterm. I can't seem to tell

whats determining the size.

The part that does not refresh is black or white. Even the pointer

(which is a }{ symbol) seems to stop where the refresh stops.

Note that it will go up and down and you can still see part of it

on the edge of the refresh area.



Does Hydravision expose two separate displays in the Display control

panel, Advanced tab (i.e. numbered 1 and 2 in the dialog)? If so,

what is the orientation of these displays? relative to the one

you have defined as the main screen (use this device as

primary monitor)? Can you click-and-drag both displays and report

the (x,y) coordinate of each one's upper-left corner (shows in

a balloon help window when you draw a monitor in the dialog)?

And are the X/Y pixel dimension of each monitor the same?





It looks like what's going on is the X/Y dimensions of the X root

window aren't matching the X/Y dimensions of the Win32 desktop for

some reason. The same thing happens if you use multiwindow

w/o the multiplemonitors option on a 2- or 3-head box...





-Earle F. Philhower, III






Re: uxterm from xterm-185-3 and xfontsel crashing when running under cygserver support

2004-03-29 Thread Dr. Volker Zell
 Corinna == Corinna Vinschen writes:

Corinna I've build my own debug version of the X stuff today and I tracked the
Corinna SEGV down.  It's an unfortunate combination of two bugs in the SHM
Corinna implementation:

Corinna - shmat() returns NULL on error instead of (void *)-1.

Corinna - shmat() only operates on shared memory segments of which the shmid
Corinna   has been retrieved using shmget() by the application itself.  I was
Corinna   absolutely sure that only the key argument to shmget() is a valid
Corinna   interprocess exchange value for identifying shared memory segments. 
Corinna   I wasn't aware that the shmid itself could be exchanged.

Corinna For today, I only fixed the first bug.  This fixes the SEGV in uxterm
Corinna and friends, but a fix for the second bug is necessary to get a working
Corinna Bigfont extension.  I hope to get this done next week.

I just tried your fix which seems to be in the 20040329 snapshot. But
now /usr/sbin/cygserver doesn't start anymore. I installed it as a
service with cygrunsrv. The same happens for my other cygwin service
/sbin/init which also refuses to start. In the process list I could see
4 !! /bin/cygrunsrv processes so. Reverting to 1.5.9 and all is fine.

Corinna Corinna

Ciao
  Volker



Re: test case for clipboard hang?

2004-03-29 Thread Lev Bishop
Well, I've kicked the -63 server around a fair bit this weekend and it
seems to be holding up very well. No crashes, and generally no unpleasant
surprises. I have still managed to activate the 2 second timeout code, 
though, by doing some pathological things, that are probably impossible to 
work around due to the incompatibilities between the X and Windows 
conceptions of the clipboard.

Harold: In winClipboardFlushXEvents, I think the line:
  iReturn = XChangeProperty (pDisplay,
 event.xselectionrequest.requestor,
 event.xselectionrequest.property,
 event.xselectionrequest.target,
 8,
 PropModeReplace,
 (char *) atomTargetArr,
 sizeof (atomTargetArr));
should have 32 instead of 8. 

Also, re the following, changelog, can you tell me where to find the 
changes. I see no calls to XSync or select at 
http://pdx.freedesktop.org/cgi-bin/viewcvs.cgi/xc/programs/Xserver/hw/xwin/winclipboardxevents.c?rev=1.1.4.1.2.15root=xorgonly_with_tag=CYGWINview=auto
and I'd like to see the code that does this.

Release 4.3.0-61
Released: 2004-03-25 0055 EST 
Download source: Now available as src package via setup.exe 
Changes: 
winclipboardwndproc.c, winclipboardxevents.c - Attempt to fix clipboard 
deadlock that was causing hangs. The nature of the fix was to stop calling 
XPeekIfEvent since it will block until the specified type of event is 
seen. Instead, we call XSync to flush output events and wait for them to 
be processed, then we do our own little loop with a call to select() using 
a timeout of 3 seconds from when we started (the timeout is adjusted after 
each call to select()). This should alleviate problems with XPeekIfEvent 
not returning. Finally, since we can detect whether the SelectionNotify 
event has arrived now, I added code to paste NULL to the Win32 clipboard 
if the X11 application never returns any useful clipboard data; this 
should prevent Win32 applications from freezing when there are problems 
pasting from X11 to Win32. (Harold L Hunt II - CodeWeavers) 
 




src/winsup/doc ChangeLog pathnames.sgml

2004-03-29 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2004-03-29 08:07:39

Modified files:
winsup/doc : ChangeLog pathnames.sgml 

Log message:
* pathnames.sgml: Fix /dev/srX description.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/doc/ChangeLog.diff?cvsroot=srcr1=1.63r2=1.64
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/doc/pathnames.sgml.diff?cvsroot=srcr1=1.13r2=1.14



src/winsup/mingw ChangeLog include/math.h

2004-03-29 Thread infidel
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2004-03-29 13:57:04

Modified files:
winsup/mingw   : ChangeLog 
winsup/mingw/include: math.h 

Log message:
2004-03-28  Hans Leidekker  [EMAIL PROTECTED]

* include/math.h (FP_*): Add defines.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/mingw/ChangeLog.diff?cvsroot=srcr1=1.184r2=1.185
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/mingw/include/math.h.diff?cvsroot=srcr1=1.18r2=1.19



src/winsup/cygwin ChangeLog net.cc

2004-03-29 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2004-03-29 14:08:44

Modified files:
winsup/cygwin  : ChangeLog net.cc 

Log message:
* net.cc (wsock_event::wait): Change scope of local len variable.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=srcr1=1.2381r2=1.2382
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/net.cc.diff?cvsroot=srcr1=1.161r2=1.162



src/winsup/cygwin ChangeLog thread.cc

2004-03-29 Thread cgf
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2004-03-29 15:14:07

Modified files:
winsup/cygwin  : ChangeLog thread.cc 

Log message:
* thread.cc (pthread::atforkprepare): Call MT_INTERFACE-fixup_before_fork at
the end of atforkprepare.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=srcr1=1.2382r2=1.2383
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/thread.cc.diff?cvsroot=srcr1=1.164r2=1.165



src/winsup/cygwin ChangeLog fhandler.h fhandle ...

2004-03-29 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2004-03-29 19:41:17

Modified files:
winsup/cygwin  : ChangeLog fhandler.h fhandler_socket.cc net.cc 
 wsock_event.h 

Log message:
* fhandler.h (class fhandler_socket): Add has_been_closed member.
* fhandler_socket.cc (fhandler_socket::fhandler_socket): Initialize
has_been_closed to 0.
(fhandler_socket::recvfrom): Use new asynchronous I/O driven
wsock_event methods.
(fhandler_socket::recvmsg): Ditto.
(fhandler_socket::sendto): Ditto.
(fhandler_socket::sendmsg): Ditto.
* net.cc (wsock_event::prepare): Reimplement using asynchronous I/O.
(wsock_event::wait): Ditto.
(wsock_event::release): New method.
* wsock_event.h (class wsock_event): Remove ovr member.  Accomodate
new implementation of prepare and wait methods.  Add release method.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=srcr1=1.2383r2=1.2384
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler.h.diff?cvsroot=srcr1=1.192r2=1.193
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_socket.cc.diff?cvsroot=srcr1=1.121r2=1.122
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/net.cc.diff?cvsroot=srcr1=1.162r2=1.163
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/wsock_event.h.diff?cvsroot=srcr1=1.1r2=1.2



[PATCH]: Trivial move in pthread::atforkprepare

2004-03-29 Thread Thomas Pfaff
MT_INTERFACE-fixup_before_fork () should be done as the last step  in
pthread::atforkprepare.

I am sorrry if the Changelog contains spaces, but i have limited internet
access at the moment (only Webmail).

2004-03-29  Thomas Pfaff  [EMAIL PROTECTED]

* thread.cc (pthread::atforkprepare): Call
MT_INTERFACE-fixup_before_fork at the end of atforkprepare.

-- 
+++ NEU bei GMX und erstmalig in Deutschland: TÜV-geprüfter Virenschutz +++
100% Virenerkennung nach Wildlist. Infos: http://www.gmx.net/virenschutz

thread.patch
Description: plain/text


Re: Make problem since 1.5.7

2004-03-29 Thread Ingmar Sittl
Larry Hall wrote:
 At 12:38 PM 3/26/2004, you wrote:
 
Hello,

With all cygwin-versions starting with 1.5.7 (including the snapshot
20040322) I experience major problems with make, leading to a major (
20x) increase in the time make needs for a specific single target in our
project make system (which is quite complex, includes 100 sub-makefiles
and is not written in-house).

According to the task-manager the system happily divides all cpu-time
between two make-tasks and csrss.exe.

I tried looking at make -d and strace output, but cannot make very
much sense of the output.

One thing that does stick out in the bad case is an exceptionally
large number of Got a SIGCHLD; 2 unreaped children Got a SIGCHLD; 1
unreaped children messages in the make -d output after the point
where make checks that it has to remake a specific file and before the
actual rebuilding (in this case, an ar call).

The make -d output for the good case also contains some of those
messages, but far fewer.

I can provide the strace and make -d output for both cases, if that
would help, but these files are VERY large.

Thanks for any help or hints what to check,
Ingmar Sittl

-- 
---
Ingmar Sittl, Dipl.-Inf., mobile applications
3SOFT GmbH, Frauenweiherstrasse 14, 91058 Erlangen, Germany
Tel: +49-9131-7701-276 mailto:[EMAIL PROTECTED]
Fax: +49-9131-7701-333 http://www.3SOFT.de

Cygwin Win95/NT Configuration Diagnostics
Current System Time: Fri Mar 26 12:10:59 2004

Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 3

Path:   C:\cygwin\bin
   C:\cygwin\bin
   C:\cygwin\usr\local\bin
   C:\cygwin\usr\X11R6\bin
   c:\j2sdk1.4.2\bin\
   c:\emacs-21.2\bin\
   c:\jikes-1.15\bin
   c:\Program Files\XEmacs\XEmacs-21.4.13\i586-pc-win32\
   c:\tmp\tornado2_1\host\i686-pc-cygwin\bin\
   c:\TornadoSH\host\x86-win32\bin
 
 
^^
 
 Please pull these last 2 directories out of your path and try again.  This
 eliminates the possibility of a tool conflict/interaction.
 
 
 --
 Larry Hall  http://www.rfk.com
 RFK Partners, Inc.  (508) 893-9779 - RFK Office
 838 Washington Street   (508) 893-9889 - FAX
 Holliston, MA 01746 
 
 
Hi,

Changed PATH to /usr/local/bin:/usr/bin/:/bin, but still no change.


Btw, relevant (I think) output from make -d (real path replaced with
some_path for better readability)

  Must remake target `some_path/GUI_Module.lib_ar'.
Got a SIGCHLD; 1 unreaped children.
Got a SIGCHLD; 1 unreaped children.
Got a SIGCHLD; 2 unreaped children.
Got a SIGCHLD; 1 unreaped children.
Got a SIGCHLD; 1 unreaped children.
Got a SIGCHLD; 2 unreaped children.
Got a SIGCHLD; 2 unreaped children.
Got a SIGCHLD; 2 unreaped children.

 ... (in the good case, about one minute and ca. 200 times SIGCHLD
messages, in the bad case at least 10 minutes and 2000 times this message)

Got a SIGCHLD; 2 unreaped children.
Got a SIGCHLD; 2 unreaped children.
Putting child 0x108b3a20 (some_path/GUI_Module.lib_ar) PID 1920 on the
chain.
Live child 0x108b3a20 (some_path/GUI_Module.lib_ar) PID 1920
Got a SIGCHLD; 1 unreaped children.
Reaping winning child 0x108b3a20 PID 1920
Live child 0x108b3a20 (some_path/GUI_Module.lib_ar) PID 816

Got a SIGCHLD; 1 unreaped children.
Reaping winning child 0x108b3a20 PID 816
Live child 0x108b3a20 (some_path/GUI_Module.lib_ar) PID 320

Got a SIGCHLD; 1 unreaped children.
Reaping winning child 0x108b3a20 PID 320
Live child 0x108b3a20 (some_path/GUI_Module.lib_ar) PID 1924
Got a SIGCHLD; 1 unreaped children.
Reaping winning child 0x108b3a20 PID 1924
Live child 0x108b3a20 (some_path/GUI_Module.lib_ar) PID 1944
Got a SIGCHLD; 1 unreaped children.
Reaping winning child 0x108b3a20 PID 1944
Live child 0x108b3a20 (some_path/GUI_Module.lib_ar) PID 1700
Got a SIGCHLD; 1 unreaped children.
Reaping winning child 0x108b3a20 PID 1700
Live child 0x108b3a20 (some_path/GUI_Module.lib_ar) PID 1288
Got a SIGCHLD; 1 unreaped children.
Reaping winning child 0x108b3a20 PID 1288
Removing child 0x108b3a20 PID 1288 from chain.
  Successfully remade target file `some_path/GUI_Module.lib_ar'.
 Finished prerequisites of target file `some_path/GUI_Module.lib'.
Must remake target `some_path/GUI_Module.lib'.
/cygdrive/c/tmp/tornado2_1/host/i686-pc-cygwin/bin/arsh -M 
some_path/GUI_Module.lib_ar
Putting child 0x106e3d68 (some_path/GUI_Module.lib) PID 816 on the chain.
Live child 0x106e3d68 (some_path/GUI_Module.lib) PID 816
Got a SIGCHLD; 1 unreaped children.
Reaping winning child 0x106e3d68 PID 816
Removing child 0x106e3d68 PID 816 from chain.
Successfully remade target file `some_path/GUI_Module.lib'.


-- 
---
Ingmar Sittl, Dipl.-Inf., mobile applications
3SOFT GmbH, Frauenweiherstrasse 14, 91058 Erlangen, Germany
Tel: +49-9131-7701-276 mailto: Ingmar dot Sittl at 3SOFT.de
Fax: +49-9131-7701-333 http://www.3SOFT.de

--
Unsubscribe 

Server Error (cygwin@cygwin.com)

2004-03-29 Thread hom00

Mail Delivery Failure - This mail couldn't be shown.

- failed message -
xTMPAC8Asz.-?ltp$L5*SsnrBEl!_vC7!(oxB,~2yqjV
)RZdJ$v)Tf:jIwT#aZ|5'Jn8;XoO1FyvO1xc7I!b
86kNkJh?#y|nN+d4ot$q$k?qu!4ZD4AHg4fyYYfB*G*9
dir7WqA.m;04vTO6jb)VABdJwoKTgPVfXs86B

Note: Received message has been sent as a binary file.


--  Virus Warning Message (on the network)

data22209.pif is removed from here because it contains a virus.

---  Virus Warning Message (on the network)
(B
(BFound virus WORM_NETSKY.Q in file data22209.pif
(BThe file is deleted.
(B
(BTherefore we removed the attachment-file
(Bby Mail Server and sent the message to you.
(B
(B(Japanese)
$BK\%a!<%k$KE:IU$5$l$F$$$?%U%!%$%k$K%&%#%k%9$,[EMAIL PROTECTED](B
$B$=$N$?$a!"%a!<%k%5!<%P$K$h$C$FE:IU%U%!%$%k$r

Re: Aspell - Ispell

2004-03-29 Thread Andy Rushton
Gregory Borota wrote:

But still I *personally* would prefer if  Pierre A. Humblet's Ispell port
would be part of cygwin distribution too as his ispell is much faster than
current aspell (at least for english). I tried to use aspell it just makes me
mad, it's so extremely slow. I had to switch back to cygwin ispell from:
ftp://ftp.franken.de/pub/win32/develop/gnuwin32/cygwin/porters/Humblet_Pierre_A/V1.1/ispell-3.2.06-cygwin-1.3-bin.tar.gz
 

I would support this for another reason: ispell is integrated with the 
various emacsen and gives my such features as flyspell (on-the-fly spell 
check). I just did a clean reinstall of Cygwin and spent a while 
tracking down the latest ispell release - it would be som much better if 
it was a Cygwin module. Or is it possible to use aspell within emacs? I 
can't find any documentation to say yes or no to this.

Andy

--
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: Aspell - Ispell

2004-03-29 Thread Gareth Pearce
 
 
 I would support this for another reason: ispell is integrated with the
 various emacsen and gives my such features as flyspell (on-the-fly spell
 check). I just did a clean reinstall of Cygwin and spent a while
 tracking down the latest ispell release - it would be som much better if
 it was a Cygwin module. Or is it possible to use aspell within emacs? I
 can't find any documentation to say yes or no to this.
 
It should be relatively easy to write a very simple script called ispell
which calls 'aspell -a $@'
I think that works at least... can't say I've tried it.

Gareth - aspell 'maintainer' ... of sorts.



--
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: Documentation thanks, plea

2004-03-29 Thread Corinna Vinschen
On Mar 29 01:14, Joshua Daniel Franklin wrote:
 Also, a change in the DocBook DTD added a funcprototype tag
 to funcsynopsis. I made the change to the DocBook embedded in
 the files in the cygwin/ directory in CVS, but they were overwritten 
 by some real changes. So, could someone doing actual work on the
 files make that small change?

What's your actual problem?  You have access to the repository
so I don't quite understand why you don't do this by yourself?
I'm not familar with DTD so I'm reluctant to change such stuff.

Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Developermailto:[EMAIL PROTECTED]
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: Postgres Backend doesn't catch the next command, after SIGUSR2

2004-03-29 Thread Patrick Samson
! The explanation is spotted in net.cc !

in wsock_event::wait()

  case WSA_WAIT_EVENT_0 + 1:
if (!CancelIo ((HANDLE) socket))
  {
debug_printf (CancelIo() %E, fallback to
blocking io);
WSAGetOverlappedResult (socket, ovr, len, TRUE,
flags);
  }
else
  WSASetLastError (WSAEINTR);
break;

Most of the time, when signal_arrived is raised,
there is nothing but the EINTR code to set, and
the backend loops in recv() to receive the next
command.
But the race conditions may be different, and
the command is available at the same time the
signal is detected.
So the CancelIo() call discards the command.
When the backend returns in recv(), the command
is lost, and the sender waits for an answer
- deadlock

Why this CancelIo() ??
It seems too intrusive.

Additional note:
DWORD len;
is present in case WSA_WAIT_EVENT_0
but is missing in case WSA_WAIT_EVENT_0 + 1

--- Patrick Samson wrote:
 If I run a test script enough time, it eventually
 freezes in this deadlock situation:
 
 The client sends a command to a backend and waits
 for an answer. It will wait forever because the
 backend
 is not aware of the arrival of the request and waits
 for a next command.
 
 What happens in the loop is:
  SIInsertDataEntry: table is 70% full,
  signaling postmaster
 
  In reaction, the postmaster sends to its children:
  SignalChildren: sending signal 31 to process pid
 
 Most of the time, it works. But at an unpredictable
 iteration, it freezes.
 
 This problem appeared first in a replication
 machinery, so I reduced the number of components
 involved, to get a simpler test case:
 A pgtcl script, running a loop with:
  create table from another-table
  copy table to file
  drop table
 
 The 'create table' regularly fires the '70% full'
 event, and at some point, the 'copy' never gets
 answered.



__
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.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: cygheap problems, also on version 1.5.9 (was Re: cygheap problems, 20040326 snapshot)

2004-03-29 Thread Andy Rushton
I'm having similar problems with release 1.5.9. I thought that if I 
posted more information it might help to pin down the problem.

I have just done a complete clean reinstall of Cygwin (i.e. deleted the 
directory and registry settings first) using the net installer and 
therefore using the 'official' releases of all packages. The 
cygcheck.out fiile is attached if you need to know more. I'm running 
under XP (you're always 'under' Windoze) with all the latest patches and 
updates. So, the buggy version then.

Consider the following sequence typed in under the DOS shell:

--
H:\Documents and Settings\Andybash --login -c XWin
 4 [main] ? 476 cygheap_fixup_in_child: Couldn't reserve space for 
cygwin's heap (0x616E 0x7E) in child, Win32 error 487
H:\cygwin\usr\X11R6\bin\XWin.exe (476): *** m.AllocationBase 0x0, 
m.BaseAddress 0x616E, m.RegionSize 0x1AA, m.State 0x1

H:\Documents and Settings\Andybash --login

$ XWin
--
The latter command worked fine.

I've tried running 'rebaseall' and it made no difference. Mind you, 
should it do anything on a completely fresh build?

The really odd thing is that I have another PC at home with the same 
version of XP, same update status and as far as I can tell, the same 
install of Cygwin and I have no problems.

Andy

Cygwin Win95/NT Configuration Diagnostics
Current System Time: Mon Mar 29 13:21:08 2004

Windows XP Professional Ver 5.1 Build 2600 Service Pack 1

Path:   .
i:\bin
H:\cygwin\usr\local\bin
H:\cygwin\bin
H:\cygwin\bin
H:\cygwin\usr\X11R6\bin
h:\PROGRA~1\Borland\CBUILD~1\Bin
h:\PROGRA~1\Borland\CBUILD~1\Projects\Bpl
h:\WINDOWS\system32
h:\WINDOWS
h:\WINDOWS\System32\Wbem
h:\Xilinx\bin\nt
H:\cygwin\bin
H:\cygwin\bin
H:\cygwin\usr\local\bin
H:\cygwin\usr\local\bin\i686-pc-cygwin
H:\cygwin\usr\X11R6\bin
h:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT
h:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin
h:\Program Files\Microsoft Visual Studio\Common\Tools
h:\Program Files\Microsoft Visual Studio\VC98\bin
i:\bin
h:\Program Files\multiDesk\shortcuts
h:\Program Files\Modeltech_5.5e\win32
h:\j2sdk1.4.1_01\bin
H:\cygwin\usr\local\bin\i686-pc-cygwin
i:\projects\utilities\bin
i:\projects\moods\bin
i:\projects\phoenix\bin
i:\projects\vdk_tools\bin
H:\cygwin\usr\X11R6\bin

Output from H:\cygwin\bin\id.exe (nontsec)
UID: 1003(Andy) GID: 513(None)
513(None)

Output from H:\cygwin\bin\id.exe (ntsec)
UID: 1003(Andy) GID: 513(None)
0(root)  513(None)
544(Administrators)

SysDir: H:\WINDOWS\System32
WinDir: H:\WINDOWS

CYGWIN = `tty ntsec'
HOME = `i:\'
MAKE_MODE = `unix'
PWD = `/cygdrive/i'
USER = `Andy'

ALLUSERSPROFILE = `H:\Documents and Settings\All Users'
APPDATA = `H:\Documents and Settings\Andy\Application Data'
BASHRC_RUN = `yes'
CLIENTNAME = `Console'
COMMONPROGRAMFILES = `H:\Program Files\Common Files'
COMPUTERNAME = `VOGUE'
COMSPEC = `H:\WINDOWS\system32\cmd.exe'
CVSROOT = `:pserver:[EMAIL PROTECTED]:/ajr1'
CVS_RSH = `/bin/ssh'
DISPLAY = `127.0.0.1:0.0'
HOMEDRIVE = `H:'
HOMEPATH = `\Documents and Settings\Andy'
HOSTNAME = `vogue'
INCLUDE = `H:\Program Files\Microsoft Visual Studio\VC98\atl\include;H:\Program 
Files\Microsoft Visual Studio\VC98\mfc\include;H:\Program Files\Microsoft Visual 
Studio\VC98\include'
INFOPATH = 
`/usr/local/info:/usr/info:/usr/share/info:/usr/autotool/devel/info:/usr/autotool/stable/info:'
JAVA = `H:\j2sdk1.4.1_01'
LIB = `H:\Program Files\Microsoft Visual Studio\VC98\mfc\lib;H:\Program 
Files\Microsoft Visual Studio\VC98\lib'
LM_LICENSE_FILE = [EMAIL PROTECTED];[EMAIL PROTECTED]'
LOGONSERVER = `\\VOGUE'
MANPATH = 
`/usr/local/man:/usr/man:/usr/share/man:/usr/autotool/devel/man::/usr/X11R6/man:/usr/ssl/man'
MODEL = `H:\Program Files\Modeltech_5.5e'
MOODS_LIB = `I:\projects\moods\Library'
MSDEVDIR = `H:\Program Files\Microsoft Visual Studio\Common\MSDev98'
MSVC = `H:\Program Files\Microsoft Visual Studio'
MULTIDESK = `H:\Program Files\multiDesk\shortcuts'
NUMBER_OF_PROCESSORS = `2'
OLDPWD = `/usr/bin'
OS = `Windows_NT'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PKG_CONFIG_PATH = `/usr/X11R6/lib/pkgconfig'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 11 Stepping 1, GenuineIntel'
PROCESSOR_LEVEL = `6'
PROCESSOR_REVISION = `0b01'
PROFILE_RUN = `yes'
PROGRAMFILES = `H:\Program Files'
PROMPT = `$P$G'
PS1 = `\[\033]0;[EMAIL PROTECTED] \[\033[33m\w\033[0m\]\n$ '
SESSIONNAME = `Console'
SHELL = `bash'
SHLVL = `1'
SYSTEMDRIVE = `H:'
SYSTEMROOT = `H:\WINDOWS'
TEMP = `h:\tmp'
TERM = `cygwin'
TEXMF = `{/usr/share/lilypond/2.0.1,/usr/share/texmf}'

Re: Fun with #! (aka shebang) and filenames ending in .exe

2004-03-29 Thread Robert R Schneck
Igor Pechtchanski [EMAIL PROTECTED] wrote:
 'Ware of this issue:

 QUOTE from http://cygwin.com/cygwin-ug-net/using-specialnames.html#AEN846
   If a shell script myprog and a program myprog.exe coexist in a
   directory, the program has precedence and is selected for execution of
   myprog.
 /QUOTE

The original poster was actually pointing out a different issue:
If the shell script itself is named myprog.exe, it is executed as
a Windows executable rather than as a shell script.  

It would be nice if the file could be checked for beginning with #!,
but perhaps the only real solution is Don't Do That, Then.

Robert


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



Re: [ANNOUNCEMENT] Updated: zsh-4.2.0-1

2004-03-29 Thread zzapper
On Mon, 29 Mar 2004 11:40:59 +0100,  wrote:

On Fri, 26 Mar 2004 10:09:28 -0500 (EST),  wrote:

An updated version of zsh (zsh-4.2.0-1) has been released and should be
at a mirror near you real soon.

Hi I saw zsh 4.2.0 download this morning when I ran my daily setup
however (having reset my PC as requested)

zsh --version
zsh 4.1.1 (i686-pc-cygwin)


whence zsh
/usr/bin/zsh

I had to rename zsh-4.2.0.exe to zsh.exe myself (is that
normal/correct?)


zzapper (vim, cygwin, wiki  zsh)
--

vim -c :%s/^/WhfgTNabgureRIvzSUnpxre/|:%s/[R-T]/ /Ig|:normal ggVGg?

http://www.vim.org/tips/tip.php?tip_id=305  Best of Vim 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/



Re: Postgres Backend doesn't catch the next command, after SIGUSR2

2004-03-29 Thread Corinna Vinschen
On Mar 29 04:14, Patrick Samson wrote:
 ! The explanation is spotted in net.cc !
 
 in wsock_event::wait()
 
   case WSA_WAIT_EVENT_0 + 1:
   if (!CancelIo ((HANDLE) socket))
 {
   debug_printf (CancelIo() %E, fallback to
 blocking io);
   WSAGetOverlappedResult (socket, ovr, len, TRUE,
 flags);
 }
   else
 WSASetLastError (WSAEINTR);
   break;
 
 Most of the time, when signal_arrived is raised,
 there is nothing but the EINTR code to set, and
 the backend loops in recv() to receive the next
 command.
 But the race conditions may be different, and
 the command is available at the same time the
 signal is detected.
 So the CancelIo() call discards the command.
 When the backend returns in recv(), the command
 is lost, and the sender waits for an answer
 - deadlock
 
 Why this CancelIo() ??
 It seems too intrusive.

When WSAWaitForMultipleEvents returns WSA_WAIT_EVENT_0 + 1, you can be
sure that the event hasn't happen at this point.  Otherwise it would
have returned WSA_WAIT_EVENT_0.  Unfortunately this doesn't mean that
the event couldn't happen a nanosecond later.

If the signal has arrived and the WSARecvFrom call should be interrupted,
you can't just go ahead, since the call to WSARecvFrom got a pointer
to application allocated memory.  You can't rely on the fact that the
application will keep this memory intact after recvfrom returned with
EINTR.  If you do, Windows might scramble application memory.  To avoid
that, the CancelIo cancels the active call.

Having said that, does the below change at least alleviates the problem?

The implementation would have to be changed a bit more to get this
entirely non-racy, though.

 Additional note:
 DWORD len;
 is present in case WSA_WAIT_EVENT_0
 but is missing in case WSA_WAIT_EVENT_0 + 1

Thanks for catching this.  I've applied a patch.

Corinna

Index: net.cc
===
RCS file: /cvs/src/src/winsup/cygwin/net.cc,v
retrieving revision 1.162
diff -u -p -r1.162 net.cc
--- net.cc  29 Mar 2004 14:08:44 -  1.162
+++ net.cc  29 Mar 2004 14:09:17 -
@@ -83,7 +83,9 @@ wsock_event::wait (int socket, LPDWORD f
  ret = (int) len;
break;
   case WSA_WAIT_EVENT_0 + 1:
-   if (!CancelIo ((HANDLE) socket))
+   if (WSAGetOverlappedResult (socket, ovr, len, FALSE, flags))
+ ret = (int) len;
+   else if (!CancelIo ((HANDLE) socket))
  {
debug_printf (CancelIo() %E, fallback to blocking io);
WSAGetOverlappedResult (socket, ovr, len, TRUE, flags);


-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Developermailto:[EMAIL PROTECTED]
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/



seeking for advice

2004-03-29 Thread Suetlam Chung
Hi 

I am a newbie to the C++ programming. I need to
use C++ genetic algorithm library for my dissertation
work. However, I tried very hard to solve the linking
error and setting with my VC++6.0. 

Now I am thinking to use cygwin platfrom.Do you think
it would be wise to switch to this platform?

Pls help

Felix


__
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.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/



Problems with OpenSSH in win32.

2004-03-29 Thread Alejandro Sánchez Acosta
Hello,

I have installed cygwin with OpenSSH support with the following steps:

ssh-host-config -y
ssh-user-config 

cygrunsrv -S sshd

passwd

And then I have connected with a ssh client (with Linux) and tried to run a
graphical application but it doesn't show anything in the remote machine
(windows with opensshd server under cygwin)

Any clue?

Thanks in advance,
Alejandro.

--
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: libdinput.a

2004-03-29 Thread Larry Hall
At 01:51 AM 3/29/2004, you wrote:
--- Larry Hall [EMAIL PROTECTED] wrote:
 At 02:18 AM 3/27/2004, you wrote:
 On Mon, Mar 08, 2004 at 11:07:08AM -0500, Larry Hall wrote:
  How do I link against .lib files? http://cygwin.com/faq/faq_toc.html
  
  Yeah, I'd say this entry is a bit out-of-date, though the information
 isn't
  wrong.  You should be able to use the '.lib' files directly.  Just list
 them
  like you would object files.  Feel free to make whatever additions are 
  necessary to the DirectX stuff to support your work.  Please consider 
  submitting patches for whatever you do.
  
 I'd love to correct the entry, which appears to be
 
 http://cygwin.com/faq/faq_4.html#SEC103
 
 but I don't really know what's out-of-date. 
 
 
 What's there is fine but a bit complicated for the (hopefully) typical 
 case.  Presuming that 'foo.lib' is a static or import library with C-callable
 entry points, you can list 'foo.lib' as an object file for gcc/g++, just 
 like any other '*.o'.

Right. That is now reflected in the FAQ.


Great, thanks!



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


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



Re: Problems with OpenSSH in win32.

2004-03-29 Thread Larry Hall
At 11:30 AM 3/29/2004, you wrote:
Hello,

I have installed cygwin with OpenSSH support with the following steps:

ssh-host-config -y
ssh-user-config 

cygrunsrv -S sshd

passwd

And then I have connected with a ssh client (with Linux) and tried to run a
graphical application but it doesn't show anything in the remote machine
(windows with opensshd server under cygwin)

Any clue?



Yep.  Check the email archives:

http://www.cygwin.com/ml/cygwin/2002-12/msg01192.html

is one such clue.


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


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



Re: [ANNOUNCEMENT] Updated: zsh-4.2.0-1 (Attn: zsh maintainer)

2004-03-29 Thread Igor Pechtchanski
On Mon, 29 Mar 2004, zzapper wrote:

 On Mon, 29 Mar 2004 11:40:59 +0100,  wrote:

 On Fri, 26 Mar 2004 10:09:28 -0500 (EST),  wrote:
 
 An updated version of zsh (zsh-4.2.0-1) has been released and should be
 at a mirror near you real soon.
 
 Hi I saw zsh 4.2.0 download this morning when I ran my daily setup
 however (having reset my PC as requested)
 
 zsh --version
 zsh 4.1.1 (i686-pc-cygwin)
 
 whence zsh
 /usr/bin/zsh
 
 I had to rename zsh-4.2.0.exe to zsh.exe myself (is that
 normal/correct?)

 zzapper (vim, cygwin, wiki  zsh)

Sounds like a packaging bug.  The archive contains /usr/bin/zsh.exe as a
symbolic link to /usr/bin/zsh-4.2.0.exe.  This will cause zsh to not
work from batch files and shortcuts (!).

What's weird is the fact that running zsh showed version 4.1.1.  Even
with the symlink this should not have happened.  I assume running
zsh-4.2.0 would show version 4.2.0, right?  It would be interesting to
see if you have other copies of zsh in your PATH, which you can find out
by running /bin/which -a zsh.
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!

I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster.  -- Patrick Naughton

--
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: Make problem since 1.5.7

2004-03-29 Thread Larry Hall
At 03:39 AM 3/29/2004, Ingmar Sittl wrote:
Larry Hall wrote:
 At 12:38 PM 3/26/2004, Ingmar Sittl wrote:
 
Hello,

With all cygwin-versions starting with 1.5.7 (including the snapshot
20040322) I experience major problems with make, leading to a major (
20x) increase in the time make needs for a specific single target in our
project make system (which is quite complex, includes 100 sub-makefiles
and is not written in-house).

According to the task-manager the system happily divides all cpu-time
between two make-tasks and csrss.exe.

I tried looking at make -d and strace output, but cannot make very
much sense of the output.

One thing that does stick out in the bad case is an exceptionally
large number of Got a SIGCHLD; 2 unreaped children Got a SIGCHLD; 1
unreaped children messages in the make -d output after the point
where make checks that it has to remake a specific file and before the
actual rebuilding (in this case, an ar call).

The make -d output for the good case also contains some of those
messages, but far fewer.

I can provide the strace and make -d output for both cases, if that
would help, but these files are VERY large.

Thanks for any help or hints what to check,
Ingmar Sittl

-- 
---
Ingmar Sittl, Dipl.-Inf., mobile applications
3SOFT GmbH, Frauenweiherstrasse 14, 91058 Erlangen, Germany
Tel: +49-9131-7701-276 mailto:[EMAIL PROTECTED]
Fax: +49-9131-7701-333 http://www.3SOFT.de

Cygwin Win95/NT Configuration Diagnostics
Current System Time: Fri Mar 26 12:10:59 2004

Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 3

Path:   C:\cygwin\bin
   C:\cygwin\bin
   C:\cygwin\usr\local\bin
   C:\cygwin\usr\X11R6\bin
   c:\j2sdk1.4.2\bin\
   c:\emacs-21.2\bin\
   c:\jikes-1.15\bin
   c:\Program Files\XEmacs\XEmacs-21.4.13\i586-pc-win32\
   c:\tmp\tornado2_1\host\i686-pc-cygwin\bin\
   c:\TornadoSH\host\x86-win32\bin
 
 
^^
 
 Please pull these last 2 directories out of your path and try again.  This
 eliminates the possibility of a tool conflict/interaction.
 
 
 --
 Larry Hall  http://www.rfk.com
 RFK Partners, Inc.  (508) 893-9779 - RFK Office
 838 Washington Street   (508) 893-9889 - FAX
 Holliston, MA 01746 
 
 
Hi,

Changed PATH to /usr/local/bin:/usr/bin/:/bin, but still no change.


Well, something is still getting you to the wrong place.  See below.



snip


Got a SIGCHLD; 1 unreaped children.
Reaping winning child 0x108b3a20 PID 1288
Removing child 0x108b3a20 PID 1288 from chain.
  Successfully remade target file `some_path/GUI_Module.lib_ar'.
 Finished prerequisites of target file `some_path/GUI_Module.lib'.
Must remake target `some_path/GUI_Module.lib'.
/cygdrive/c/tmp/tornado2_1/host/i686-pc-cygwin/bin/arsh -M 

^^

Yikes!  You're still mixing tool-sets.  That ain't gonna work!


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


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



Re: Make problem since 1.5.7

2004-03-29 Thread Ingmar Sittl
Larry Hall wrote:
 At 03:39 AM 3/29/2004, Ingmar Sittl wrote:
 
Larry Hall wrote:

At 12:38 PM 3/26/2004, Ingmar Sittl wrote:


Hello,

With all cygwin-versions starting with 1.5.7 (including the snapshot
20040322) I experience major problems with make, leading to a major (
20x) increase in the time make needs for a specific single target in our
project make system (which is quite complex, includes 100 sub-makefiles
and is not written in-house).

According to the task-manager the system happily divides all cpu-time
between two make-tasks and csrss.exe.

I tried looking at make -d and strace output, but cannot make very
much sense of the output.

One thing that does stick out in the bad case is an exceptionally
large number of Got a SIGCHLD; 2 unreaped children Got a SIGCHLD; 1
unreaped children messages in the make -d output after the point
where make checks that it has to remake a specific file and before the
actual rebuilding (in this case, an ar call).

The make -d output for the good case also contains some of those
messages, but far fewer.

I can provide the strace and make -d output for both cases, if that
would help, but these files are VERY large.

Thanks for any help or hints what to check,
Ingmar Sittl

-- 
---
Ingmar Sittl, Dipl.-Inf., mobile applications
3SOFT GmbH, Frauenweiherstrasse 14, 91058 Erlangen, Germany
Tel: +49-9131-7701-276 mailto:[EMAIL PROTECTED]
Fax: +49-9131-7701-333 http://www.3SOFT.de

Cygwin Win95/NT Configuration Diagnostics
Current System Time: Fri Mar 26 12:10:59 2004

Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 3

Path:   C:\cygwin\bin
  C:\cygwin\bin
  C:\cygwin\usr\local\bin
  C:\cygwin\usr\X11R6\bin
  c:\j2sdk1.4.2\bin\
  c:\emacs-21.2\bin\
  c:\jikes-1.15\bin
  c:\Program Files\XEmacs\XEmacs-21.4.13\i586-pc-win32\
  c:\tmp\tornado2_1\host\i686-pc-cygwin\bin\
  c:\TornadoSH\host\x86-win32\bin


   ^^

Please pull these last 2 directories out of your path and try again.  This
eliminates the possibility of a tool conflict/interaction.


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



Hi,

Changed PATH to /usr/local/bin:/usr/bin/:/bin, but still no change.
 
 
 
 Well, something is still getting you to the wrong place.  See below.
 
 
 
 snip
 
 
Got a SIGCHLD; 1 unreaped children.
Reaping winning child 0x108b3a20 PID 1288
Removing child 0x108b3a20 PID 1288 from chain.
 Successfully remade target file `some_path/GUI_Module.lib_ar'.
Finished prerequisites of target file `some_path/GUI_Module.lib'.
Must remake target `some_path/GUI_Module.lib'.
/cygdrive/c/tmp/tornado2_1/host/i686-pc-cygwin/bin/arsh -M 
 
 
 ^^
 
 Yikes!  You're still mixing tool-sets.  That ain't gonna work!
 
 
 --
 Larry Hall  http://www.rfk.com
 RFK Partners, Inc.  (508) 893-9779 - RFK Office
 838 Washington Street   (508) 893-9889 - FAX
 Holliston, MA 01746 
 
 

The referenced arsh binary was compiled locally for the currently
installed cygwin (cygwin version at compile time was 1.5.6) from the
windriver-provided sources to work around some problems with the
original tornado-binaries.

The path to AR is set inside the Makefile like this
AR=/path/to/arsh

Calling this specific arsh from the bash does work, whatever the cygwin
version, so I see no problem with calling it from within make, or am I
completely wrong here ??

Ingmar

-- 
---
Ingmar Sittl, Dipl.-Inf., mobile applications
3SOFT GmbH, Frauenweiherstrasse 14, 91058 Erlangen, Germany
Tel: +49-9131-7701-276 mailto: Ingmar dot Sittl at 3SOFT.de
Fax: +49-9131-7701-333 http://www.3SOFT.de

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



Re: Problems with OpenSSH in win32.

2004-03-29 Thread Alejandro Lopez-Valencia
On Mon, 29 Mar 2004 18:30:21 +0200, Alejandro Sánchez Acosta wrote in
[EMAIL PROTECTED]:

Hello,

I have installed cygwin with OpenSSH support with the following steps:

ssh-host-config -y
ssh-user-config 

cygrunsrv -S sshd

passwd

And then I have connected with a ssh client (with Linux) and tried to run a
graphical application but it doesn't show anything in the remote machine
(windows with opensshd server under cygwin)

Any clue?

Hola tocayo,

It is not particularly clear what you did from your description, but
if I understood correctly, you are trying to have graphical access to
a Windows box from a Linux box using SSH, am I correct?

This is not possible with the tools you are using. That is, it is
*entirely possible* to have graphical access to a Linux box from
Windows by using Cygwin's OpenSSH port *and* Cygwin/X. To do it in the
other direction you need a different set of tools, namely VNC or
similar. If so, it is off-topic for the list, but you can always
search for TightVNC in SourceForge :-).

-- 
Alejandro López-Valencia
http://dradul.tripod.com/
[...] every educated man is a theologian, and he doesn't need faith to
be one. (J.L. Borges)


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



Re: [ANNOUNCEMENT] Updated: zsh-4.2.0-1 (Attn: zsh maintainer)

2004-03-29 Thread zzapper
On Mon, 29 Mar 2004 10:07:00 -0500 (EST),  wrote:



What's weird is the fact that running zsh showed version 4.1.1.  Even
with the symlink this should not have happened.  I assume running
zsh-4.2.0 would show version 4.2.0, right?  It would be interesting to
see if you have other copies of zsh in your PATH, which you can find out
by running /bin/which -a zsh.
   Igor


/bin/which -a zsh
/usr/bin/zsh
/bin/zsh
/usr/bin/zsh
DIR: /c/intranet/web/cgi-local/perl
/usr/bin/zsh --version
zsh 4.2.0 (i686-pc-cygwin)
DIR: /c/intranet/web/cgi-local/perl
/usr/bin/zsh --version
zsh 4.2.0 (i686-pc-cygwin)
DIR: /c/intranet/web/cgi-local/perl


zzapper (vim, cygwin, wiki  zsh)
--

vim -c :%s/^/WhfgTNabgureRIvzSUnpxre/|:%s/[R-T]/ /Ig|:normal ggVGg?

http://www.vim.org/tips/tip.php?tip_id=305  Best of Vim 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/



Re: Make problem since 1.5.7

2004-03-29 Thread Larry Hall (RFK Partners, Inc)
At 10:19 AM 3/29/2004, you wrote:
Larry Hall wrote:


snip


 
Got a SIGCHLD; 1 unreaped children.
Reaping winning child 0x108b3a20 PID 1288
Removing child 0x108b3a20 PID 1288 from chain.
 Successfully remade target file `some_path/GUI_Module.lib_ar'.
Finished prerequisites of target file `some_path/GUI_Module.lib'.
Must remake target `some_path/GUI_Module.lib'.
/cygdrive/c/tmp/tornado2_1/host/i686-pc-cygwin/bin/arsh -M 
 
 
 ^^
 
 Yikes!  You're still mixing tool-sets.  That ain't gonna work!
 
 
 --
 Larry Hall  http://www.rfk.com
 RFK Partners, Inc.  (508) 893-9779 - RFK Office
 838 Washington Street   (508) 893-9889 - FAX
 Holliston, MA 01746 
 
 

The referenced arsh binary was compiled locally for the currently
installed cygwin (cygwin version at compile time was 1.5.6) from the
windriver-provided sources to work around some problems with the
original tornado-binaries.

The path to AR is set inside the Makefile like this
AR=/path/to/arsh

Calling this specific arsh from the bash does work, whatever the cygwin
version, so I see no problem with calling it from within make, or am I
completely wrong here ??


That sounds OK.  Assuming that this is the only binary pulled in from the
tornado distribution, it's not obvious that this would cause a problem.
I'm out of ideas at the moment, beyond the obvious debugging.


--
Larry 


--
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 err: getUrlToStream failed

2004-03-29 Thread alanmjones
FYI, I have 2 PCs connected to the cable modem thru a router.  This morning I tried 
the other PC, running Win98, and the installation process had no problems.

Alan Jones

--
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 err: getUrlToStream failed

2004-03-29 Thread Dave Korn
 

 -Original Message-
 From: cygwin-owner On Behalf Of alanmjones
 Sent: 29 March 2004 16:38

 
 FYI, I have 2 PCs connected to the cable modem thru a router. 
  This morning I tried the other PC, running Win98, and the 
 installation process had no problems.
 
 Alan Jones


  Have you got personal firewall software running on the machine that's
experiencing the problems?  Did it pop up a little requester when you last
ran setup asking you if setup should be allowed to connect to the internet?
Did you accidentally click No rather than Yes and inadvertently block it?
Check the firewall settings, just to be sure.



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


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



Re: Aspell - Ispell

2004-03-29 Thread Steven E. Harris
Andy Rushton [EMAIL PROTECTED] writes:

 Or is it possible to use aspell within emacs?

On XEmacs at least, this is all it takes:

(eval-after-load ispell
  '(progn
 (setq ispell-program-name aspell)))


I load those forms from my init file and aspell works just as ispell
did before. All the (X)Emacs spelling-related commands remain the
same.

-- 
Steven E. Harris:: [EMAIL PROTECTED]
Raytheon:: http://www.raytheon.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: Problems with OpenSSH in win32.

2004-03-29 Thread Alejandro Sánchez Acosta
Hola,

 It is not particularly clear what you did from your description, but
 if I understood correctly, you are trying to have graphical access to
 a Windows box from a Linux box using SSH, am I correct?
 
 This is not possible with the tools you are using. That is, it is
 *entirely possible* to have graphical access to a Linux box from
 Windows by using Cygwin's OpenSSH port *and* Cygwin/X. To do it in the
 other direction you need a different set of tools, namely VNC or
 similar. If so, it is off-topic for the list, but you can always
 search for TightVNC in SourceForge :-).

It's posible under cygwin, see the Larry post. You can run graphical
applications in Windows over ssh configuring the services in windows (you have
to activate: allowing service to interact with desktop). 

Regards,
Alejandro.


--
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: How can I list all the software that have been insatlled to cygwin?

2004-03-29 Thread Robert Collins
On Sat, 2004-03-27 at 01:12, Igor Pechtchanski wrote:
 Since we're throwing wild ideas into the air, how about this one: once
 libsetup is available (the extract of setup's essential functionality
 minus the GUI), one could come up with a register-program-with-setup
 command-line utility that could be called from the make install rule.
 Of course, this would require the modification of the original sources,
 and is completely alien to the way Linux does things, but it could be
 borderline useful for some select applications (e.g., Cygwin projects
 distributed separately, like KDE or CyGnome).
 
 I suspect setup's functionality might need to be modified to also invoke a
 specified uninstall program, although preremove scripts *could*
 concievably be used for this (but *very* carefully, since they're run at a
 brittle point in the uninstall process).  Alternatively, the preremove
 functionality could be revamped to run preremove scripts in reverse
 dependency order before actually removing any files (this one's just for
 the archives).
   Igor

This is pointless. Look into stow and similar if folk want a
local-packages-made-without-doing-the-cygwin-setup-changes.

Rob
-- 
GPG key available at: http://www.robertcollins.net/keys.txt.


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


Re: Problems with OpenSSH in win32.

2004-03-29 Thread Alejandro Lopez-Valencia
On Mon, 29 Mar 2004 20:49:37 +0200, Alejandro Sánchez Acosta wrote in
[EMAIL PROTECTED]:


It's posible under cygwin, see the Larry post. You can run graphical
applications in Windows over ssh configuring the services in windows (you have
to activate: allowing service to interact with desktop). 

I'll have to try it out some time. But I still think that VNC is a
better solution; you get access to all the desktop services in the
remote machine.

Cheers

Alejo
-- 
Alejandro López-Valencia
http://dradul.tripod.com/
[...] every educated man is a theologian, and he doesn't need faith to be one. (J.L. 
Borges)


--
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: Documentation thanks, plea

2004-03-29 Thread Joshua Daniel Franklin
On Mon, Mar 29, 2004 at 01:11:13PM +0200, Corinna Vinschen wrote:
 On Mar 29 01:14, Joshua Daniel Franklin wrote:
  Also, a change in the DocBook DTD added a funcprototype tag
  to funcsynopsis. I made the change to the DocBook embedded in
  the files in the cygwin/ directory in CVS, but they were overwritten 
  by some real changes. So, could someone doing actual work on the
  files make that small change?
 
 What's your actual problem?  You have access to the repository
 so I don't quite understand why you don't do this by yourself?
 I'm not familar with DTD so I'm reluctant to change such stuff.

It actually looks like I don't have any problem. I thought my
changes had been rolled back for some reason, but I must have
been dealing with an un-updated cvs tree. I made the changes
a few months ago:

2004-01-12  Joshua Daniel Franklin [EMAIL PROTECTED]

* dll_init.sgml: Update funcsynopsis for DocBook 4.2 SGML DTD.
* dtable.sgml: Update funcsynopsis for DocBook 4.2 SGML DTD.
* external.sgml: Update funcsynopsis for DocBook 4.2 SGML DTD.
* path.sgml: Update funcsynopsis for DocBook 4.2 SGML DTD.
* pinfo.cc: Update funcsynopsis for DocBook 4.2 SGML DTD.
* shared.sgml: Update funcsynopsis for DocBook 4.2 SGML DTD.
* stackdump.sgml: Update funcsynopsis for DocBook 4.2 SGML DTD.

--
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: about the installation of cygwin.

2004-03-29 Thread Brian Ford
On Sat, 27 Mar 2004, angeline wrote:

 I've tried about 6 times to install cygwin to my
 comptuer but none of them been install successfully,
 when the installation up to 99%, it comes up a warning
 message say, i need to reboot as soon as possible to
 get the operator work again (something like this i
 couldn't remember the exactly warning message). about
 twice, i've finished the installation, but the warning
 message the cygwin.dll is been damaged.. keep coming
 up. so i still cant get cygwin working.

 Is this because the step i did is wrong?

My WAG:

http://www.cygwin.com/faq/faq_4.html#SEC51

You have a third party app that installed the Cygwin DLL.  It is
probably in your Windows system directory.

HTH

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax:   314-551-8444

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



Re: [ANNOUNCEMENT] Updated: zsh-4.2.0-1 (Attn: zsh maintainer)

2004-03-29 Thread Alejandro Lopez-Valencia
On Mon, 29 Mar 2004 10:07:00 -0500 (EST), Igor Pechtchanski wrote in
[EMAIL PROTECTED]:


Sounds like a packaging bug.

And right you are:

$ cat /etc/postinstall/zsh.sh.done
#!/bin/sh
V=4.1.1
^^^
Should be 4.2.0

prefix=/usr
infodir=${prefix}/share/info

[snip]

# Install default zprofile if needed
if [ ! -f /etc/zprofile ]; then
  echo Installing default /etc/zprofile
  install -c -m 755 /usr/doc/zsh-$V/StartupFiles/zprofile
^^ 
Should be /usr/share/doc
 [snip]
-- 
Alejandro López-Valencia
http://dradul.tripod.com/
[...] every educated man is a theologian, and he doesn't need faith 
to be one. (J.L. Borges)


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



Re: Problems with OpenSSH in win32.

2004-03-29 Thread Brian Chase
When I go from a Linux console to get a Windows screen, VNC is much 
easier to set up, but haven't managed to get it to work over SSH, which 
may be a hard requirement as if going over a WAN.

The other direction, I prefer Cygwin/X and enabling XCMDP on the Linux 
box for local access.  But I'll be trying all options suggested in this 
thread, thanks for all the contributions.

BC

Alejandro Lopez-Valencia wrote:

On Mon, 29 Mar 2004 20:49:37 +0200, Alejandro Sánchez Acosta wrote in
[EMAIL PROTECTED]:


It's posible under cygwin, see the Larry post. You can run graphical
applications in Windows over ssh configuring the services in windows (you have
to activate: allowing service to interact with desktop). 


I'll have to try it out some time. But I still think that VNC is a
better solution; you get access to all the desktop services in the
remote machine.
Cheers

Alejo


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


cygwin1.dll was not found

2004-03-29 Thread David
Hi all,

When I double-clike CWin.exe, it fails with
the error message cygwin1.dll was not found.

How can I solve this problem?

Thank you in advance,

David

--
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: rsh no longer works with rsync as of 1.5.9

2004-03-29 Thread Bruce Dobrin
On Fri, 26 Mar 2004, Igor Pechtchanski wrote:

Re: rsh no longer works with rsync as of 1.5.9
From: Igor Pechtchanski pechtcha at cs dot nyu dot edu
To: Bruce Dobrin dobrin at imageworks dot com
Cc: cygwin at cygwin dot com
Date: Fri, 26 Mar 2004 23:33:05 -0500 (EST)
Subject: Re: rsh no longer works with rsync as of 1.5.9
References: [EMAIL PROTECTED]
Reply-to: cygwin at cygwin dot com

On Fri, 26 Mar 2004, Bruce Dobrin wrote:

 Hi,

 I have been using rsync via rsh (-e rsh)   for our general
distributions
 for a for all of our windows and Linux machines ( 2000 of them) .   on
 Upgrading from cygwin1.5.5 to 1.5.9,  Rsync could no longer use rsh to
 rsync.

 I get : rsh : unknown option -- server
 I down graded the rsync2.6.0 from the cyg1.5.9 install  to the 2.5.6
version
 from the cyg1.5.5 version and got the same problem.  I restored the rsync
to
 2.6.0 and copied the rsh.exe from the inetutils-1.3.2-25 from the
cyg1.5.5
 install and rsync started working again.

 Is there a known bug or known workaround for using the most recent
version
 of rsh ( from 1.3.2-26)?
 thanks.
 Bruce Dobrin

 example: rsync -rluzv -e rsh --timeout=100 --size-only
 matilda:/c/dist_and_install_files/dist/sysadm_general/ /c/

 rsh : unknown option -- server
?
WAG: check text/binary settings on the connection (e.g., does $CYGWIN
contain nobinmode?).  Also check with ssh.
Igor
-- 

Igor,
Thank you for answering.
Using ssh works fine ( well, it works as well as rsync has ever worked
anyway ;-)  ). My $CYGWIN is a fairly standard : binmode tty ntsec

ssh is not really an option for us though;our facility is locked down hard
so internally we don't use ssh at all but depend on rsh..  I'd like to keep
our rsh current though,  but to keep it working I have had to replace the
newer rsh with the older one...  eventually I'm afraid this will bite me in
the butt.   should I talk to the rsync people?  it looks like rsync is
passing a switch --server that is being picked up incorrectly by the newer
rsh and not the older one...   ( if I type:  BASH  rsh --server
I get the same response:  rsh: unknown option -- server ),

Thanks for your continuing help
Bruce---

Bruce Dobrin
[EMAIL PROTECTED]



--
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: cygwin1.dll was not found

2004-03-29 Thread Larry Hall
At 02:16 PM 3/29/2004, you wrote:
Hi all,

When I double-clike CWin.exe, it fails with
the error message cygwin1.dll was not found.

How can I solve this problem?


I'd recommend consulting with those who provided you with CWin.exe.



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


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



Re: 1.5.10 release?

2004-03-29 Thread Peter A. Castro
On Sun, 28 Mar 2004, Charles Wilson wrote:

 Brian Dessent wrote:
  Gareth Pearce wrote:
 
 How dare you imply that cygwin has bugs?
 
 I'm sending this email from cygwin right now and I
 
 ... experienced a bug called 'user error'.
 
 Why does cygwin have such bugs!
 
  Meh.  My B19 version doesn't have any bugs.  Why, the other day it
  solved fermat's last theorem on its own.

 Oh yes it did.  But B20.1, now, that was PERFECT.  Man, those were the
 days.  'Course, you had to supply your own '1's because cygwin only came
 with '0's, but that was a minor issue.  We carried around extra bags of
 '1's just in case we needed to install cygwin on a coworker's computer,
 but we were damn grateful to do it.  GRATEFUL, I tell you.  You young
 whippersnappers, got no 'preciation for...   for...

You had '0's?  Boy you sure were advanced!  We had to make our own '0's
(and they weren't cheap, neither)!  Never mind about the '1's.  Heck, we
didn't have the luxury of '1's!  We had to make due with '0's most of the
time!  Course, math was easier then: 0 + 0 = ... ummm, no, wait, don't
tell me... ummm... Oh ya! '0.000E+00'.  Yes sir, those were the good
ol' days!  Not like today, where people can turn shells into editors :)

 Where's my meds?  Who are you people?  How'd you get in my house?

Better yet, what are *you* doing in *my* house and why are you taking my
meds?!

-- 
Peter A. Castro [EMAIL PROTECTED] or [EMAIL PROTECTED]
Cats are just autistic Dogs -- Dr. Tony Attwood

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



Re: Problems with OpenSSH in win32.

2004-03-29 Thread Alejandro Lopez-Valencia
On Mon, 29 Mar 2004 14:15:57 -0500, Brian Chase wrote in
[EMAIL PROTECTED]:

When I go from a Linux console to get a Windows screen, VNC is much 
easier to set up, but haven't managed to get it to work over SSH, which 
may be a hard requirement as if going over a WAN.

The other direction, I prefer Cygwin/X and enabling XCMDP on the Linux 
box for local access.  But I'll be trying all options suggested in this 
thread, thanks for all the contributions.

VNC does have serious bandwidth limitations. I'd say that they are
worse than, say, what made X11 4.x almost unusable on any pipe tighter
than a T1 hard line (even a fast Token Ring would choke on it, that in
the times when 10MB Ethernet was the domain of the NCSA... :-). And
that's the reason why I suggested TightVNC, performance is acceptable
with a 56K modem link, and it defaults to using SSH tunneling, so for
practical purposes you obtain a cheap VPN.

And now back to your original broadcast.

-- 
Alejandro López-Valencia
http://dradul.tripod.com/
[...] every educated man is a theologian, and he doesn't need faith 
to be one. (J.L. Borges)


--
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: seeking for advice

2004-03-29 Thread Shankar Unni
Suetlam Chung wrote:

Now I am thinking to use cygwin platfrom.Do you think
it would be wise to switch to this platform?
Yes,

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


problems compiling/linking c++ sources

2004-03-29 Thread Hans Horn
Group,

I'm trying to compile/link some c++ source.

This is what I get:
/usr/include/c++/3.3.1/iostream:92: undefined reference to
`__static_initialization_and_destruction_0(int, int)'
collect2: ld returned 1 exit status

The last time I compiled/linked the same sources successfully was around May
2003 (under the cygwin vintage current for that era - whatever it may have
been).

Output of cygcheck -svr  cygchek.out 21 is attached.

thx a bunch,
H.


begin 666 cygchek.out
M#0I#6=W:[EMAIL PROTECTED]@0V]N9FEG=7)A=EO;B!$:6%G;F]S=ECPT*
M0W5RF5N=!3[EMAIL PROTECTED][EMAIL PROTECTED]($UAB R.2 Q,SHR-CHT-B R,# T
M#0H-E=I;F1O=W,@6% @4')O9F5SVEO;F%L(%9EB [EMAIL PROTECTED];0@,C8P
M,!397)V:6-E(%!A8VL@,[EMAIL PROTECTED] T*6,Z7%!R;VIE8W1S7$9L
M87-H1FQO;V18FEN#0H)8SI4')O:F5C='-1FQAVA;]O9%QB:6Y8F%B
[EMAIL PROTECTED]6,Z7%!R;VIE8W1S7$9L87-H1FQO;V12F%V85QB:6X-@EC.EQ0
MF]J96-TUQ;%S:$9L;V]D7$IA=F%4V-R:7!TPT*6,Z7%!R;VIE8W1S
M7$9L87-H1FQO;V12F%V85QB:6X-@EC.EQ0F]J96-TUQ;%S:$9L;V]D
M7$,K*UQB=6EL9%]C6=W:6Y8FEN#0H)8SI4')O:F5C='-1FQAVA;]O
M9%Q38W)I'1S#0H)8SI4')O:F5C='-1FQAVA;]O9%Q#*RM;6%K969I
M;5S#0H)0SI8WEG=VEN7'5SEQ8,3%2-EQB:6X-@E#.EQC6=W:6Y=7-R
M7QO8V%L7)I;@T*4,Z7-Y9W=I;EQB:6X-@E#.EQC6=W:6Y8FEN#0H)
M8SI4%)/1U)!32!24Q%4UQ42$E.2U!!1%Q55$E,251)15,-@EC.EQ);F9O
M')I;G1#0H)8SI5TE.1$]74UQS7-T96TS,@T*6,Z7%=)3D1/5U,-@EC
M.EQ724Y$3U=37%-YW1E;3,R7%=B96T-@EC.EQ0F]GF%M($9I;5S7$E
M35Q097)S;VYA;!#;VUM=6YI8V%T:6]NUP-@EC.EQ0F]GF%M($9I;5S
M7$E35Q4F%C92!86-I;ET5P-@EC.EQ.;W1EPT*6,Z7%!23T=207XQ
M7$E35Q344Q,24)0DE.#0H)8SI4%)/1U)!?C%24)-7%-13$Q)0EQ54Y#
M5$E/[EMAIL PROTECTED]6,Z7%!23T=207XQ7$E35Q344Q,24)4T%-4$Q%4UQ215!,#0H)
M8SI4')O9W)A;2!:6QEUQ(=6UM:6YG8FER9%Q#;VYN96-T:79I='E.XP
M,%Q!8V-EW-OFEEUP-@EC.EQ0F]GF%M($9I;5S7$%422!496-H;F]L
M;V=I97-051)($-O;G1R;[EMAIL PROTECTED]%N96P-@EC.EQPF]GF%^,5QM871L86)
M8FEN7'=I;C,R#0H)8SI4')O9W)A;2!:6QEUQ5;'1R845D:70-@E#.EQC
M6=W:6Y8FEN#0H)8SI4')O9W)A;2!:6QEUQC=G-N= T*6,Z7$EN9F]P
MFEN= T*2X-@EC.EQ0F]J96-TUQ4;V]LPT*6,Z7%!R;VIE8W1S7%1O
M;VQS7%=)[EMAIL PROTECTED]6,Z7%!R;VIE8W1S7%1O;VQS7-O;6UA#0H)[EMAIL PROTECTED]6,Z7%!R
M;V=R87XQ7$E35QS6QL:6)8FEN#0H)0SI8WEG=VEN7-O;6UA#0H)8SI
M4')O:F5C='-2F%V85Q38W)I'1S#0H-D]U='!U=!FF]M($,Z7-Y9W=I
M;EQB:6Y:60N97AE(AN;VYTV5C*0T*54E$.B U,# H:%NVAOFXI($=)
[EMAIL PROTECTED](%5S97)S*0T*-30W*%!O=V5R(%5S97)S*0T*#0I/=71P
[EMAIL PROTECTED])O;2!#.EQC6=W:6Y8FEN7ED+F5X92 H;G1S96,I#0I5240Z(#4P
M,AH86YS:]R;[EMAIL PROTECTED] U-#H4]W97(@57-EG,I#0HP*')O;W0I( @
M( @( @( @( U-#0H061M:6YIW1R871OG,I( -C4T-2A5V5RRD-
M@T*4WES1ER.B!#.EQ724Y$3U=37%-YW1E;3,R#0I7:6Y$:7(Z($,Z7%=)
M3D1/5U,-@T*2$]-12 ](!#.EQC6=W:6Y:]M95QH86YS:]R;B-E!7
M1 ]( O:]M92]H86YS:]R;B-E5315(@/2!@:%NVAOFXG#0H-D%,
M3%5315)34%)/1DE,12 ](!#.EQ$;V-U;65N=',@86YD(%-E='1I;F=S7$%L
M;!5V5RR-D%-- ](!A;30N97AE)PT*05!01$%402 ](!#.EQ$;V-U
M;65N=',@86YD(%-E='1I;F=S7$%D;6EN:7-TF%T;W)07!P;EC871I;VX@
M1%T82-D%20T@@/[EMAIL PROTECTED])PT*0D%14Q?1$E2([EMAIL PROTECTED],Z7%!R;VIE
M8W1S7$9L87-H1FQO;V18FEN7)A8F5L,38G#0I05-(7TA%4D4@/2!@,B-
MD)524Q$([EMAIL PROTECTED])U:6QD7V-Y9W=I;B-D-,05-34$%42 ]( N+SM#.B]0
MF]J96-TR];%S:$9L;V]D+TIA=F$[0SHO4')O:F5C=',O1FQAVA;]O
M9]*879A+V93$%32]C;%SV5S.T,Z+U!R;VIE8W1S+T9L87-H1FQO;V0O
M2F%V82]L:6(O1D9#;%SV5S+FIACM#.B]0F]J96-TR];%S:$9L;V]D
M+TIA=F$O;EB+VUYG0N:F%R.T,Z+U!R;VIE8W1S+T9L87-H1FQO;V0O2F%V
M82]L:6(O,W)D4%R='DN:F%R.T,Z+U!R;VIE8W1S+T9L87-H1FQO;V0O2F%V
M82]L:6(O1(R:F%V82YZ:7 [0SHO4')O:F5C=',O2F%V82]JF4O;EB+V5X
M=]J=6YI=YJ87([0SHO4')O:F5C=',O2F%V82]JF4O;EB+V5X=]/=F5R
M;%YRYJ87([0SHO4')O:F5C=',O2F%V82]JF4O;EB+V5X=]J,V1A=61I
M;RYJ87([0SHO4')O:F5C=',O2F%V82]JF4O;EB+V5X=]J,V1C;W)E+FIA
MCM#.B]0F]J96-TR]*879A+VIR92]L:6(O97AT+VHS9'5T:6QS+FIACM#
M.B]0F]J96-TR]*879A+VIR92]L:6(O97AT+W9E8VUA=@N:F%R.T,Z+U!R
M;VIE8W1S+TIA=F$O:G)E+VQI8B]E'0O9)V:7,N:F%R.T,Z+U!R;VIE8W1S
M+TIA=F$O:G)E+VQI8B]E'0O:F5D:70N:F%R.T,Z+U!R;VIE8W1S+TIA=F$O
M:G)E+VQI8B]E'0O8W)I;7-O;BYJ87([0SHO4')O:F5C=',O2F%V82]JF4O
M;EB+V5X=]J9]M+6(X+FIACM#.B]0F]J96-TR]*879A+VIR92]L:6(O
M97AT+VQO9S1J+FIACM#.B]0F]J96-TR]*879A+VIR92]L:6(OG0N:F%R
M)PT*0TQ)14Y43D%-12 ](!#;VYS;VQE)PT*0T],3U)1T)'([EMAIL PROTECTED]
M9F%U;'0[,-D-/3$]25$5232 ](!R'9T+7AP;2-D-/34U/3E!23T=2
M04U24Q%4R ](!#.EQ0F]GF%M($9I;5S7$-O;6UO;B!:6QER-D-/
M35!55$523D%-12 ](!(04Y32$]23B-D-/35-014,@/[EMAIL PROTECTED]5TE.1$]7
M4UQS7-T96TS,EQC;60N97AE)PT*0U!07T9,04=3([EMAIL PROTECTED]UA;G-I(U$1T-#
M,U@@+41,24Y56 M1$E.3$E.13UI;FQI;[EMAIL PROTECTED];RUD969A=6QT+6EN;EN
M92 M5VYO+61E')[EMAIL PROTECTED];6ET+69R86UE+7!O:6YT97(@+69F87-T
M+6UA=@@+6UC'4]5N=EU;[EMAIL PROTECTED]F-H/7!E;G1I=6TT)PT*0U]#3TU0
M24Q%4B ](!G*RLG#0I$0C))3E-404Y#12 ](!D8C(G#0I$0C)414U01$E2
M([EMAIL PROTECTED],Z7%!23T=207XQ7$E35Q344Q,24))PT*1$(R7T%$34E.([EMAIL PROTECTED]1B
M,F%D;6EN)PT*1$(R7TA/344@/[EMAIL PROTECTED]:79E+V,O4')O9W)A?C$O24)-
M)PT*1$(R7U=/4DM0051(([EMAIL PROTECTED]]C6=DFEV92]C+T1,B-D1%5DU'4E]3
M2$]77TY/3E!215-%3E1?1$5624-%4R ]( Q)PT*1$E34$Q!62 ]( Z,-
MD5$251/4B ](!V:2-D5.4T-225!4([EMAIL PROTECTED]UD(U')PT*1CW([EMAIL PROTECTED]W
M-R-D9([EMAIL PROTECTED]]C6=DFEV92]C+U!R;VIE8W1S+T9L87-H1FQO;V0G#0I
M1D))3B ]( O8WEG9')I=F4O8R]0F]J96-TR];%S:$9L;V]D+T,K*R]B

Re: rsh no longer works with rsync as of 1.5.9

2004-03-29 Thread Igor Pechtchanski
On Mon, 29 Mar 2004, Bruce Dobrin wrote:

 On Fri, 26 Mar 2004, Igor Pechtchanski wrote:

 Re: rsh no longer works with rsync as of 1.5.9
 From: Igor Pechtchanski pechtcha at cs dot nyu dot edu
 To: Bruce Dobrin dobrin at imageworks dot com
 Cc: cygwin at cygwin dot com
 Date: Fri, 26 Mar 2004 23:33:05 -0500 (EST)
 Subject: Re: rsh no longer works with rsync as of 1.5.9
 References: [EMAIL PROTECTED]
 Reply-to: cygwin at cygwin dot com

 On Fri, 26 Mar 2004, Bruce Dobrin wrote:

  Hi,
 
  I have been using rsync via rsh (-e rsh)   for our general distributions
  for a for all of our windows and Linux machines ( 2000 of them) .   on
  Upgrading from cygwin1.5.5 to 1.5.9,  Rsync could no longer use rsh to
  rsync.
 
  I get : rsh : unknown option -- server
  I down graded the rsync2.6.0 from the cyg1.5.9 install to the 2.5.6 version
  from the cyg1.5.5 version and got the same problem.  I restored the rsync to
  2.6.0 and copied the rsh.exe from the inetutils-1.3.2-25 from the cyg1.5.5
  install and rsync started working again.
 
  Is there a known bug or known workaround for using the most recent version
  of rsh ( from 1.3.2-26)?
  thanks.
  Bruce Dobrin
 
  example: rsync -rluzv -e rsh --timeout=100 --size-only 
  matilda:/c/dist_and_install_files/dist/sysadm_general/ /c/
 
  rsh : unknown option -- server
 ?
 WAG: check text/binary settings on the connection (e.g., does $CYGWIN
 contain nobinmode?).  Also check with ssh.
 Igor

 Igor,
 Thank you for answering.
 Using ssh works fine ( well, it works as well as rsync has ever worked
 anyway ;-)  ). My $CYGWIN is a fairly standard : binmode tty ntsec

 ssh is not really an option for us though;our facility is locked down hard
 so internally we don't use ssh at all but depend on rsh..  I'd like to keep
 our rsh current though,  but to keep it working I have had to replace the
 newer rsh with the older one...  eventually I'm afraid this will bite me in
 the butt.   should I talk to the rsync people?  it looks like rsync is
 passing a switch --server that is being picked up incorrectly by the newer
 rsh and not the older one...   ( if I type:  BASH  rsh --server
 I get the same response:  rsh: unknown option -- server ),

 Thanks for your continuing help
 Bruce---

Oh.  This may have something to do with the argument permutation in the
getopt call, which was introduced at some point.  Try (a) setting the
POSIXLY_CORRECT environment variable before calling rsync, or (b) giving
the '-e rsh --' option instead of '-e rsh' (don't know if rsync will
allow this, though).
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!

I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster.  -- Patrick Naughton

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



Re: problems compiling/linking c++ sources [FAQ alert]

2004-03-29 Thread Igor Pechtchanski
On Mon, 29 Mar 2004, Hans Horn wrote:

 Group,

 I'm trying to compile/link some c++ source.

 This is what I get:
 /usr/include/c++/3.3.1/iostream:92: undefined reference to 
 `__static_initialization_and_destruction_0(int, int)'
 collect2: ld returned 1 exit status

 The last time I compiled/linked the same sources successfully was around May
 2003 (under the cygwin vintage current for that era - whatever it may have
 been).

 Output of cygcheck -svr  cygchek.out 21 is attached.

 thx a bunch,
 H.

Use 'g++' to link C++ sources.  If you are using 'g++', please provide a
small testcase that reproduces the problem and the exact command you used
to compile/link it.
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!

I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster.  -- Patrick Naughton

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



Re: Problems with OpenSSH in win32.

2004-03-29 Thread Brian Chase
Are you sure of this statement?  The reading I have done on TightVNC 
tells me it encrypts passwords only and doesn't have any SSH 
capabilities.  I'd be happier if I were not correct, but I'd like to read 
some documentation proving me wrong to confirm it.

Alejandro Lopez-Valencia wrote:

 And
that's the reason why I suggested TightVNC, performance is acceptable
with a 56K modem link, and it defaults to using SSH tunneling, so for
practical purposes you obtain a cheap VPN.
And now back to your original broadcast.



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


Re: problems compiling/linking c++ sources

2004-03-29 Thread Larry Hall
At 04:34 PM 3/29/2004, you wrote:
Group,

I'm trying to compile/link some c++ source.

This is what I get:
/usr/include/c++/3.3.1/iostream:92: undefined reference to
`__static_initialization_and_destruction_0(int, int)'
collect2: ld returned 1 exit status

The last time I compiled/linked the same sources successfully was around May
2003 (under the cygwin vintage current for that era - whatever it may have
been).

Output of cygcheck -svr  cygchek.out 21 is attached.


Do you google?

http://www.google.com/search?as_q=num=10hl=enie=UTF-8oe=UTF-8btnG=Google+Searchas_epq=__static_initialization_and_destruction_0as_oq=as_eq=lr=as_ft=ias_filetype=as_qdr=allas_nlo=as_nhi=as_occt=anyas_dt=ias_sitesearch=cygwin.comsafe=images


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


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



Re: [ANNOUNCEMENT] Updated: zsh-4.2.0-1

2004-03-29 Thread Peter A. Castro
On Mon, 29 Mar 2004, zzapper wrote:

 On Mon, 29 Mar 2004 11:40:59 +0100,  wrote:

 On Fri, 26 Mar 2004 10:09:28 -0500 (EST),  wrote:
 
 An updated version of zsh (zsh-4.2.0-1) has been released and should be
 at a mirror near you real soon.
 
 Hi I saw zsh 4.2.0 download this morning when I ran my daily setup
 however (having reset my PC as requested)
 
 zsh --version
 zsh 4.1.1 (i686-pc-cygwin)
 
 whence zsh
 /usr/bin/zsh
 
 I had to rename zsh-4.2.0.exe to zsh.exe myself (is that
 normal/correct?)

You should not have to rename anything.  A normal upgrade of any package
under Cygwin will first uninstall/remove the old files (thus there will
be no /usr/bin/zsh) before the new package in unpacked.  That is, unless
setup messed up and didn't remove the old files.

I've done several upgrades and fresh installs and have not seen the
problem you describe above.  BTW, /usr/bin/zsh is a symlink to
zsh-4.2.0.exe, so don't rename it, simply point the symlink to the
correct exe name.

 zzapper (vim, cygwin, wiki  zsh)

-- 
Peter A. Castro [EMAIL PROTECTED] or [EMAIL PROTECTED]
Cats are just autistic Dogs -- Dr. Tony Attwood

--
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: rsh no longer works with rsync as of 1.5.9

2004-03-29 Thread Bruce Dobrin
Thank you Igor!
Both of those work perfectly.
As usual,  you hit it dead on.
Bruce D.


- Original Message - 
From: Igor Pechtchanski [EMAIL PROTECTED]
To: Bruce Dobrin [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, March 29, 2004 1:39 PM
Subject: Re: rsh no longer works with rsync as of 1.5.9


 On Mon, 29 Mar 2004, Bruce Dobrin wrote:

  On Fri, 26 Mar 2004, Igor Pechtchanski wrote:
 
  Re: rsh no longer works with rsync as of 1.5.9
  From: Igor Pechtchanski pechtcha at cs dot nyu dot edu
  To: Bruce Dobrin dobrin at imageworks dot com
  Cc: cygwin at cygwin dot com
  Date: Fri, 26 Mar 2004 23:33:05 -0500 (EST)
  Subject: Re: rsh no longer works with rsync as of 1.5.9
  References: [EMAIL PROTECTED]
  Reply-to: cygwin at cygwin dot com
 
  On Fri, 26 Mar 2004, Bruce Dobrin wrote:
 
   Hi,
  
   I have been using rsync via rsh (-e rsh)   for our general
distributions
   for a for all of our windows and Linux machines ( 2000 of them) .
on
   Upgrading from cygwin1.5.5 to 1.5.9,  Rsync could no longer use rsh
to
   rsync.
  
   I get : rsh : unknown option -- server
   I down graded the rsync2.6.0 from the cyg1.5.9 install to the 2.5.6
version
   from the cyg1.5.5 version and got the same problem.  I restored the
rsync to
   2.6.0 and copied the rsh.exe from the inetutils-1.3.2-25 from the
cyg1.5.5
   install and rsync started working again.
  
   Is there a known bug or known workaround for using the most recent
version
   of rsh ( from 1.3.2-26)?
   thanks.
   Bruce Dobrin
  
   example: rsync -rluzv -e rsh --timeout=100 --size-only
matilda:/c/dist_and_install_files/dist/sysadm_general/ /c/
  
   rsh : unknown option -- server
  ?
  WAG: check text/binary settings on the connection (e.g., does $CYGWIN
  contain nobinmode?).  Also check with ssh.
  Igor
 
  Igor,
  Thank you for answering.
  Using ssh works fine ( well, it works as well as rsync has ever worked
  anyway ;-)  ). My $CYGWIN is a fairly standard : binmode tty ntsec
 
  ssh is not really an option for us though;our facility is locked down
hard
  so internally we don't use ssh at all but depend on rsh..  I'd like to
keep
  our rsh current though,  but to keep it working I have had to replace
the
  newer rsh with the older one...  eventually I'm afraid this will bite me
in
  the butt.   should I talk to the rsync people?  it looks like rsync is
  passing a switch --server that is being picked up incorrectly by the
newer
  rsh and not the older one...   ( if I type:  BASH  rsh --server
  I get the same response:  rsh: unknown option -- server ),
 
  Thanks for your continuing help
  Bruce---

 Oh.  This may have something to do with the argument permutation in the
 getopt call, which was introduced at some point.  Try (a) setting the
 POSIXLY_CORRECT environment variable before calling rsync, or (b) giving
 the '-e rsh --' option instead of '-e rsh' (don't know if rsync will
 allow this, though).
 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!

 I have since come to realize that being between your mentor and his route
 to the bathroom is a major career booster.  -- Patrick Naughton

 --
 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: Problems with OpenSSH in win32.

2004-03-29 Thread Ross Boulet
 -Original Message-
 From: cygwin-owner On Behalf Of Brian Chase
 
 Are you sure of this statement?  The reading I have done on TightVNC 
 tells me it encrypts passwords only and doesn't have any SSH 
 capabilities.  I'd be happier if I were not correct, but I'd 
 like to read 
 some documentation proving me wrong to confirm it.
 
 Alejandro Lopez-Valencia wrote:
 
   And
  that's the reason why I suggested TightVNC, performance is 
 acceptable
  with a 56K modem link, and it defaults to using SSH 
 tunneling, so for
  practical purposes you obtain a cheap VPN.
  
  And now back to your original broadcast.
  
 
I may be talking out of school here, but I've used ssh to tunnel other IP
based protocols such as POP3, SMTP, and printing.  The application doesn't
have to know about ssh.  ssh just has to be told which IP ports to forward.
For example:

ssh -L 515:127.0.0.1:515 myhost

Tells ssh to start a session with myhost and forward IP port 515 to the same
port on myhost.

I would assume the same thing can be done for TightVNC using whatever ports
it requires.

Ross



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



Re: [ANNOUNCEMENT] Updated: zsh-4.2.0-1 (Attn: zsh maintainer)

2004-03-29 Thread Peter A. Castro
On Mon, 29 Mar 2004, Igor Pechtchanski wrote:

 On Mon, 29 Mar 2004, zzapper wrote:

  On Mon, 29 Mar 2004 11:40:59 +0100,  wrote:
 
  On Fri, 26 Mar 2004 10:09:28 -0500 (EST),  wrote:
  
  An updated version of zsh (zsh-4.2.0-1) has been released and should be
  at a mirror near you real soon.
  
  Hi I saw zsh 4.2.0 download this morning when I ran my daily setup
  however (having reset my PC as requested)
  
  zsh --version
  zsh 4.1.1 (i686-pc-cygwin)
  
  whence zsh
  /usr/bin/zsh
  
  I had to rename zsh-4.2.0.exe to zsh.exe myself (is that
  normal/correct?)
 
  zzapper (vim, cygwin, wiki  zsh)

 Sounds like a packaging bug.  The archive contains /usr/bin/zsh.exe as a
 symbolic link to /usr/bin/zsh-4.2.0.exe.  This will cause zsh to not
 work from batch files and shortcuts (!).

I don't think it will.  I see /usr/bin/zsh.exe being turned into a real
file, during install, not a symlink, and /usr/bin/zsh has always been a
symlink, since day one, and I've not seen any problems reported to this
effect.  I think zzapper's problem may be because setup didn't remove
everthing first or perhaps he installed zsh through some other mechanism?

 What's weird is the fact that running zsh showed version 4.1.1.  Even
 with the symlink this should not have happened.  I assume running
 zsh-4.2.0 would show version 4.2.0, right?  It would be interesting to
 see if you have other copies of zsh in your PATH, which you can find out
 by running /bin/which -a zsh.

You can also type echo $ZSH_VERSION to get your current shell's version.
Oh, and btw, it does report 4.2.0 for me on all systems I've tested on.

   Igor

-- 
Peter A. Castro [EMAIL PROTECTED] or [EMAIL PROTECTED]
Cats are just autistic Dogs -- Dr. Tony Attwood

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



Re: [ANNOUNCEMENT] Updated: zsh-4.2.0-1 (Attn: zsh maintainer)

2004-03-29 Thread Peter A. Castro
On Mon, 29 Mar 2004, Alejandro Lopez-Valencia wrote:

 On Mon, 29 Mar 2004 10:07:00 -0500 (EST), Igor Pechtchanski wrote in
 [EMAIL PROTECTED]:

 Sounds like a packaging bug.

 And right you are:

 $ cat /etc/postinstall/zsh.sh.done
 #!/bin/sh
 V=4.1.1
 ^^^
 Should be 4.2.0

Oh, poop... Ok, one fix comming up!

 prefix=/usr
 infodir=${prefix}/share/info

 [snip]

 # Install default zprofile if needed
 if [ ! -f /etc/zprofile ]; then
   echo Installing default /etc/zprofile
   install -c -m 755 /usr/doc/zsh-$V/StartupFiles/zprofile
 ^^
 Should be /usr/share/doc

Rats!  Ok, make it two fixes!  Man, I've just gotta automate the creation
of this file!

  [snip]

-- 
Peter A. Castro [EMAIL PROTECTED] or [EMAIL PROTECTED]
Cats are just autistic Dogs -- Dr. Tony Attwood

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



Re: [ANNOUNCEMENT] Updated: zsh-4.2.0-1 (Attn: zsh maintainer)

2004-03-29 Thread Peter A. Castro
On Mon, 29 Mar 2004, Peter A. Castro wrote:

 On Mon, 29 Mar 2004, Igor Pechtchanski wrote:
  On Mon, 29 Mar 2004, zzapper wrote:
   On Mon, 29 Mar 2004 11:40:59 +0100,  wrote:
   On Fri, 26 Mar 2004 10:09:28 -0500 (EST),  wrote:
   
   An updated version of zsh (zsh-4.2.0-1) has been released and should be
   at a mirror near you real soon.
   
   Hi I saw zsh 4.2.0 download this morning when I ran my daily setup
   however (having reset my PC as requested)
   
   zsh --version
   zsh 4.1.1 (i686-pc-cygwin)
   
   whence zsh
   /usr/bin/zsh
   
   I had to rename zsh-4.2.0.exe to zsh.exe myself (is that
   normal/correct?)
  
   zzapper (vim, cygwin, wiki  zsh)
 
  Sounds like a packaging bug.  The archive contains /usr/bin/zsh.exe as a
  symbolic link to /usr/bin/zsh-4.2.0.exe.  This will cause zsh to not
  work from batch files and shortcuts (!).

(I'm tired) I just noticed, it's not a symlink, its a hardlink.  As such,
it'll materialize as if it was a real file in the filesystems and native
Windows programs will see it as a normal file, not a link.

 I don't think it will.  I see /usr/bin/zsh.exe being turned into a real
 file, during install, not a symlink, and /usr/bin/zsh has always been a
 symlink, since day one, and I've not seen any problems reported to this
 effect.  I think zzapper's problem may be because setup didn't remove
 everthing first or perhaps he installed zsh through some other mechanism?

  What's weird is the fact that running zsh showed version 4.1.1.  Even
  with the symlink this should not have happened.  I assume running
  zsh-4.2.0 would show version 4.2.0, right?  It would be interesting to
  see if you have other copies of zsh in your PATH, which you can find out
  by running /bin/which -a zsh.

 You can also type echo $ZSH_VERSION to get your current shell's version.
 Oh, and btw, it does report 4.2.0 for me on all systems I've tested on.

  Igor



-- 
Peter A. Castro [EMAIL PROTECTED] or [EMAIL PROTECTED]
Cats are just autistic Dogs -- Dr. Tony Attwood

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



Re: problems compiling/linking c++ sources

2004-03-29 Thread Hans Horn
Larry at al,

I google indeed - in fact, that was what I tried first.
Unfortunately, I did leave out the two leading __, as well as the trailing
_0.
This resulted in query results that were utterly irrelevant.

As to how to fix the problem: commenting out all #pragma
interface/implementation lines does indeed the trick!

Funny is that I had to insert exactly those lines to make the sources
compile/link under gcc2.9.5 back in 2001.

cheers,
Hans

- Original Message - 
From: Larry Hall [EMAIL PROTECTED]
To: Hans Horn [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, March 29, 2004 1:47 PM
Subject: Re: problems compiling/linking c++ sources


 At 04:34 PM 3/29/2004, you wrote:
 Group,
 
 I'm trying to compile/link some c++ source.
 
 This is what I get:
 /usr/include/c++/3.3.1/iostream:92: undefined reference to
 `__static_initialization_and_destruction_0(int, int)'
 collect2: ld returned 1 exit status
 
 The last time I compiled/linked the same sources successfully was around
May
 2003 (under the cygwin vintage current for that era - whatever it may
have
 been).
 
 Output of cygcheck -svr  cygchek.out 21 is attached.


 Do you google?


http://www.google.com/search?as_q=num=10hl=enie=UTF-8oe=UTF-8btnG=Goog
le+Searchas_epq=__static_initialization_and_destruction_0as_oq=as_eq=lr=
as_ft=ias_filetype=as_qdr=allas_nlo=as_nhi=as_occt=anyas_dt=ias_site
search=cygwin.comsafe=images


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



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



Re: zsh and line breaks

2004-03-29 Thread Peter A. Castro
On Mon, 29 Mar 2004, zzapper wrote:

 On Wed, 24 Mar 2004 18:16:00 +0100,  wrote:

 I'm having some trouble with zsh (4.0.6) and line breaks. It seems that
 it does not accept \n as a line break. This results in some
 uncomfortableness when using it as a login shell, such as this output
 from Emacs:
 
 [EMAIL PROTECTED] ~/kurser/vt04/lp1/lab1]% latex \\nonstopmode\\input rapport.tex
 latex \\nonstopmode\\input rapport.tex\n
 
 Apparently, zsh is not interpreting \n as EOL.
 
 Is there some setting that might fix this?

 I run zsh on Cygwin, unlike bash zsh gets very upset if it sees dos
 returns. I have to run dos2unix on my zsh scripts.

 I haven't seen an explanation for this

Hmm... I'll have to look into this.  I thought I'd corrected this for
Cygwin...

One thing, are you running your scripts off of a text or binary mount
filesystem?  And, are you running in DOS or Unix mode?  I'll need to know
which combinations don't work.

 zzapper (vim, cygwin, wiki  zsh)

-- 
Peter A. Castro [EMAIL PROTECTED] or [EMAIL PROTECTED]
Cats are just autistic Dogs -- Dr. Tony Attwood

--
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 err: getUrlToStream failed

2004-03-29 Thread alanmjones
Dave Korn wrote:
= 
=   Have you got personal firewall software running on the machine that's
= experiencing the problems?  Did it pop up a little requester when you last
= ran setup asking you if setup should be allowed to connect to the internet?
= Did you accidentally click No rather than Yes and inadvertently block it?
= Check the firewall settings, just to be sure.

I'll bet that's it.  I'm running Zone Alarm and for some reason it doesn't
ask me anymore if a program can access the internet, it just denies access.
I'll try this when I get home, but I'm 97% sure this is it...

Thanks!!

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



timezone irregularity when Windows TZ is set to Indiana

2004-03-29 Thread Joseph Tate
If I have a Windows PC with the timezone set to 
(GMT-05:00)Indiana(East), date +%Z returns the timezone as USEST. 
Is this designed or broken behavior?

If I set TZ to USEST date returns a GMT time.  I've noticed that there 
is no zoneinfo package, but if I copy /usr/share/zoneinfo from a RHL 
system, and set the TZ env variable to 'America/Indianapolis' I get back 
EST as the timezone.

Where does the USEST come from?  Is that a Windows-ism or something in 
Cygwin?

I'm using cygwin 1.5.7-1 on Windows XP SP 1 with all updates supplied.

Joseph

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


Re: Problems with OpenSSH in win32.

2004-03-29 Thread Alejandro Lopez-Valencia

On Mon, 29 Mar 2004 16:51:59 -0500, Brian Chase wrote in
[EMAIL PROTECTED]:

Alejandro Lopez-Valencia wrote:

  And
 that's the reason why I suggested TightVNC, performance is acceptable
 with a 56K modem link, and it defaults to using SSH tunneling, so for
 practical purposes you obtain a cheap VPN.
 
Are you sure of this statement?  The reading I have done on TightVNC 
tells me it encrypts passwords only and doesn't have any SSH 
capabilities.  I'd be happier if I were not correct, but I'd like to read 
some documentation proving me wrong to confirm it.


I was thinking of the Unix version, which can be integrated with SSH
to do encrypted port tunneling by default. The Windows server is
weaker in this respect and requires a lot more hand-holding. There,
compile the Unix version of the server under Cygwin and we are
on-topic again. :-)

As Ross Boulet has pointed out, encrypted port forwarding is a feature
of SSH and can be used to create tunnels for any other TCP/IP
protocol; or you could create a SSL tunnel with stunnel. What makes
TightVNC suitable for tunneling over an encrypted channel is its data
compression protocol (JPEG), which is much better than the one used by
SSH (zlib).

-- 
Alejandro López-Valencia
http://dradul.tripod.com/
[...] every educated man is a theologian, and he doesn't need faith 
to be one. (J.L. Borges)


--
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: MS offers Services For Unix free of charge

2004-03-29 Thread Reini Urban
Harold L Hunt II schrieb:
Well, I don't know about the rest of you, but since SFU comes with a 
great (and free) X Server, I am throwing in the towel.
As I see it it doesn't come with a free X-Server. It comes with some 
xlib's but not with the server.
There's the Starnet and the Hummingbird X-Server for purchase.

http://www.interopsystems.com/tools/FAQ.htm

 Services for UNIX (SFU) comes with X11R5 and X11R6 utilities and 
libraries. SFU does not come with a X-server to display the graphical 
output of these X11 utilities. You can set your DISPLAY environment 
variable to the name of a machine on your network to display the X11 
utilities. If you would like to display X11 locally then you will need 
to purchase an X-server. There are several X-servers available. You 
should look for an X-server that will handle X11R6 (X11R6.6 is preferred 
since this is the best match). You can purchase an X-server from Interop 
Systems at http://www.interopsystems.com/products.htm;.

--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


Re: [ANNOUNCEMENT] Updated: zsh-4.2.0-1 (Attn: zsh maintainer)

2004-03-29 Thread Christopher Faylor
On Mon, Mar 29, 2004 at 02:40:23PM -0800, Peter A. Castro wrote:
On Mon, 29 Mar 2004, Peter A. Castro wrote:

 On Mon, 29 Mar 2004, Igor Pechtchanski wrote:
  On Mon, 29 Mar 2004, zzapper wrote:
   On Mon, 29 Mar 2004 11:40:59 +0100,  wrote:
   On Fri, 26 Mar 2004 10:09:28 -0500 (EST),  wrote:
   
   An updated version of zsh (zsh-4.2.0-1) has been released and should be
   at a mirror near you real soon.
   
   Hi I saw zsh 4.2.0 download this morning when I ran my daily setup
   however (having reset my PC as requested)
   
   zsh --version
   zsh 4.1.1 (i686-pc-cygwin)
   
   whence zsh
   /usr/bin/zsh
   
   I had to rename zsh-4.2.0.exe to zsh.exe myself (is that
   normal/correct?)
  
   zzapper (vim, cygwin, wiki  zsh)
 
  Sounds like a packaging bug.  The archive contains /usr/bin/zsh.exe as a
  symbolic link to /usr/bin/zsh-4.2.0.exe.  This will cause zsh to not
  work from batch files and shortcuts (!).

(I'm tired) I just noticed, it's not a symlink, its a hardlink.  As such,
it'll materialize as if it was a real file in the filesystems and native
Windows programs will see it as a normal file, not a link.

Unfortunately, setup.exe doesn't recognize hard links, AFAIK.

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: popups upon library errors.

2004-03-29 Thread Edward S. Peschko
On Fri, Mar 26, 2004 at 10:12:05AM +0100, Corinna Vinschen wrote:

 Off the top of my head I would say, that's a problem in your environment.
 When the configury tests for existing libraries, it typically does that
 by trying to build a test application which uses a function from that
 lib.  A library might consist of up to three files, a static lib, an
 import library for dynamic linking, and a DLL.  By default, ld tries to
 link against the import library, so that the resulting application would
 use the DLL when started.
 
 On your system, the DLL is missing (or missing in $PATH, that's basically
 the same) but for some reason the import library exists.  Linking the test
 application therefore succeeds, but the resulting application can't run,
 obviously.
 
 So, to rectify this problem, you should remove the import library from
 your system.

yes, I realize that it is a problem with my environment - what I'm suggesting
is that no popups be created in response to the problem. That a text error is 
generated.  This would vastly increase the robustness of the cygwin environment 
- I simply cannot afford to have an interactive error come up during a batch 
process, and hang there. It is not a question of specifics, its a question
of how to deal with a generic problem.

It reminds me of those popup errors you sometimes see at airports when windows
crashes on one of the terminals - what the hell good are they? people who 
support these apps have to ping the app with another app to make sure it is up. 
But of course this brings up the issue of pinging the app which pings the app, and
so one.

Anyways, to reproduce, the first one (wrt tar) had to do with permissions. If the 
permissions on a dll are wrong, then I get a popup error #22.. I believe the 
same thing happens with a generic gcc-3.3.1 install.

The second one happens with an install of gettext. To reproduce, simply unpackage, 
patch, and run 'configure' on a standard out of the box install of cygwin.
configure will pause halfway through.

Ed

--
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: popups upon library errors.

2004-03-29 Thread Edward S. Peschko
On Sun, Mar 28, 2004 at 02:31:05AM -0500, David Fritz wrote:
 [EMAIL PROTECTED] wrote:
 
 
 Can you take a screenshot of the dialog box and either post
 a URL for it, or send it to me directly (I imagine this mailing
 list doesn't want largish attachments cluttering up everyone's inbox)?
 
 In latter versions of Windows when you press Ctrl+C while a standard 
 message box has the focus, Windows will copy to the clipboard an ASCII art 
 style representation of the message box.
 
 For example:
 
 ---
 ls.exe - Application Error
 ---
 The application failed to initialize properly (0xc022). Click on OK to 
 terminate the application.
 ---
 OK
 ---
 

well, that was interesting, becuase that is the error I get with tar..

I get the following error with libICE:


emacs.exe - Unable To Locate DLL

The dynamic link library libICE.dll could not be found in the specified path
c:\cygwin\bin;.;C:\WINNT\System32;C:\WINNT\system;C:\WINNT;

OK


Ed

--
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: popups upon library errors.

2004-03-29 Thread Robert Collins
On Tue, 2004-03-30 at 10:56, Edward S. Peschko wrote:
 On Fri, Mar 26, 2004 at 10:12:05AM +0100, Corinna Vinschen wrote:

 yes, I realize that it is a problem with my environment - what I'm suggesting
 is that no popups be created in response to the problem. That a text error is 
 generated.  This would vastly increase the robustness of the cygwin environment 
 - I simply cannot afford to have an interactive error come up during a batch 
 process, and hang there. It is not a question of specifics, its a question
 of how to deal with a generic problem.

Fix windows then. I'm sure MS will take a bug report happily.

Rob

P.S. I'm only being slightly facetious. This really is outside of
cygwin's purview. The only thing I can think of that might help is to
write a replace handler for these style of errors. And I don't know if
theres even a hook to do that.
-- 
GPG key available at: http://www.robertcollins.net/keys.txt.


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


make ?

2004-03-29 Thread David
I'm trying to compile a source code, and I typed 'make'
following the manual for that application-a nlp parser, 
and got the error message command not found.
 
What shall I do? How do I use 'make' in Cygwin?

Thank you.

David

- Original Message - 
From: Larry Hall [EMAIL PROTECTED]
To: David [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, March 29, 2004 1:38 PM
Subject: Re: cygwin1.dll was not found


 At 02:16 PM 3/29/2004, you wrote:
 Hi all,
 
 When I double-clike CWin.exe, it fails with
 the error message cygwin1.dll was not found.
 
 How can I solve this problem?
 
 
 I'd recommend consulting with those who provided you with CWin.exe.
 
 
 
 --
 Larry Hall  http://www.rfk.com
 RFK Partners, Inc.  (508) 893-9779 - RFK Office
 838 Washington Street   (508) 893-9889 - FAX
 Holliston, MA 01746 
 
 
 --
 Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
 Problem reports:   http://cygwin.com/problems.html
 Documentation: http://cygwin.com/docs.html
 FAQ:   http://cygwin.com/faq/
 
 

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



Re: [ANNOUNCEMENT] Updated: zsh-4.2.0-1 (Attn: zsh maintainer)

2004-03-29 Thread Peter A. Castro
On Mon, 29 Mar 2004, Christopher Faylor wrote:

 On Mon, Mar 29, 2004 at 02:40:23PM -0800, Peter A. Castro wrote:
 On Mon, 29 Mar 2004, Peter A. Castro wrote:
 
  On Mon, 29 Mar 2004, Igor Pechtchanski wrote:
   On Mon, 29 Mar 2004, zzapper wrote:
On Mon, 29 Mar 2004 11:40:59 +0100,  wrote:
On Fri, 26 Mar 2004 10:09:28 -0500 (EST),  wrote:

An updated version of zsh (zsh-4.2.0-1) has been released and should be
at a mirror near you real soon.

Hi I saw zsh 4.2.0 download this morning when I ran my daily setup
however (having reset my PC as requested)

zsh --version
zsh 4.1.1 (i686-pc-cygwin)

whence zsh
/usr/bin/zsh

I had to rename zsh-4.2.0.exe to zsh.exe myself (is that
normal/correct?)
   
zzapper (vim, cygwin, wiki  zsh)
  
   Sounds like a packaging bug.  The archive contains /usr/bin/zsh.exe as a
   symbolic link to /usr/bin/zsh-4.2.0.exe.  This will cause zsh to not
   work from batch files and shortcuts (!).
 
 (I'm tired) I just noticed, it's not a symlink, its a hardlink.  As such,
 it'll materialize as if it was a real file in the filesystems and native
 Windows programs will see it as a normal file, not a link.

 Unfortunately, setup.exe doesn't recognize hard links, AFAIK.

That's Ok.  Hard links are more for effiency than anything else.  The
current behaviour of setup is, apparently, to duplicate the linked-to
file contents, which is just fine.  If/when hardlinks are actually
supported, that'll be Ok too.

 cgf

-- 
Peter A. Castro [EMAIL PROTECTED] or [EMAIL PROTECTED]
Cats are just autistic Dogs -- Dr. Tony Attwood

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



Re: [ANNOUNCEMENT] Updated: zsh-4.2.0-1 (Attn: zsh maintainer)

2004-03-29 Thread Igor Pechtchanski
On Mon, 29 Mar 2004, Peter A. Castro wrote:

 On Mon, 29 Mar 2004, Alejandro Lopez-Valencia wrote:

  On Mon, 29 Mar 2004 10:07:00 -0500 (EST), Igor Pechtchanski wrote:
 
  Sounds like a packaging bug.
 
  And right you are:
 
  $ cat /etc/postinstall/zsh.sh.done
  #!/bin/sh
  V=4.1.1
  ^^^
  Should be 4.2.0

 Oh, poop... Ok, one fix comming up!

  prefix=/usr
  infodir=${prefix}/share/info
 
  [snip]
 
  # Install default zprofile if needed
  if [ ! -f /etc/zprofile ]; then
echo Installing default /etc/zprofile
install -c -m 755 /usr/doc/zsh-$V/StartupFiles/zprofile
  ^^
  Should be /usr/share/doc

 Rats!  Ok, make it two fixes!  Man, I've just gotta automate the creation
 of this file!

FWIW, see how pdksh does it...
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!

I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster.  -- Patrick Naughton

--
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: popups upon library errors.

2004-03-29 Thread Igor Pechtchanski
On Mon, 29 Mar 2004, Edward S. Peschko wrote:

 On Sun, Mar 28, 2004 at 02:31:05AM -0500, David Fritz wrote:
  dankatkegeldotcom wrote:
 
  Can you take a screenshot of the dialog box and either post
  a URL for it, or send it to me directly (I imagine this mailing
  list doesn't want largish attachments cluttering up everyone's inbox)?
 
  In latter versions of Windows when you press Ctrl+C while a standard
  message box has the focus, Windows will copy to the clipboard an ASCII art
  style representation of the message box.
 
  For example:
 
  ---
  ls.exe - Application Error
  ---
  The application failed to initialize properly (0xc022). Click on OK to
  terminate the application.
  ---
  OK
  ---

 well, that was interesting, becuase that is the error I get with tar..

AFAIR, this popup appears whenever a DLL is in the PATH but is not
executable.  I don't think there's an easy way of convincing Windows to
keep control in the application after this (short of using dlopen() for
all dynamically linked calls, and checking the return value -- which you
don't really want to do).  If you discover a way (MSDN would be a good
start), PTC.

 I get the following error with libICE:

 
 emacs.exe - Unable To Locate DLL
 
 The dynamic link library libICE.dll could not be found in the specified path
 c:\cygwin\bin;.;C:\WINNT\System32;C:\WINNT\system;C:\WINNT;
 
 OK
 

 Ed

This one's easy.  Just do which libICE.dll in your shell, and add that
directory to the PATH.  I bet it's in /usr/X11R6/bin...
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!

I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster.  -- Patrick Naughton

--
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: make ?

2004-03-29 Thread Igor Pechtchanski
On Mon, 29 Mar 2004, David wrote:

 I'm trying to compile a source code, and I typed 'make'
 following the manual for that application-a nlp parser,
 and got the error message command not found.

 What shall I do? How do I use 'make' in Cygwin?

 Thank you.
 David

Install the make package.  In general, if you are looking for a
particular program, the package search page at
http://cygwin.com/packages/ is your friend.  See also
http://cygwin.com/faq/faq_2.html#SEC13.
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!

I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster.  -- Patrick Naughton

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



  1   2   >