Re: [ITP] Check: A unit test framework for C

2003-10-24 Thread Gerrit P. Haase
Daniel schrieb:

$ cat  /TODO EOF
 On 2003-09-25T01:37+0200, Gerrit P. Haase wrote:
 ) http://anfaenger.de/cygwin/check/check-0.8.4-1-src.tar.gz132k
 ) http://anfaenger.de/cygwin/check/check-0.8.4-1.tar.bz269k
 ) http://anfaenger.de/cygwin/check/setup.hint1k
 
 Uploaded. Please send an announcement once you have had a chance to verify
 correct installation with setup.exe.
 
 
 This release included documentation in usr/doc instead of usr/share/doc, so
 it didn't pass auto-review. Actually, something that should have been caught
 before I uploaded: There is no Cygwin-specific README, or at least
 usr/doc/check-0.8.4/README should probably be moved to
 usr/share/doc/Cygwin/check-0.8.4.README for the next release.
 EOF



Thanks,
Gerrit
-- 
=^..^=



Re: Very minor apache-1.3.24-5 source annoyance

2003-10-24 Thread Gerrit P. Haase
Igor schrieb:

 Stipe,

 The source package for apache-1.3.24-5 unpacks into
 /usr/src/apache_1.3.24-5 (note the underscore).  It would be more
 conventional (and convenient, IMO) to unpack into /usr/src/apache-1.3.24-5
 (a dash instead of the underscore).

 I've manually renamed the directory, but thought I'd let you know anyway.
 Igor

The original Apache tarball includes this name.  Apache is Apache and
not conventional;-)

The Cygwin tarball was renamed so that setup can handle it.


Gerrit
-- 
=^..^=



Pending Packages List, 2003-10-24

2003-10-24 Thread Daniel Reed
This is the list of pending packages as of Friday, October 24, 2003.

** PACKAGE PROPOSERS ** Please verify these fields **
Package: The name and version of the package as it will appear in setup. 
Proposal: Files that will be uploaded to sources.redhat.com unmodified.
HOLD-UPS: What you need to finish! What we are waiting for.

Maintainers of existing packages are eligible to vote on ITPs and new package
proposals. Once a package has been proposed, a cygwin-apps subscriber must
review it, and may point out problems or suggest changes.

===
 Pending Packages List
===

Waiting for review: tcm ploticus sgrep suite3270 distcc libsmi nfs-server freetype2
Waiting for vote[s]: ploticus sgrep suite3270 d libsmi freetype2 (GAP) (ns) (otcl) 
(fontconfig)
With unresolved problems: distcc

Package: tcm 2.20-1
Description: Toolkit for Conceptual Modeling (TCM)
   Proposer: Daniel Boesswetter
   Proposal: http://sources.redhat.com/ml/cygwin-apps/2003-01/msg00299.html
 http://home.in.tum.de/~boesswet/tcm-2.20-1.tar.bz2
 http://home.in.tum.de/~boesswet/tcm-2.20-1-src.tar.bz2
 http://home.in.tum.de/~boesswet/setup.hint
 Status: Attained required 3 votes. Package available.
   HOLD-UPS: Not reviewed.


Package: ploticus 2.11-1
Description: Command line driven tool to generates various plots and graphs
   Proposer: Jari Aalto
   Proposal: http://sources.redhat.com/ml/cygwin-apps/2003-09/msg00165.html
 http://tierra.dyndns.org:81/cygwin/ploticus/ploticus-2.11-1.tar.bz2
 http://tierra.dyndns.org:81/cygwin/ploticus/ploticus-2.11-1-src.tar.bz2
 http://tierra.dyndns.org:81/cygwin/ploticus/setup.hint
 Status: Package available.
   HOLD-UPS: Not enough votes (need 3). Not reviewed.


Package: sgrep 1.99.1-1
Description: Search indexed text regions like SGML, XML and HTML files
   Proposer: Jari Aalto
   Proposal: http://sources.redhat.com/ml/cygwin-apps/2003-09/msg00166.html
 http://tierra.dyndns.org:81/cygwin/sgrep/sgrep-1.92.1-1.tar.bz2
 http://tierra.dyndns.org:81/cygwin/sgrep/sgrep-1.92.1-1-src.tar.bz2
 http://tierra.dyndns.org:81/cygwin/sgrep/setup.hint
  Aye votes: Lapo Luchini (cygwin-apps-thread.11774) [1/3]
 Status: Package available.
   HOLD-UPS: Not enough votes (need 2 more). Not reviewed.


Package: suite3270 3.2.20-1
Description: 3270 Emulator Suite
   Proposer: Peter A. Castro
   Proposal: http://sources.redhat.com/ml/cygwin-apps/2003-09/msg00340.html
 http://www.fruitbat.org/Cygwin/suite3270/suite3270-3.2.20-1.tar.bz2
 http://www.fruitbat.org/Cygwin/suite3270/suite3270-3.2.20-1-src.tar.bz2
 http://www.fruitbat.org/Cygwin/suite3270/setup.hint.suite3270
   Also: suite3270-common  [3270 Emulator Suite (common)]
 http://www.fruitbat.org/Cygwin/suite3270/suite3270-common-3.2.20-1.tar.bz2
 http://www.fruitbat.org/Cygwin/suite3270/setup.hint.suite3270-common
   Also: c3270  [3270 Emulator (Curses)]
 http://www.fruitbat.org/Cygwin/suite3270/c3270-3.2.20-1.tar.bz2
 http://www.fruitbat.org/Cygwin/suite3270/setup.hint.c3270
   Also: pr3287  [3287 Printer Emulator]
 http://www.fruitbat.org/Cygwin/suite3270/pr3287-3.2.20-1.tar.bz2
 http://www.fruitbat.org/Cygwin/suite3270/setup.hint.pr3287
   Also: s3270  [3270 Emulator (Scripted)]
 http://www.fruitbat.org/Cygwin/suite3270/s3270-3.2.20-1.tar.bz2
 http://www.fruitbat.org/Cygwin/suite3270/setup.hint.s3270
   Also: tcl3270  [3270 Emulator (Tcl)]
 http://www.fruitbat.org/Cygwin/suite3270/tcl3270-3.2.20-1.tar.bz2
 http://www.fruitbat.org/Cygwin/suite3270/setup.hint.tcl3270
   Also: x3270  [3270 Emulator (X-Windows)]
 http://www.fruitbat.org/Cygwin/suite3270/x3270-3.2.20-1.tar.bz2
 http://www.fruitbat.org/Cygwin/suite3270/setup.hint.x3270
  Aye votes: Corinna Vinschen (2003-09/msg00341.html) [1/3]
 Charles Wilson (cygwin-apps-thread.11765) [2/3]
 Status: Package available.
   HOLD-UPS: Not enough votes (need 1 more). Not reviewed.


Package: d 1.2.0-1
Description: The Directory Lister
   Proposer: Yaakov Selkowitz
   Proposal: mailto:[EMAIL PROTECTED]
 http://mywebpage.netscape.com/yselkowitz/cygwin/d/d-1.2.0-1.tar.bz2
 http://mywebpage.netscape.com/yselkowitz/cygwin/d/d-1.2.0-1-src.tar.bz2
 http://mywebpage.netscape.com/yselkowitz/cygwin/d/setup.hint
Reviews: Gerrit P. Haase (cygwin-apps-thread.11476)
  Aye votes: Gerrit P. Haase (cygwin-apps-thread.11476) [1/3]
 Charles Wilson (cygwin-apps-thread.11765) [2/3]
 Status: Package available. Reviewed.
   HOLD-UPS: Not enough votes (need 1 more).


Package: distcc 2.11.1-1
Description: A fast, free, distributed C/C++ compiler
 

Re: [PATCH] setup - help and local dir command line options was Re: Setup Command Line Options

2003-10-24 Thread Robert Collins
On Sat, 2003-10-25 at 10:43, Ralf Habacker wrote:

 Below there are two patches:
 
 1. A patch implementing a help option, it prints it output to the setup.log
 (main.cc)

Approved. 

 2. Additional a patch to allow setting the local dir from the commandline.
 (localdir.cc)

This is in the wrong place: LocalDirSetting::load is the right method to
query the option from.

Rob
-- 
GPG key available at: http://members.aardvark.net.au/lifeless/keys.txt.


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


Re: Xfig and printer

2003-10-24 Thread ihok .
Lorenzo,

Keyboard focus issues in xfig may be related to keyboard focus issues in the 
latest Cygwin/Xfree releases. See 
http://sources.redhat.com/ml/cygwin-xfree/2003-10/msg00226.html.

BTW, here's how to reproduce a keyboard focus bug:

1. Start Xfree using the default startxwin.bat. 2. Try to type into the 
terminal window that pops up. Even though the window has focus, it won't get 
your keystrokes until you click inside it.

-JT

_
Add MSN 8 Internet Software to your current Internet access and enjoy 
patented spam control and more.  Get two months FREE! 
http://join.msn.com/?page=dept/byoa



Re: Enabling cygwin.rules/SharedLibFont

2003-10-24 Thread Alexander Gottwald
Alexander Gottwald wrote:

 Harold L Hunt II wrote:

  Okay, do you want to look into why XWin.exe crashed on startup with the
  shared version of the Xfont library?  Or, are you willing to let me
  handle that?  :)

 First should be xfs working with the shared lib. I've tried the shared
 linked xfs and it failed. Relinking it with the static Xfont solved the
 problem. So there must be a big difference in the way how the libs are
 build.

Results of my closer look:

The stub library (libfntstubs) is required because the libXfont design
requires undefined symbols, which are defined in the program (eg ErrorF).
libfntstubs provides the functions as non-functional ones. the only consist
of the prototype and an return.

Some of the functions initalize global structures (RegisterFPEFunctions).
RegisterFPEFunctions is not defined in libXfont but in xfs. Unfortunatly
the dlls do not allow undefined symbols and the stub library is used, but
now the required initialisation of the global structures is not done.

As a fix I think of changing the stubs to use an indirect call:

func_type *_RegisterFPEFunctions = NULL;
int RegisterFPEFunctions(...) {
if (_RegisterFPEFunctions == NULL)
return 0;
else
_RegisterFPEFunctions(...);
}

and set it with code added to libXfont.dll.a which is linked staticly into
the program:

extern func_type *_RegisterFPEFunctions;

void __init() {
  _RegisterFPEFunctions = RegisterFPEFunctions;
}

But this still requires some days. I'm away for the next weekend.

bye
ago

NP: Terminal Choice - Flesh in Chains
-- 
 [EMAIL PROTECTED]
 http://www.gotti.org   ICQ: 126018723


Re: Xfig and printer

2003-10-24 Thread Harold L Hunt II
I don't think these two issues are related.

xfig has been weird about keyboard focus even when not running in 
-multiwindow mode.

Harold

ihok . wrote:

Lorenzo,

Keyboard focus issues in xfig may be related to keyboard focus issues in 
the latest Cygwin/Xfree releases. See 
http://sources.redhat.com/ml/cygwin-xfree/2003-10/msg00226.html.

BTW, here's how to reproduce a keyboard focus bug:

1. Start Xfree using the default startxwin.bat. 2. Try to type into the 
terminal window that pops up. Even though the window has focus, it won't 
get your keystrokes until you click inside it.

-JT

_
Add MSN 8 Internet Software to your current Internet access and enjoy 
patented spam control and more.  Get two months FREE! 
http://join.msn.com/?page=dept/byoa




Re: Enabling cygwin.rules/SharedLibFont

2003-10-24 Thread Harold L Hunt II
Alexander,

Thanks for the update.  No rush.  It sounds like you have some good ideas.

By the way, David Dawes made a comment to another developer today about 
possibly revisiting the design of linking static libraries into the X 
Server after 4.4.0 is released.  This may be accepted as a general patch 
for all platforms if that ends up happening (or at least as a general 
mechanism that other platforms could use).

Harold

Alexander Gottwald wrote:

Alexander Gottwald wrote:


Harold L Hunt II wrote:


Okay, do you want to look into why XWin.exe crashed on startup with the
shared version of the Xfont library?  Or, are you willing to let me
handle that?  :)
First should be xfs working with the shared lib. I've tried the shared
linked xfs and it failed. Relinking it with the static Xfont solved the
problem. So there must be a big difference in the way how the libs are
build.


Results of my closer look:

The stub library (libfntstubs) is required because the libXfont design
requires undefined symbols, which are defined in the program (eg ErrorF).
libfntstubs provides the functions as non-functional ones. the only consist
of the prototype and an return.
Some of the functions initalize global structures (RegisterFPEFunctions).
RegisterFPEFunctions is not defined in libXfont but in xfs. Unfortunatly
the dlls do not allow undefined symbols and the stub library is used, but
now the required initialisation of the global structures is not done.
As a fix I think of changing the stubs to use an indirect call:

func_type *_RegisterFPEFunctions = NULL;
int RegisterFPEFunctions(...) {
if (_RegisterFPEFunctions == NULL)
return 0;
else
_RegisterFPEFunctions(...);
}
and set it with code added to libXfont.dll.a which is linked staticly into
the program:
extern func_type *_RegisterFPEFunctions;

void __init() {
  _RegisterFPEFunctions = RegisterFPEFunctions;
}
But this still requires some days. I'm away for the next weekend.

bye
ago
NP: Terminal Choice - Flesh in Chains



Copy/Paste problems due to speed of xdm login process

2003-10-24 Thread Jay Smith
Hi Harold, Kensuke, et al

The copy/paste is working *much* better after your recent fix.  However, I 
am having a very serious problem with it -- the copy/paste functionality 
only works if I login *extremely* fast to the XDM.  I am a fast typist, but 
I can only login fast enough about half of the time.

About 18 months ago (?) back when we were using xwinclip -- before it was 
integrated into the main program -- we had to put a sleep into the script 
to provide enough time for the communication to take place so that xwinclip 
would function.

After xwinclip became integrated into the program, none of this was a 
problem, until I installed the new Cygwin a couple weeks ago.

Can you do something to allow adequate time to login so that the copy/paste 
will function?

Jay

--
Jay Smith
e-mail: [EMAIL PROTECTED]  mailto:[EMAIL PROTECTED]
website: http://www.JaySmith.com
Jay Smith  Associates
P.O. Box 650
Snow Camp, NC  27349  USA
Phone: Int+US+336-376-9991
Toll-Free Phone in US  Canada:
1-800-447-8267
Fax: Int+US+336-376-6750


Re: http://lesstif.sourceforge.net/INSTALL.html#compile_Windows

2003-10-24 Thread Harold L Hunt II
Brian Ford wrote:
Um..., great!  But..., I wasn't *just* trying to get a shared build, or
*just* trying to fix mwm's Close bug.  At least with your new static lib
build (lesstif-0.93.91-2), none of our apps work anymore.  They all die
with error messages like I quoted below.
The -2 build was borked.  I linked the static versions of the libs 
against the shared version of Xt, this is why it fails to work properly. 
 I got confused during the packaging and forgot to switch the libs to 
shared.

The new -3 build uses shared libs and everything should be fine again.

Any chance you/Nicholas did something to fix these too?  Any chance of
previewing that package to see if it WFU (that would be Works For Us)
:)?
Yes, see above.

As for a WFU, I don't want to publish Nicholas's package address, but I 
have uploaded the binary and source packages here:

http://www.msu.edu/~huntharo/cygwin/lesstif/lesstif-0.93.91-3.tar.bz2 
(3.1 MiB)
http://www.msu.edu/~huntharo/cygwin/lesstif/lesstif-0.93.91-3-src.tar.bz2 
(2.98 MiB)

I am almost done with a rebuild of the source package on my machine.  I 
will post the packages afterwards if the build completes.

BTW, I still can't reproduct the Close bug because I still can't get mwm
to let me move a window, or pop up a menu from the title bar.  This is
strange because it happens to me with stock lesstif/XFree86 on both NT4
and XP.  I guess nobody else see this?
Hmm... I still can't reproduce the problem of not being able to move a 
window.  You have tried running with both -rootless and without any 
flags at all right (which would run in windowed mode.  You aren't using 
-multiwindow when testing mwm, right?  That might cause the sort of 
problem you are describing.

Harold



no key input

2003-10-24 Thread Dai Itasaka
My startxwin.sh gives me the root window and an xterm window in it.
(BI login to a remote host from this xterm after doing xhost for it.
(BFrom there, I invoke xterm specifying the local PC as the display.
(BNow I have two xterm windows here: one invoked locally, the other
(Binvoked from the remote host.
(B
(BTWM is my window manager. My preference is to show the IconManager
(Bat the upper right hand corner of the root, in which I can move
(Bfrom one icon to the next by pressing the keyboard combo specified
(Bin the ~/.twmrc as "f.downiconmgr" or "f.upiconmgr". If I press
(Bthe key combo, no matter where the mouse cursor is at, it jumps
(Bto the IconManager area and points to the window that has the keyboard
(Bfocus at the time. As I press the "up" or the "down" key, the mouse
(Bcursor jumps to one icon up or down, and the keyboard focus moves
(Bto the corresponding window at once. This is the equivalent of
(BMS Windows' Alt-Tab for me in X(no autoraise by default though).
(BThis is how I move the keyboard focus from one window to another.
(BI can't live without this as I have been doing this for over 10
(Byears now. I'm so accustomed to it that I sometimes do it in MS
(BWindows.
(B
(BNow, with the latest Cygwin install, I still can move the keyboard
(Bfocus by pressing the "up" or "down" key, thus I can toggle the
(Bkeyboard focus between the two xterm windows I mentioned above.
(BBut, the xterm that is locally executed(cygwin xterm) doesnt take
(Bany key input unless I move the mouse cursor over the xterm
(Bwindow area, while the one that is remotely executed can take key
(Binputs as usual without moving a mouse(the mouse cursor stays in
(Bthe IconManager area).
(B
(BUntil the one before the latest(XFree86-xserv-4.3.0-18?), this was
(Bnot the case. I was able to move around AND TYPE. Something that
(Bwas added since then broke this capability.

Re: Xfig and printer

2003-10-24 Thread Igor Pechtchanski
IIRC, xfig requires the mouse pointer to actually be inside the text entry
field for keyboard input to work -- just being inside of the Save... box
is not enough.
Igor

On Fri, 24 Oct 2003, Harold L Hunt II wrote:

 I don't think these two issues are related.

 xfig has been weird about keyboard focus even when not running in
 -multiwindow mode.

 Harold

 ihok . wrote:

  Lorenzo,
 
  Keyboard focus issues in xfig may be related to keyboard focus issues in
  the latest Cygwin/Xfree releases. See
  http://sources.redhat.com/ml/cygwin-xfree/2003-10/msg00226.html.
 
  BTW, here's how to reproduce a keyboard focus bug:
 
  1. Start Xfree using the default startxwin.bat. 2. Try to type into the
  terminal window that pops up. Even though the window has focus, it won't
  get your keystrokes until you click inside it.
 
  -JT

-- 
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: http://lesstif.sourceforge.net/INSTALL.html#compile_Windows

2003-10-24 Thread Brian Ford
On Fri, 24 Oct 2003, Harold L Hunt II wrote:

 Brian Ford wrote:
  Um..., great!  But..., I wasn't *just* trying to get a shared build, or
  *just* trying to fix mwm's Close bug.  At least with your new static lib
  build (lesstif-0.93.91-2), none of our apps work anymore.  They all die
  with error messages like I quoted below.

 The -2 build was borked.  I linked the static versions of the libs
 against the shared version of Xt, this is why it fails to work properly.
   I got confused during the packaging and forgot to switch the libs to
 shared.

IIRC, you first rebuilt lesstif without removing --disable-shared, then
you remembered and tried a rebuild with --enable-shared.  But I think you
didn't supply all the correct linker flags and got unresolved symbols.  So
you gave in temporarily and shipped the resulting static libs because mwm
worked for you with them?

Thus, I thought you expected those static libs to work, at least until we
fixed the shared build issue.

 The new -3 build uses shared libs and everything should be fine again.

  Any chance you/Nicholas did something to fix these too?  Any chance of
  previewing that package to see if it WFU (that would be Works For Us)
  :)?

 Yes, see above.

Good, that's all I wanted to know.  I'm content to wait for the release
now that I know there's a good chance it will fix my problem.  I was just
trying to debug something I didn't think was fixed before the next
release.

 As for a WFU, I don't want to publish Nicholas's package address, but I
 have uploaded the binary and source packages here:

 http://www.msu.edu/~huntharo/cygwin/lesstif/lesstif-0.93.91-3.tar.bz2
 (3.1 MiB)
 http://www.msu.edu/~huntharo/cygwin/lesstif/lesstif-0.93.91-3-src.tar.bz2
 (2.98 MiB)

Thanks.  I guess I'll test them anyway since you have kindly posted them.
It's the least I can do.

 I am almost done with a rebuild of the source package on my machine.  I
 will post the packages afterwards if the build completes.

Ok.

  BTW, I still can't reproduct the Close bug because I still can't get mwm
  to let me move a window, or pop up a menu from the title bar.  This is
  strange because it happens to me with stock lesstif/XFree86 on both NT4
  and XP.  I guess nobody else see this?

 Hmm... I still can't reproduce the problem of not being able to move a
 window.  You have tried running with both -rootless and without any
 flags at all right (which would run in windowed mode.  You aren't using
 -multiwindow when testing mwm, right?  That might cause the sort of
 problem you are describing.

I didn't try -rootless.  Just:

Xwin.exe ; mwm

from a bash prompt.

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


XWinrc and window placement

2003-10-24 Thread Jeffrey J. Gray
Hi,

Just upgraded my cygwin build for the first time in about a year and I'm 
loving all the new stuff!  A couple questions:

1-What can go in XWinrc?  I see a news posting on the cygwin/xfree86 web 
page that you can put custom commands in the tray icon, but the link to 
the sample XWinrc file is broken.  Could someone post such a file?

2-new xterms always appear in the upper left corner of my screen, all on 
top of each other.  Are there any provisions for 'smart placement' of 
windows?  How would I turn this on?  Preferences in XWinrc perhaps??

Thanks for the help, and kudos to all the devs out there.

Jeff



Re: no key input

2003-10-24 Thread Harold L Hunt II
Dai,

Very good documentation of your bug.  Thanks.

One undocumented change I made somewhere between October 4th and October
24th was to include the final version of Ivan Pascal's
xc/programs/Xserver/os/WaitFor.c patch:

http://cvs.sourceforge.net/viewcvs.py/xoncygwin/xc/programs/Xserver/os/WaitFor.c?r1=1.2r2=1.3

I suspect that this patch may be involved with the keyboard focus
problems, since the problem seems to affect multi-window, rootless, and
standard modes of operation.  I have not yet merged Kensuke's new
rootless code into a release, so I know that his new code has nothing to
do with this at all.

I have built a special test version of XWin.exe for you to check out.
The test version's only difference from 4.3.0-20 is that it reverts the
above patch to WaitFor.c.  Please run it and report your results:

http://www.msu.edu/~huntharo/xwin/devel/server/XWin-4.3.0-20-Test01.exe.bz2


Thanks for testing,

Harold


Dai Itasaka wrote:

 My startxwin.sh gives me the root window and an xterm window in it.
 I login to a remote host from this xterm after doing xhost for it.
 From there, I invoke xterm specifying the local PC as the display.
 Now I have two xterm windows here: one invoked locally, the other
 invoked from the remote host.
 
 TWM is my window manager. My preference is to show the IconManager
 at the upper right hand corner of the root, in which I can move
 from one icon to the next by pressing the keyboard combo specified
 in the ~/.twmrc as f.downiconmgr or f.upiconmgr. If I press
 the key combo, no matter where the mouse cursor is at, it jumps
 to the IconManager area and points to the window that has the keyboard
 focus at the time. As I press the up or the down key, the mouse
 cursor jumps to one icon up or down, and the keyboard focus moves
 to the corresponding window at once. This is the equivalent of
 MS Windows' Alt-Tab for me in X(no autoraise by default though).
 This is how I move the keyboard focus from one window to another.
 I can't live without this as I have been doing this for over 10
 years now. I'm so accustomed to it that I sometimes do it in MS
 Windows.
 
 Now, with the latest Cygwin install, I still can move the keyboard
 focus by pressing the up or down key, thus I can toggle the
 keyboard focus between the two xterm windows I mentioned above.
 But, the xterm that is locally executed(cygwin xterm) doesnt take
 any key input unless I move the mouse cursor over the xterm
 window area, while the one that is remotely executed can take key
 inputs as usual without moving a mouse(the mouse cursor stays in
 the IconManager area).
 
 Until the one before the latest(XFree86-xserv-4.3.0-18?), this was
 not the case. I was able to move around AND TYPE. Something that
 was added since then broke this capability.
 



Cygwin upgrade (including XFree86) - keyboard disabled - FIXED

2003-10-24 Thread John Dalbec
Today I upgraded my Cygwin installation (Win 2000 Pro) including the X 
server.  When I tried to run X programs (even locally), there was no 
response to the keyboard.  After some experimentation I found that the 
XKB extension was the problem.  Starting XWin with -kb fixed it.
FYI,
John Dalbec




Re: XWinrc and window placement

2003-10-24 Thread Harold L Hunt II
Jeff,

Jeffrey J. Gray wrote:
Hi,

Just upgraded my cygwin build for the first time in about a year and I'm 
loving all the new stuff!  A couple questions:

1-What can go in XWinrc?  I see a news posting on the cygwin/xfree86 web 
page that you can put custom commands in the tray icon, but the link to 
the sample XWinrc file is broken.  Could someone post such a file?
I believe you are referring to the example.XWinrc link on the project 
home page (http://xfree86.cygwin.com).  If so, the broken link has been 
fixed.  The sample .XWinrc file has all of the documenation in it that I 
know of (Earle F. Philhower III wrote it).  There has not yet been a 
section written in the User's Guide for this feature.

2-new xterms always appear in the upper left corner of my screen, all on 
top of each other.  Are there any provisions for 'smart placement' of 
windows?  How would I turn this on?  Preferences in XWinrc perhaps??
No smart placement, but you can change the placement of the windows 
using the geometry flags (generic to almost all X apps, please seek 
other documentation for this).

Also, this implies that you are using startx (I think), when you should 
most likely be using startxwin.bat instead.  Give it a try, see if you 
like it.  I will eventually update the startx scripts, but I don't 
understand them as well as the batch file, so startx will always be a 
little out of date.

Thanks for the help, and kudos to all the devs out there.
No problem, glad you like it.

Harold



Re: http://lesstif.sourceforge.net/INSTALL.html#compile_Windows

2003-10-24 Thread Harold L Hunt II
Brian Ford wrote:
IIRC, you first rebuilt lesstif without removing --disable-shared, then
you remembered and tried a rebuild with --enable-shared.  But I think you
didn't supply all the correct linker flags and got unresolved symbols.  So
you gave in temporarily and shipped the resulting static libs because mwm
worked for you with them?
Thus, I thought you expected those static libs to work, at least until we
fixed the shared build issue.
I can see how you would have thought that.  What really happened was 
that I got confused about whether the build was successful or not, 
installed it, ran mwm, everything worked, so I shipped it.  Then I 
looked in the package and noticed there were no DLLs.  Upon inspecting 
the build log I saw that the missing link flags were preventing them 
from being build.  Upon adding the missing link flags there were still 
lots of build problems that had to be resolved in order to build shared 
libraries.  That is where Nicholas and I started working on it and he 
finished up getting the shared libraries built plus he included bug 
fixes from lesstif's CVS tree.  The new version should work without 
problems.

BTW, I still can't reproduct the Close bug because I still can't get mwm
to let me move a window, or pop up a menu from the title bar.  This is
strange because it happens to me with stock lesstif/XFree86 on both NT4
and XP.  I guess nobody else see this?
Hmm... I still can't reproduce the problem of not being able to move a
window.  You have tried running with both -rootless and without any
flags at all right (which would run in windowed mode.  You aren't using
-multiwindow when testing mwm, right?  That might cause the sort of
problem you are describing.
I didn't try -rootless.  Just:

Xwin.exe ; mwm

from a bash prompt.
With all of the weirdness about bash lately, perhaps you should edit 
startxwin.bat and try from there instead?  Or at least try it from a 
straight command prompt (after running 'set DISPLAY=127.0.0.1:0.0' and 
setting the PATH as in startxwin.bat).

Harold




Re: Cygwin upgrade (including XFree86) - keyboard disabled - FIXED

2003-10-24 Thread Harold L Hunt II
John,

That is a work-around, not a fix.  Regardless, it is useful information, 
so thanks for posting it.

Harold

John Dalbec wrote:

Today I upgraded my Cygwin installation (Win 2000 Pro) including the X 
server.  When I tried to run X programs (even locally), there was no 
response to the keyboard.  After some experimentation I found that the 
XKB extension was the problem.  Starting XWin with -kb fixed it.
FYI,
John Dalbec





Re: http://lesstif.sourceforge.net/INSTALL.html#compile_Windows

2003-10-24 Thread Brian Ford
On Fri, 24 Oct 2003, Harold L Hunt II wrote:

 Brian Ford wrote:
  IIRC, you first rebuilt lesstif without removing --disable-shared, then
  you remembered and tried a rebuild with --enable-shared.  But I think you
  didn't supply all the correct linker flags and got unresolved symbols.  So
  you gave in temporarily and shipped the resulting static libs because mwm
  worked for you with them?
 
  Thus, I thought you expected those static libs to work, at least until we
  fixed the shared build issue.

 I can see how you would have thought that.  What really happened was
 that I got confused about whether the build was successful or not,
 installed it, ran mwm, everything worked, so I shipped it.  Then I
 looked in the package and noticed there were no DLLs.  Upon inspecting
 the build log I saw that the missing link flags were preventing them
 from being build.  Upon adding the missing link flags there were still
 lots of build problems that had to be resolved in order to build shared
 libraries.  That is where Nicholas and I started working on it and he
 finished up getting the shared libraries built plus he included bug
 fixes from lesstif's CVS tree.  The new version should work without
 problems.

Ok, understood.

Bad news though, maybe.  I just tried the binary package you posted, and
assuming I didn't make an installation error, I still get those
XmeTraitSet errors with our apps.

I was in a rush though, and I am just about instantaneously headed out of
town for the weekend, so this is just a heads up.  I'll restle with it
again on Monday.

 BTW, I still can't reproduct the Close bug because I still can't get mwm
 to let me move a window, or pop up a menu from the title bar.  This is
 strange because it happens to me with stock lesstif/XFree86 on both NT4
 and XP.  I guess nobody else see this?
 
 Hmm... I still can't reproduce the problem of not being able to move a
 window.  You have tried running with both -rootless and without any
 flags at all right (which would run in windowed mode.  You aren't using
 -multiwindow when testing mwm, right?  That might cause the sort of
 problem you are describing.
 
 
  I didn't try -rootless.  Just:
 
  Xwin.exe ; mwm
 
  from a bash prompt.

 With all of the weirdness about bash lately, perhaps you should edit
 startxwin.bat and try from there instead?  Or at least try it from a
 straight command prompt (after running 'set DISPLAY=127.0.0.1:0.0' and
 setting the PATH as in startxwin.bat).

Just tried your new shared linked mwm with a modified startxwin.bat run
from Start-Run.  Same results.  I'll look again on Monday.

One other note.  cygcheck /usr/X11R6/bin/mwm:

[EMAIL PROTECTED] ~/v9win/util/host
$ cygcheck /usr/X11R6/bin/mwm.exe
G:/cygwin/usr/X11R6/bin/mwm.exe
  G:/cygwin/usr/X11R6/bin\cygXm-2.dll
G:/cygwin/usr/X11R6/bin\cygX11-6.dll
  G:\cygwin\bin\cygcygipc-2.dll
G:\cygwin\bin\cygwin1.dll
  D:\WINNT\System32\KERNEL32.dll
D:\WINNT\System32\ntdll.dll
G:/cygwin/usr/X11R6/bin\cygXft-2.dll
  G:/cygwin/usr/X11R6/bin\cygXext-6.dll
  G:/cygwin/usr/X11R6/bin\cygfontconfig-1.dll
G:/cygwin/usr/X11R6/bin\cygfreetype-9.dll
G:\cygwin\bin\cygexpat-0.dll
G:/cygwin/usr/X11R6/bin\cygXp-6.dll
G:/cygwin/usr/X11R6/bin\cygXrender-1.dll
G:/cygwin/usr/X11R6/bin\cygXt-6.dll
  G:/cygwin/usr/X11R6/bin\cygICE-6.dll
  G:/cygwin/usr/X11R6/bin\cygSM-6.dll

Are those mixed slashes normal and ok?

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


Re: no key input

2003-10-24 Thread Dai Itasaka
Thanks Harold for the special XWin.exe
(Bbut I must report "still no key input" on local xterms.
(B
(BI noticed that my XWin.exe is dated as Oct 6. The latest
(Bxserv went public on last Friday Oct 17 and I updated
(Bit on the following Monday Oct 20. I know I was able
(Bto move around on Oct 17(before I updated to the latest).
(B
(BThe latest package didn't update XWin.exe, did it?
(BAlmost all other exe files in /usr/X11R6/bin are dated
(Bas Oct 16 now so they are probably included in the latest
(Bpackage but I don't think XWin.exe is.
(B
(BThis leads me to think that XWin.exe is not the culprit.

http://lesstif.sourceforge.net/INSTALL.html#compile_Windows

2003-10-24 Thread Brian Ford
 Windows

 On windows using Cygwin, U/WIN or Interix, LessTif must be built as
 static libraries.  Because, one of the biggest issues with X on Win32 is
 the moronic DLL format. Specifically - it is not possible to export
 data from a Win32 DLL in a form that can be used to statically
 initialize another global variable. Data access from a DLL requires at
 least one pointer indirection, and hence executable code. This is why
 X11R6 doesn't have DLLs for Xt/Xmu/Xaw (and Motif) on Win32.

Not exactly true on Cygwin anymore because of the following hack:

http://www.cygwin.com/ml/cygwin-xfree/2003-10/msg00173.html

I am still trying to shake out a working lesstif DLL from this, but I
thought I would ask two questions that might help speed this up.

Does anyone remember what variables specifically this effects?  Is
_XtInherit() the only one?

As an intermediate step, I am trying a static lesstif build with the new
shared Xt/Xmu, etc.  I am getting the followin message on startup of an
application that previously worked fine:

Warning: XmManager ClassInitialize: XmeTraitSet failed

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

Still digging in lesstif source to find out what this means and where to
go from here, but any comments/suggestions would be greatly appreciated.

Thanks.

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


Re: http://lesstif.sourceforge.net/INSTALL.html#compile_Windows

2003-10-24 Thread Harold L Hunt II
Brian,

Actually, Nicholas Wourms and I got a shared build working.  He has 
posted the package for me to review and I will try to upload it tonight 
if I get a chance.  He also included bug fixes that are in lesstif's 
CVS, so mwm's 'Close' menu item seems to be working again.

Harold

Brian Ford wrote:

Windows

On windows using Cygwin, U/WIN or Interix, LessTif must be built as
static libraries.  Because, one of the biggest issues with X on Win32 is
the moronic DLL format. Specifically - it is not possible to export
data from a Win32 DLL in a form that can be used to statically
initialize another global variable. Data access from a DLL requires at
least one pointer indirection, and hence executable code. This is why
X11R6 doesn't have DLLs for Xt/Xmu/Xaw (and Motif) on Win32.
Not exactly true on Cygwin anymore because of the following hack:

http://www.cygwin.com/ml/cygwin-xfree/2003-10/msg00173.html

I am still trying to shake out a working lesstif DLL from this, but I
thought I would ask two questions that might help speed this up.
Does anyone remember what variables specifically this effects?  Is
_XtInherit() the only one?
As an intermediate step, I am trying a static lesstif build with the new
shared Xt/Xmu, etc.  I am getting the followin message on startup of an
application that previously worked fine:
Warning: XmManager ClassInitialize: XmeTraitSet failed

Error: attempt to add non-widget child DropSiteManager to parent he
which supports only widgets
Still digging in lesstif source to find out what this means and where to
go from here, but any comments/suggestions would be greatly appreciated.
Thanks.




src/winsup/cygwin ChangeLog path.cc

2003-10-24 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2003-10-24 08:13:15

Modified files:
winsup/cygwin  : ChangeLog path.cc 

Log message:
* path.cc (win32_device_name): Fix comment.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=srcr1=1.2132r2=1.2133
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/path.cc.diff?cvsroot=srcr1=1.275r2=1.276



Re: fhandler_base::ioctl (FIONBIO)

2003-10-24 Thread Corinna Vinschen
On Thu, Oct 23, 2003 at 06:06:09PM -0500, Brian Ford wrote:
 Any reason not to support this?  It seams to me that this patch just
 parallels what is already in fhandler_base::fcntl (F_SETFL) for
 O_NONBLOCK.

Yes, I think you're right.  However, I'd like to ask you to rearrange
your patch a bit.  Most (all?) other ioctl methods are using a switch
statement rather than a if/else clause.  To allow later easier extension,
I think using a switch here would be better as well, even though there's
only one case so far.

Corinna


 
 I was trying to fix this issue:
 
 http://www.cygwin.com/ml/cygwin/2003-10/msg01159.html
 
 2003-10-23  Brian Ford  [EMAIL PROTECTED]
 
   * fhandler.cc (fhandler_base::ioctl): Handle FIONBIO.
 
 -- 
 Brian Ford
 Senior Realtime Software Engineer
 VITAL - Visual Simulation Systems
 FlightSafety International
 Phone: 314-551-8460
 Fax:   314-551-8444
 Index: fhandler.cc
 ===
 RCS file: /cvs/src/src/winsup/cygwin/fhandler.cc,v
 retrieving revision 1.159
 diff -u -p -r1.159 fhandler.cc
 --- fhandler.cc   30 Sep 2003 21:46:08 -  1.159
 +++ fhandler.cc   23 Oct 2003 21:38:51 -
 @@ -909,13 +909,21 @@ fhandler_base::close ()
  int
  fhandler_base::ioctl (unsigned int cmd, void *buf)
  {
 +  int res;
 +
if (cmd == FIONBIO)
 -syscall_printf (ioctl (FIONBIO, %p), buf);
 +{
 +  set_nonblocking (*(int *) buf);
 +  res = 0;
 +}
else
 -syscall_printf (ioctl (%x, %p), cmd, buf);
 +{
 +  set_errno (EINVAL);
 +  res = -1;
 +}
  
 -  set_errno (EINVAL);
 -  return -1;
 +  syscall_printf (%d = ioctl (%x, %p), res, cmd, buf);
 +  return res;
  }
  
  int


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


RE: how to build GNU make from scratch ?

2003-10-24 Thread Bobby McNulty Junior
I just configured Make 3.80 in a seperate directory.
I made on called o in the root of the source code and configured.
Looks promising, as long as you are using the latest tools.
Cygwin B20 won't configure this way, if that is what you are using.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
Of Heiko Nardmann
Sent: Friday, October 24, 2003 12:46 AM
To: [EMAIL PROTECTED]
Subject: Q: how to build GNU make from scratch ?


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi!

I just unpacked the original GNU make sources and now am unsure about how to
build this thing. Calling './configure' does not give any output on the
shell. Is there any other way for GNU make?

- --
Heiko Nardmann (Dipl.-Ing. Technische Informatik)
secunet Security Networks AG - Sicherheit in Netzwerken (www.secunet.de),
Weidenauer Str. 223-225, D-57076 Siegen
Tel. : +49 271 48950-13, Fax  : +49 271 48950-50

Besuchen Sie uns
vom 20. - 24.10.2003 auf der Systems in München, Halle B2, Stand 315 und
vom 06. - 08.11.2003 auf der Comtec in Dresden, Halle 4, Stand B5.
Wir freuen uns auf das Gespräch mit Ihnen.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iEYEARECAAYFAj+YvJIACgkQpm53PRScYyj7xwCaAuH0j1Jrpfvw6utIquVslt5w
nu0AoIITZFov0ouHWf5TBonaiy8kDvGJ
=8t5f
-END PGP SIGNATURE-


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




--
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: Strange Cygwin issue

2003-10-24 Thread Dylan Cuthbert
Did you sort this problem out eventually?  We're having the same problem.

We pass a DOS command that we've compiled in Vis.C a parameter from within a
bash shell and all our quotes are played with.

ie.   # ourcommand   'my oh my this is a string that is played with'

and we getmy oh my \this is a string\ that is played with
(including the surrounding double quotes) in our DOS program.

Not what we want really.

-
Q-Games, Dylan Cuthbert.
http://www.q-games.com


David Abrahams [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Igor Pechtchanski [EMAIL PROTECTED] writes:

  Dave,
 
  Actually, upon re-reading the above, it looks like it's a bash quoting
  issue.  You might try the fix that worked for cygstart: single quote
the
  double quotes, e.g.
 
  tlib 'c:\foo-bar\baz'

 I exhausted all obvious possibilites, including that one, before
 posting here.

  or, if you want to be more generic,
 
  FILENAME=/cygdrive/c/foo-bar/baz
  tlib ''`cygpath -w $FILENAME`''
 
  Make sure you copy the above *exactly* (better yet, cut/paste).
  Hope this helps,

 No dice:

 [EMAIL PROTECTED] /cygdrive/c/boost/tools/build/test
 $ foo=/cygdrive/c/foo-bar/baz

 [EMAIL PROTECTED] /cygdrive/c/boost/tools/build/test
 $ /cygdrive/c/tools/Borland/BCC55/Bin/tlib.exe  ''`cygpath -w
$foo`''
 TLIB 4.5 Copyright (c) 1987, 1999 Inprise Corporation

 Error: opening '\c:\foo.LIB'

 The response should look like:

 C:\boost\tools\build\jam_srcc:\tools\Borland\BCC55\Bin\tlib.exe
c:\foo-bar\baz
 TLIB 4.5 Copyright (c) 1987, 1999 Inprise Corporation

 Error: opening 'c:\foo-bar\baz.LIB'

 -- 
 Dave Abrahams
 Boost Consulting
 www.boost-consulting.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: Q: how to build GNU make from scratch ?

2003-10-24 Thread Heiko Nardmann
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Freitag, 24. Oktober 2003 07:45, Heiko Nardmann wrote:
 Hi!

 I just unpacked the original GNU make sources and now am unsure about how
 to build this thing. Calling './configure' does not give any output on the
 shell. Is there any other way for GNU make?


I traced my problem with configure further down to the basename call in line 
58. It does not come back. I am not sure whether /bin/sh has a builtin 
basename or it is using the external /usr/bin/basename. The later is working 
fine at my bash prompt.

Changing /bin/sh to /bin/bash at the start of the configure script gets me 
slightly further. I now get the following output:

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets ${MAKE}... ./configure: fork: Resource temporarily 
unavailable

and here again make seems to hang ...

I am going to try it without configure and make ... :-(

- -- 
Heiko Nardmann (Dipl.-Ing. Technische Informatik)
secunet Security Networks AG - Sicherheit in Netzwerken (www.secunet.de),
Weidenauer Str. 223-225, D-57076 Siegen
Tel. : +49 271 48950-13, Fax  : +49 271 48950-50

Besuchen Sie uns
vom 20. - 24.10.2003 auf der Systems in München, Halle B2, Stand 315 und
vom 06. - 08.11.2003 auf der Comtec in Dresden, Halle 4, Stand B5.
Wir freuen uns auf das Gespräch mit Ihnen.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iEYEARECAAYFAj+YxMwACgkQpm53PRScYyiLiACgtJDly4Y03divNnoBcvGJCeLf
hbEAni6xXhGAVSjz2xSLgMgR2uxtdkl/
=nCvg
-END PGP SIGNATURE-


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



Re: how to build GNU make from scratch ?

2003-10-24 Thread Heiko Nardmann
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Freitag, 24. Oktober 2003 08:07, Bobby McNulty Junior wrote:
 I just configured Make 3.80 in a seperate directory.
 I made on called o in the root of the source code and configured.
 Looks promising, as long as you are using the latest tools.
 Cygwin B20 won't configure this way, if that is what you are using.


What is Cygwin B20 in difference to what I normally get by setup.exe ???


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
 Of Heiko Nardmann
 Sent: Friday, October 24, 2003 12:46 AM
 To: [EMAIL PROTECTED]
 Subject: Q: how to build GNU make from scratch ?


 Hi!

 I just unpacked the original GNU make sources and now am unsure about how
 to build this thing. Calling './configure' does not give any output on the
 shell. Is there any other way for GNU make?

 --
 Heiko Nardmann (Dipl.-Ing. Technische Informatik)
 secunet Security Networks AG - Sicherheit in Netzwerken (www.secunet.de),
 Weidenauer Str. 223-225, D-57076 Siegen
 Tel. : +49 271 48950-13, Fax  : +49 271 48950-50

 Besuchen Sie uns
 vom 20. - 24.10.2003 auf der Systems in München, Halle B2, Stand 315 und
 vom 06. - 08.11.2003 auf der Comtec in Dresden, Halle 4, Stand B5.
 Wir freuen uns auf das Gespräch mit Ihnen.

- -- 
Heiko Nardmann (Dipl.-Ing. Technische Informatik)
secunet Security Networks AG - Sicherheit in Netzwerken (www.secunet.de),
Weidenauer Str. 223-225, D-57076 Siegen
Tel. : +49 271 48950-13, Fax  : +49 271 48950-50

Besuchen Sie uns
vom 20. - 24.10.2003 auf der Systems in München, Halle B2, Stand 315 und
vom 06. - 08.11.2003 auf der Comtec in Dresden, Halle 4, Stand B5.
Wir freuen uns auf das Gespräch mit Ihnen.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iEYEARECAAYFAj+YxZkACgkQpm53PRScYyh2+QCgzMZdJCE9UWqiRWDBDTK7bsw7
RoIAoLwQvuygKVAUo8U0Codn+3i9axAi
=cZZ7
-END PGP SIGNATURE-


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



Re: how to build GNU make from scratch ?

2003-10-24 Thread Cliff Hones

Heiko Nardmann wrote:
 ... 
 What is Cygwin B20 in difference to what I normally get by setup.exe ???

[Joerg was of course joking...]

B20 is a *very* old version of Cygwin, which is completely
unsupported.  If you are using setup.exe to install, you will
not have B20.  I've no idea why Bobby M brought the subject up.

Returning to your original problem, it sounds as though you
have a broken installation.  make, configure et al should
run 'out of the box', and you should not need to rebuild
make.  If you do wish to rebuild make, you should use
the Cygwin version of the source tarball (which you can
get using setup.exe) as there are in all likelihood
Cygwin-specific patches which are not present in the
mainline GNU sources.

So, take a look at http://cygwin.com/problems.html
and send in the required details so we can help track
down your problem.

-- Cliff




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



Re: Binaries for bootstrap GNAT/GCC-Cygwin Build

2003-10-24 Thread Gerrit P. Haase
David schrieb:

 First, a general apology if I seem to be going over stuff I've gone over
 before.  I had a computer outage that cost me most of my memory of the
 last 4 years. 

 Around 25 September, David, Gerrit, and Jason had a discussion on the 
 list about making David's build of GNAT available.  David's server 
 couldn't bear much traffic but there were some offers of other sites.
 Are the binaries available on-line at this time?

I have a mirror where also Davids binaries are asvailable, though it is
realy outdated, I even couldn't use it to bootstrap a newer gcc on top
of Cygwin 1.5.5.  I'm just about finishing a GCC release for Cygwin
including GNAT.

Do you have a reasonable amount of time and Ada code to test run the Ada
compiler? 

Gerrit
-- 
=^..^=


--
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: Wildcard problem with recursion

2003-10-24 Thread Andy Rushton
Corinna Vinschen wrote:

On Thu, Oct 23, 2003 at 03:05:53PM +0530, Ajith Kumar wrote:
 

Cygwin utilities like grep or ls with -R options doesn't seem to be working.
egs when I say
   

grep -r FLD_DCT_STRING  *.h??
 

I get
grep: *.hpp: No such file or directory
However there are many .h, .hxx and .hpp files in the subdirectories

ls also gives the same err.

Any solutons?
   

Yes, read the shell man pages to learn how file completion works.
What you want is a job for `find | xargs grep'.
 

Thanks for the xargs tip Corinna - thats a new one on me.

an alternative (talking to original poster here) is:

grep FLD_DCT_STRING `find . -name '*.h??'`

Or you can search *directories* recursively with grep, but this doesn't 
allow you to filter the file type. e.g.:

grep -r FLD_DCT_STRING .

where '.' is the current directory - this will search all files in 
subdirectories too. See 'info grep'.

Andy
--
Andy Rushton, Research Fellow, School of ECS, Southampton University
address: rm 3053, Mountbatten Building (53)
phone: 023 8059 6665
http://www.ecs.soton.ac.uk/~ajr1


--
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 to build GNU make from scratch ?

2003-10-24 Thread Hannu E K Nevalainen
 From: Heiko Nardmann
 Sent: Friday, October 24, 2003 8:24 AM

 What is Cygwin B20 in difference to what I normally get by setup.exe ???

 Very O L D 

  [Acronym geeks take heed! Only Limited Delivery ;-) ]

/Hannu E K Nevalainen, B.Sc. EE - 59?16.37'N, 17?12.60'E
-- printf(Timezone: %s\n, (DST)?UTC+02:UTC+01); --
--END OF MESSAGE--


--
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: rsync local dir copy hang - solved for me

2003-10-24 Thread Hannu E K Nevalainen
 From: Bakken, Luke
 Sent: Friday, October 24, 2003 4:19 AM

 Hi all,

 I was attempting to use rsync (v 2.5.6) to copy one local directory to
 another on my machine (Windows XP) today when I experienced the dreaded
 hang. It copied the files, and hung waiting for a child process to exit.
 When I killed that process using taskmgr, the parent exited OK.

 The following fixed my particular hang situation:

 --- orig_main.c 2003-10-23 19:16:22.5 -0700
 +++ main.c  2003-10-23 19:16:35.828125000 -0700
 @@ -47,7 +47,7 @@
 int cnt;

 while ((waited_pid = waitpid(pid, status, WNOHANG)) == 0) {
 -   msleep(20);
 +   /* msleep(20); */
 io_flush();
 }


 I hope this can be of help to someone!
 Luke

Now the following text isn't meant to be rude or some such, so please don't
take offence. This is just yet another of those itchy little points of
mine...


$ man waitpid
No manual entry for waitpid
$ man msleep
No manual entry for msleep

Hmm? Is waitpid() a blocking call or not? WRT WNOHANG it looks like an
unblocking one...

 Thus I'm assuming it doesn't block and that msleep() is something internal
to rsync, using usleep() or some such.
 If msleep() does more than so, I would guess the problem to be inside
msleep().

 A general comment: Given what I've written above the result of the patch is
called busy waiting and is a *hard* blow against all other software that
is running at the same time.
 If the loop exit condition appears late the machine running the above
code will experience jerkyness and other ill effects - at the extreme but
still likely level there might even be disturbances of *vital* system
functions (e.g. related to time critical tasks).

The bottom point: *don't do that* ;-)
 i.e. leave the msleep() call there. This is a simple - yet effective - way
to avoid ill effects of a tight loop.

/Hannu E K Nevalainen, B.Sc. EE - 59?16.37'N, 17?12.60'E
-- printf(Timezone: %s\n, (DST)?UTC+02:UTC+01); --


Example:
 I have a cheap SCSI-interface in my PC, this is connected to my scanner;
now can you guess what happens when I start scanning?
 Not very hard, ehh? Yes indeed, the entire computer stops, waiting for SCSI
I/O; i.e. 10-20 seconds for a preview, 30-60 seconds for scanning the bus at
boot time, anything from a minute and up for scanning an image.
 Guess what? I *do* disable this piece of hardware when I'm not going to use
it explicitly. (Monetary reasons leaves me in this situation) :-7

--END OF MESSAGE--


--
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: Strange Cygwin issue

2003-10-24 Thread Hannu E K Nevalainen
 From: Dylan Cuthbert
 Sent: Friday, October 24, 2003 8:10 AM

 Did you sort this problem out eventually?  We're having the same problem.
 
 We pass a DOS command that we've compiled in Vis.C a parameter 
 from within a
 bash shell and all our quotes are played with.
 
 ie.   # ourcommand   'my oh my this is a string that is played with'
 
 and we getmy oh my \this is a string\ that is played with
 (including the surrounding double quotes) in our DOS program.
 
 Not what we want really.

 I'd say; play with temporary files.

e.g:
$ echo /tmp/tmp_$$ command arg1 \arg2.1 arg2.2\ arg.3
$ cmd /c $(cygpath -WA /tmp/tmp_$$)
$ rm /tmp/tmp_$$

/Hannu E K Nevalainen, B.Sc. EE - 59?16.37'N, 17?12.60'E
-- printf(Timezone: %s\n, (DST)?UTC+02:UTC+01); --
--END OF MESSAGE--

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



Ecurrency Card, FRE_EE prmeedz

2003-10-24 Thread Calvin Landry
a href=http://www.global-goldcard.com;www.global-goldcard.com/a/b/

ofm xzkbrthgmzbhcnsxhcqmb
einszaz
o
ea vjgmhagb mlljxu
uadfn


Re: how to build GNU make from scratch ?

2003-10-24 Thread Gerrit P. Haase
Heiko wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 On Freitag, 24. Oktober 2003 08:07, Bobby McNulty Junior wrote:
 I just configured Make 3.80 in a seperate directory.
 I made on called o in the root of the source code and configured.
 Looks promising, as long as you are using the latest tools.
 Cygwin B20 won't configure this way, if that is what you are using.

 What is Cygwin B20 in difference to what I normally get by setup.exe ???

Please search the archives.

Gerrit
-- 
=^..^= http://nyckelpiga.de/donate.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/



1.5.1: can't open files beginning with ...

2003-10-24 Thread Chris Moore
I have a file on my PC called ...foo.txt.

cygwin has a problem with this file:

  $ ls -a
  .  ..  ...foo.txt  cygcheck.out
  $ ls -al  /dev/null
  ls: ...foo.txt: No such file or directory
  $ 

cygwin also has a problem making similarly named files:

  $ touch ...foo2.txt
  touch: creating `...foo2.txt': No such file or directory

Windows Explorer also doesn't like to make files whose names begin
with 3 dots, but Windows itself is fine with them.  The following
Perl one-liner makes the file if you run it in the (native Windows)
ActiveState Perl:

  open(FP, ...foo3.txt) or die $!;

But the cygwin perl complains:

  No such file or directory at 3dots.pl line 1..

I can also create these '3 dot' files in a native Win32 Emacs, but
not in the cygwin Emacs.  Even a Windows 'DOS prompt' (cmd.exe) is
able to make it:

  C:\echo foo  ...foo3.txt
  C:\

I'm not sure how to tell you what version of cygwin this is, but the
'DLL version' is 1.5.5 if that's what you need to know.

I've attached the output of cygcheck -s -v -r.

Chris.


Cygwin Win95/NT Configuration Diagnostics
Current System Time: Fri Oct 24 13:56:27 2003

Windows XP Home Edition Ver 5.1 Build 2600 Service Pack 1

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

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 1006(Chris) GID: 513(None)
513(None)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 1006(Chris) GID: 513(None)
513(None)544(Administrators)  
545(Users)

SysDir: C:\WINDOWS\System32
WinDir: C:\WINDOWS

HOME = `c:\Chris'
MAKE_MODE = `unix'
PWD = `/cygdrive/c/Chris/cygwin'
USER = `Chris'

ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
APPDATA = `C:\Documents and Settings\Chris\Application Data'
COMMONPROGRAMFILES = `C:\Program Files\Common Files'
COMPUTERNAME = `CHRISLAP'
COMSPEC = `C:\WINDOWS\system32\cmd.exe'
CVS_RSH = `/bin/ssh'
DJGPP = `c:\djgpp\djgpp.env'
HOMEDRIVE = `C:'
HOMEPATH = `\Documents and Settings\Chris'
HOSTNAME = `CHRISLAP'
LOGONSERVER = `\\CHRISLAP'
MANPATH = `:/usr/X11R6/man:/usr/ssl/man'
NUMBER_OF_PROCESSORS = `1'
OLDPWD = `/cygdrive/c/Chris'
OS = `Windows_NT'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 15 Model 2 Stepping 4, GenuineIntel'
PROCESSOR_LEVEL = `15'
PROCESSOR_REVISION = `0204'
PROGRAMFILES = `C:\Program Files'
PROMPT = `$P$G'
PS1 = `\W $ '
SESSIONNAME = `Console'
SHLVL = `1'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINDOWS'
TEMP = `c:\DOCUME~1\Chris\LOCALS~1\Temp'
TERM = `cygwin'
TMP = `c:\DOCUME~1\Chris\LOCALS~1\Temp'
TZ = `GMT-2'
USERDOMAIN = `CHRISLAP'
USERNAME = `Chris'
USERPROFILE = `C:\Documents and Settings\Chris'
WINDIR = `C:\WINDOWS'
_ = `/usr/bin/cygcheck'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\00
  (default) = `C:'
  unix = `/'
  fbinary = 0x
  fsilent = 0x
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
  (default) = `/cygdrive'
  cygdrive flags = 0x0022
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = `C:\cygwin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = `C:\cygwin/bin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = `C:\cygwin/lib'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/X11R6/lib/X11/fonts
  (default) = `C:\cygwin\usr\X11R6\lib\X11\fonts'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\00
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\01
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\02
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\03
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\04
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\05
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\06
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\07

Re: Q: how to build GNU make from scratch ?

2003-10-24 Thread Heiko Nardmann
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Freitag, 24. Oktober 2003 08:21, Heiko Nardmann wrote:
 On Freitag, 24. Oktober 2003 07:45, Heiko Nardmann wrote:
  Hi!
 
  I just unpacked the original GNU make sources and now am unsure about how
  to build this thing. Calling './configure' does not give any output on
  the shell. Is there any other way for GNU make?

 I traced my problem with configure further down to the basename call in
 line 58. It does not come back. I am not sure whether /bin/sh has a builtin
 basename or it is using the external /usr/bin/basename. The later is
 working fine at my bash prompt.


After having no luck with my local machine having XP and some patches 
installed locally I switched to our VmWare server and grabbed a copy of the 
pure XP master without any patches. Then I installed current CygWin from 
scratch and what a wonder - it works now.

So now I am not sure whether my CygWin setup is broken (less probabilistic) or 
whether my Win XP setup is broken (more probabilistic).

 Changing /bin/sh to /bin/bash at the start of the configure script gets me
 slightly further. I now get the following output:

 checking for a BSD-compatible install... /usr/bin/install -c
 checking whether build environment is sane... yes
 checking for gawk... gawk
 checking whether make sets ${MAKE}... ./configure: fork: Resource
 temporarily unavailable

 and here again make seems to hang ...

 I am going to try it without configure and make ... :-(


- -- 
Heiko Nardmann (Dipl.-Ing. Technische Informatik)
secunet Security Networks AG - Sicherheit in Netzwerken (www.secunet.de),
Weidenauer Str. 223-225, D-57076 Siegen
Tel. : +49 271 48950-13, Fax  : +49 271 48950-50

Besuchen Sie uns
vom 20. - 24.10.2003 auf der Systems in München, Halle B2, Stand 315 und
vom 06. - 08.11.2003 auf der Comtec in Dresden, Halle 4, Stand B5.
Wir freuen uns auf das Gespräch mit Ihnen.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iEYEARECAAYFAj+ZD8UACgkQpm53PRScYygZDQCgmKh3Yw80TfCwHhgGKmxt1A0u
VdkAoNXB61pv/Sx7Y5cIzksR9iE0fPCH
=IM5r
-END PGP SIGNATURE-


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



Re: Cannot Start Cron

2003-10-24 Thread Buck Turgidson

Harig, Mark [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Here is a new version of the cron
diagnostic script.  It contains another
test suggested and provided by Pierre
Humblet.

The new test checks to see if there
is a password entry that corresponds
to the values in the environment
variables $USERNAME and $USERDOMAIN







Thanks, Mark.  Ran the updated script, and reported everything ok.  Attached
is cygcheck.txt.   I appreciate any time you have to glance at it for
problems.






begin 666 cygcheck.txt
M#0I#6=W:[EMAIL PROTECTED]@0V]N9FEG=7)A=EO;B!$:6%G;F]S=ECPT*
M0W5RF5N=!3[EMAIL PROTECTED][EMAIL PROTECTED])I($]C= R- P.#HT.#HP,2 R,# S
M#0H-E=I;F1O=W,@[EMAIL PROTECTED](#0N,!=6EL9 Q,[EMAIL PROTECTED](%-E[EMAIL 
PROTECTED]%C
M:R V#0H-E!A=@Z60Z7-Y9W=I;EQUW);]C86Q8FEN#0H)9#I8WEG
M=VEN7)I;@T*60Z7-Y9W=I;EQB:6X-@ED.EQC6=W:6Y[EMAIL PROTECTED],5(V
M7)I;@T*6Z7HRV1K,2XT+C%?,#)8FEN7 T*6Z7'!EFQ8FEN#0H)
M8SI4')O9W)A;2!:6QEUQ/F%C;5:G)E7#$N,RXQ7)I;@T*6,Z7%!R
M;[EMAIL PROTECTED]3W)A8VQE7IR95PQ+C$N.%QB:6X-@EC.EQ724Y.5#0P
M7'-YW1E;3,R#0H)8SI5TE.3E0T, T*60Z7%!23T=207XQ7$U)0U)/4WXQ
M7$]F9FEC90T*6,Z7%!R;[EMAIL PROTECTED]FMS=7!P;W)T#0H)8SI4')O
M9W)A;2!:6QEUQ-:6-R;[EMAIL PROTECTED],(%-EG9EEPX,%Q4;V]LUQ:6YN
M7 T*60Z7'9S;EC:S9=VEN#0H)9#I;W)A.3)8FEN#0H-D]U='!U=!F
MF]M(0Z7-Y9W=I;EQB:6Y:60N97AE(AN;VYTV5C*0T*54E$.B Q-C(S
M*)U8VMG*2!'240Z(#4Q,RA.;VYE*0T*-3$S*$YO;F4I#0H-D]U='!U=!F
MF]M(0Z7-Y9W=I;EQB:6Y:60N97AE(AN='-E8RD-E5)1#H@,38R,RAB
[EMAIL PROTECTED] U,3,H3F]N92D-C4T-A!9UI;FES=')A=]RRD@(#4T
M-2A5V5RRD@( @( @( @( T*,38R-A/4D%?1$)!*2 @( @( @,3 U
M-#4H;6MGF]UUL+60I#0H-E-YT1I[EMAIL PROTECTED]5TE.3E0T,%Q37-T96TS
M,@T*5VEN1ER.B!#.EQ724Y.5#0P#0H-DA/344@/[EMAIL PROTECTED]8WEG=VEN7AO
M;658G5C:VG#0I-04M%7TU/1$4@/[EMAIL PROTECTED]-E!71 ]( O:]M92]B
M=6-K9R-E5315(@/[EMAIL PROTECTED]:VG#0H-D-/35!55$523D%-12 ]( T4TP
M-34G#0I#3TU34$5#([EMAIL PROTECTED],Z7%=)3DY4-#!4WES=5M,S)0TU$+F5X92-
MD-64U]24T@@/[EMAIL PROTECTED])I;B]S[EMAIL PROTECTED])#340@/[EMAIL PROTECTED] 
O6-DA/
M345$4DE612 ](!(.B-DA/3450051(([EMAIL PROTECTED](3TU%4TA!4D4@/2!@
M7%QB:7IUV5R7)U8VMG)PT*2$]35$Y!344@/[EMAIL PROTECTED]' M,#4U)PT*24Y3U!!
M5$@@/[EMAIL PROTECTED]B]L;V-A;]I;F9O.B]UW(O:6YF;SHO=7-R+W-H87)E+VEN
M9F\Z+W5SB]A=71O=]O;]D979E;]I;F9O.B]UW(O875T;W1O;VPOW1A
M8FQE+VEN9F\Z)PT*2E-%4E8@/[EMAIL PROTECTED];W)A.3(O07!A8VAE+TIS97)V+V-O
M;F8G#0I,3T=/3E-%4E9%4B ](!7%=)3E,Q)PT*34%.4$%42 ]( O=7-R
M+VQO8V%L+VUA;CHO=7-R+VUA;CHO=7-R+W-H87)E+VUA;CHO=7-R+V%U=]T
M;V]L+V1E=F5L+VUA;CHZ+W5SB]SVPO;6%N)PT*3E1215-+250@/[EMAIL PROTECTED]
M4')O9W)A;2!:6QEUQR:W-U'!OG0G#0I.54U15)?3T9?4%)/0T534T]2
M4R ]( Q)PT*3TQ$4%=$([EMAIL PROTECTED]]UW(O8FEN)PT*3U)!0TQ%7TA/344@/2!@
M9#I;W)A.3(G#0I/4S),24)0051(([EMAIL PROTECTED],Z7%=)3DY4-#!WES=5M,S)
M;W,R71L;#LG#0I/4R ](!7:6YD;W=S7TY4)PT*4$%42$585 ]( N0T]-
M.RY%6$4[+D)!5#LN0TU$.RY60E,[+E913LN2E,[+DI313LN5U-[EMAIL PROTECTED]
M#0I04D]#15-33U)?05)#2$E414-455)%([EMAIL PROTECTED]'@X-B-E!23T-%4U-/4E])
M1$5.5$E2452([EMAIL PROTECTED]'@X-B!86UI;'[EMAIL PROTECTED];V1E; W(%-T97!P:6YG(#,L
M($=E;G5I;F5);G1E;-E!23T-%4U-/4E],159%3 ]( V)PT*4%)/0T53
M4T]27U)%5DE324].([EMAIL PROTECTED] W,#,G#0I04D]-4%0@/2!@)% D1R-E!3,2 ]
M( D55-%4CHD4%=$(#X@)PT*4D]/5$1)4B ](!C.B]M:W,G#0I32$Q63 ]
M( Q)PT*4TU37TQ/0T%,7T1)4B ](!#.EQ724Y.5#0P)PT*4U%,4$%42 ]
M(!(.EQ$1594U%,)PT*4U%20DE.([EMAIL PROTECTED]4DE/7$]205Q24Y7
M)PT*4U%21$E2([EMAIL PROTECTED]'!S.%QB:6YW%R'-W%R7]R85Q24Y77'-Q
MGN97AE)PT*4UE35$5-1%))5D4@/[EMAIL PROTECTED]([EMAIL PROTECTED],Z
M7%=)3DY4-# G#0I414U0([EMAIL PROTECTED]Z7%1%35 G#0I415)-([EMAIL PROTECTED]-Y9W=I;B-
ME1-4$1)4B ](!D.EQ04U1%35 G#0I54T521$]-04E.([EMAIL PROTECTED]))6DY%5TP
M,2-E5315).04U%([EMAIL PROTECTED])U8VMG)PT*55-%4E!23T9)3$4@/[EMAIL PROTECTED]5TE.
M3E0T,%Q0F]F:6QEUQB=6-K9R-E=)3D1)4B ](!#.EQ724Y.5#0P)PT*
M5U9?1T%415=!65]#1D@/[EMAIL PROTECTED];W)A.3)07!A8VAE7UO9'!LW%L7-F
M9UQW9)S=G(N87!P)PT*7R ]( O=7-R+V)I;B]C6=C:5C:R-@T*2$M%
M65]#55)214Y47U5315)4V]F='=AF50WEG;G5S(%-O;'5T:6]NPT*2$M%
M65]#55)214Y47U5315)4V]F='=AF50WEG;G5S(%-O;'5T:6]NUQ#6=W
M:6X-DA+15E?0U524D5.5%]54T527%-O9G1W87)E7$-Y9VYUR!3;VQU=EO
M;G-0WEG=VEN7UO=6YTR!V,@T*2$M%65]#55)214Y47U5315)4V]F='=A
MF50WEG;G5S(%-O;'5T:6]NUQ#6=W:6Y4')O9W)A;2!/'1I;VYS#0I(
M2T597TQ/0T%,7TU!0TA)3D54T]5%=!4D50WEG;G5S(%-O;'5T:6]NPT*
M2$M%65],3T-!3%]-04-(24Y%7%-/1E1705)%7$-Y9VYUR!3;VQU=EO;G-
M0WEG=VEN#0I(2T597TQ/0T%,7TU!0TA)3D54T]5%=!4D50WEG;G5S(%-O
M;'5T:6]NUQ#6=W:6Y;6]U;G1S('8R#0H@(AD969A=6QT*2 ]( O8WEG
M9')I=F4G#0H@(-Y9V1R:79E(9L86=S(#T@,'@P,# P,# R,@T*2$M%65],
M3T-!3%]-04-(24Y%7%-/1E1705)%7$-Y9VYUR!3;VQU=EO;G-0WEG=VEN
M7UO=6YTR!V,EPO#0H@(AD969A=6QT*2 ](!D.EQC6=W:6XG#0H@(9L
M86=S(#T@,'@P,# P,# P80T*2$M%65],3T-!3%]-04-(24Y%7%-/1E1705)%
M7$-Y9VYUR!3;VQU=EO;G-0WEG=VEN7UO=6YTR!V,EPO=7-R+V)I;@T*
M( H95F875L=D@/[EMAIL PROTECTED]8WEG=VEN+V)I;B-B @9FQA9W,@/2 P# P
M,# P,#!A#0I(2T597TQ/0T%,7TU!0TA)3D54T]5%=!4D50WEG;G5S(%-O
M;'5T:6]NUQ#6=W:6Y;6]U;G1S('8R7]UW(O;EB#0H@(AD969A=6QT
M*2 ](!D.EQC6=W:6XO;EB)PT*(!F;%GR ](#!X,# P,# P,$-DA+

Re: Compiling errors with '-mno-cygin' option on Cygwin

2003-10-24 Thread Paul Bezzam

Hello everyone,

Is there any way I can call an application(a C application using embedded
Perl) created on Cygwin from Windows(C++, APIs) environment?

Any pointers would be appreciated.

Thank you.

Paul

On Thu, 23 Oct 2003, Igor Pechtchanski wrote:

 Any DLL that comes with the Cygwin perl is going to depend on cygwin1.dll.
 Same goes for any DLL you build without -mno-cygwin.  However, if you call
 these DLLs from Visual Basic, or use -mno-cygwin when compiling, you'll
 end up with the dependence on both msvcrt.dll (because of VB/-mno-cygwin)
 *and* cygwin1.dll (because of the perl DLLs), and that's an explosive
 combination.

 If you really need to use Perl with Visual Basic, you might consider a
 Windows-only version of Perl, e.g. ActiveState, and use the DLLs and
 headers from that distribution in your -mno-cygwin build.  However, be
 aware that this puts you completely outside of the realm of Cygwin, and
 any support you get for this will have to come from some other forum.
   Igor

 On Thu, 23 Oct 2003, Paul Bezzam wrote:

  Thank you for your replies.  But here is my problem:
 
  I am trying to make a DLL from a C program that has embedded Perl in it.
  I successfully created the DLL, and also created a test C client.  The
  client successfully calls the DLL.  All this is done in Cygwin and without
  the -mno-cygwin option.
 
  But, when I try to invoke this DLL from Visual Basic, the application
  crashes with the error message, An unhandled Win32 Exception has
  occurred in VB6.EXE.
 
  Thanks.
 
  Paul
 
  On Thu, 23 Oct 2003, Igor Pechtchanski wrote:
 
   On Thu, 23 Oct 2003, Paul Bezzam wrote:
  
Hello everyone,
   
I have this issue: I have a C program that uses embedded perl to call a
Perl subroutine.  This runs successfully when compiled with gcc with
default options.  But, when I use the -mno-cygwin option, I get errors
indicating that some include files are not available. (The error messages
are shown below my signature)
   
All of this is on Cygwin.  Can anyone please point my mistakes?
   
Thank you.
Paul
   
Below is part of the error message:
   
$ gcc -c -mno-cygwin mpdll2.c `perl -MExtUtils::Embed -e ccopts -e ldopts`
Note (probably harmless): No library found for -lcrypt
Note (probably harmless): No library found for -lutil
In file included from mpdll2.c:2:
/usr/lib/perl5/5.8.0/cygwin-multi-64int/CORE/perl.h:613:27: netinet/in.h:
No such file or directory
/usr/lib/perl5/5.8.0/cygwin-multi-64int/CORE/perl.h:617:26: arpa/inet.h:
No such file or directory
/usr/lib/perl5/5.8.0/cygwin-multi-64int/CORE/perl.h:663:27: sys/times.h:
No such file or directory
/usr/lib/perl5/5.8.0/cygwin-multi-64int/CORE/perl.h:782:30: sys/ioctl.h:
No such file or directory
/usr/lib/perl5/5.8.0/cygwin-multi-64int/CORE/perl.h:1193:23: ieeefp.h: No
such file or directory
/usr/lib/perl5/5.8.0/cygwin-multi-64int/CORE/perl.h:1984:21: win32.h: No
such file or directory
In file included from
/usr/lib/perl5/5.8.0/cygwin-multi-64int/CORE/perl.h:2215,
 from mpdll2.c:2:
  
   Paul,
  
   When you give the -mno-cygwin flag to gcc, you're invoking the MinGW
   runtime/environment.  MinGW stands for Minimalist GNU for Windows (the
   keyword here is Minimalist).  It doesn't supply all of POSIX emulation,
   and it's very likely that some of the headers (and system calls) aren't
   available in it.
  
   You will most likely have to implement a lot of the functionality using
   Windows native calls (e.g. winsock, etc).  It also looks like you're
   pulling in the Cygwin versions of perl headers - while not an error in
   itself, this might be a warning flag, since Cygwin and MinGW runtimes
   usually don't mix well.
 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: tcsetattr ()

2003-10-24 Thread Martin Farnik
Hello

Incidentally, I am working on a trivial cleanup patch to fix:

http://www.cygwin.com/ml/cygwin/2003-10/msg00708.html

I just haven't had time to test it thoroughly yet.  I have no idea about
this person's second random hang problem.  It wasn't very eloquently
described.

It is a good news that you are working on patch to fix it. 
It is very easy to test it.
I try to connect 2 PC thru serial line and run on first PC program that permanently 
send data thru 
serial line to second PC.. When I try to call function tcflush at Windows98 on second 
PC program hangs.

I think that this random hangs problem is closely connected to problem above (with 
full serial buffer).

Martin Farnik






--
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: rsync local dir copy hang - solved for me

2003-10-24 Thread Hannu E K Nevalainen
 From: Mark Thornton
 Sent: Friday, October 24, 2003 12:13 PM

 Mark, please - even if your repliy might seem a bit personal - do keep
replies on the list.
 There might be some little spark, that makes others have a fire lit (i.e.
get a bright idea).

 The bottom point: *don't do that* ;-)
  i.e. leave the msleep() call there. This is a simple - yet
 effective - way
 to avoid ill effects of a tight loop.
 
 

 However it remains true that there is some sort of bug in rsync's thread
 handling (or perhaps in cygwin's thread library).

 Hmmm... I think I read something about a similiar thing, having the word
pthreads in the subject. Might this be related?

 For some a cure for
 this, even using busy waiting, may be preferable to the bug.

 Mark Thornton

 For the time beeing, yes it might be preferable - but not as a long time
solution. And one has to be aware of the possible ill effects.

/Hannu E K Nevalainen, B.Sc. EE - 59?16.37'N, 17?12.60'E
-- printf(Timezone: %s\n, (DST)?UTC+02:UTC+01); --
--END OF MESSAGE--


--
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: rsync local dir copy hang - solved for me

2003-10-24 Thread Bakken, Luke
 Hmm? Is waitpid() a blocking call or not? WRT WNOHANG it 
 looks like an
 unblocking one...

Yep.
 
  Thus I'm assuming it doesn't block and that msleep() is 
 something internal
 to rsync, using usleep() or some such.

It uses select(). When I used strace on a non-modified version of rsync
to watch where it hung, here's the last bit of output I saw:

   18 9449430 [main] rsync 3260 stopped_or_terminated: considering pid
3276
   18 9449448 [main] rsync 3260 checkstate: returning -1
   18 9449466 [main] rsync 3260 proc_subproc: waiting thread found no
children
   20 9449486 [main] rsync 3260 proc_subproc: finished processing
terminated/stopped child
   18 9449504 [main] rsync 3260 proc_subproc: returning 1
   21 9449525 [main] rsync 3260 wait4: 0 = WaitForSingleObject (...)
   19 9449544 [main] rsync 3260 wait4: intpid 3276, status 0x22FE28,
w-status 0, options 1, res 0
   20 9449564 [main] rsync 3260 cygwin_select: 0, 0x0, 0x0, 0x0,
0x22FDC0
   19 9449583 [main] rsync 3260 cygwin_select: to-tv_sec 0, to-tv_usec
2, ms 20
   18 9449601 [main] rsync 3260 cygwin_select: sel.always_ready 0

It never got past cygwin_select().

 of the patch is
 called busy waiting and is a *hard* blow against all other 
 software that
 is running at the same time.

But, it's OK for me because a) It fixes the problem b) It doesn't wait
long at all c) It doesn't appear to tie up resources.

 If the loop exit condition appears late the machine 
 running the above
 code will experience jerkyness and other ill effects - at the 
 extreme but
 still likely level there might even be disturbances of *vital* system
 functions (e.g. related to time critical tasks).

Nope, I haven't seen any of this. It could happen, I'm sure.

 The bottom point: *don't do that* ;-)
  i.e. leave the msleep() call there.

If I leave msleep there, it hangs every time. So I'm taking it out. Now,
this fixes one hang at one time, but not others. For instance, if there
is nothing to do since the sources and targets are in sync, it'll hang.
If the source dir doesn't exist, it still hangs. I'm now going to see if
I can isolate the heart of the problem with a simple program that forks
and sleeps in the same fashion as with rsync.

Luke

--
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: DDD under cygwin

2003-10-24 Thread Igor Pechtchanski
Jozef,

Please don't send personal e-mail with Cygwin questions unless
specifically requested.  All Cygwin-related discussion should take place
on one of the Cygwin mailing lists (see http://cygwin.com/lists.html).
This will give your question access to a much wider area of expertise than
any one person can provide.

Also, do you Google?  http://google.com/search?q=ddd+cygwin
Igor

On Fri, 24 Oct 2003 [EMAIL PROTECTED] wrote:

 Hello Igor,

 i found the bellow thread on the net. I have the same problem during linking
 ddd under cygwin. Can you please advice, which libraries need to be
 recompiled, that include the __static_initialization_and_destruction_0(int,
 int) and the other functions?

 Thank you in advance.
 Jozef Molnar


 On Tue, 23 Sep 2003, Ayamico Hamasaki wrote:

  Hi,
 
  I have problem compiling DDD 3.3.7 using gcc 3.3.1.
  But if I revert to gcc.3.2.3, the compilation is
  successful.
 
  Anyone has seen the same problem ? I wonder if this is
  a gcc or ddd problem.
 
  [cygcheck -c output snipped]

 Please, please, please do not include cygcheck output inline.  It really
 does screw up the web search.

  The error happens during the linking stage.
 
  
  g++ -DNDEBUG -O2 -g -W -Wall -trigraphs -o ddd.exe
  [snip]
  -L/usr/X11R6/lib /usr/X11R6/lib/libXm.a -lXaw -lXmu
  -lXt -lXpm -lXp -lXext -lX11 -lSM -lICE -ltermcap -ly
  -liberty
  AgentM.o(.text+0x296): In function `GLOBAL(int10_t, long double, char, short, int, 
  double)':
  /usr/include/c++/3.3.1/iostream:87: undefined reference to 
  `__static_initialization_and_destruction_0(int, int)'

 Make sure *all* your objects and libraries are compiled by gcc 3.3.1.
 Some of the above libraries are distributed with Cygwin, and thus are most
 likely compiled with gcc 3.2.
 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: Q: how to build GNU make from scratch ?

2003-10-24 Thread Brian Ford
On Fri, 24 Oct 2003, Heiko Nardmann wrote:

 Changing /bin/sh to /bin/bash at the start of the configure script gets
 me slightly further. I now get the following output:

 checking whether make sets ${MAKE}... ./configure: fork: Resource
 temporarily unavailable

 and here again make seems to hang ...

and then,

 After having no luck with my local machine having XP and some patches
 installed locally I switched to our VmWare server and grabbed a copy of the
 pure XP master without any patches. Then I installed current CygWin from
 scratch and what a wonder - it works now.

 So now I am not sure whether my CygWin setup is broken (less
 probabilistic) or whether my Win XP setup is broken (more
 probabilistic).

My WAG: Are you running Agnitum Outpost on your local machine?  If so,
please see this thread:

http://sources.redhat.com/ml/cygwin/2003-08/msg00521.html

-- 
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: tcsetattr ()

2003-10-24 Thread Brian Ford
On Fri, 24 Oct 2003, Martin Farnik wrote:

 Brian Ford wrote:
 Incidentally, I am working on a trivial cleanup patch to fix:
 
 http://www.cygwin.com/ml/cygwin/2003-10/msg00708.html
 
 I just haven't had time to test it thoroughly yet.  I have no idea about
 this person's second random hang problem.  It wasn't very eloquently
 described.

 It is a good news that you are working on patch to fix it.
 It is very easy to test it.

Want to test it for me?

Do you know how to compile and test the cygwin1.dll if I send you the
patch, or would you prefer a binary?

Can you test it on multiple OSes?

 I try to connect 2 PC thru serial line and run on first PC program that
 permanently send data thru serial line to second PC.. When I try to
 call function tcflush at Windows98 on second PC program hangs.

Sure.  I understand the problem.  It just takes a good deal of effort to
get a setup like this if you don't already have one.

 I think that this random hangs problem is closely connected to problem
 above (with full serial buffer).

I haven't seen anything like this myself, but the devices I talk to don't
just stream continually that often.

-- 
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: Strange Cygwin issue

2003-10-24 Thread Igor Pechtchanski
Dylan,

If you followed that thread to the end, it was suggested that the program
itself was buggy and treated the - as a parameter separator, IIRC.

As for your case, that's the expected behavior.  Windows programs get the
quotes surrounding quoted arguments -- try it from cmd.exe with this
simple program:

#include stdio.h

#ifdef WIN
#include windows.h
int APIENTRY WinMain(HINSTANCE inst, HINSTANCE pinst, LPSTR cmdline, int show) {
  printf (%s\n, cmdline);
}
#else
int main(int ac, char *av[]) {
  int i;
  for (i = 0; i  ac; i++)
printf (%s|, av[i]);
  printf (\n);
  return 0;
}
#endif

At a guess, the only way you can get around it is by writing your own
command line parsing routines...  Sorry.
Igor

On Fri, 24 Oct 2003, Dylan Cuthbert wrote:

 Did you sort this problem out eventually?  We're having the same problem.

 We pass a DOS command that we've compiled in Vis.C a parameter from within a
 bash shell and all our quotes are played with.

 ie.   # ourcommand   'my oh my this is a string that is played with'

 and we getmy oh my \this is a string\ that is played with
 (including the surrounding double quotes) in our DOS program.

 Not what we want really.

 -
 Q-Games, Dylan Cuthbert.
 http://www.q-games.com


 David Abrahams dave at boost-consulting dot com wrote in message
 news:[EMAIL PROTECTED]
  Igor Pechtchanski pechtcha at cs dot nyu dot edu writes:
 
   Dave,
  
   Actually, upon re-reading the above, it looks like it's a bash quoting
   issue.  You might try the fix that worked for cygstart: single quote the
   double quotes, e.g.
  
   tlib 'c:\foo-bar\baz'
 
  I exhausted all obvious possibilites, including that one, before
  posting here.
 
   or, if you want to be more generic,
  
   FILENAME=/cygdrive/c/foo-bar/baz
   tlib ''`cygpath -w $FILENAME`''
  
   Make sure you copy the above *exactly* (better yet, cut/paste).
   Hope this helps,
 
  No dice:
 
  [EMAIL PROTECTED] /cygdrive/c/boost/tools/build/test
  $ foo=/cygdrive/c/foo-bar/baz
 
  [EMAIL PROTECTED] /cygdrive/c/boost/tools/build/test
  $ /cygdrive/c/tools/Borland/BCC55/Bin/tlib.exe  ''`cygpath -w $foo`''
  TLIB 4.5 Copyright (c) 1987, 1999 Inprise Corporation
 
  Error: opening '\c:\foo.LIB'
 
  The response should look like:
 
  C:\boost\tools\build\jam_srcc:\tools\Borland\BCC55\Bin\tlib.exe 
  c:\foo-bar\baz
  TLIB 4.5 Copyright (c) 1987, 1999 Inprise Corporation
 
  Error: opening 'c:\foo-bar\baz.LIB'
 
  --
  Dave Abrahams
  Boost Consulting
  www.boost-consulting.com

-- 
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: OpenGL and Cygwin

2003-10-24 Thread Brian Ford
On Fri, 24 Oct 2003 [EMAIL PROTECTED] wrote:

 thanks Andre ! the fix worked. I can now compile helloglut and many of
 the red book opengl demos.

I went back to review this thread, but I am unsure exactly what fix you
actually used.  It would help greatly to see your exact compile line, and
to know what headers/libs you are, or think you are, using.  Did you move
/usr/include/GL/[gl.h glu.h] out of the way like I suggested?

BTW,

Andre Bleau wrote:
Forget about LD_LIBRARY_PATH; it is not used by cygwin.

Plain old PATH is sort of the equivalent here to find DLLs.

 I noticed that glGetMinmax and some histogram related functions are not
 supported. It is possible that this is because these are opengl 1.2
 functions.

I short, yes.  But I really need to know what headers/libs you are using
to give you the correct advice on how to obtain them.

 By setting appropriate flags I got the appropriate GL_flags
 set correctly:

You mean defining GL_VERSION_1_2?  So, you are using the headers from the
opengl package in /usr/include/GL.  That is ok as long as you don't want
1.3 functionality.  Otherwise, I suggest following my move out of the
way suggestion.

  however it appears that the libopengl32.a supplied with
 cygwin is only opengl1.1 compliant, which appears to be consistent with
 the README.

That is because Microsoft only supplies 1.1 functionality.  If you want
greater, you must load those functions as extensions.

 I have more recent nvidia drivers (I think :)): Is there any way to
 convert them to to a linkable form ? (i.e using dlltool or something like
 that). I

You do.  Most nvidia drivers are 1.3 or 1.4.  You don't need to convert
them, they are linkable as is via the normal described methods.

I think I can probably be of great help to you here, but you need to
describe you problems/goals in much greater detail.  I promise to try my
best to help if you do.

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



starting emacs in X-window mode without a console

2003-10-24 Thread Rob S.i.k.l.o.s.
Hello,

I've searched the archives a bit, but can't find anything recent and/or
pertinent (although I'm sure this has been answered before).

I want to know if there is a way to start an emacs X-window without an
accompanying cygwin console.

I tried using nohup, but that didn't seem to make any difference - the
console won't exit until all background processes have finished.

Any help would be greatly appreciated.

Thanks,

Rob.



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



Re: Compiling errors with '-mno-cygin' option on Cygwin

2003-10-24 Thread Igor Pechtchanski
The best and the most foolproof way I can think of is something like a
system() (CreateProcess) call and data exchange through temporary files.
Igor

On Fri, 24 Oct 2003, Paul Bezzam wrote:

 Hello everyone,

 Is there any way I can call an application(a C application using embedded
 Perl) created on Cygwin from Windows(C++, APIs) environment?

 Any pointers would be appreciated.

 Thank you.
 Paul

 On Thu, 23 Oct 2003, Igor Pechtchanski wrote:

  Any DLL that comes with the Cygwin perl is going to depend on cygwin1.dll.
  Same goes for any DLL you build without -mno-cygwin.  However, if you call
  these DLLs from Visual Basic, or use -mno-cygwin when compiling, you'll
  end up with the dependence on both msvcrt.dll (because of VB/-mno-cygwin)
  *and* cygwin1.dll (because of the perl DLLs), and that's an explosive
  combination.
 
  If you really need to use Perl with Visual Basic, you might consider a
  Windows-only version of Perl, e.g. ActiveState, and use the DLLs and
  headers from that distribution in your -mno-cygwin build.  However, be
  aware that this puts you completely outside of the realm of Cygwin, and
  any support you get for this will have to come from some other forum.
Igor
 
  On Thu, 23 Oct 2003, Paul Bezzam wrote:
 
   Thank you for your replies.  But here is my problem:
  
   I am trying to make a DLL from a C program that has embedded Perl in it.
   I successfully created the DLL, and also created a test C client.  The
   client successfully calls the DLL.  All this is done in Cygwin and without
   the -mno-cygwin option.
  
   But, when I try to invoke this DLL from Visual Basic, the application
   crashes with the error message, An unhandled Win32 Exception has
   occurred in VB6.EXE.
  
   Thanks.
  
   Paul
  
   On Thu, 23 Oct 2003, Igor Pechtchanski wrote:
  
On Thu, 23 Oct 2003, Paul Bezzam wrote:
   
 Hello everyone,

 I have this issue: I have a C program that uses embedded perl to call a
 Perl subroutine.  This runs successfully when compiled with gcc with
 default options.  But, when I use the -mno-cygwin option, I get errors
 indicating that some include files are not available. (The error messages
 are shown below my signature)

 All of this is on Cygwin.  Can anyone please point my mistakes?

 Thank you.
 Paul

 Below is part of the error message:

 $ gcc -c -mno-cygwin mpdll2.c `perl -MExtUtils::Embed -e ccopts -e ldopts`
 Note (probably harmless): No library found for -lcrypt
 Note (probably harmless): No library found for -lutil
 In file included from mpdll2.c:2:
 /usr/lib/perl5/5.8.0/cygwin-multi-64int/CORE/perl.h:613:27: netinet/in.h:
 No such file or directory
 /usr/lib/perl5/5.8.0/cygwin-multi-64int/CORE/perl.h:617:26: arpa/inet.h:
 No such file or directory
 /usr/lib/perl5/5.8.0/cygwin-multi-64int/CORE/perl.h:663:27: sys/times.h:
 No such file or directory
 /usr/lib/perl5/5.8.0/cygwin-multi-64int/CORE/perl.h:782:30: sys/ioctl.h:
 No such file or directory
 /usr/lib/perl5/5.8.0/cygwin-multi-64int/CORE/perl.h:1193:23: ieeefp.h: No
 such file or directory
 /usr/lib/perl5/5.8.0/cygwin-multi-64int/CORE/perl.h:1984:21: win32.h: No
 such file or directory
 In file included from
 /usr/lib/perl5/5.8.0/cygwin-multi-64int/CORE/perl.h:2215,
  from mpdll2.c:2:
   
Paul,
   
When you give the -mno-cygwin flag to gcc, you're invoking the MinGW
runtime/environment.  MinGW stands for Minimalist GNU for Windows (the
keyword here is Minimalist).  It doesn't supply all of POSIX emulation,
and it's very likely that some of the headers (and system calls) aren't
available in it.
   
You will most likely have to implement a lot of the functionality using
Windows native calls (e.g. winsock, etc).  It also looks like you're
pulling in the Cygwin versions of perl headers - while not an error in
itself, this might be a warning flag, since Cygwin and MinGW runtimes
usually don't mix well.
  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: starting emacs in X-window mode without a console

2003-10-24 Thread Brian Ford
On Fri, 24 Oct 2003, Rob S.i.k.l.o.s. wrote:

 I've searched the archives a bit, but can't find anything recent and/or
 pertinent (although I'm sure this has been answered before).

 I want to know if there is a way to start an emacs X-window without an
 accompanying cygwin console.

Try digging through this thread, then post again if you don't find the
answer.

http://www.cygwin.com/ml/cygwin/2003-10/msg00287.html

-- 
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: Strange characters

2003-10-24 Thread Igor Pechtchanski
On Fri, 24 Oct 2003, Marcus Vinicius Ferreira wrote:

 Hello,

 I was studying man pages more deeply in Cygwin and I can not solve a problem
 involving strange (format ?) characters. As an example, here is a part of man
 zip.

 __

zipnote [a^'hwL] [a^'b path] zipfile
zipsplit [a^'hiLpst] [a^'n size] [a^'b path] zipfile

 DESCRIPTION
zip  is  a compression and file packaging utility for Unix, VMS, MSDOS,
OS/2, Windows NT, Minix, Atari and Macintosh, Amiga and Acorn RISC  OS.

It  is  analogous to a combination of the UNIX commands tar(1) and coma??
press(1) and is compatible with PKZIP (Phil Katza?Ts ZIP for  MSDOS  sysa??   
 tems).

 __


 Although some colors appear in the text description (white, grey and navy
 blue), a set of a, ^, ' makes impossible to understand some parts.

 I tried to change enviroment variables such as $LANG, $TERM, $CYGWIN with no
 results. I made a fresh new installation and the problem re-appears.

 What's wrong?


 My cygwin dll is 1.5.5, Windows XP Pro, bash 2.05b.

 Marcus

alias less='/bin/less -r'
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/



GNUPLOT compilation limitation (?) : howto enable x11 terminal support when compiling gnuplot for CYGWIN

2003-10-24 Thread Emmanuel Favre-Nicolin
Hi,

I'm willing to use x11 terminal of gnuplot in a cygwin environment.

So, I tryed to compile gnuplot (3.7.3) and it worked well.

The only problem is that with this version, I don't have any x11 
terminal so that gnuplot is not easy to use!

I haerd that I had to build it setuid in order to get the x11 driver.
I don't know how it is done?
(Rem : with cygwin, I don't have the user root)
(cygwin is version 1.5.5, I think)

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


Cannot log on as user - admin okay

2003-10-24 Thread Uwe Dippel
Tried archives, google, erdelynet; but no answer or unrelated.
Newbie on XP.
Install okay, can log on locally (XP) as admin and users. Remote logon
(Linux - ssh) works for admin of XP box only; not for any of the users
on that XP box. I tried some of those posts suggesting mkpasswd and
mkgroup; no success. In all cases I get 
Permission denied, please try again.
when entering the password (keyboard).

Any help appreciated !

Uwe







--
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: Cannot log on as user - admin okay

2003-10-24 Thread Igor Pechtchanski
On Fri, 25 Oct 2003, Uwe Dippel wrote:

 Tried archives, google, erdelynet; but no answer or unrelated.
 Newbie on XP.
 Install okay, can log on locally (XP) as admin and users. Remote logon
 (Linux - ssh) works for admin of XP box only; not for any of the users
 on that XP box. I tried some of those posts suggesting mkpasswd and
 mkgroup; no success. In all cases I get
 Permission denied, please try again.
 when entering the password (keyboard).

 Any help appreciated !

 Uwe

 --
 Problem reports:   http://cygwin.com/problems.html
 ^^^
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: GNUPLOT compilation limitation (?)

2003-10-24 Thread fergus
 So, I tryed to compile gnuplot (3.7.3) and it worked well.
 The only problem is that with this version, I don't have any
 x11 terminal so that gnuplot is not easy to use!

I just do (i) start XWin -multiwindow [if OS is 98 -- omit start if OS is
XP]; then (ii) run rxvt -display localhost:0.0 -e bash; and then (iii) I
find that I can use gnuplot (3.7.3, like you) with no difficulty at all.
Without XWin, I wouldn't expect it to work. (I am not clear from what you
are saying whether you do.) Fergus



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



Can't link to winsock2 library

2003-10-24 Thread Takeshi Honda
Hi,
(B
(BI made ruby extension module which uses winsock2.
(BAnd I tried to compile it.
(BBut the following error appeared.
(B
(BWhat can I do for this problem?
(BPlease let me know.
(B
(Bextgcc -Os -I /usr/local/lib/ruby/1.6/i386-cygwin   -I.
(B-I/usr/local/lib/ruby/1.8/i386-cygwin
(B-I/usr/local/lib/ruby/1.8/i386-cygwin -I. 
(B-I/usr/local/cygwin-local/include  -c Sniff.cpp -lws2_32
(B-lm -lstdc++
(Bgcc: -lws2_32: linker input file unused because linking
(Bnot done
(Bgcc: -lm: linker input file unused because linking not
(Bdone
(Bgcc: -lstdc++: linker input file unused because linking
(Bnot done
(B
(B
(B__
(BDo You Yahoo!?
(BYahoo! BB is Broadband by Yahoo!  http://bb.yahoo.co.jp/
(B
(B
(B--
(BUnsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
(BProblem reports:   http://cygwin.com/problems.html
(BDocumentation: http://cygwin.com/docs.html
(BFAQ:   http://cygwin.com/faq/

Re: Can't link to winsock2 library

2003-10-24 Thread Brian Ford
On Sat, 25 Oct 2003, Takeshi Honda wrote:

 What can I do for this problem?
 Please let me know.

 extgcc -Os -I /usr/local/lib/ruby/1.6/i386-cygwin   -I.
 -I/usr/local/lib/ruby/1.8/i386-cygwin
 -I/usr/local/lib/ruby/1.8/i386-cygwin -I.
 -I/usr/local/cygwin-local/include  -c Sniff.cpp -lws2_32
 -lm -lstdc++
 gcc: -lws2_32: linker input file unused because linking
 not done
 gcc: -lm: linker input file unused because linking not
 done
 gcc: -lstdc++: linker input file unused because linking
 not done

The -c option means compile just a .o file.  Libraries are only used
during the final link.  Remove the -c, and you'll probably want a -o to
specify the output file name.

Your include path looks weird.  Two versions of ruby?

-- 
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: Thread.start()

2003-10-24 Thread Igor Pechtchanski
Eros,

Please don't send personal mail with Cygwin questions unless specifically
requested.  All Cygwin-related questions should be addressed to one of the
Cygwin lists (see http://cygwin.com/lists.html).  Also, please make sure
your mailer respects the Reply-To: header.

On Fri, 24 Oct 2003, [iso-8859-1] Eros Sebastião Pagnano Júnior wrote:

 Hi Igor,
 
 I'm using rmiregistry under cygwin. My development environment is the jdk
 1.4.1_01.
 My problem is when I try to start rmiregistry.
 When I type : rmiregistry 
 I get :
 
 Exception in thread main java.lang.InternalError: Thread.start called but
 threads not available.
 
 I don't know what's this message.
 The J2sdk does work well under cygwin ? and Threads ?
 I think that's something in the cygwin .
 
 Can you help me 
 
 thanks ...
 Eros Sebastião Pagnano Júnior

Again, there is *no* Java Development Kit under Cygwin.  The Sun and IBM
JDKs are Windows applications, completely independent of Cygwin.  Unless
you're by some chance calling the gcj version of Java (which is
unsupported in any case), you're not likely to get any support from the
Cygwin community.  You may want to try invoking your scripts via the
cmd.exe shell, to determine whether your problem is related to Cygwin at
all.

Check which java is called by the rmiregistry script.  Then try your luck
with some Java forum.
Igor
-- 
Igor Pechtchanski   I love deadlines.  I love the whooshing noise
IBM T.J.Watson Research Center  they make as they go past.
[EMAIL PROTECTED]-- Douglas Adams
(914)784-6162


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



Re: Can't link to winsock2 library

2003-10-24 Thread Takeshi Honda
Thank you for your help.
(B
(B The -c option means compile just a .o file. 
(B Libraries are only used
(B during the final link.  Remove the -c, and you'll
(B probably want a -o to
(B specify the output file name.
(B
(BI could compile and link. Thanks!
(B
(B Your include path looks weird.  Two versions of
(B ruby?
(B
(BThat's right.
(BRecently I updated ruby.
(B
(B__
(BDo You Yahoo!?
(BYahoo! BB is Broadband by Yahoo!  http://bb.yahoo.co.jp/
(B
(B
(B--
(BUnsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
(BProblem reports:   http://cygwin.com/problems.html
(BDocumentation: http://cygwin.com/docs.html
(BFAQ:   http://cygwin.com/faq/

Re: Strange characters

2003-10-24 Thread Marcus Vinicius Ferreira
Hi Igor,


Using alias to less did not work.

I can see the difference what you suggested using color ls:

$ /bin/ls -l --color | /bin/less -r

compared to

$ /bin/ls -l --color | /bin/less


Defining $PAGER to less aliased or explicitly to /bin/less -r does not
resolve either. I still can see the funny sequence of â^' in each man page.



Marcus






--- Igor Pechtchanski [EMAIL PROTECTED] wrote:
 On Fri, 24 Oct 2003, Marcus Vinicius Ferreira wrote:
 
  Hello,
 
  I was studying man pages more deeply in Cygwin and I can not solve a
 problem
  involving strange (format ?) characters. As an example, here is a part of
 man
  zip.
 
  __
 
 zipnote [a^'hwL] [a^'b path] zipfile
 zipsplit [a^'hiLpst] [a^'n size] [a^'b path] zipfile
 
  DESCRIPTION
 zip  is  a compression and file packaging utility for Unix, VMS,
 MSDOS,
 OS/2, Windows NT, Minix, Atari and Macintosh, Amiga and Acorn RISC 
 OS.
 
 It  is  analogous to a combination of the UNIX commands tar(1) and
 coma??
 press(1) and is compatible with PKZIP (Phil Katza?Ts ZIP for  MSDOS 
 sysa??   tems).
 
  __
 
 
  Although some colors appear in the text description (white, grey and navy
  blue), a set of a, ^, ' makes impossible to understand some parts.
 
  I tried to change enviroment variables such as $LANG, $TERM, $CYGWIN with
 no
  results. I made a fresh new installation and the problem re-appears.
 
  What's wrong?
 
 
  My cygwin dll is 1.5.5, Windows XP Pro, bash 2.05b.
 
  Marcus
 
 alias less='/bin/less -r'
   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: 1.5.1: can't open files beginning with ...

2003-10-24 Thread Rolf Campbell
To make things even more interesting, it thinks that anything starting 
with '...' is a character device?

/home/rcampbell ll ..
crw-rw-rw-1 rcampbel   0,   0 Oct 24 14:28 ..
/home/rcampbell touch ...
touch: creating `...': No such device or address
Chris Moore wrote:
I have a file on my PC called ...foo.txt.

cygwin has a problem with this file:

  $ ls -a
  .  ..  ...foo.txt  cygcheck.out
  $ ls -al  /dev/null
  ls: ...foo.txt: No such file or directory
  $ 

cygwin also has a problem making similarly named files:

  $ touch ...foo2.txt
  touch: creating `...foo2.txt': No such file or directory
Windows Explorer also doesn't like to make files whose names begin
with 3 dots, but Windows itself is fine with them.  The following
Perl one-liner makes the file if you run it in the (native Windows)
ActiveState Perl:
  open(FP, ...foo3.txt) or die $!;

But the cygwin perl complains:

  No such file or directory at 3dots.pl line 1..

I can also create these '3 dot' files in a native Win32 Emacs, but
not in the cygwin Emacs.  Even a Windows 'DOS prompt' (cmd.exe) is
able to make it:
  C:\echo foo  ...foo3.txt
  C:\
I'm not sure how to tell you what version of cygwin this is, but the
'DLL version' is 1.5.5 if that's what you need to know.
I've attached the output of cygcheck -s -v -r.

Chris.





Cygwin Win95/NT Configuration Diagnostics
Current System Time: Fri Oct 24 13:56:27 2003
Windows XP Home Edition Ver 5.1 Build 2600 Service Pack 1

Path:   C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
.
C:\cygwin\usr\X11R6\bin
Output from C:\cygwin\bin\id.exe (nontsec)
UID: 1006(Chris) GID: 513(None)
513(None)
Output from C:\cygwin\bin\id.exe (ntsec)
UID: 1006(Chris) GID: 513(None)
513(None)544(Administrators)  
545(Users)

SysDir: C:\WINDOWS\System32
WinDir: C:\WINDOWS
HOME = `c:\Chris'
MAKE_MODE = `unix'
PWD = `/cygdrive/c/Chris/cygwin'
USER = `Chris'
ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
APPDATA = `C:\Documents and Settings\Chris\Application Data'
COMMONPROGRAMFILES = `C:\Program Files\Common Files'
COMPUTERNAME = `CHRISLAP'
COMSPEC = `C:\WINDOWS\system32\cmd.exe'
CVS_RSH = `/bin/ssh'
DJGPP = `c:\djgpp\djgpp.env'
HOMEDRIVE = `C:'
HOMEPATH = `\Documents and Settings\Chris'
HOSTNAME = `CHRISLAP'
LOGONSERVER = `\\CHRISLAP'
MANPATH = `:/usr/X11R6/man:/usr/ssl/man'
NUMBER_OF_PROCESSORS = `1'
OLDPWD = `/cygdrive/c/Chris'
OS = `Windows_NT'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 15 Model 2 Stepping 4, GenuineIntel'
PROCESSOR_LEVEL = `15'
PROCESSOR_REVISION = `0204'
PROGRAMFILES = `C:\Program Files'
PROMPT = `$P$G'
PS1 = `\W $ '
SESSIONNAME = `Console'
SHLVL = `1'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINDOWS'
TEMP = `c:\DOCUME~1\Chris\LOCALS~1\Temp'
TERM = `cygwin'
TMP = `c:\DOCUME~1\Chris\LOCALS~1\Temp'
TZ = `GMT-2'
USERDOMAIN = `CHRISLAP'
USERNAME = `Chris'
USERPROFILE = `C:\Documents and Settings\Chris'
WINDIR = `C:\WINDOWS'
_ = `/usr/bin/cygcheck'
HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\00
  (default) = `C:'
  unix = `/'
  fbinary = 0x
  fsilent = 0x
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
  (default) = `/cygdrive'
  cygdrive flags = 0x0022
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = `C:\cygwin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = `C:\cygwin/bin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = `C:\cygwin/lib'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/X11R6/lib/X11/fonts
  (default) = `C:\cygwin\usr\X11R6\lib\X11\fonts'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\00
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\01
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\02
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus 

ssh-host-config: mkpasswd -l -u sshd; should it be -d on domain controller?

2003-10-24 Thread Tom Rodman
consider:

  bash-2.05b$ uname -r; grep mkpasswd /bin/ssh-host-config
  1.5.5(0.94/3/2)
mkpasswd -l -u sshd | sed -e 's/bash$/false/'  ${SYSCONFDIR}/passwd

Does mkpasswd -l make any sense on a domain controller?

On an NT domain controller I tested 

  mkpasswd -d -u sshd | sed -e 's/bash$/false/'  /etc/passwd

and ssh localhost worked fine after stopping and starting sshd.  The '-d
option creates a user entry that apparently has the same SID, but
different uid offset.

Using only the -d switch on a domain controller would simplify
the cron script I use to automatically rebuild /etc/passwd.

--
thank/regards,
Tom Rodman
pls run for my address:  
  perl -e 'print unpack(u, 1\:6UP\,\$\!T\F\]D\;6\%N\+F\-O\;0H\`);'


--
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: undefined reference to `_getline'

2003-10-24 Thread Christopher Faylor
On Fri, Oct 24, 2003 at 01:05:02AM -0400, Robb, Sam wrote:
I suppose that in all of your searching you never came across the
concept that cygwin uses newlib and that cygwin does not export every
single thing from newlib?  That means that there are some things
defined in headers which are not actually available in cygwin.

No, I understand that - I was wondering if the missing export is
becuase of a lack of interest, or if there is some problem with the
newlib version of getline() that keeps it from being exported.

As a good net citizen if I was aware of a problem with getline in a
package that I was associated with, I'd be attempting to get it fixed.

Let me use another tried and true aphorism: patches thoughtf..., er,
patches gr...

Just submit a #(*! patch, ok?  Cheesh.

cgf

***Note: The above was an attempt at humor.  Please be advised.

--
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 to build GNU make from scratch ?

2003-10-24 Thread Christopher Faylor
On Fri, Oct 24, 2003 at 10:10:00AM +0200, J?rg Schaible wrote:
Heiko Nardmann wrote on Friday, October 24, 2003 8:24 AM:
 On Freitag, 24. Oktober 2003 08:07, Bobby McNulty Junior wrote:
 I just configured Make 3.80 in a seperate directory.
 I made on called o in the root of the source code and configured.
 Looks promising, as long as you are using the latest tools. Cygwin
 B20 won't configure this way, if that is what you are using.
 
 
 What is Cygwin B20 in difference to what I normally get by setup.exe
 ??? 


B20 was the unbelievable, awesome and complete Cygwin release, that
could have anwered any questions, including the question for 42.  But
they nuked it just before it was ready to give *that* answer ...

That was when I joined as project manager, or rather was replaced by a
shady government organization that ousted poor Geoff Noer.  Nowadays, I
just send out release after substandard release of cygwin, chuckling
evily and stroking the stuffed remains of my dead cat Bitsy.

As far as 42 is concer

--
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: proftpd

2003-10-24 Thread Jason Tishler
Mark,

Please post instead of sending private email.

On Fri, Oct 24, 2003 at 11:03:51AM -0700, Mark Rissman wrote:
 Any thoughts as to why proftpd service won't start on WinXP.  I
 followed your article about making it a service.

See the following:

http://www.catb.org/~esr/faqs/smart-questions.html

 If I try to run manually I get.
 
 $ /usr/sbin/proftpd
 255.255.255.255 - unable to set uid to 18, current uid: 11025

The above wont work.  Use the at trick if you want to run proftpd
manually:


http://www.google.com/search?hl=enlr=ie=UTF-8oe=UTF-8q=cygwin+at+trick+localsystem

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

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



Weird Naim.exe network usage?

2003-10-24 Thread darkacorn
I hope this is the right mailing list to address this issue in. 

I recently installed cygwin on my window xp home edition computer. I started naim. I 
then proceeded to enter my username, and password. It logged into TOC just fine, and I 
was typing away with friends. I noticed that for some reason naim.exe was listening on 
tcp sockets, and not only that but it changes quite frequently while naim.exe is 
running. So let me just state this again, it is listening on TCP sockets. They are 
also real because I have confirmed by telneting to them. Nothing is printed or 
anything, it just sits there. Has anyone experienced naim.exe listening on TCP 
sockets? I have no modules loaded I confirmed with /modlist.



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



Key-based authentication fails when keys are in Samba directory

2003-10-24 Thread Hugh Brown
I have Cygwin and OpenSSH set up on a number of Win2K machines.
Home directories for users are mounted via a FreeBSD-based Samba
server named Whistler.  SSH to the Win2K machines works without any
problems *except* for key-based authentication where the
~/.ssh/authorized_keys file is in a Samba-mounted home directory.

I found email from Brian Hayward
(http://sources.redhat.com/ml/cygwin/2003-10/msg00479.html) from a
couple of weeks ago, which seems pretty similar.  However, when I
try the solution (running setfacl -m u:system:r-- ~ ~/.ssh
~/.ssh/authorized_keys, where ~ is a Samba-mounted home directory),
I get an error message that says Function not implemented.  I
don't get this error message when I try it on a local home directoy,
like /home/administrator.  (I've also tried appending keys in
authorized_keys2 to authorized_keys, without any more success.)

I *have* been able to get key-based authentication to work if I set
up a home directory for the user on the Win2K machine.  In other
words, I change the home directory listed in /etc/passwd from
//sambaserver/username to /home/username, create the directory,
and copy over the user's .ssh directory.  However, at this point
they no longer have access to their home directory, so it's less
than ideal.  And for the record, password-based authentication works
without any problem at all.

On the Samba server, some home directories are mounted via NFS from
other FreeBSD machines via amd, and some are on the machine itself;
this doesn't seem to make any difference -- key-based authentication
keeps failing.  

I thought it might be a problem with symlinks
(http://www.cygwin.com/faq/faq_4.html#SEC69).  To test, I tried
setting my home directory in Cygwin's /etc/passwd to a temporary
directory on Whistler (one that was not mounted via AMD, and had
no symbolic links at all) and copying the
.ssh directory in there; it still didn't work.

Here's the debug log from the ssh daemon when I try to log in:

debug1: userauth-request for user hbrown service ssh-connection method publickey
debug1: attempt 1 failures 1
debug2: input_userauth_request: try method publickey
debug1: test whether pkalg/pkblob are acceptable
debug3: mm_key_allowed entering
debug3: mm_request_send entering: type 20
debug3: monitor_read: checking request 20
debug3: mm_answer_keyallowed entering
debug3: mm_answer_keyallowed: key_from_blob: 0x100f4888
debug1: temporarily_use_uid: 13044/545 (e=18/18)
debug1: trying public key file //whistler/hbrown/.ssh/authorized_keys
debug3: mm_key_allowed: waiting for MONITOR_ANS_KEYALLOWED
debug3: mm_request_receive_expect entering: type 21
debug3: mm_request_receive entering
debug1: restore_uid: (unprivileged)
debug1: temporarily_use_uid: 13044/545 (e=18/18)
debug1: trying public key file //whistler/hbrown/.ssh/authorized_keys2
debug1: restore_uid: (unprivileged)
debug3: mm_answer_keyallowed: key 0x100f4888 is disallowed
debug3: mm_request_send entering: type 21
debug2: userauth_pubkey: authenticated 0 pkalg ssh-rsa
Failed publickey for hbrown from 192.168.0.80 port 2621 ssh2
 
Directory permissions for ~hbrown, listed in Cygwin:

 $ ls -ld .ssh
 drwxr-xr-x2 hbrown   Users   0 Oct 23 13:31 .ssh

 $ ls -ld .ssh/authorized_keys*
  -rw-r--r--1 hbrown   Users3894 Oct 23 16:08 .ssh/authorized_keys
  -rw-r--r--1 hbrown   Users1221 Oct 23 15:55 .ssh/authorized_keys2

And the options in sshd_config that are not commented out:

Port 22
StrictModes no
UsePrivilegeSeparation yes
Subsystem  sftp/usr/sbin/sftp-server

Finally, I've attached the output of cygcheck -s -v -r.  

Thanks in advance for any help you can give me, and please let me
know if I've left anything out.

-- 
Hugh Brown
[EMAIL PROTECTED]

Cygwin Win95/NT Configuration Diagnostics
Current System Time: Fri Oct 24 13:25:49 2003

Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 3

Path:   C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
C:\cygwin\bin
c:\PROGRA~1\Borland\Delphi5\Projects\Bpl
c:\PROGRA~1\Borland\Delphi5\Bin
c:\WINNT\system32
c:\WINNT
c:\WINNT\System32\Wbem
c:\matlabr12\bin\win32
c:\SYNAPT~1
.
c:\Program Files\VISA\winnt\bin
c:\Program Files\VISA\winnt\agvisa

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 500(Administrator) GID: 513(None)
513(None)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 500(Administrator) GID: 513(None)
513(None)   544(Administrators)
545(Users)

SysDir: C:\WINNT\system32
WinDir: C:\WINNT

CYGWIN = `ntsec tty'
HOME = `C:\cygwin\home\Administrator'
MAKE_MODE = `unix'
PWD = `/home/Administrator'
USER = `Administrator'

ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
APPDATA = `C:\Documents and Settings\Administrator\Application Data'
COMMONPROGRAMFILES = `C:\Program Files\Common Files'
COMPUTERNAME = `SKYPILOT'
COMSPEC = `C:\WINNT\system32\cmd.exe'
HOMEDRIVE = `C:'
HOMEPATH = `\Documents and 

Re: Key-based authentication fails when keys are in Samba directory

2003-10-24 Thread Brian Ford
On Fri, 24 Oct 2003, Hugh Brown wrote:

 I have Cygwin and OpenSSH set up on a number of Win2K machines.
 Home directories for users are mounted via a FreeBSD-based Samba
 server named Whistler.  SSH to the Win2K machines works without any
 problems *except* for key-based authentication where the
 ~/.ssh/authorized_keys file is in a Samba-mounted home directory.

I'm not an ssh expert, but how do you expect this to work, at least if the
Samba mount requires authentication?  Seems like a chicken and the egg
problem to me.

Did you look at this thread?

http://www.cygwin.com/ml/cygwin/2003-10/msg01506.html

-- 
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: Key-based authentication fails when keys are in Samba directory

2003-10-24 Thread Larry Hall
Can an unauthenticated user access //sambaserver/username via Windows?
If not, that's the real problem.  You'll have to use password authentication
unless you change the access.  I'd be surprised if your problem is driven by
directory/file permission issues anyway, since you have StrictModes turned 
off.  Fiddling with permissions when they aren't being checked isn't going
to do much AFAICS.

Larry


At 04:25 PM 10/24/2003, Hugh Brown you wrote:
I have Cygwin and OpenSSH set up on a number of Win2K machines.
Home directories for users are mounted via a FreeBSD-based Samba
server named Whistler.  SSH to the Win2K machines works without any
problems *except* for key-based authentication where the
~/.ssh/authorized_keys file is in a Samba-mounted home directory.

I found email from Brian Hayward
(http://sources.redhat.com/ml/cygwin/2003-10/msg00479.html) from a
couple of weeks ago, which seems pretty similar.  However, when I
try the solution (running setfacl -m u:system:r-- ~ ~/.ssh
~/.ssh/authorized_keys, where ~ is a Samba-mounted home directory),
I get an error message that says Function not implemented.  I
don't get this error message when I try it on a local home directoy,
like /home/administrator.  (I've also tried appending keys in
authorized_keys2 to authorized_keys, without any more success.)

I *have* been able to get key-based authentication to work if I set
up a home directory for the user on the Win2K machine.  In other
words, I change the home directory listed in /etc/passwd from
//sambaserver/username to /home/username, create the directory,
and copy over the user's .ssh directory.  However, at this point
they no longer have access to their home directory, so it's less
than ideal.  And for the record, password-based authentication works
without any problem at all.

On the Samba server, some home directories are mounted via NFS from
other FreeBSD machines via amd, and some are on the machine itself;
this doesn't seem to make any difference -- key-based authentication
keeps failing.  

I thought it might be a problem with symlinks
(http://www.cygwin.com/faq/faq_4.html#SEC69).  To test, I tried
setting my home directory in Cygwin's /etc/passwd to a temporary
directory on Whistler (one that was not mounted via AMD, and had
no symbolic links at all) and copying the
.ssh directory in there; it still didn't work.

Here's the debug log from the ssh daemon when I try to log in:

debug1: userauth-request for user hbrown service ssh-connection method publickey
debug1: attempt 1 failures 1
debug2: input_userauth_request: try method publickey
debug1: test whether pkalg/pkblob are acceptable
debug3: mm_key_allowed entering
debug3: mm_request_send entering: type 20
debug3: monitor_read: checking request 20
debug3: mm_answer_keyallowed entering
debug3: mm_answer_keyallowed: key_from_blob: 0x100f4888
debug1: temporarily_use_uid: 13044/545 (e=18/18)
debug1: trying public key file //whistler/hbrown/.ssh/authorized_keys
debug3: mm_key_allowed: waiting for MONITOR_ANS_KEYALLOWED
debug3: mm_request_receive_expect entering: type 21
debug3: mm_request_receive entering
debug1: restore_uid: (unprivileged)
debug1: temporarily_use_uid: 13044/545 (e=18/18)
debug1: trying public key file //whistler/hbrown/.ssh/authorized_keys2
debug1: restore_uid: (unprivileged)
debug3: mm_answer_keyallowed: key 0x100f4888 is disallowed
debug3: mm_request_send entering: type 21
debug2: userauth_pubkey: authenticated 0 pkalg ssh-rsa
Failed publickey for hbrown from 192.168.0.80 port 2621 ssh2
 
Directory permissions for ~hbrown, listed in Cygwin:

 $ ls -ld .ssh
 drwxr-xr-x2 hbrown   Users   0 Oct 23 13:31 .ssh

 $ ls -ld .ssh/authorized_keys*
  -rw-r--r--1 hbrown   Users3894 Oct 23 16:08 .ssh/authorized_keys
  -rw-r--r--1 hbrown   Users1221 Oct 23 15:55 .ssh/authorized_keys2

And the options in sshd_config that are not commented out:

Port 22
StrictModes no
UsePrivilegeSeparation yes
Subsystem  sftp/usr/sbin/sftp-server

Finally, I've attached the output of cygcheck -s -v -r.  

Thanks in advance for any help you can give me, and please let me
know if I've left anything out.

-- 
Hugh Brown
[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/ 


--
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: Limit to length of command line arguments? (was Cygwin/bash: need environment variables 32K)

2003-10-24 Thread Buchbinder, Barry (NIH/NIAID)
There are no unusual file names.  Everything starts with a consonant.

As an example, in bash

$ echo N* | wc
  13332   73218
$ ls N* | wc
bash: /bin/ls.exe: Invalid argument
  0   0   0
$ echo i* | wc
  1   4  41
$ ls i* | wc
  4   4  45

sh behaves the same except for the error message

$ ls N* | wc
ls: error 22
  0   0   0

If I give ls an argument that is 32730 characters long, I get the following:

$ ls `gawk 'BEGIN {for (N = 1; N  32730; N++) {printf X}; print
;exit}'`
bash: /bin/ls.exe: Invalid argument

While if I give it an argument 32729 characters long

$ ls `gawk 'BEGIN {for (N = 1; N  32729; N++) {printf X}; print
;exit}'`
[snip]: File or path name too long

So something changes when the command line arguments get too long.

- Barry

-Original Message-
From: Jörg Schaible [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 23, 2003 2:53 AM
To: [EMAIL PROTECTED]
Subject: RE: Limit to length of command line arguments? (was Cygwin/bash:
need environment variables 32K)


Hi Barry,

Buchbinder, Barry (NIH/NIAID) wrote on Thursday, October 23, 2003 12:43 AM:
 While doing some other work, I've come to the impression that
 this is not a fileutils problem.  In a directory with ~1700
 htm files whose names take 37k,

snip
 
 $ ls *
 bash: /bin/ls.exe: Invalid argument
 
 There has been a big change my cygwin installation since last
 week.  I got a new box, upgrading from Win98SE to XP Pro.  So
 this is a new installation of cygwin, but other than this
 line-length problem, everything seems to be working OK
 (ignoring minor glitches probably due to various
 configuration files getting lost in the transition).
 
 Although I could re-do my scripts to work around this problem
 I'd appreciate any help in figuring out what is wrong with my cygwin
 installation. 

You might have an unusual filename (e.g. starting with a dash) that is
interpreted as argument. Try

$ ls -- *

This tells ls to interpret anything after the double dash as file argument
and not as possible option!

Regards,
Jörg

--
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: how to build GNU make from scratch ?

2003-10-24 Thread Igor Pechtchanski
On Fri, 24 Oct 2003, Christopher Faylor wrote:

 On Fri, Oct 24, 2003 at 10:10:00AM +0200, J?rg Schaible wrote:
 Heiko Nardmann wrote on Friday, October 24, 2003 8:24 AM:
  On Freitag, 24. Oktober 2003 08:07, Bobby McNulty Junior wrote:
  I just configured Make 3.80 in a seperate directory.
  I made on called o in the root of the source code and configured.
  Looks promising, as long as you are using the latest tools. Cygwin
  B20 won't configure this way, if that is what you are using.
 
 
  What is Cygwin B20 in difference to what I normally get by setup.exe
  ???
 
 B20 was the unbelievable, awesome and complete Cygwin release, that
 could have anwered any questions, including the question for 42.  But
 they nuked it just before it was ready to give *that* answer ...

 That was when I joined as project manager, or rather was replaced by a
 shady government organization that ousted poor Geoff Noer.  Nowadays, I
 just send out release after substandard release of cygwin, chuckling
 evily and stroking the stuffed remains of my dead cat Bitsy.

 As far as 42 is concer

My Windows crashed while reading your message, and I blame you!  How do
you DO that?!  I bet it wouldn't have happened had I been running B20!
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: how to build GNU make from scratch ?

2003-10-24 Thread Christopher Faylor
On Fri, Oct 24, 2003 at 04:58:21PM -0400, Igor Pechtchanski wrote:
On Fri, 24 Oct 2003, Christopher Faylor wrote:

 On Fri, Oct 24, 2003 at 10:10:00AM +0200, J?rg Schaible wrote:
 Heiko Nardmann wrote on Friday, October 24, 2003 8:24 AM:
  On Freitag, 24. Oktober 2003 08:07, Bobby McNulty Junior wrote:
  I just configured Make 3.80 in a seperate directory.
  I made on called o in the root of the source code and configured.
  Looks promising, as long as you are using the latest tools. Cygwin
  B20 won't configure this way, if that is what you are using.
 
 
  What is Cygwin B20 in difference to what I normally get by setup.exe
  ???
 
 B20 was the unbelievable, awesome and complete Cygwin release, that
 could have anwered any questions, including the question for 42.  But
 they nuked it just before it was ready to give *that* answer ...

 That was when I joined as project manager, or rather was replaced by a
 rather was put into office by the
 shady government organization that ousted poor Geoff Noer.  Nowadays, I
 just send out release after substandard release of cygwin, chuckling
 evily and stroking the stuffed remains of my dead cat Bitsy.

 As far as 42 is concer

My Windows crashed while reading your message, and I blame you!  How do
you DO that?!  I bet it wouldn't have happened had I been running B20!

There is no B20!  I have eliminated all copies of it.  You *must* use
1.5.5!  There will be no discussion on this.  It is all off-topic.

In fact, I think I don't like the name Igor, so that is off-topic,
too.  You are no longer allowed to use your name in this mailing list.

Shush!  Aht!  No.  Sssh!

Don't make me make the term Please do not send private email off-topic,
too.  I will if you keep provoking me!

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: how to build GNU make from scratch ?

2003-10-24 Thread Igor Pechtchanski
On Fri, 24 Oct 2003, Christopher Faylor wrote:

 On Fri, Oct 24, 2003 at 04:58:21PM -0400, Igor Pechtchanski wrote:
 On Fri, 24 Oct 2003, Christopher Faylor wrote:
 
  On Fri, Oct 24, 2003 at 10:10:00AM +0200, J?rg Schaible wrote:
  Heiko Nardmann wrote on Friday, October 24, 2003 8:24 AM:
   On Freitag, 24. Oktober 2003 08:07, Bobby McNulty Junior wrote:
   I just configured Make 3.80 in a seperate directory.
   I made on called o in the root of the source code and configured.
   Looks promising, as long as you are using the latest tools. Cygwin
   B20 won't configure this way, if that is what you are using.
  
  
   What is Cygwin B20 in difference to what I normally get by setup.exe
   ???
  
  B20 was the unbelievable, awesome and complete Cygwin release, that
  could have anwered any questions, including the question for 42.  But
  they nuked it just before it was ready to give *that* answer ...
 
  That was when I joined as project manager, or rather was replaced by a
  rather was put into office by the
  shady government organization that ousted poor Geoff Noer.  Nowadays, I
  just send out release after substandard release of cygwin, chuckling
  evily and stroking the stuffed remains of my dead cat Bitsy.
 
  As far as 42 is concer
 
 My Windows crashed while reading your message, and I blame you!  How do
 you DO that?!  I bet it wouldn't have happened had I been running B20!

 There is no B20!  I have eliminated all copies of it.  You *must* use
 1.5.5!  There will be no discussion on this.  It is all off-topic.

 In fact, I think I don't like the name Igor, so that is off-topic,
 too.  You are no longer allowed to use your name in this mailing list.

 Shush!  Aht!  No.  Sssh!

 Don't make me make the term Please do not send private email off-topic,
 too.  I will if you keep provoking me!

 cgf

Down with the tyranny of CGF!  For those interested, I have stashed my
own, super-private copy of B20 at the address below.  Please keep this
information in strict confidence -- I shudder to think what would happen
should CGF find out.  You can download B20 at http:/

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

Re: Key-based authentication fails when keys are in Samba directory

2003-10-24 Thread Hugh Brown
Brian Ford wrote:
 I'm not an ssh expert, but how do you expect this to work, at least if the
 Samba mount requires authentication?  Seems like a chicken and the egg
 problem to me.

and Larry Hall wrote:

 Can an unauthenticated user access //sambaserver/username via Windows?
 If not, that's the real problem.  You'll have to use password authentication
 unless you change the access.  

Both of these fine gentlemen had it right:  I had completely missed
the Samba authentication problem.  I was able to use public-key
authentication by mounting my home directory with the public key
via net use (and supplying a password), prior to logging in via SSH.

Thanks very much to both of your for your swift (and patient) responses!

-- 
Hugh Brown
[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: cygcheck as body or attachment (was RE: rsync hang .... )

2003-10-24 Thread Peter J. Stieber
 I've used Cygwin for several years now, and have read this mailing list
 for quite some time. When I encountered the rsync problem, I searched
 mailing lists as well as Google to find the solution, couldn't find a
 definitive answer, and eventually found one myself that worked, so I
 thought I'd post it (as many other people had reported similar problems
 in the archives) in order to help.

 I almost didn't email the list with this solution because I couldn't
 remember whether or not to include the output of cygcheck as an
 attachment or as part of the body. I looked on the mailing list webpage
 on cygwin.com, and couldn't see any info, so I decided to put it in the
 body. I should have looked further, but I figured it wouldn't be a big
 deal. Of course, I chose the wrong way, and got flamed.

I think the people I work with would think of me as a nice guy. I hope
this comment doesn't get me blocked from the cygwin list ;-) Normally I
ignore such things, but I felt compelled because I have seen many other
messages with the following content...

PLEASE include the generated files 'cygcheck.txt' *as an attachment*,
and NOT in the body of the mail message.

If you don't believe me visit http://cygwin.com/ml/cygwin/ and type as an
attachment in the search box. I got 2862 hits.

This makes me believe you've been subscribed to the mailing list for quite
some time, but may not have actually read many messages. I can understand
this. It's an active list. So I thought I would help by pointing this out.

On the other hand, now I understand the WJM philosophy, because in this case
it worked...

 I now know the right way.

You may ask yourself why I bothered replying to this post. We'll you made
another minor mistake by adding my address to email distribution list. I
obviously read the mailing list and this simply resulted in me getting two
copies of the same messages. I hope pointing this out doesn't seem too mean.
Imagine if you would have done this to cfg!

 Anyway, I hope that my simple patch can help someone else in the future,
 and if the additional body of my message bothered anyone, I apologize.

I hope you helped someone too. I'm sure you did. Just ignore the mean people
on the list, but use their advice to avoid further meanness.

Pete


--
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.1: can't open files beginning with ...

2003-10-24 Thread Pavel Tsekov


On Fri, 24 Oct 2003, Rolf Campbell wrote:

 To make things even more interesting, it thinks that anything starting
 with '...' is a character device?

 /home/rcampbell ll ..
 crw-rw-rw-1 rcampbel   0,   0 Oct 24 14:28 ..

 /home/rcampbell touch ...
 touch: creating `...': No such device or address

This does not work on Windows. Basically paths in windows
cannot end in row of dots. The dots are silently ignored.

 Chris Moore wrote:
  I have a file on my PC called ...foo.txt.

This does work, but Cygwin's path handling code understands
only .. and . . If it get three dots in a raw and they
appear before the last '/' char, Cygwin returns ENOENT.

I looked in the code 2 months ago so I may miss some of
the details - please, correct me if I am wrong.

I found this in august and changed the code (normalize_posix_path)
to allow path components starting with multiple dots but I havent
sent the pathc since i had some doubts on how to implement
this properly for UNC paths - the path handling code is
the same. If someone is interested to look at it and discuss
I will be happy to send it.

Pavel

--
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.3.22: gdbm-1.8.3 build error

2003-10-24 Thread Doru Carastan
Hello,

I have tried to rebuild gdbm-1.8.3 and got a make install error. 
Makefile installs some files with explicit ownership. Unfortunately the 
group and owner variables are not double quoted and the commands fail if 
the variables contain spaces.

gdbm-1.8.3/Makefile:138

install: libgdbm.la gdbm.h gdbm.info
   $(srcdir)/mkinstalldirs $(INSTALL_ROOT)$(libdir) \
   $(INSTALL_ROOT)$(includedir) $(INSTALL_ROOT)$(man3dir) \
   $(INSTALL_ROOT)$(infodir)
   $(LIBTOOL) --mode=install $(INSTALL) -c libgdbm.la \
   $(INSTALL_ROOT)$(libdir)/libgdbm.la
   $(INSTALL_DATA) -o $(BINOWN) -g $(BINGRP) gdbm.h \
   $(INSTALL_ROOT)$(includedir)/gdbm.h
   $(INSTALL_DATA) -o $(BINOWN) -g $(BINGRP) $(srcdir)/gdbm.3 \
   $(INSTALL_ROOT)$(man3dir)/gdbm.3
   $(INSTALL_DATA) -o $(BINOWN) -g $(BINGRP) $(srcdir)/gdbm.info \
   $(INSTALL_ROOT)$(infodir)/gdbm.info
And my group file has group names with spaces. I have recently used 
'mkgroup -dl  /etc/group' to re-create my /etc/group files and got the 
following:

SYSTEM:S-1-5-18:18:
None:S-1-5-21-720897496-2436313513-572454927-513:513:
Domain Admins:S-1-5-21-1286613485-1828479051-310601177-512:10512:
Domain Guests:S-1-5-21-1286613485-1828479051-310601177-514:10514:
Domain Users:S-1-5-21-1286613485-1828479051-310601177-513:10513:
Administrators:S-1-5-32-544:544:
Backup Operators:S-1-5-32-551:551:
Guests:S-1-5-32-546:546:
Network Configuration Operators:S-1-5-32-556:556:
Power Users:S-1-5-32-547:547:
Remote Desktop Users:S-1-5-32-555:555:
Replicator:S-1-5-32-552:552:
Users:S-1-5-32-545:545:
Debugger Users:S-1-5-21-720897496-2436313513-572454927-1005:1005:
HelpServicesGroup:S-1-5-21-720897496-2436313513-572454927-1001:1001:
VS Developers:S-1-5-21-720897496-2436313513-572454927-1006:1006:
I got around by removing the spaces present in the group names, but I 
would like to ask (Corinna?) what is the right way to fix this problem:

a. Sanitize /etc/groups by removing any spaces present in the group names.
b. Modify the Makefile and add the necessary double quoting.
Is there a special reason why mkgroup doesn't remove the spaces present 
in the Windows group names or substitute them let's say with _'s?

Thank you,

--
Doru Carastan Windows Host 
Contractor
(408)-992-4497  MontaVista Software


Cygwin Win95/NT Configuration Diagnostics
Current System Time: Fri Oct 24 16:04:56 2003

Windows XP Professional Ver 5.1 Build 2600 Service Pack 1

Path:   S:\cygwin\usr\local\bin
S:\cygwin\bin
S:\cygwin\bin
c:\WINDOWS\system32
c:\WINDOWS
c:\WINDOWS\System32\Wbem
S:\cygwin\usr\X11R6\bin
S:\cygwin\opt\montavista\host\bin
s:\doru\bin

S:\cygwin\bin\id.exe output (nontsec)
UID: 11629(dcarastan)  GID: 10513(DomainUsers)
10513(DomainUsers) 544(root)
545(Users) 1005(DebuggerUsers)

S:\cygwin\bin\id.exe output (ntsec)
UID: 11629(dcarastan)  GID: 10513(DomainUsers)
10513(DomainUsers) 544(root)
545(Users) 1005(DebuggerUsers)

SysDir: C:\WINDOWS\System32
WinDir: C:\WINDOWS

CYGWIN = `codepage:oem'
HOME = `s:\doru'
MAKE_MODE = `unix'
PWD = `/cygdrive/s/doru/cygwin'
USER = `dcarastan'

Use `-r' to scan registry

a:  fd   N/AN/A
c:  hd  NTFS   39205Mb  17% CP CS UN PA FC IDE-BOOT
d:  hd  FAT   31Mb  69% CPUN   USB-DOS
e:  hd  FAT 1337Mb   1% CPUN   USB-BACKUP
h:  net NTFS   201584Mb  83% CP CSPAdcarastan
m:  net NTFS   34469Mb 100% CP CSPAdcarastan
s:  hd  NTFS   17500Mb  49% CP CS UN PA FC SCSI-HOME
y:  cd   N/AN/A
z:  cd  CDFS 581Mb 100%CS UN   031010_bkup

S:\cygwin  /  system  binmode
S:\cygwin\bin  /usr/bin   system  binmode
S:\cygwin\lib  /usr/lib   system  binmode
.  /cygdrive  system  binmode,cygdrive

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

   58k 2002/05/07 S:\cygwin\bin\cygbz2-1.dll
   54k 2002/01/27 S:\cygwin\bin\cygbz21.0.dll
   13k 2003/06/18 S:\cygwin\bin\cygcharset-1.dll
  848k 2003/04/11 S:\cygwin\bin\cygcrypto-0.9.7.dll
  645k 2003/04/11 S:\cygwin\bin\cygcrypto.dll
  551k 2003/04/02 S:\cygwin\bin\cygcurl-2.dll
  380k 2002/07/24 S:\cygwin\bin\cygdb-3.1.dll
  326k 2002/06/26 S:\cygwin\bin\cygdb2.dll
  487k 2002/07/24 S:\cygwin\bin\cygdb_cxx-3.1.dll
  135k 2003/04/13 S:\cygwin\bin\cygexpat-0.dll
   61k 2003/06/10 

Re: Problem with a Cygwin App - Broken on a pristine system until I install Cygwin, cygwin1.dll doesn't seem to be enough

2003-10-24 Thread Igor Pechtchanski
On Fri, 24 Oct 2003, Benjamin Cutler wrote:

 I have a program that I originally wrote on Linux, and compiled with
 cygwin to make a Windows binary. The problem is that the Windows binary
 won't work properly on a system that doesn't have cygwin installed on
 it. It seems to not be using fread and fwrite correctly, or it's having
 some weird problem with pointers that I can't figure out. The problem is
 that as SOON as I install Cygwin onto a system, the executable works
 perfectly, even though I don't change anything directly related to the
 program itself.

 The program is using SDL, if that makes any difference, and cygwin1.dll
 is the latest version in all my test cases. So far on every machine I've
 tried it on this has been the case, where it won't work properly until
 I've installed cygwin. What might cygwin be installing that suddenly
 lets the program work right that I need to be distributing with my
 program besides cygwin1.dll?

cygcheck yourprogram.exe should tell you all the DLLs that your program
directly or indirectly depends on.
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: Problem with a cygwin App - Broken on a pristine system until I install cygwin, cygwin1.dll doesn't seem to be enough

2003-10-24 Thread Christopher Faylor
On Fri, Oct 24, 2003 at 04:07:25PM -0700, Benjamin Cutler wrote:
I have a program that I originally wrote on Linux, and compiled with
cygwin to make a Windows binary.  The problem is that the Windows
binary won't work properly on a system that doesn't have cygwin
installed on it.  It seems to not be using fread and fwrite correctly,
or it's having some weird problem with pointers that I can't figure
out.  The problem is that as SOON as I install Cygwin onto a system,
the executable works perfectly, even though I don't change anything
directly related to the program itself.

The program is using SDL, if that makes any difference, and cygwin1.dll
is the latest version in all my test cases.  So far on every machine
I've tried it on this has been the case, where it won't work properly
until I've installed cygwin.  What might cygwin be installing that
suddenly lets the program work right that I need to be distributing
with my program besides cygwin1.dll?

If you are distributing cygwin outside your organization, the other
thing you need to include is the source code for your application and
for the Cygwin DLL, as per the GPL.

Assuming that you know this, you are right in assuming that just
copying the cygwin DLL should be enough.  You could try just
copying the 'strace' program to the system in question and running
the program with that to see if you can gather a clue into what
is going on.

Otherwise the tried and true printf debugging technique is probably
your best bet.
--
Please use the resources at cygwin.com rather than sending personal email.
Special for spam email harvesters: send email to [EMAIL PROTECTED]
and be permanently blocked from mailing lists at sources.redhat.com

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



Re: Problem with a cygwin App - Broken on a pristine system until I install cygwin, cygwin1.dll doesn't seem to be enough

2003-10-24 Thread Benjamin Cutler

--- Christopher Faylor [EMAIL PROTECTED] wrote:
 If you are distributing cygwin outside your organization, the other
 thing you need to include is the source code for your application and
 for the Cygwin DLL, as per the GPL.
 

Aye, it's a GPLed app. I didn't want to provide a URL to the app's page
unless asked, but if you want I certainly can, if it helps narrow the problem
down.

 Assuming that you know this, you are right in assuming that just
 copying the cygwin DLL should be enough.  You could try just
 copying the 'strace' program to the system in question and running
 the program with that to see if you can gather a clue into what
 is going on.
 

Hrm, next time I get a chance to sit down in the CS lab and hammer away at it
for a while (I currently only have a Linux box available to me without making
a trip across campus) I'll try strace. As the previous poster suggested, I
had already tried cygcheck, and all it spat back at me was SDL.dll,
cygwin1.dll, and a bunch of standard Windows DLLs. Perhaps there's a compiler
switch that I missed?

 Otherwise the tried and true printf debugging technique is probably
 your best bet.

Aye, I've already considered this, I just ran out of time to work on it today...

__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

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



Re: Binaries for bootstrap GNAT/GCC-Cygwin Build

2003-10-24 Thread David A. Cobb
Gerrit P. Haase wrote:

David schrieb:
 

Around 25 September, David, Gerrit, and Jason had a discussion on the 
list about making David's build of GNAT available.  David's server 
couldn't bear much traffic but there were some offers of other sites.
Are the binaries available on-line at this time?
   

I have a mirror where also Davids binaries are asvailable, though it is
realy outdated, I even couldn't use it to bootstrap a newer gcc on top
of Cygwin 1.5.5.  I'm just about finishing a GCC release for Cygwin
including GNAT.
Do you have a reasonable amount of time and Ada code to test run the Ada
compiler? 

Gerrit
 

I have an /unreasonable/ amount of time.  Ada code - I can write it, I 
can also go download the conformance tests (I think).

MfG,

--
David A. Cobb, Software Engineer, Public Access Advocate
By God's Grace, I am a Christian man; by my actions a great sinner. -- The Way of a 
Pilgrim: R.French, Tr.
Life is too short to tolerate crappy software!




--
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: Wildcard problem with recursion

2003-10-24 Thread Ajith Kumar
I run these from the win2k cmd.exe and not from the bash prompt. Can u be
more specific please to which doc or man pages I shold refer to?
Thank You
Regards,
ajith

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
Of Corinna Vinschen
Sent: Thursday, October 23, 2003 3:44 PM
To: [EMAIL PROTECTED]
Subject: Re: Wildcard problem with recursion


On Thu, Oct 23, 2003 at 03:05:53PM +0530, Ajith Kumar wrote:
 Cygwin utilities like grep or ls with -R options doesn't seem to be
working.
 egs when I say
 grep -r FLD_DCT_STRING  *.h??
 I get
 grep: *.hpp: No such file or directory

 However there are many .h, .hxx and .hpp files in the subdirectories

 ls also gives the same err.

 Any solutons?

Yes, read the shell man pages to learn how file completion works.
What you want is a job for `find | xargs grep'.

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/



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