Re: [PACKAGE UPDATE]: grace-5.1.17-1
On Sep 20 18:29, Volker Quetschke wrote: Ping!? Pong! I also removed 5.1.12-1. http://www.scytek.de/cygwin/release/grace/setup.hint http://www.scytek.de/cygwin/release/grace/grace-5.1.17-1.tar.bz2 http://www.scytek.de/cygwin/release/grace/grace-5.1.17-1-src.tar.bz2 Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader mailto:[EMAIL PROTECTED] Red Hat, Inc.
Re: Please upload: openldap-2.2.17-1/libopenldap2_2_7-2.2.17-1/openldap-devel-2.2.17-1
On Sep 20 18:24, Dr. Volker Zell wrote: Please upload at your earliest convinience. cut here #!/bin/bash mkdir -p openldap openldap/openldap-devel openldap/libopenldap2_2_7 cd openldap wget http://cygwin.dev.wapme.net/packages/vzell/cygwin/release/openldap/setup.hint wget http://cygwin.dev.wapme.net/packages/vzell/cygwin/release/openldap/openldap-2.2.17-1.tar.bz2 wget http://cygwin.dev.wapme.net/packages/vzell/cygwin/release/openldap/openldap-2.2.17-1-src.tar.bz2 cd openldap-devel wget http://cygwin.dev.wapme.net/packages/vzell/cygwin/release/openldap/openldap-devel/setup.hint wget http://cygwin.dev.wapme.net/packages/vzell/cygwin/release/openldap/openldap-devel/openldap-devel-2.2.17-1.tar.bz2 cd ../libopenldap2_2_7 wget http://cygwin.dev.wapme.net/packages/vzell/cygwin/release/openldap/libopenldap2_2_7/setup.hint wget http://cygwin.dev.wapme.net/packages/vzell/cygwin/release/openldap/libopenldap2_2_7/libopenldap2_2_7-2.2.17-1.tar.bz2 cut here Done. Can 2.1.25-1 get removed? Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader mailto:[EMAIL PROTECTED] Red Hat, Inc.
Re: Please upload: openldap-2.2.17-1/libopenldap2_2_7-2.2.17-1/openldap-devel-2.2.17-1
Corinna Vinschen writes: Done. Can 2.1.25-1 get removed? Thanks and YES Corinna Ciao Volker
Re: Please upload: openldap-2.2.17-1/libopenldap2_2_7-2.2.17-1/openldap-devel-2.2.17-1
On Sep 21 12:06, Dr. Volker Zell wrote: Corinna Vinschen writes: Done. Can 2.1.25-1 get removed? Thanks and YES Done. I've kept libopenldap2/libopenldap2-2.1.25-1.tar.bz2 for backward compatibility. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader mailto:[EMAIL PROTECTED] Red Hat, Inc.
upset errors for libopenldap2
Gerrit please fix this ASAP: upset: *** warning package libopenldap2 refers to non-existent external-source: openldap
Re: upset errors for libopenldap2
On Sep 21 10:06, Christopher Faylor wrote: Gerrit please fix this ASAP: upset: *** warning package libopenldap2 refers to non-existent external-source: openldap Sorry, my bad. I removed version 2.1.whatever of openldap but I didn't know that libopenldap2 has this external-source ref. Fixed. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader mailto:[EMAIL PROTECTED] Red Hat, Inc.
Please upload: gnuplot-4.0.0-1
Hi Please upload at your earliest convinience cut here #!/bin/bash mkdir gnuplot cd gnuplot wget http://cygwin.dev.wapme.net/packages/vzell/cygwin/release/gnuplot/setup.hint wget http://cygwin.dev.wapme.net/packages/vzell/cygwin/release/gnuplot/gnuplot-4.0.0-1-src.tar.bz2 wget http://cygwin.dev.wapme.net/packages/vzell/cygwin/release/gnuplot/gnuplot-4.0.0-1.tar.bz2 cut here DESCRIPTION: Gnuplot is a command-line driven interactive function plotting utility for UNIX, MSDOS, VMS, and many other platforms. The software is copyrighted but freely distributed (i.e., you don't have to pay for it). It was originally intended as graphical program which would allow scientists and students to visualize mathematical functions and data. Gnuplot supports many different types of terminals, plotters, and printers (including many color devices, and pseudo-devices like LaTeX) and is easily extensible to include new devices. [ The 'GNU' in gnuplot is NOT related to the Free Software Foundation, the naming is just a coincidence (and a long story; see the gnuplot FAQ for details). Thus gnuplot is not covered by the Gnu copyleft, but rather by its own copyright statement, included in all source code files.] Gnuplot handles both curves (2 dimensions) and surfaces (3 dimensions). Surfaces can be plotted as a mesh fitting the specified function, floating in the 3-d coordinate space, or as a contour plot on the x-y plane. For 2-d plots, there are also many plot styles, including lines, points, lines with points, error bars, and impulses (crude bar graphs). Graphs may be labeled with arbitrary labels and arrows, axes labels, a title, date and time, and a key. The interface includes command-line editing and history on most platforms. CYGWIN NEWS: * Update to latest upstream release gnuplot NEWS: = Below you find list of news, changes and fixes in gnuplot version 4.0 and older. Please see also section What is New in Version 4.0 in gnuplot documentation (files gnuplot.gih, gnuplot.hlp, gnuplot.inf, etc.) available by the command gnuplot help new from gnuplot 4.0. You may find it also in files gnuplot.pdf, gnuplot.html or gnuplot.info optionally available in your distribution, or online at http://www.gnuplot.info/docs/gnuplot.html#What_is_New_in_Version_4.0 Mouse and hotkey support in screen terminals The pm, x11, ggi and windows terminals support interactive work with mouse and hotkeys. The usage of the mouse is mainly self-explanatory. Just type 'h' in the graph window (hereafter we mean either PM, X11, ... terminal window) and a short overview of commands will pop up. The mouse is turned on and off with the hotkey 'm'. See 'help mouse' and 'help bind' for more details. The coordinates of mouse clicks are exported to variables MOUSE_X, MOUSE_Y, MOUSE_X2, MOUSE_Y2, and MOUSE_BUTTON accessible from the gnuplot command line. This allows gnuplot scripts to alter their behaviour based on interactive mouse input. See 'help mouse variables' and 'help pause mouse', and the example script demo/mousevariables.dem. Further it allows interaction of a gnuplot mouseable terminal and external programs in C, Python, Octave, etc. using gnuplot as their graph engine. This is demonstrated on gnuplot web page in section Programming interfaces - bidirectional interaction. Brief list of news in gnuplot 4.0: * CHANGE sample calculated smooth csplines only in actual xrange * CHANGE 'set term gif' compile-time option to write PNG format instead * CHANGE pattern fill styles are uniform across all supporting terminals * CHANGE X-window plot and font size is used to adjust plot layout * CHANGE 'set key {on|off|default}' is preferred method for controlling key * CHANGE mouse position is tracked in all X windows (not just current one) * NEW enhanced text mode for additional terminal types * NEW built-in function 'defined(variablename)' * NEW mouse input information is exported to user-accessible variables * NEW 'set term png' and 'set term jpeg' using modern GD library * NEW set size ratio now works for splots, too * NEW grid options: {layerdefault | front | back} * NEW plot option smooth frequency * NEW terminal names now sorted alphabetically * NEW with palette also for points * NEW plotstyle with filledcurves * NEW 'set style fill' applies to boxes, boxxyerror, boxerror, candlesticks * NEW set boxwidth number relative * NEW options to FIG terminal driver * NEW parse errors in datafile reading now show the culprit * NEW labels can be printed attached to a point * FIXED interaction of set xtics incr with time/date axes * FIXED candlesticks now ignore order of high/low entries * FIXED keeping old arrow options if new set command modifies it * FIXED undoing a mouse zoom that started from autoscaled axis * FIXED contour line
Please upload: tzcode-2004d-1
Hi Please upload at your earliest convinience cut here #!/bin/bash mkdir tzcode cd tzcode wget http://cygwin.dev.wapme.net/packages/vzell/cygwin/release/tzcode/setup.hint wget http://cygwin.dev.wapme.net/packages/vzell/cygwin/release/tzcode/tzcode-2004d-1-src.tar.bz2 wget http://cygwin.dev.wapme.net/packages/vzell/cygwin/release/tzcode/tzcode-2004d-1.tar.bz2 cut here DESCRIPTION: The time zone package CYGWIN NEWS: * Update to latest upstream release tzcode/tzdata NEWS == * Sorry no changelog available. You have to do the diff yourself. Thanks Volker
Please upload: gd-2.0.28-1/libgd2-2.0.28-1/libgd-devel-2.0.28-1
Hi Please upload at your earliest convinience cut here #!/bin/bash mkdir -p gd gd/libgd2 gd/libgd-devel cd gd wget http://cygwin.dev.wapme.net/packages/vzell/cygwin/release/gd/setup.hint wget http://cygwin.dev.wapme.net/packages/vzell/cygwin/release/gd/gd-2.0.28-1-src.tar.bz2 wget http://cygwin.dev.wapme.net/packages/vzell/cygwin/release/gd/gd-2.0.28-1.tar.bz2 cd libgd2 wget http://cygwin.dev.wapme.net/packages/vzell/cygwin/release/gd/libgd2/setup.hint wget http://cygwin.dev.wapme.net/packages/vzell/cygwin/release/gd/libgd2/libgd2-2.0.28-1.tar.bz2 cd ../libgd-devel wget http://cygwin.dev.wapme.net/packages/vzell/cygwin/release/gd/libgd-devel/setup.hint wget http://cygwin.dev.wapme.net/packages/vzell/cygwin/release/gd/libgd-devel/libgd-devel-2.0.28-1.tar.bz2 cut here DESCRIPTION: A graphics library for fast image creation CYGWIN NEWS: * Update to latest upstream release. gd NEWS === What's new in version 2.0.28? * GIF support has been restored. See gdImageGif, gdImageGifCtx, gdImageGifPtr, gdImageCreateFromGif, gdImageCreateFromGifCtx, and gdImageCreateFromGifPtr. These functions are now thread-safe, similar to the PNG and JPEG manipulation functions. * The new gdImageCreatePaletteFromTrueColor function is identical to gdImageTrueColorToPalette, except that it returns a new image rather than permanently modifying the original. What's new in version 2.0.27? * In gd 2.0.26, there was potential for out of bounds fills, and therefore crashes, in the horizontalLine function used by gdImageFilledPolygon. Fixed by John Ellson. * The order of the points returned in the bounding rectangle by gdImageStringFT was incorrect in version 2.0.26. This has been corrected in version 2.0.27. Thanks to Riccardo Cohen for pointing this out, and to John Ellson for verifying and fixing it. What's new in version 2.0.26? The following enhancements and fixes: * Drastically faster, less memory-intensive antialiased drawing, thanks to Pierre-Alain Joye. This code was imported from the PHP fork of gd. The API for antialiased drawing has not changed, however the implementation has been completely replaced. Antialiased line drawing does not support widths other than 1, however this did not work properly with the other implementation of antialiasing either. Support has been included for the non-blending color option introduced by the previous implementation of antialiased drawing. * gdlib-config, which has been installed by make install for some time now, has gained a --features option. This option produces a space-separated list of optional features with which the gd library was compiled. Typical usage looks like this: % gdlib-config --features GD_XPM GD_JPEG GD_FREETYPE GD_PNG GD_GIF Other configure scripts can conveniently define preprocessor symbols based on this list in order to conditionally compile code. For instance, if GD_PNG is not reported by --features, then gdImagePng is not included in the library. Thanks to Lars Hecking and Lincoln Stein for their advice on implementing this feature. Any blame for the actual implementation is entirely due to me (TBB). * Fixes to the behavior of the bounding rectangle returned by gdImageStringFT and relatives when the string is rotated. See fontwheeltest.c. Thanks to John Ellson. * Previously, gdImageStringFT and friends accepted either a full path to a font file, or the name of a font with no extension, in which case the GDFONTPATH environment variable and then the compiled-in DEFAULT_FONTPATH was searched. In addition, a font filename with an extension but no full path can now be automatically searched for in the same fashion. Thanks to John Ellson. * Fixes to freetype antialiased text against a transparent background. See testtr.c. Thanks to John Ellson. * Support for named entities like amp; and hex-coded entities such as #x6C34; in text strings passed to gdImageStringFT and relatives, adding to the previous support for decimal-coded entities like #197;. These were extracted from entities.html (from the W3C) via the script entities.tcl, which is included for the curious and those with other entities they need support for. Thanks to John Ellson. * Optimization: gdImageSetPixel no longer calls gdImageAlphaBlend when either the source or the destination pixel is 100% transparent. Thanks to John Ellson. * Optimization: gdImageLine is potentially faster now in the most common cases. Thanks to John Ellson. * Documentation of the entities feature of gdImageStringFT. * autoconf/configure fixes. Thanks to many who pointed out an oversight in handling libpng flags. What's new in version 2.0.25? Owing to an oversight while making changes to better accommodate the use of
Please upload: tzcode-2004d-1
Hi Please upload at your earliest convinience cut here #!/bin/bash mkdir tzcode cd tzcode wget http://cygwin.dev.wapme.net/packages/vzell/cygwin/release/tzcode/setup.hint wget http://cygwin.dev.wapme.net/packages/vzell/cygwin/release/tzcode/tzcode-2004d-1-src.tar.bz2 wget http://cygwin.dev.wapme.net/packages/vzell/cygwin/release/tzcode/tzcode-2004d-1.tar.bz2 cut here DESCRIPTION: The time zone package CYGWIN NEWS: * Update to latest upstream release tzcode/tzdata NEWS == * Sorry no changelog available. You have to do the diff yourself. Thanks Volker
Re: unison-2.10.2-1 and unison-gtk2-2.10.2-1
I have done a Cygwin package of LablGtk now, just add the Cygwin specific README and sign it with your name, if there are no objections it will be included in the netrelease and unison-gtk2 is GTG, once we found the reason why I needed to apply the beloow changes. Fetch the LablGtk package here: http://194.95.224.180/lablgtk/ I decided to go ahead and build a lablgtk2 package myself, so I can reasonably maintain it in the future. I've built the package, but now I have a problem: if I strip /usr/lib/ocaml/lablgtk2/lablgtktop.exe, then when I run /usr/bin/lablgtk2, I get Unknown option -w: $ lablgtk2 -verbose /usr/lib/ocaml/lablgtk2/lablgtktop -w s -I /usr/local/stow/lablgtk-2.4.0 /usr/lib/ocaml/lablgtk2 -I gtkInit.cmo Unknown option -w. If I don't strip lablgtktop.exe, then I don't get this error. I can't find any documentation about what the '-w s' option does, but I believe it's supposed to be passed on to the OCaml compiler. Questions: should I just give up on stripping the executable? Or is there a workaround? Do I need the -w option at all? Sorry, but I know almost nothing about OCaml or LablGTK. Thanks, Andrew.
Please upload: gd-2.0.28-1/libgd2-2.0.28-1/libgd-devel-2.0.28-1
Hi Please upload at your earliest convinience cut here #!/bin/bash mkdir -p gd gd/libgd2 gd/libgd-devel cd gd wget http://cygwin.dev.wapme.net/packages/vzell/cygwin/release/gd/setup.hint wget http://cygwin.dev.wapme.net/packages/vzell/cygwin/release/gd/gd-2.0.28-1-src.tar.bz2 wget http://cygwin.dev.wapme.net/packages/vzell/cygwin/release/gd/gd-2.0.28-1.tar.bz2 cd libgd2 wget http://cygwin.dev.wapme.net/packages/vzell/cygwin/release/gd/libgd2/setup.hint wget http://cygwin.dev.wapme.net/packages/vzell/cygwin/release/gd/libgd2/libgd2-2.0.28-1.tar.bz2 cd ../libgd-devel wget http://cygwin.dev.wapme.net/packages/vzell/cygwin/release/gd/libgd-devel/setup.hint wget http://cygwin.dev.wapme.net/packages/vzell/cygwin/release/gd/libgd-devel/libgd-devel-2.0.28-1.tar.bz2 cut here DESCRIPTION: A graphics library for fast image creation CYGWIN NEWS: * Update to latest upstream release. gd NEWS === What's new in version 2.0.28? * GIF support has been restored. See gdImageGif, gdImageGifCtx, gdImageGifPtr, gdImageCreateFromGif, gdImageCreateFromGifCtx, and gdImageCreateFromGifPtr. These functions are now thread-safe, similar to the PNG and JPEG manipulation functions. * The new gdImageCreatePaletteFromTrueColor function is identical to gdImageTrueColorToPalette, except that it returns a new image rather than permanently modifying the original. What's new in version 2.0.27? * In gd 2.0.26, there was potential for out of bounds fills, and therefore crashes, in the horizontalLine function used by gdImageFilledPolygon. Fixed by John Ellson. * The order of the points returned in the bounding rectangle by gdImageStringFT was incorrect in version 2.0.26. This has been corrected in version 2.0.27. Thanks to Riccardo Cohen for pointing this out, and to John Ellson for verifying and fixing it. What's new in version 2.0.26? The following enhancements and fixes: * Drastically faster, less memory-intensive antialiased drawing, thanks to Pierre-Alain Joye. This code was imported from the PHP fork of gd. The API for antialiased drawing has not changed, however the implementation has been completely replaced. Antialiased line drawing does not support widths other than 1, however this did not work properly with the other implementation of antialiasing either. Support has been included for the non-blending color option introduced by the previous implementation of antialiased drawing. * gdlib-config, which has been installed by make install for some time now, has gained a --features option. This option produces a space-separated list of optional features with which the gd library was compiled. Typical usage looks like this: % gdlib-config --features GD_XPM GD_JPEG GD_FREETYPE GD_PNG GD_GIF Other configure scripts can conveniently define preprocessor symbols based on this list in order to conditionally compile code. For instance, if GD_PNG is not reported by --features, then gdImagePng is not included in the library. Thanks to Lars Hecking and Lincoln Stein for their advice on implementing this feature. Any blame for the actual implementation is entirely due to me (TBB). * Fixes to the behavior of the bounding rectangle returned by gdImageStringFT and relatives when the string is rotated. See fontwheeltest.c. Thanks to John Ellson. * Previously, gdImageStringFT and friends accepted either a full path to a font file, or the name of a font with no extension, in which case the GDFONTPATH environment variable and then the compiled-in DEFAULT_FONTPATH was searched. In addition, a font filename with an extension but no full path can now be automatically searched for in the same fashion. Thanks to John Ellson. * Fixes to freetype antialiased text against a transparent background. See testtr.c. Thanks to John Ellson. * Support for named entities like amp; and hex-coded entities such as #x6C34; in text strings passed to gdImageStringFT and relatives, adding to the previous support for decimal-coded entities like #197;. These were extracted from entities.html (from the W3C) via the script entities.tcl, which is included for the curious and those with other entities they need support for. Thanks to John Ellson. * Optimization: gdImageSetPixel no longer calls gdImageAlphaBlend when either the source or the destination pixel is 100% transparent. Thanks to John Ellson. * Optimization: gdImageLine is potentially faster now in the most common cases. Thanks to John Ellson. * Documentation of the entities feature of gdImageStringFT. * autoconf/configure fixes. Thanks to many who pointed out an oversight in handling libpng flags. What's new in version 2.0.25? Owing to an oversight while making changes to better accommodate the use of
Re: unison-2.10.2-1 and unison-gtk2-2.10.2-1
On Tue, 21 Sep 2004, Schulman.Andrew wrote: I have done a Cygwin package of LablGtk now, just add the Cygwin specific README and sign it with your name, if there are no objections it will be included in the netrelease and unison-gtk2 is GTG, once we found the reason why I needed to apply the beloow changes. Fetch the LablGtk package here: http://194.95.224.180/lablgtk/ I decided to go ahead and build a lablgtk2 package myself, so I can reasonably maintain it in the future. I've built the package, but now I have a problem: if I strip /usr/lib/ocaml/lablgtk2/lablgtktop.exe, then when I run /usr/bin/lablgtk2, I get Unknown option -w: $ lablgtk2 -verbose /usr/lib/ocaml/lablgtk2/lablgtktop -w s -I /usr/local/stow/lablgtk-2.4.0 /usr/lib/ocaml/lablgtk2 -I gtkInit.cmo Unknown option -w. If I don't strip lablgtktop.exe, then I don't get this error. I can't find any documentation about what the '-w s' option does, but I believe it's supposed to be passed on to the OCaml compiler. Questions: should I just give up on stripping the executable? Or is there a workaround? Do I need the -w option at all? Sorry, but I know almost nothing about OCaml or LablGTK. Yes, don't strip ocaml executables -- they have embedded bytecode, and stripping screws them up (as I've learned the hard way). 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! Happiness lies in being privileged to work hard for long hours in doing whatever you think is worth doing. -- Dr. Jubal Harshaw
Re: unison-2.10.2-1 and unison-gtk2-2.10.2-1
Hallo Schulman, Am Dienstag, 21. September 2004 um 18:33 schriebst du: I have done a Cygwin package of LablGtk now, just add the Cygwin specific README and sign it with your name, if there are no objections it will be included in the netrelease and unison-gtk2 is GTG, once we found the reason why I needed to apply the beloow changes. Fetch the LablGtk package here: http://194.95.224.180/lablgtk/ I decided to go ahead and build a lablgtk2 package myself, so I can reasonably maintain it in the future. I've built the package, but now I have a problem: if I strip /usr/lib/ocaml/lablgtk2/lablgtktop.exe, then when I run /usr/bin/lablgtk2, I get Unknown option -w: Don't do that! Ocaml binaries cannot be stripped since these are mixed mode binaries. $ lablgtk2 -verbose /usr/lib/ocaml/lablgtk2/lablgtktop -w s -I /usr/local/stow/lablgtk-2.4.0 /usr/lib/ocaml/lablgtk2 -I gtkInit.cmo Unknown option -w. If I don't strip lablgtktop.exe, then I don't get this error. I can't find any documentation about what the '-w s' option does, but I believe it's supposed to be passed on to the OCaml compiler. See above. Questions: should I just give up on stripping the executable? Or is there a workaround? Do I need the -w option at all? Sorry, but I know almost nothing about OCaml or LablGTK. Yes and no, no workaround, well there are always two possibilities to compile ocaml code, build the slow pure binary or the faster native ocaml binary. Since I'm not an OCaml expert, maybe the Cygwin OCaml maintainer or the upstream LablGTK maintainer can tell us more? Gerrit -- =^..^=
[ITP] lablgtk2-2.4.0-1
I want to package and maintain LablGTK2 for Cygwin. LablGTK2 is an OCaml interface to GTK2. Homepage: http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgtk.html License: Specified separately for three parts of the supplied source code. Here is what the file COPYING from the source distribution says: src/ directory: This library is made available under the LGPL, with the same exception as specified in the Objective Caml distribution, to allow freely static linking. You should have got a copy of the LGPL and this exception with Objective Caml. Since OCaml is now part of the Cygwin distribution, I assume that these terms are acceptable. examples/ directory: you may freely take inspiration from the code, and copy parts of it in your application. This is a vague but apparently free license. applications/ directory: free for personal use; redistribution only as is; Binary distribution and bug fixes are allowed, but you cannot extensively modify the code without asking the authors. Clearly non-free; but see below. I am not building anything in either the examples or applications directories, so I don't think these licenses should present a problem. However if it would be preferable, I can simply remove either or both of them from the source package, and add an explanatory note for users. URLs: http://home.comcast.net/~andrex/cygwin/lablgtk2/setup.hint http://home.comcast.net/~andrex/cygwin/lablgtk2/lablgtk2-2.4.0-1.tar.bz2 http://home.comcast.net/~andrex/cygwin/lablgtk2/lablgtk2-2.4.0-1-src.tar.bz2 setup.hint: sdesc: OCaml interface to GTK2 ldesc: LablGTK2 is an Objective Caml interface to GTK2. It uses the rich type system of Objective Caml 3 to provide a strongly typed yet comfortable object-oriented interface to GTK2. All widgets but one are available, with almost all their methods. Objective Caml threads are supported, including for the top level, which allows for interactive use of the library. category: Devel requires: cygwin ocaml atk-runtime gtk2-x11-runtime glib2-runtime pango Andrew Schulman.
Re: unison-2.10.2-1 and unison-gtk2-2.10.2-1
Okay, thank you Gerritt for your careful review of the unison-gtk2 package. unison-gtk2: This is difficult to test without having a ready to run LablGtk package. Agreed. I posted the ITP for lablgtk2 earlier today. I've now revised the build instructions, which are much simpler on the assumption that the user can just install the lablgtk2 package. Basically it all boils down now to installing the source package and required dependencies (including lablgtk2), and then running make OSCOMP=cygwingnuc UISTYLE=gtk2 Then, accoprding to your README, there are needed for the build: gmodule-2.0.lib glib-2.0.lib gdk-win32-2.0.lib gtk-win32-2.0.lib I'm not sure if this is a good idea to depend on third party libraries. Rebuilding is really difficult with this prerequisites. Agreed. Thanks for your patch to Makefile.OCaml, which removes the need to fetch these files separately. What else to mention is that my unison-gtk2 executable is linked also against libncurses. Strange; I wonder why. Can you tell me, what is a command to list all of the dependencies of an executable? I assume there is one, and I probably knew it once... I've corrected and reuploaded my unison-gtk2 package files. Except for possibly correcting setup.hint to add a dependency on libncurses, I believe they're now ready for upload: http://home.comcast.net/~andrex/cygwin/unison-gtk2/setup.hint http://home.comcast.net/~andrex/cygwin/unison-gtk2/unison-gtk2-2.10.2-1.tar.bz2 http://home.comcast.net/~andrex/cygwin/unison-gtk2/unison-gtk2-2.10.2-1-src.tar.bz2 Andrew.
Re: unison-2.10.2-1 and unison-gtk2-2.10.2-1
On Tue, 21 Sep 2004, Schulman.Andrew wrote: I have done a Cygwin package of LablGtk now, just add the Cygwin specific README and sign it with your name, if there are no objections it will be included in the netrelease and unison-gtk2 is GTG, once we found the reason why I needed to apply the beloow changes. Fetch the LablGtk package here: http://194.95.224.180/lablgtk/ I decided to go ahead and build a lablgtk2 package myself, so I can reasonably maintain it in the future. One thing to note (and I haven't noticed it before myself) is that my build of ocaml contains labltk -- will they conflict? Also, you will probably need to include bits of the ocaml sources in your lablgtk2 source package -- do we want to replicate this? I've built the package, but now I have a problem: if I strip /usr/lib/ocaml/lablgtk2/lablgtktop.exe, then when I run /usr/bin/lablgtk2, I get Unknown option -w: $ lablgtk2 -verbose /usr/lib/ocaml/lablgtk2/lablgtktop -w s -I /usr/local/stow/lablgtk-2.4.0 /usr/lib/ocaml/lablgtk2 -I gtkInit.cmo Unknown option -w. If I don't strip lablgtktop.exe, then I don't get this error. I can't find any documentation about what the '-w s' option does, but I believe it's supposed to be passed on to the OCaml compiler. Here's a (reformatted) excerpt from driver/main_args.ml in the ocaml sources: -w, Arg.String F._w, flags Enable or disable warnings according to flags: A/a enable/disable all warnings C/c enable/disable suspicious comment D/d enable/disable deprecated features E/e enable/disable fragile match F/f enable/disable partially applied function L/l enable/disable labels omitted in application M/m enable/disable overriden method P/p enable/disable partial match S/s enable/disable non-unit statement U/u enable/disable unused match case V/v enable/disable hidden instance variable X/x enable/disable all other warnings default setting is Ale (all warnings but labels and fragile match enabled) So it looks like -w s disables non-unit statement warnings. Questions: should I just give up on stripping the executable? Or is there a workaround? Do I need the -w option at all? Sorry, but I know almost nothing about OCaml or LablGTK. It's up to you. I'm guessing this is supposed to enable clean execution of lablgtk2 (i.e., no extraneous messages), so you probably do need it. One last note is that the current release of ocaml doesn't support dynamic library loads, so a lot of examples don't work (details upon request). I'm working on fixing this, but if anyone has suggestions on how to enable shared library support, I'd be interested in hearing them. Thanks, 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! Happiness lies in being privileged to work hard for long hours in doing whatever you think is worth doing. -- Dr. Jubal Harshaw
Re: unison-2.10.2-1 and unison-gtk2-2.10.2-1
On Tue, 21 Sep 2004, Schulman.Andrew wrote: Strange; I wonder why. Can you tell me, what is a command to list all of the dependencies of an executable? I assume there is one, and I probably knew it once... cygcheck filename.exe HTH, 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! Happiness lies in being privileged to work hard for long hours in doing whatever you think is worth doing. -- Dr. Jubal Harshaw
Re: apache updates
Hello Reini, unsolved problems: * mod_auth_dbm fails to build I vaguely remember any dirty hacks on linux with the find-dbm helper. I have most berkeley db's and gdbm installed, but it refuses to build, which sense from a quick glance, because it tries to #include ndbm.h and not the found dbm lib include file (here gdbm.h. It was already included somewhere by Stipe, however it failed because the used script was buggy, I always hardcode the dependency in some other config file, cannot remember the actual name right now. * mod_digest fails to load (probably a dependent dll not found) Hmmm. otherwise it builds and runs just fine. [...] Apache Server Status for localhost Server Version: Apache/1.3.29 (Cygwin) Is there still no newer version available? Server Built: Feb 9 2004 19:14:10 Current Time: Thursday, 09-Sep-2004 16:32:47 GMT Restart Time: Thursday, 09-Sep-2004 16:32:46 GMT Parent Server Generation: 2 Server uptime: 1 second 4 requests currently being processed, 0 idle servers http://anfaenger.de/server-status Apache Server Status for anfaenger.de Server Version: Apache/1.3.29 (Cygwin) Server Built: Jan 22 2004 14:42:00 Current Time: Tuesday, 21-Sep-2004 23:38:56 Restart Time: Sunday, 22-Aug-2004 18:06:49 Parent Server Generation: 0 Server uptime: 30 days 5 hours 32 minutes 7 seconds Total accesses: 136795 - Total Traffic: 3.2 GB CPU Usage: u2.517 s5.717 cu0 cs0 - .000315% CPU load .0524 requests/sec - 1326 B/second - 24.7 kB/request 1 requests currently being processed, 5 idle servers -- =^..^=
[ITP] clamav-0.75.1-3 - A GPL virus scanner
Dr. Volker Zell schrieb: Reini Urban writes: good catches. rel-2 which fixes these issues is on my server. But instead of using the RedHat init.d script I made a better one. http://xarch.tu-graz.ac.at/home/rurban/software/cygwin/clamav/clamav-0.75.1-2.tar.bz2 http://xarch.tu-graz.ac.at/home/rurban/software/cygwin/clamav/clamav-0.75.1-2-src.tar.bz2 http://xarch.tu-graz.ac.at/home/rurban/software/cygwin/clamav/README http://xarch.tu-graz.ac.at/home/rurban/software/cygwin/clamav/setup.hint Builds fine again but the install step is not working: mv: cannot stat `/usr/src/clamav-0.75.1/.inst/etc/clamav.conf': No such file or directory If this is fixed the package is GTG. I fixed this and more. I added a preremove script which stops and uninstalls the service. http://xarch.tu-graz.ac.at/home/rurban/software/cygwin/clamav/clamav-0.75.1-3.tar.bz2 http://xarch.tu-graz.ac.at/home/rurban/software/cygwin/clamav/clamav-0.75.1-3-src.tar.bz2 http://xarch.tu-graz.ac.at/home/rurban/software/cygwin/clamav/README http://xarch.tu-graz.ac.at/home/rurban/software/cygwin/clamav/setup.hint Unfortunately the current 0.80rc2 doesn't work so far. -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/
Re: apache updates
Gerrit P. Haase schrieb: Apache Server Status for localhost Server Version: Apache/1.3.29 (Cygwin) Is there still no newer version available? In my first post I posted the wrong status. See my reply with the php configure line and the 1.3.31 status at the very end. http://www.cygwin.com/ml/cygwin-apps/2004-09/msg00073.html -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/
Re: apache updates
Hallo Reini, Am Mittwoch, 22. September 2004 um 00:52 schriebst du: Gerrit P. Haase schrieb: Apache Server Status for localhost Server Version: Apache/1.3.29 (Cygwin) Is there still no newer version available? In my first post I posted the wrong status. See my reply with the php configure line and the 1.3.31 status at the very end. http://www.cygwin.com/ml/cygwin-apps/2004-09/msg00073.html Thanks, I see, just didn't scrolled through the first time I read it. I'll try now what happens when a huge package like PHP refuses to use Automake and other standard autotool techniques and I try to build it with shared libs, will inform about progress soon. Gerrit -- =^..^=
Re: unison-2.10.2-1 and unison-gtk2-2.10.2-1
I decided to go ahead and build a lablgtk2 package myself, so I can reasonably maintain it in the future. One thing to note (and I haven't noticed it before myself) is that my build of ocaml contains labltk -- will they conflict? No, I don't think so. lablgtk2 goes entirely into /usr/lib/ocaml/lablgtk2 and /usr/lib/ocaml/stublibs, plus one file /usr/bin/lablgtk2. Also, you will probably need to include bits of the ocaml sources in your lablgtk2 source package -- do we want to replicate this? I'm not sure what you mean. The user will have to install ocaml first in order to build from source. Is anything more required? Here's a (reformatted) excerpt from driver/main_args.ml in the ocaml sources: -w, Arg.String F._w, flags Enable or disable warnings according to flags: A/a enable/disable all warnings C/c enable/disable suspicious comment D/d enable/disable deprecated features E/e enable/disable fragile match F/f enable/disable partially applied function L/l enable/disable labels omitted in application M/m enable/disable overriden method P/p enable/disable partial match S/s enable/disable non-unit statement U/u enable/disable unused match case V/v enable/disable hidden instance variable X/x enable/disable all other warnings default setting is Ale (all warnings but labels and fragile match enabled) So it looks like -w s disables non-unit statement warnings. OK, thanks. I couldn't find this. Questions: should I just give up on stripping the executable? Or is there a workaround? Do I need the -w option at all? Sorry, but I know almost nothing about OCaml or LablGTK. It's up to you. I'm guessing this is supposed to enable clean execution of lablgtk2 (i.e., no extraneous messages), so you probably do need it. OK. I may fool around with it to see how many errors I get if I strip the exe and remove '-w s', but I'm inclined to leave it alone. One last note is that the current release of ocaml doesn't support dynamic library loads, so a lot of examples don't work (details upon request). I'm working on fixing this, but if anyone has suggestions on how to enable shared library support, I'd be interested in hearing them. OK. No obvious problem there for my package, since I'm not building the examples. Thanks, Andrew.
Re: unison-2.10.2-1 and unison-gtk2-2.10.2-1
On Tue, 21 Sep 2004, Andrew Schulman wrote: I decided to go ahead and build a lablgtk2 package myself, so I can reasonably maintain it in the future. One thing to note (and I haven't noticed it before myself) is that my build of ocaml contains labltk -- will they conflict? No, I don't think so. lablgtk2 goes entirely into /usr/lib/ocaml/lablgtk2 and /usr/lib/ocaml/stublibs, plus one file /usr/bin/lablgtk2. Good. I haven't had a chance to look at your packaging, sorry. Also, you will probably need to include bits of the ocaml sources in your lablgtk2 source package -- do we want to replicate this? I'm not sure what you mean. The user will have to install ocaml first in order to build from source. Is anything more required? Is that ocaml source, or ocaml binary package? The tradition for Cygwin packages is to either have self-contained sources, or to share the sources for some packages (via the external-source: directives). It's unusual for one source package to depend on another. Although... The cygwin source package depends on the mingw and w32api sources, so I guess it would be ok. Here's a (reformatted) excerpt from driver/main_args.ml in the ocaml sources: -w, Arg.String F._w, flags Enable or disable warnings according to flags: [snip] S/s enable/disable non-unit statement [snip] So it looks like -w s disables non-unit statement warnings. OK, thanks. I couldn't find this. FWIW, you can get the same output from ocamlmktop -help or ocaml -help. Questions: should I just give up on stripping the executable? Or is there a workaround? Do I need the -w option at all? Sorry, but I know almost nothing about OCaml or LablGTK. It's up to you. I'm guessing this is supposed to enable clean execution of lablgtk2 (i.e., no extraneous messages), so you probably do need it. Oops. This was too vague. The it's up to you part was for the -w option -- I think you can't really strip ocaml executables and expect them to work. Don't strip. OK. I may fool around with it to see how many errors I get if I strip the exe and remove '-w s', but I'm inclined to leave it alone. Wise decision. One last note is that the current release of ocaml doesn't support dynamic library loads, so a lot of examples don't work (details upon request). I'm working on fixing this, but if anyone has suggestions on how to enable shared library support, I'd be interested in hearing them. OK. No obvious problem there for my package, since I'm not building the examples. Great. No objections from me, then. As soon as it's reviewed... 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! Happiness lies in being privileged to work hard for long hours in doing whatever you think is worth doing. -- Dr. Jubal Harshaw
The no font fixed problem
The problem with X not running because of the error no font 'fixed' has been around so long that some months ago a I scripted a post-install fixup, based on http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-error-font-eof FWIW, here's the output on a machine we installed Cygwin on today. You'll note that most of the theories about the cause of the problem were incorrect in this case: Now trying to workaround the new X installation problem Hmm, /usr/X11R6/lib/X11/fonts exists. So much for that theory. Hmm, /usr/X11R6/lib/X11/fonts/misc exists too. So much for that theory. Hmm, /usr/X11R6/lib/X11/fonts/misc had plenty of fonts (446, actually) Checking for /usr/X11R6/lib/X11/fonts mount point... D:\cygwin\usr\X11R6\lib\X11\fonts on /usr/X11R6/lib/X11/fonts type system (binmo de) Unmounting /usr/X11R6/lib/X11/fonts in preparation for fix Now re-running setup: you will need to choose RE-INSTALL for each of the X11 font sets (about 4 sets) under the X11 category. ** Lets try starting X to see if it now works. If you have to kill any of these attempts, you can continue from where you left off by using the try-X script. ** etc. So, the FAQ entry's theories don't seem to match the real cause, whatever that may be. I assume this problem has been affecting everyone, for months now, not just us? Or have I missed something? Here's the fixup script that generates the above output. The yorn script just asks for and examines a y/n answer. fixup-X #!/bin/sh # # As of about June 2004, every Cygwin installation installs a broken # version of X. # # Workaround is as per the FAQ: # http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-error-font-eof # This is an attempt to automate the workaround as far as possible. # # Author: Luke Kendall # DONE_PROOF=/etc/profile.d/.X-fixed # Same as in try-X MYNAME=`basename $0` XFONTDIR=/usr/X11R6/lib/X11/fonts if [ -s $DONE_PROOF ] then echo $MYNAME: $DONE_PROOF indicates X11 has already been fixed. if yorn do you really want to do it again then : else exit 0 fi fi if [ ! -d $XFONTDIR ] then echo Strange but kind of good: as expected, $XFONTDIR did not exist else echo Hmm, $XFONTDIR exists. So much for that theory. if [ ! -d $XFONTDIR/misc ] then echo Not unexpected, $XFONTDIR/misc did not exist else echo Hmm, $XFONTDIR/misc exists too. So much for that theory. NUM=`ls $XFONTDIR/misc | wc -l` if [ $NUM -le 100 ] then echo As expected, $XFONTDIR/misc had few fonts ($NUM, actually) else echo Hmm, $XFONTDIR/misc had plenty of fonts ($NUM, actually) fi fi fi echo Checking for $XFONTDIR mount point... if mount | grep $XFONTDIR then echo Unmounting $XFONTDIR in preparation for fix umount $XFONTDIR else echo Hmm, pretty strange, $XFONTDIR wasn't mounted on C:/cygwin$XFONTDIR fi echo Now re-running setup: you will need to choose RE-INSTALL for each echo of the X11 font sets (about 4 sets) under the X11 category. //samba/install/win32/cygwin/setup.exe echo ** echo Let's try starting X to see if it now works. If you have to echo kill any of these attempts, you can continue from where you left off echo by using the try-X script. echo ** $CYG_POST_DIR/try-X - cut here -- Regards, luke
PseudoColor emulation working.
Hey fellow developers, Following up my last post regarding pseudocolor emulation and my ideas to fix it, here's an update. I've modified the XWin server and running pseudocolor applications in an XWin window running ontop a 16/32bpp windows desktop is now possible, using shadow gdi rendering, it's however not possible to run both truecolor and pseudocolor apps at the same time. When using the -emulatepseudo flag, XWin now opens a window on the desktop with the same depth as the windows desktop however the shadow DIB that's allocated is 8bpp and only a pseudocolor visual is created. BitBlt() (win32 function) does all the color conversion and the like. I haven't tested this thoroughly with different pseudocolor apps, just the one i had to get working. The ToDo-list mentions Emulate PseudoColor on TrueColor this is not what this modification does as it doesn't let you run truecolor apps simultaneously. What i plan to do next, in case of spare time, is to allocate both a 8bpp DIB and a truecolor DIB and point these to their corresponding visuals, let the applications draw to them, then BitBlt() the DIBs to the XWin window (using a different raster-operation code), dunno if this is possible but it's worth a shot. When not supplying the -emulatepseudo flag the server works just like before. Is there any interest to merge my changes into the XWin source-tree? Please supply information on how this can be done. Cheers, Sebastian Haby is 8bpp and only a pseudocolor visual is created. BitBlt() (win32 function) does all the color conversion and the like. I haven't tested this thoroughly with different pseudocolor apps, just the one i had to get working. The ToDo-list mentions Emulate PseudoColor on TrueColor this is not what this modification does as it doesn't let you run truecolor apps simultaneously. What i plan to
Re: The no font fixed problem
On Tue, 21 Sep 2004 [EMAIL PROTECTED] wrote: The problem with X not running because of the error no font 'fixed' has been around so long that some months ago a I scripted a post-install I could provide new packages where the remounting of /usr/X11R6/lib/X11/fonts is not done anymore but the list files are autogenerated on postinstall. It works on binmode (as expected) but I was not able to get hands on a clean textmode install to test. bye ago -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723
Re: PseudoColor emulation working.
On Tue, 21 Sep 2004, Sebastian wrote: Hey fellow developers, Following up my last post regarding pseudocolor emulation and my ideas to fix it, here's an update. I've modified the XWin server and running pseudocolor applications in an XWin window running ontop a 16/32bpp windows desktop is now possible, using shadow gdi rendering, it's however not possible to run both truecolor and pseudocolor apps at the same time. great When using the -emulatepseudo flag, XWin now opens a window on the desktop with the same depth as the windows desktop however the shadow DIB that's allocated is 8bpp and only a pseudocolor visual is created. BitBlt() (win32 function) does all the color conversion and the like. I haven't tested this thoroughly with different pseudocolor apps, just the one i had to get working. The ToDo-list mentions Emulate PseudoColor on TrueColor this is not what this modification does as it doesn't let you run truecolor apps simultaneously. What i plan to do next, in case of spare time, is to allocate both a 8bpp DIB and a truecolor DIB and point these to their corresponding visuals, let the applications draw to them, then BitBlt() the DIBs to the XWin window (using a different raster-operation code), dunno if this is possible but it's worth a shot. When not supplying the -emulatepseudo flag the server works just like before. Is there any interest to merge my changes into the XWin source-tree? Please supply information on how this can be done. You could send me the patches and I'll review it and commit to CVS bye ago -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723
Re: Error report
To clarify, my fonts directory was mounted in binary mode. The command-line output I included was before the FAQ fix and should show that. There's a new thread on the font problem that seems to concur with my observation.
window position with default window manager
It is possible to make all windows appear at the top left corner of the screen? I have looked at the command line options and found nothing appropriate. I am using the -multiwindow option. TIA. __ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail
Re: window position with default window manager
On Tue, 21 Sep 2004, Elvin Peterson wrote: It is possible to make all windows appear at the top left corner of the screen? I have looked at the command line options and found nothing appropriate. I am using the -multiwindow option. Afaik the internal windowmanager has no option to configure placing the windows. bye ago -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723
-clipboard xwinclip -nounicodeclipboard
Im using the latest version of the KDE desktop from kde-cygwin.sourceforge.net/install If I run the XWin.exe with the -clipboard option I keep getting this error: winClipboardErrorHandler ERROR: BadValue (integer parameter out of range for operation) And whatever it is that I selected takes over my clipboard, basically the selects from Cygwin are whats in my clipboard no matter what. I can paste into windows but I cant copy from windows and have it show up in either windows or cygwin. So I restart the X server, this time not using the clipboard option. When the server comes up I run: xwinclip /dev/null This seems to work fine for a while, then it arbitrary crashes. Ive piped the output to a log file and heres what I get: UnicodeSupport - Windows NT/2000/XP Unicode clipboard I/O GetClipboardData () failed: So I restart X yet again this time with the nounicodeclipboard option. This, Im afraid, doesnt seem to do anything at all. No clipboard functionality, buggie or otherwise.
Re: -clipboard xwinclip -nounicodeclipboard
On Tue, 21 Sep 2004, Zach Gelnett wrote: Im using the latest version of the KDE desktop from kde-cygwin.sourceforge.net/install If I run the XWin.exe with the -clipboard option I keep getting this error: winClipboardErrorHandler ERROR: BadValue (integer parameter out of range for operation) And whatever it is that I selected takes over my clipboard, basically the selects from Cygwin are whats in my clipboard no matter what. I can paste into windows but I cant copy from windows and have it show up in either windows or cygwin. Please provide more information about - version of XWin - OS (Win9x or WinNT, Version, language) So I restart the X server, this time not using the clipboard option. When the server comes up I run: xwinclip /dev/null This seems to work fine for a while, then it arbitrary crashes. Ive piped the output to a log file and heres what I get: xwinclip is not supported anymore and lacks many features and fixes which are incorporated into the xserver itself. bye ago -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723
Re: -clipboard xwinclip -nounicodeclipboard
Please provide more information about - version of XWin When it starts it says: Welcome to the XWin X Server Vendor: The Cygwin/X Project Rlease: 6.8.1.0-1 - OS (Win9x or WinNT, Version, language) Win2k 5.00.2195 service pack 4, English xwinclip is not supported anymore and lacks many features and fixes which are incorporated into the xserver itself. That's cool, I'm quite interested in getting the xserver features working properly. bye ago -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723
Re: window position with default window manager
AGO wrote... Subject: Re: window position with default window manager From: Alexander Gottwald [EMAIL PROTECTED] On Tue, 21 Sep 2004, Elvin Peterson wrote: It is possible to make all windows appear at the top left corner of the screen? I have looked at the command line options and found nothing appropriate. I am using the -multiwindow option. Afaik the internal windowmanager has no option to configure placing the windows. Most(all?) X apps have a -geometry command line option, the MWM does obey an initial position specified there IIRC... -- -Earle F. Philhower, III [EMAIL PROTECTED] http://www.ziplabel.com
Re: -clipboard xwinclip -nounicodeclipboard
Zach Gelnett wrote: Please provide more information about - version of XWin When it starts it says: Welcome to the XWin X Server Vendor: The Cygwin/X Project Rlease: 6.8.1.0-1 - OS (Win9x or WinNT, Version, language) Win2k 5.00.2195 service pack 4, English Not unusual. Does the error happen when copying between xterm and notepad (or the other way). If not, which was the program you were copy copied the text from? bye ago NP: Decoded Feedback - Bondage -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723
bug? - startxwin.bat missing from recent Cygwin install
Howdy, I installed the latest release of Cygwin, and it doesn't include startxwin.bat. Is this normal? Was it removed for a specific reason? I remember playing around with CygwinX about a year ago and it was there. John __ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail
Re: window position with default window manager
--- Earle F. Philhower, III wrote: AGO wrote... Subject: Re: window position with default window manager From: Alexander Gottwald [EMAIL PROTECTED] On Tue, 21 Sep 2004, Elvin Peterson wrote: It is possible to make all windows appear at the top left corner of the screen? I have looked at the command line options and found nothing appropriate. I am using the -multiwindow option. Afaik the internal windowmanager has no option to configure placing the windows. Most(all?) X apps have a -geometry command line option, the MWM does obey an initial position specified there IIRC... I had forgotten all about it, as I hadn't used that option for a long time. emacs -geometry +0+0 does the trick. Isn't there an option for setting this in the Xdefaults file for all apps? Thanks for the help! __ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail
Re: bug? - startxwin.bat missing from recent Cygwin install
John Hebert wrote: Howdy, I installed the latest release of Cygwin, and it doesn't include startxwin.bat. Is this normal? Was it removed for a specific reason? I remember playing around with CygwinX about a year ago and it was there. do you have the startup-scripts package form X11 section installed? bye ago NP: Regicide - The Fragrance -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723
RE: Re: -clipboard xwinclip -nounicodeclipboard
Zach Gelnett wrote: Not unusual. Does the error happen when copying between xterm and notepad (or the other way). If not, which was the program you were copy copied the text from? Well whenever I select in just the terminal from the kde desktop whatever is selected takes over the clipboard until something else is selected. You're refering to KDEs terminal here? I'll see if I can reproduce it. bye ago NP: Regicide - The Fragrance -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723
Doh! problem solved was Re: bug? - startxwin.bat missing from recent Cygwin install
I apologize for not reading the install section in the excellent Cygwin/X User's Guide more closely. I missed two packages during the setup. Is it possible to rename these two packages: X-start-menu-icons X-startup-scripts so that they match the other packages (xorg-x11...) so they would appear in the same section during setup? I'll bet I'm not the only noob making the same mistake. Thanks for taking the time to help me out. John --- Alexander Gottwald [EMAIL PROTECTED] wrote: John Hebert wrote: Howdy, I installed the latest release of Cygwin, and it doesn't include startxwin.bat. Is this normal? Was it removed for a specific reason? I remember playing around with CygwinX about a year ago and it was there. do you have the startup-scripts package form X11 section installed? bye ago NP: Regicide - The Fragrance -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723 __ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail
RE: Doh! problem solved was Re: bug? - startxwin.bat missing from recent Cygwin install
I'll bet I'm not the only noob making the same mistake. You weren't! Thanks for the info. It's a good suggestion. Kris
6.8.1.0-1/XP-Pro 5.1 Cant open display 127.0.0.1:0.0
[Xwin 6.8.1.0-1, Windows XP pro 5.1, experienced with linux X, not a windows or cygwin hacker] (Machine has Hummingbird Exceed installed but not running) My first try at cygwin-x: Installed from web. Clicked on the Cygwin icon. Got a cygwin window. Typed startxwin.sh I see: welcome to the xwin X server vendor: the cygwin/X project Release: 6.8.1.0-1 contact: cyg XWin was started with the following command line: XWin -multiwindow -clipboard -silent-dup-error xterm Xt error: Can't open display 127.0.0.1:0.0 I tried xdpyinfo -display :0.0, xdpyinfo -display localhost:0.0; I tried from a linux machine xterm -display swine:0.0. Nothing can connect. A ps shows a /usr/X11R6/bin/XWin process. I tried(after a clean reboot) XWin -multiwindow -logverbose 3 -logfile xlog same result -- can not connect to the xserver, though the process seems to be running. The xlog file tells me further: ddxProcessArgument - Initializing default screens winIntializeDefaultScreens - w 1024 h 768 winIntializeDefaultScreens - Returning What am I doing wrong? -- George Young attached is output from cygcheck -s -v -r: Cygwin Configuration Diagnostics Current System Time: Tue Sep 21 17:03:20 2004 Windows XP Professional 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 c:\WINDOWS\system32 c:\WINDOWS c:\WINDOWS\System32\Wbem c:\WINDOWS\system32\nls c:\WINDOWS\system32\nls\ENGLISH c:\Program Files\Novell\ZENworks\ c:\Program Files\SecureCRT\ Output from C:\cygwin\bin\id.exe (nontsec) UID: 1004(gyoung) GID: 513(None) 513(None) Output from C:\cygwin\bin\id.exe (ntsec) UID: 1004(gyoung) GID: 513(None) 0(root) 513(None) 544(Administrators) 545(Users) SysDir: C:\WINDOWS\System32 WinDir: C:\WINDOWS HOME = `C:\cygwin\home\gyoung' MAKE_MODE = `unix' PWD = `/home/gyoung' USER = `gyoung' ALLUSERSPROFILE = `C:\Documents and Settings\All Users' APPDATA = `C:\Documents and Settings\gyoung\Application Data' COMMONPROGRAMFILES = `C:\Program Files\Common Files' COMPUTERNAME = `SWINE' COMSPEC = `C:\WINDOWS\system32\cmd.exe' CVS_RSH = `/bin/ssh' HOMEDRIVE = `C:' HOMEPATH = `\' HOSTNAME = `swine' INFOPATH = `/usr/local/info:/usr/info:/usr/share/info:/usr/autotool/devel/info:/usr/autotool/stable/info:' LOGONSERVER = `\\SWINE' MANPATH = `/usr/local/man:/usr/man:/usr/share/man:/usr/autotool/devel/man::/usr/ssl/man:/usr/X11R6/man' NUMBER_OF_PROCESSORS = `1' OLDPWD = `/usr/bin' OS = `Windows_NT' PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH' PKG_CONFIG_PATH = `/usr/X11R6/lib/pkgconfig' PRINTER = `E-710 R7 Color Server US' PROCESSOR_ARCHITECTURE = `x86' PROCESSOR_IDENTIFIER = `x86 Family 6 Model 7 Stepping 2, GenuineIntel' PROCESSOR_LEVEL = `6' PROCESSOR_REVISION = `0702' PROGRAMFILES = `C:\Program Files' PROMPT = `$P$G' PS1 = `\[\033]0;\w\007 [EMAIL PROTECTED] \[\033[33m\w\033[0m\] $ ' SHLVL = `1' SYSTEMDRIVE = `C:' SYSTEMROOT = `C:\WINDOWS' TEMP = `C:\DOCUME~1\gyoung\LOCALS~1\Temp' TERM = `cygwin' TMP = `C:\DOCUME~1\gyoung\LOCALS~1\Temp' USERDOMAIN = `SWINE' USERNAME = `gyoung' USERPROFILE = `C:\Documents and Settings\gyoung' WINDIR = `C:\WINDOWS' _ = `/usr/bin/cygcheck.exe' POSIXLY_CORRECT = `1' 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_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 = 0x0020 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/ (default) = `C:\cygwin' flags = 0x0008 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin (default) = `C:\cygwin/bin' flags = 0x0008 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib (default) = `C:\cygwin/lib' flags = 0x0008 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 -- Are the gods not just? Oh no, child. What would become of us if they were? (CSL)
Re: -clipboard xwinclip -nounicodeclipboard
Hi, This patch will fix that problem. BTW, should I commit to CYGWIN branch or trunk? Kensuke Matsuzaki mailto:[EMAIL PROTECTED] http://peppermint.jp clipboard.diff Description: Binary data
src/winsup/cygserver ChangeLog sysv_shm.cc
CVSROOT:/cvs/src Module name:src Changes by: [EMAIL PROTECTED] 2004-09-21 14:40:25 Modified files: winsup/cygserver: ChangeLog sysv_shm.cc Log message: * sysv_shm.cc (vm_object_reference): remove Cygwin specific define. (vm_map_find): Ditto. (vm_map_inherit): Ditto. (kern_shmat): On Cygwin, take shmaddr just as is. Don't call vm system calls on Cygwin. Add comment. Patches: http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygserver/ChangeLog.diff?cvsroot=srcr1=1.35r2=1.36 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygserver/sysv_shm.cc.diff?cvsroot=srcr1=1.4r2=1.5
[PATCH]: Still path.cc
It's a safe time to take care of a few nits... While testing, I noticed in dir.cc that __d_dirent-d_ino is always set by hashing the pathname :( Pierre 2004-09-22 Pierre Humblet [EMAIL PROTECTED] * path.cc (normalize_win32_path): Only look for : in second position. Avoid infinite loop with names starting in double dots. (mount_info::conv_to_win32_path): Do not worry about a trailing dot. (hash_path_name): Ditto. Index: path.cc === RCS file: /cvs/src/src/winsup/cygwin/path.cc,v retrieving revision 1.320 diff -u -p -r1.320 path.cc --- path.cc 12 Sep 2004 03:47:56 - 1.320 +++ path.cc 21 Sep 2004 02:34:26 - @@ -978,7 +978,7 @@ normalize_win32_path (const char *src, c src += 2; } } - else if (strchr (src, ':') == NULL *src != '/') + else if (!isdrive(src) *src != '/') { if (beg_src_slash) dst += cygheap-cwd.get_drive (dst); @@ -1023,6 +1023,7 @@ normalize_win32_path (const char *src, c int n = strspn (src, .); if (!src[n] || isdirsep (src[n])) /* just dots... */ return ENOENT; + *dst++ = *src++; } } /* Otherwise, add char to result. */ @@ -1454,8 +1455,7 @@ mount_info::conv_to_win32_path (const ch int n = mount_table-cygdrive_len - 1; int unit; - if (!src_path[n] || - (src_path[n] == '/' src_path[n + 1] == '.' !src_path[n + 2])) + if (!src_path[n]) { unit = 0; dst[0] = '\0'; @@ -3249,15 +3249,13 @@ hash_path_name (__ino64_t hash, const ch } hashit: - /* Build up hash. Ignore single trailing slash or \a\b\ != \a\b or - \a\b\. but allow a single \ if that's all there is. */ + /* Build up hash. Name is already normalized */ do { int ch = cyg_tolower (*name); hash = ch + (hash 6) + (hash 16) - hash; } - while (*++name != '\0' -!(*name == '\\' (!name[1] || (name[1] == '.' !name[2]; + while (*++name != '\0'); return hash; }
Re: Running cmd programs in cygwin / rxvt
Christopher Faylor wrote: On Mon, Sep 20, 2004 at 06:54:59PM -0700, Andrew DeFaria wrote: Seriously though I was just asking whether it would be possible I think that was obvious to you, me, and Bobby McNulty. 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/ What? Did I miss something? Chris, this guy has no clue as to what he's talking about. He's worse than me when I first started. He does not know how GPL works, he has no clue as to what Cygwin is or how it got started. He's a musician pretending to be a programmer. But he's not a programmer. He does not know what POSIX is, or why its important for Cygwin, Unix, and Linux. He wants to fix programs that are already stable, such as cmd. If he wants to program a Windows program, he needs to buy Visual Studio. I am learning more and more about Cygwin as I work with it. I learn from my mistakes. Does he? He needs an attitude adjustment. -- 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/
regtool quoting variations on output
A script broke today because regtool reported a key's value with extra double quotes around it. I also observed that whether or not a path was reported with a trailing \ varied from one machine to the other. Both were using regtool ver 1.8. stout is Windows XP, percy is Windows 2000. [EMAIL PROTECTED] /cygdrive/x/cygnus/cisra $ regtool -q get \\HKLM\\SOFTWARE\\Microsoft\\Office\\10.0\\Word\\InstallRoot\ \Path C:\Program Files\Microsoft Office\Office10\ [EMAIL PROTECTED] ~ $ regtool -q get \\HKLM\\SOFTWARE\\Microsoft\\Office\\8.0\\Word\\InstallRoot\\ Path C:\Program Files\Microsoft Office\Office Visual inspection of the above key in regedit on percy (W2K) showed that its value had no double-quotes in the registry. Visual inspection on stout (WXP) also showed no double-quotes around the path (though it did have the trailing backslash, just as regtool reported). I can change my script to pipe the output from regtool through sed 's/^//;s/$//', but that seems like a kludge to me. Does anyone have any idea what might be going on here? 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: Rebuilding GDB
On Mon, 2004-09-20 at 18:14, Dave Korn wrote: -Original Message- From: cygwin-owner On Behalf Of Adrian Cox Sent: 20 September 2004 14:44 I'm trying to build a Cygwin hosted GDB for debugging ARM and PowerPC boards. After running into a lot of problems, I tried to rebuild the native GDB that Cygwin installed for me, and that didn't work either. BTW, when discussing compile problems with gnu packages, you should always quote the options you gave to configure (if any). 1) Use setup.exe to download the gdb source. 2) mkdir /tmp/build 3) cd /tmp/build 4) /usr/src/gdb-20030919-1/configure --prefix=/usr/local/test 5) make make[3]: Entering directory `/tmp/inbuild/libgui/src' gcc -DHAVE_CONFIG_H -I. -I/usr/src/gdb-20030919-1/libgui/src -I.. -DWIN32 -mwin3 2 -fwritable-strings -I/usr/include -I/usr/include -I/netrel/src/libtcltk/tk/xl ib -DHAVE_NO_SEH=1 -DEXCEPTION_DISPOSITION=int -I/usr/include/../unix -I/usr/ include/../win -DTBL_VERSION=\2.7\ -DTBL_COMMAND=\table\ -DTBL_RUNTIME=\tkT able.tcl\ -DTBL_RUNTIME_DIR=\/usr/local/insight/share/redhat/gui\ -DSTATIC_BU ILD-g -O2 -c /usr/src/gdb-20030919-1/libgui/src/tclwinprint.c /usr/src/gdb-20030919-1/libgui/src/tclwinprint.c:26:22: tkWinInt.h: No such file or directory Hmm. It should be in the source distribution itself, at /usr/src/gdb-20030919-1/tk/win. ls /usr/src/gdb-20030919-1/tk ls: /usr/src/gdb-20030919-1/tk: No such file or directory [...] Ok, so your one has this strange include path to /netrel/src/libtcltk/tk/xlib which my one doesn't. Looks like maybe you have an older version of the tcl/tk headers in your installation and somehow it got chosen at configure time over the ones included with the gdb source distro? Also, there really shouldn't be all those -I /usr/includes in there. And what on earth are /usr/include/../win and /usr/include/../unix? Maybe configure has somehow failed to find something and is using /usr/include as a default, no-hope-last-chance fallback; and then bogusly concatenating relative paths onto it that would have been relevant if it had found the real headers but make no sense when just hoping they're in the standard system includes dir. Yech. I've just had a second go at downloading with setup.exe, and the tk directory is still missing. This makes me think that the bug is really in setup.exe or in the Cygwin repository. I haven't really worked out how Cygwin packages work yet - should each source package contain a build script, like Redhat or Debian packages do? - Adrian Cox -- 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: Running cmd programs in cygwin / rxvt
Bobby McNulty wrote: What? Did I miss something? Apparently lots! Chris, this guy has no clue as to what he's talking about. I beg to differ. I don't know much about ptys - BFD - sue me. That does not mean, however, that I don't know anything. He's worse than me when I first started. Then you must have been pretty good. He does not know how GPL works, I know some about it. However GPL was not mentioned here so it's odd that you mention it. he has no clue as to what Cygwin is or how it got started. Ah yes I do. He's a musician pretending to be a programmer. Actually I've earned a lot more from programming than music. In this respect you sir do not know what you are talking about. But he's not a programmer. I do more administration but I've also done a fair share of programming. He does not know what POSIX is, or why its important for Cygwin, Unix, and Linux. No I know about POSIX, Cygwin, Unix and Linux. Cygwin, however, sometimes departs from standard and strict POSIX in order to inter operate with Windows. For example, there is no cygrunsrv in POSIX nor is there a mkpasswd AFAIK. He wants to fix programs that are already stable, such as cmd. Really? Where did I say that? I don't want to fix cmd. I don't even want to use cmd! What are *you* talking about? I just want some 3rd party programs that I use such as cleartool to be able to work under the bash shell without getting confused by ptys. Now I know that cleartool could be re-written to do things in a more Unix like way - however they're not gonna do that. So I'm looking for a workaround and asking about ptys, something I had not had to deal with at a programming level. If he wants to program a Windows program, he needs to buy Visual Studio. No thanks. I don't want a Windows program and never said that I did so again I ask you - what are *you* talking about?!? I am learning more and more about Cygwin as I work with it. I learn from my mistakes. Does he? He needs an attitude adjustment. You should talk about attitude adjustments! All I'm asking for is a work around for a problem when dealing with certain Windows apps under Cygwin. Is this somehow a crime? Lay off the coffee will ya! -- Give me ambiguity or give me something else. -- 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: Crontab issue
Igor Pechtchanski wrote: On Mon, 20 Sep 2004, Mogyorósi István wrote: Hello, I spent quite a lot of time reading the subject and I still dont have clear sight on the problem. It is probably a permission/access sync issue between Cygwin and NT. But my case is NOT a network drive. Case 1, crontab -e [ logged in as Administrator ] 20 12 * * * /home/Administrator/mydate.sh [ my own script to exec ] - it works with the result written in my home directory. mydate.sh is `date mydate.txt` It's a good idea to specify the absolute paths for any commands or output files. Case 2, crontab -e [ logged in as Administrator ] 25 12 * * * /cygdrive/e/otherpath/mydate.sh [ my second script to exec ] - this does not work. My Error message in Eventlog is: bla .. bla .. /usr/sbin/cron : PID 2356 : (Administrator) CMD (/cygdrive/e/otherpath/mydate.sh 21) Hmm, looks like it *is* getting executed, but the output is lost? See the previous comment. Ok. The output needs absolute path too. The script works. But, my *real *script contains relative paths to config files, and password files. I dont think it worth to extend the PATH variable in crontab file. So I made a second script with absolute path references in the mentionned real script v.2 cygpath=/cygdrive/e/mypath all paths were updated in $cygpath/actual_path format, and VOILÁ ! Job done. Thanks Igor ! The access permissions for both shell scripts are identical. The only difference is the path to execute. Can you execute the latter script from the command line as Administrator? If not, are the access permissions on both *paths* sufficient? For a script to be executable, all the components in the path to it have to be reachable (i.e., the directories have to have at least the execute permission). If I install the service as Administrator, and try to start it with the Service Control Manager it fails to start and I get the error message in the Event Log: ... bla bla .. Cygwin_cron : PID 2260 : starting service 'Cygwin_cron' failed : execv: 1 , Operation not permitted. This is a different symptom -- most likely the necessary DLLs in your /bin are not executable by non-owners (i.e., SYSTEM, which is the user cron will run under when installed as service). A chmod -R a+X /bin should help (you might also need to fix permissions for other files/directories under /var, and maybe /lib, /share, and /etc). Igor begin:vcard fn;quoted-printable:Istv=C3=A1n Mogyor=C3=B3si n;quoted-printable;quoted-printable:Mogyor=C3=B3si;Istv=C3=A1n org:TeleDataCast Kft. adr:;;HAuszmann Alajos u. 2.;BUDAPEST;;1117;HUNGARY email;internet:[EMAIL PROTECTED] title;quoted-printable:fejleszt=C5=91 tel;cell:+36703323249 x-mozilla-html:FALSE url:http://www.tdc.hu version:2.1 end:vcard -- 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.11 - tcp problems
On Sep 20 13:31, Marcus Davage wrote: Corinna, I'm wondering if C:\WINNT\system32\drivers\etc\services is readable for everyone. Could you go into the above directory and call chmod a+r services Everyone can read it. Attaching the cygcheck output could perhaps give us a clue what's going wrong on your system. Attached - cygcheck.txt.bz2 Quote from http://cygwin.com/problems.html: Please do not compress or otherwise encode the output. Just attach it as a straight text file so that it can be easily viewed. But the cygcheck output doesn't help, unfortunately. When running ftp, how are the environment variables $PATH and $SYSTEMROOT set? PATH must contain C:\WINNT\system32 (resp. /cygdrive/c/WINNT/system32) and SYSTEMROOT must be set to C:\WINNT. Could you check that? Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader mailto:[EMAIL PROTECTED] Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Running cmd programs in cygwin / rxvt
On Sep 20 11:57, Andrew DeFaria wrote: You should be able to start a command in a new console window with cygstart (q.v.). Yes I can, however this starts it in another Windows window that does not easily resize, has crappy copy/paste semantics, colors and fonts. IOW all the reasons why I'm running rxvt! What I want is for it to run in the rxvt window so that I can have the nicer copy/paste, etc, not start a new window. Perhaps (just perhaps) something like Take Command from jpsoft.com is what you're looking for? I never tried it, but it implements an entirely new GUI console. It's not free, though. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader mailto:[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/
rsync text mode problem with fix
Since my last update of my Cygwin installation I noticed that binary files copied from a Linux box were corrupted. The problem appeared to be text mode vs. binary mode. After some investigation I found the problem and I have a fix. The diff is against the unpacked and prepared rsync-2.6.2-2 release (the latest, as far as I know). -- Sjoerd Mullender [EMAIL PROTECTED] --- syscall.c~ 2004-02-18 23:33:21.0 +0100 +++ syscall.c 2004-09-21 10:33:50.442132800 +0200 @@ -164,6 +164,7 @@ errno = errno_save; return -1; } + setmode(fd, O_BINARY); return fd; } #else smime.p7s Description: S/MIME Cryptographic Signature
Lot of undefined symbols at link time, even with -l option on good libraries
Using latest release of CygWin ( 1.5.11-1 ) I install the devel kit, including gcc and gnat compilers. Then I build from src GCC and GNAT release 3.4.1 ( which include necessary patchs for my application ). All my Ada application compile well with gnatmake command, but link failed with a lot of undefined symbols mainly issued from w32api and system libraries. Undefined symbols are for example : FormatMessageA, GlobalReAlloc, CreateDialogParamA, WSAStartup, accept, select, ... about 100 undefined from system libraries. Of course system libraries are included at link time with the appropriate -l option ( -lnetapi32 -lwsock32 -lshell32 -ladvapi32 -lwinmm -lodbc32 -lwin32ada -luser32 -lgdi32 -lcomdlg32 -laddr2line -lbfd -liberty ) I verify with NM command, symbols are right defined in the included libraries. If someone have an idea ? -- 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 sshd with ipv6 address
Extensions for IPv6 under cygwin don't seem to work. I would like to communicate remotly under both Win/Linux using only IPv6. Can anyone suggest me some other solution? (security is of no importance to me at the time.) Thanks _ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail -- 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.11 - tcp problems
Sorry about the compressed file! :-) PATH='/opt/qt/3.2/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/sbin:/cygdrive/c/DmiNT40/Win32/bin:/cygdrive/c/DMI/bin:/cygdrive/c/WINNT/system32:/cygdrive/c/WINNT:/cygdrive/c/Program Files/Personal Communications:/cygdrive/d/MSSQL7/BINN:/cygdrive/d/program files/IBM/DB2 Extenders/bin:/cygdrive/d/Program Files/IBM/DB2 XML Extenders/bin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/sbin:/opt/gnome/bin:/home/9763207/bin:/cygdrive/d/PROGRA~1/SQLLIB/BIN:/cygdrive/d/PROGRA~1/SQLLIB/FUNCTION:/cygdrive/d/PROGRA~1/SQLLIB/SAMPLES/REPL:/cygdrive/d/objrexx:/opt/gnome/bin' SYSTEMROOT='C:\WINNT' As required. Regards, Marcus -- 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/
No /home created after install
Hello cygwin gurus, I have just fetched and installed Cygwin base. When I click on the Cygwin icon, 'pwd' yields /cygdrive/c, and 'ls -l' yields: total 76 drwxrwxrwx+ 2 Sysaccou Users 53248 Sep 21 12:17 bin -rwxrwxrwx1 Sysaccou Users 57 Sep 21 12:17 cygwin.bat -rwxrwxrwx1 Sysaccou Users7022 Sep 21 12:17 cygwin.ico drwxrwxrwx+ 7 Sysaccou Users4096 Sep 21 12:18 etc drwxrwxrwx+ 5 Sysaccou Users8192 Sep 21 12:17 lib drwxrwxrwx+ 2 Sysaccou Users 0 Sep 21 12:17 tmp drwxrwxrwx+ 12 Sysaccou Users4096 Sep 21 12:16 usr drwxrwxrwx+ 6 Sysaccou Users 0 Sep 21 12:17 var What have I missed ? -- 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: Running cmd programs in cygwin / rxvt
I am learning more and more about Cygwin as I work with it. I learn from my mistakes. Does he? He needs an attitude adjustment. You should talk about attitude adjustments! All I'm asking for is a work around for a problem when dealing with certain Windows apps under Cygwin. Is this somehow a crime? Lay off the coffee will ya! I'm caffiene free. My tea is decaffinated, my softdrinks a caffiene free. There is no stimulant going on here. This was ordered by my doctor eight years ago. Tell you something else too. I've not created anything in four years. Avoiding hackers. I am NOT a person who breaks into other computers. Are you? I seen your picture, I talked to in person. I heard you play your guitar. What more do you want from me? -- 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: Latest snapshot with XP SP2 and unison and cvs
I just updated an xp machine to sp2 and unison-2.9.1 (the win32 version) using ssh (cygwin) started hanging. I have done a clean install of cygwin and am running with the 16sep snapshot. cvs (cygwin) works fine with ssh. unison hangs with ssh. Because win32 unison will not run under bash, I opened a cygwin bash window, did an strace of cmd and then ran unison. The strace is attached. Karl, you may want to try a later version of Unison. 2.9.1 is pretty old now, and although I don't know about that version specifically, I know that there have been hanging bugs in other versions. A Cygwin version of Unison 2.10.2 has just been released; you should be able to find it in the Cygwin setup utility. However, the archive format has changed, so you will have to be using version 2.10.x (I believe) on both hosts or Unison will complain. It will also have to resync its archive lists. Good luck, Andrew. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Cygwin on Win98: initdb failed
Hi, thanks to all who replied to my question. It seems that so far there is no solution: http://cygwin.com/ml/cygwin/2004-08/msg00277.html I've done some debugging and found out that the shmat... error message is generated by PostgreSQL in the source module src/backend/port/sysv_shmem.c during execution of the following code: /* OK, should be able to attach to the segment */ #ifdef SHM_SHARE_MMU /* use intimate shared memory on Solaris */ memAddress = shmat(shmid, 0, SHM_SHARE_MMU); #else memAddress = shmat(shmid, 0, 0); #endif if (memAddress == (void *) -1) elog(FATAL, shmat(id=%d) failed: %m, shmid); Here it can be seen that shmat is called with a shmaddr (second parameter) of 0, which means the system should itself choose a suitable address. (Thus there is no need for supplying the SHM_RND flag.) The corresponding debugging info of cygserver reads: cygserver: /netrel/src/cygwin-1.5.11-1/winsup/cygserver/sysv_shm.cc, line 385: shmaddr: 82FFD000, shmflg: 0 cygserver: /netrel/src/cygwin-1.5.11-1/winsup/cygserver/sysv_shm.cc, line 393: Odd shmaddr: EINVAL This should be an indication that the problem is the cygserver program (it generates an invalid address) and not the PostgreSQL software. I've also tested with the latest cygwin snapshot of 2004-Sep-20, but the issue persists. Perhaps the cygserver maintainers can use the information above to further investigate the problem. I would be happy to provide more input if needed. Regards, Christian Hi, Postgres hasn't worked on Win98 since Cygwin switched to cygserver for memory management instead of ipc_daemon. I believe 7.4.3 was the version to require cygserver to run. Mike On Mon, Sep 20, 2004 at 08:42:50AM +0200, Christian Rank wrote: Hello, I'm trying to run the Cygwin version of PostgreSQL on Windows 98 SE. During initdb, creation of the initial database cluster is aborted with the message creating template1 database in /var/pgsql/data/base/1... shmat(id=1179648) failed: invalid argument The sequence of commands leading to this is as follows: mkdir /var/pgsql export CYGWIN=server /usr/bin/cygserver-config -n /usr/sbin/cygserver -E mkdir /var/pgsql/data initdb -D /var/pgsql/data -E LATIN1 Software versions used: cygwin 1.5.11-1 PostgreSQL 7.4.5-1 Windows 98 Second Edition 4.10. A The same setup runs on Windows 2000 without problems. According to the cygserver docs, it should run on Win98, too. Does anybody know what's going wrong here? -- Dr. Christian Rank Rechenzentrum Universität Passau Innstr. 33 D-94032 Passau GERMANY Tel.: 0851/509-1838 Fax: 0851/509-1802 PGP public key see http://www.rz.uni-passau.de/mitarbeiter/rank -- 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: No /home created after install
Hello again, I have found the culprit. My DOS environment contained variable HOME, so echo %HOME% yielded: C:\ By renaming HOME to HOME.org, and rebooting the PC, followed by a new Cygwin install, the problem vanished. Have a nice day. a12 wrote: Hello cygwin gurus, I have just fetched and installed Cygwin base. When I click on the Cygwin icon, 'pwd' yields /cygdrive/c, and 'ls -l' yields: total 76 drwxrwxrwx+ 2 Sysaccou Users 53248 Sep 21 12:17 bin -rwxrwxrwx1 Sysaccou Users 57 Sep 21 12:17 cygwin.bat -rwxrwxrwx1 Sysaccou Users7022 Sep 21 12:17 cygwin.ico drwxrwxrwx+ 7 Sysaccou Users4096 Sep 21 12:18 etc drwxrwxrwx+ 5 Sysaccou Users8192 Sep 21 12:17 lib drwxrwxrwx+ 2 Sysaccou Users 0 Sep 21 12:17 tmp drwxrwxrwx+ 12 Sysaccou Users4096 Sep 21 12:16 usr drwxrwxrwx+ 6 Sysaccou Users 0 Sep 21 12:17 var What have I missed ? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Problem regarding CYGWIN
Hi, My name is Ali, I am the student of TU Dresden, Germany. I am having a problem while using CYGWIN. I am trying to install Möbius software on my maching and for this software i need CYGWIN as backend, which i installed successfully. Now the problem lies when i try to install Möbius on my machine it needs the path where i install CYGWIN, but when i gave this path it gives me the following error, File C:\CYGWIN\BIN\make.exe does not exist, i have checked the directory on CYGWIN\BIN and there is no file named make.exe. Can you please guid me what should i do now, where can i find this file? I really need to install this software for my Project. Thanking you. Regards, Ali Mahboob. -- 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: Lot of undefined symbols at link time, even with -l option on good libraries
At 05:38 AM 9/21/2004, you wrote: Using latest release of CygWin ( 1.5.11-1 ) I install the devel kit, including gcc and gnat compilers. Then I build from src GCC and GNAT release 3.4.1 ( which include necessary patchs for my application ). All my Ada application compile well with gnatmake command, but link failed with a lot of undefined symbols mainly issued from w32api and system libraries. Undefined symbols are for example : FormatMessageA, GlobalReAlloc, CreateDialogParamA, WSAStartup, accept, select, ... about 100 undefined from system libraries. Of course system libraries are included at link time with the appropriate -l option ( -lnetapi32 -lwsock32 -lshell32 -ladvapi32 -lwinmm -lodbc32 -lwin32ada -luser32 -lgdi32 -lcomdlg32 -laddr2line -lbfd -liberty ) I verify with NM command, symbols are right defined in the included libraries. If someone have an idea ? Sure. Follow the problem reporting guidelines given here: Problem reports: http://cygwin.com/problems.html That will give those on the list interested in helping you out with this problem at least the basic information about your system and what you're doing. My WAG is that you haven't declared these symbols properly so that the calling convention is wrong (__cdecl vs __stdcall) but I'd need to see a small example of your code, how you compile it, and what the errors are to be sure. Then again, maybe this idea is enough for you to have an AHA! moment and fix the problem yourself. :-) -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: regtool quoting variations on output
On Tue, 21 Sep 2004, luke.kendall wrote: A script broke today because regtool reported a key's value with extra double quotes around it. I also observed that whether or not a path was reported with a trailing \ varied from one machine to the other. Both were using regtool ver 1.8. stout is Windows XP, percy is Windows 2000. I would guess that the quotes would be always present on 2000 and never present on XP -- can that be verified? [EMAIL PROTECTED] /cygdrive/x/cygnus/cisra $ regtool -q get \\HKLM\\SOFTWARE\\Microsoft\\Office\\10.0\\Word\\InstallRoot\\Path C:\Program Files\Microsoft Office\Office10\ [EMAIL PROTECTED] ~ $ regtool -q get \\HKLM\\SOFTWARE\\Microsoft\\Office\\8.0\\Word\\InstallRoot\\Path C:\Program Files\Microsoft Office\Office An aside: if you used single quotes, you wouldn't need to double the backslashes... Visual inspection of the above key in regedit on percy (W2K) showed that its value had no double-quotes in the registry. Visual inspection on stout (WXP) also showed no double-quotes around the path (though it did have the trailing backslash, just as regtool reported). Do they have the same key type? If not, the above could be the behavior of ExpandEnvironmentStrings(), and you'll just have to deal with it. AFAICS, regtool itself does not add double quotes anywhere. I can change my script to pipe the output from regtool through sed 's/^//;s/$//', but that seems like a kludge to me. If you want the script to be robust, I don't see how this is much of a kludge. Does anyone have any idea what might be going on here? luke HTH, 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! Happiness lies in being privileged to work hard for long hours in doing whatever you think is worth doing. -- Dr. Jubal Harshaw -- 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 regarding CYGWIN
hello, did you choose to install make and gcc during cygwin install ? because make is installed in /bin to that can be your problem. you need to restart the setup and to add those packages i think bertrand Le mar 21/09/2004 15:21, Mahboob Ali a crit : Hi, My name is Ali, I am the student of TU Dresden, Germany. I am having a problem while using CYGWIN. I am trying to install Mbius software on my maching and for this software i need CYGWIN as backend, which i installed successfully. Now the problem lies when i try to install Mbius on my machine it needs the path where i install CYGWIN, but when i gave this path it gives me the following error, File C:\CYGWIN\BIN\make.exe does not exist, i have checked the directory on CYGWIN\BIN and there is no file named make.exe. Can you please guid me what should i do now, where can i find this file? I really need to install this software for my Project. Thanking you. Regards, Ali Mahboob. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Problem regarding CYGWIN (FAQ alert)
On Tue, 21 Sep 2004, Mahboob Ali wrote: Hi, My name is Ali, I am the student of TU Dresden, Germany. I am having a problem while using CYGWIN. I am trying to install Möbius software on my maching and for this software i need CYGWIN as backend, which i installed successfully. Now the problem lies when i try to install Möbius on my machine it needs the path where i install CYGWIN, but when i gave this path it gives me the following error, File C:\CYGWIN\BIN\make.exe does not exist, i have checked the directory on CYGWIN\BIN and there is no file named make.exe. Can you please guid me what should i do now, where can i find this file? I really need to install this software for my Project. Install the make package from the Devel category (you may also need others, see http://cygwin.com/faq/faq_2.html#SEC13. @David: This is a pretty frequently asked question, but I couldn't find the exact FAQ entry for it. Perhaps we could add a 'Where is make (gcc, vi, etc)' heading to the above FAQ entry? It'll need to be augmented to also describe how to search for files, something like If you need to know which package contains a particular file, search for that file's name on http://cygwin.com/packages/. For executables, especially with short names, it helps to prepend 'bin/' to the filename. 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! Happiness lies in being privileged to work hard for long hours in doing whatever you think is worth doing. -- Dr. Jubal Harshaw -- 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/
multi-user environment: mounting a lot of shares via ssh
hi while 'shares' can be mounted in a ssh session via 'net use' by a single user, it seems that in a multi-user environment, the users have to make sure, that they do not re-use already mapped drive letters. consider the following example: user A: 1. ssh host 2. net use h: computer\\A_home 3. ln -s /cygdrive/h /HOMES/A -- ok user B: 1. ssh host 2. net use h: computer\\B_home -- System error 85 has occurred. The local device name is already in use. question: how can more than 26 users (user A, user B, ... user Z) mount their HOME-directory? is there a way to solve this problem? regards, andrew -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: multi-user environment: mounting a lot of shares via ssh
At 09:36 AM 9/21/2004, you wrote: hi while 'shares' can be mounted in a ssh session via 'net use' by a single user, it seems that in a multi-user environment, the users have to make sure, that they do not re-use already mapped drive letters. consider the following example: user A: 1. ssh host 2. net use h: computer\\A_home 3. ln -s /cygdrive/h /HOMES/A -- ok user B: 1. ssh host 2. net use h: computer\\B_home -- System error 85 has occurred. The local device name is already in use. question: how can more than 26 users (user A, user B, ... user Z) mount their HOME-directory? is there a way to solve this problem? Is that pubkey or password authentication? Why not use the UNC path directly instead? -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: multi-user environment: mounting a lot of shares via ssh
Larry Hall wrote: At 09:36 AM 9/21/2004, you wrote: hi while 'shares' can be mounted in a ssh session via 'net use' by a single user, it seems that in a multi-user environment, the users have to make sure, that they do not re-use already mapped drive letters. consider the following example: user A: 1. ssh host 2. net use h: computer\\A_home 3. ln -s /cygdrive/h /HOMES/A -- ok user B: 1. ssh host 2. net use h: computer\\B_home -- System error 85 has occurred. The local device name is already in use. question: how can more than 26 users (user A, user B, ... user Z) mount their HOME-directory? is there a way to solve this problem? Is that pubkey or password authentication? password Why not use the UNC path directly instead? because of the following reasons: 1. i want to make the home-directories available in the directory /HOMES: /HOMES/A, /HOMES/B, /HOMES/C, ... and i think it's not possible to link to a UNC path (eg. ln -s UNC_path /HOMES/A) is it? 2. not every binary (tool) can handle UNC-paths 3. i would like to set up an environment, where *unix*-scripts+tools do not have to know anything about UNC_paths. regards, andreas -- 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: Running cmd programs in cygwin / rxvt
On Tue, Sep 21, 2004 at 10:43:55AM +0200, Corinna Vinschen wrote: On Sep 20 11:57, Andrew DeFaria wrote: You should be able to start a command in a new console window with cygstart (q.v.). Yes I can, however this starts it in another Windows window that does not easily resize, has crappy copy/paste semantics, colors and fonts. IOW all the reasons why I'm running rxvt! What I want is for it to run in the rxvt window so that I can have the nicer copy/paste, etc, not start a new window. Perhaps (just perhaps) something like Take Command from jpsoft.com is what you're looking for? I never tried it, but it implements an entirely new GUI console. It's not free, though. I have actually purchased Take Command. IIRC, it has all of the same problems as rxvt. Of course, if it doesn't, all that's required is for someone to figure out how it's done so that it can be implemented in cygwin. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Running cmd programs in cygwin / rxvt
On Tue, Sep 21, 2004 at 01:21:25AM -0500, Bobby McNulty wrote: What? Did I miss something? Sorry, I was just pulling the name of a random cygwin mailing list regular out of the air. Maybe I should have used Larry Hall instead... -- 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: multi-user environment: mounting a lot of shares via ssh
Do you want a separate home directory from the one specified in /etc/passwd? You could always 'mount -fsb //computer/A_home /A_home'... Larry Hall wrote: At 09:36 AM 9/21/2004, you wrote: hi while 'shares' can be mounted in a ssh session via 'net use' by a single user, it seems that in a multi-user environment, the users have to make sure, that they do not re-use already mapped drive letters. consider the following example: user A: 1. ssh host 2. net use h: computer\\A_home 3. ln -s /cygdrive/h /HOMES/A -- ok user B: 1. ssh host 2. net use h: computer\\B_home -- System error 85 has occurred. The local device name is already in use. question: how can more than 26 users (user A, user B, ... user Z) mount their HOME-directory? is there a way to solve this problem? Is that pubkey or password authentication? Why not use the UNC path directly instead? -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Bash returns incorrect process status
This patch also fixes a long-standing problem that I've had: My .bash_profile is rather complex (actually, it sources .bashrc, which is where most of the complexity is), and at the end it runs a program called `keychain'. That program always does some output and sometimes does some input. Before I applied this patch, most (but not all) of the time, keychain appeared to run in the background -- that is, I'd see a prompt from bash, implying that it had finished executing commands from its startup files, but then I'd see output from keychain. Worse, if keychain wanted to read input, it seemed to hear only a garbled version of what I typed (in fact, the input that it wants is my password, and would always claim I'd mistyped it). With the patch, however, it works perfectly. -- Software is largely a service industry operating under the persistent but unfounded delusion that it is a manufacturing industry. -- Eric Raymond -- 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: Running cmd programs in cygwin / rxvt
Christopher Faylor wrote: On Tue, Sep 21, 2004 at 01:21:25AM -0500, Bobby McNulty wrote: What? Did I miss something? Sorry, I was just pulling the name of a random cygwin mailing list regular out of the air. Maybe I should have used Larry Hall instead... -- 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/ Does not matter. I don't care about Andrew any way. -- 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: Running cmd programs in cygwin / rxvt
Bobby McNulty wrote: I am learning more and more about Cygwin as I work with it. I learn from my mistakes. Does he? He needs an attitude adjustment. You should talk about attitude adjustments! All I'm asking for is a work around for a problem when dealing with certain Windows apps under Cygwin. Is this somehow a crime? Lay off the coffee will ya! I'm caffiene free. My tea is decaffinated, my softdrinks a caffiene free. There is no stimulant going on here. This was ordered by my doctor eight years ago. I wonder why... Tell you something else too. I've not created anything in four years. Hmmm... is this something to brag about? Avoiding hackers. I am NOT a person who breaks into other computers. Are you? No and I resent that you imply that I am. I seen your picture, Whoopee! I talked to in person. Really when? (Not that that is at all grammatically correct - I assume you meant that you talk to me in person) I heard you play your guitar. Really when? (and of what relevance is this to rxvt and ptys?!?) What more do you want from me? How about a little reason, a little proof and a lot less unfounded accusations? -- I put instant coffee in my microwave oven and almost went back in time. -- 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: Bash returns incorrect process status
At 10:32 AM 9/21/2004, you wrote: This patch also fixes a long-standing problem that I've had: My .bash_profile is rather complex (actually, it sources .bashrc, which is where most of the complexity is), and at the end it runs a program called `keychain'. That program always does some output and sometimes does some input. Before I applied this patch, most (but not all) of the time, keychain appeared to run in the background -- that is, I'd see a prompt from bash, implying that it had finished executing commands from its startup files, but then I'd see output from keychain. Worse, if keychain wanted to read input, it seemed to hear only a garbled version of what I typed (in fact, the input that it wants is my password, and would always claim I'd mistyped it). With the patch, however, it works perfectly. You forgot to include the patch. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Cygwin on Win98: initdb failed
On Sep 21 15:02, Christian Rank wrote: Hi, thanks to all who replied to my question. It seems that so far there is no solution: http://cygwin.com/ml/cygwin/2004-08/msg00277.html I've done some debugging and found out that the shmat... error message is generated by PostgreSQL in the source module src/backend/port/sysv_shmem.c during execution of the following code: /* OK, should be able to attach to the segment */ #ifdef SHM_SHARE_MMU /* use intimate shared memory on Solaris */ memAddress = shmat(shmid, 0, SHM_SHARE_MMU); #else memAddress = shmat(shmid, 0, 0); #endif if (memAddress == (void *) -1) elog(FATAL, shmat(id=%d) failed: %m, shmid); Here it can be seen that shmat is called with a shmaddr (second parameter) of 0, which means the system should itself choose a suitable address. (Thus there is no need for supplying the SHM_RND flag.) The corresponding debugging info of cygserver reads: cygserver: /netrel/src/cygwin-1.5.11-1/winsup/cygserver/sysv_shm.cc, line 385: shmaddr: 82FFD000, shmflg: 0 cygserver: /netrel/src/cygwin-1.5.11-1/winsup/cygserver/sysv_shm.cc, line 393: Odd shmaddr: EINVAL Urgh! Ok, well... looking into the implementation of shmat, there's only one explanation for this behaviour. Apparently MapViewOfFileEx returned memory which isn't aligned to the memory granulation. [time passes, testing on a 9x system] That's it. Incredible. I've checked in a patch to cygserver which takes this into account. Please give cygserver from the next Cygwin snapshot (http://cygwin.com/snapshots.html) a try. Thanks for the analysis, Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader mailto:[EMAIL PROTECTED] Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: [ANNOUNCEMENT] New packge: lighttpd-1.3.0
On Mon, September 20, 2004 16:01, Jan Kneschke said: The following package has been added to the Cygwin distribution: *** lighttpd-1.3.0-1 lighttpd a secure, fast, compliant and very flexible web-server which has been optimized for high-performance environments. It has a very low memory footprint compared to other webservers and takes care of cpu-load. Its advanced feature-set (FastCGI, CGI, Auth, Output-Compression, URL-Rewriting and many more) make lighttpd the perfect webserver-software for every server that is suffering load problems. Main site: http://jan.kneschke.de/projects/lighttpd/ Has anyone got this working with php under Windows? I'd love to know how! I'm trying to put together a webserver/database/php solution that will work on my WinXP laptop for demos/prototypes. I don't have admin access on this machine, i.e. no registry access - I can't even copy php.ini to c:\windows! Cygwin installs OK to c:\cygwin and I've succesfully got apache and postgresql running under cygwin. But I'm stuck with php. I've investigated lighttpd, and it looks very promising. The fast-cgi module looks great - the spawn-fcgi utility built on cygwin straight out of the box, but I still come back to not having a version of PHP that works. I downloaded the 4.3.8 windows zip file and extracted it into c:\php but I can't work out how to integrate this binary with the cygwin tools, if indeed it is possible. Has anyone got any suggestions that might help me out here? Is there any more news about the cygwin php port? Thanks, R. -- http://robinbowes.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: Bash returns incorrect process status
-Original Message- From: cygwin-owner On Behalf Of Larry Hall Sent: 21 September 2004 15:39 At 10:32 AM 9/21/2004, you wrote: This patch also fixes a long-standing problem that I've had: My .bash_profile is rather complex (actually, it sources .bashrc, which is where most of the complexity is), and at the end it runs a program called `keychain'. That program always does some output and sometimes does some input. Before I applied this patch, most (but not all) of the time, keychain appeared to run in the background -- that is, I'd see a prompt from bash, implying that it had finished executing commands from its startup files, but then I'd see output from keychain. Worse, if keychain wanted to read input, it seemed to hear only a garbled version of what I typed (in fact, the input that it wants is my password, and would always claim I'd mistyped it). With the patch, however, it works perfectly. You forgot to include the patch. He was referring to the one in Pierre's post, to which his post was a reply. cheers, DaveK -- Can't think of a witty .sigline today -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Running cmd programs in cygwin / rxvt
-Original Message- From: cygwin-owner On Behalf Of Andrew DeFaria Sent: 21 September 2004 02:55 rxvt is only a dessert topping. It is not a floor wax. No amount of buffing is going to give you the shine on your floor that you are hoping for. cgf Well my mom always used to say: It doesn't hurt to ask. Apparently she never met you! Now there's a new slogan for the WJM archives! Cygwin - where it DOES hurt to ask! or how about Cygwin - you know your mom wouldn't like it! cheers, DaveK -- Can't think of a witty .sigline today -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Bash returns incorrect process status
Larry == Larry Hall [EMAIL PROTECTED] writes: Larry You forgot to include the patch. Actually, I was attempting to follow up to an existing post that contained the patch; I assumed that it would be easy to navigate from my article to that previous one. In any case, here is the original post (which includes the patch) on the web: http://cygwin.com/ml/cygwin/2004-09/msg00882.html -- Hamburgers! The cornerstone of any nutritious breakfast. -- Jules {From Pulp Fiction} -- 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: Bash returns incorrect process status
At 10:51 AM 9/21/2004, you wrote: Larry == Larry Hall [EMAIL PROTECTED] writes: http://cygwin.com/acronyms/#PCYMTNQREAIYR Larry You forgot to include the patch. Actually, I was attempting to follow up to an existing post that contained the patch; I assumed that it would be easy to navigate from my article to that previous one. In any case, here is the original post (which includes the patch) on the web: http://cygwin.com/ml/cygwin/2004-09/msg00882.html OK, that clarifies it. Thanks, -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
cursor jumping in cygwin?
First of all, please forgive me if I am not posting to the correct list. I have been using cygwin for awhile now at work and I just got a new desktop machine, so I loaded cygwin on it. The machine is a dual opteron 248 (2.2ghz) w/ 2gig RAM running Windows XP SP2. When using xterm w/ bash as my shell and typing, at random times, the cursor will jump to the beginning of the line. In vi, when I'm in input mode and typing, the cursor will randomly jump to the beginning of the document. I have seen it do this when pressing the h, a, and backspace keys as part of my typing. I cannot duplicate this problem at will -- it appears to be very random. I'm sure it has happened on other keypresses, but I type too fast to know which key I've hit to cause it. Has anyone ever seen this before? On my old desktop machine, I was running cygwin with XP SP2, so I don't think that is the problem, unless the newer version is incompatible with SP2 (I hadn't updated cygwin in awhile on my old desktop machine). Any help would be greatly appreciated. -- Michael J. Wheeler System Administrator Pittsburg State University Phone: 620-235-4610 E-mail: [EMAIL PROTECTED] -- Rap's Law of Inanimate Reproduction: If you take something apart and put it back together enough times, eventually you will have two of them. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: [ANNOUNCEMENT] New packge: lighttpd-1.3.0
Robin Bowes schrieb: Is there any more news about the cygwin php port? I posted my latest php attempts to -apps with subject apached updates 9/9/04 The cli and libs built fine, the cygwin dll failed. I have no idea what and where to fix it. The dll building docs seem to be outdated. maybe gerrit or brian can build it. -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Rebuilding GDB
On Tue, 21 Sep 2004, Adrian Cox wrote: On Mon, 2004-09-20 at 18:14, Dave Korn wrote: -Original Message- From: cygwin-owner On Behalf Of Adrian Cox Sent: 20 September 2004 14:44 I'm trying to build a Cygwin hosted GDB for debugging ARM and PowerPC boards. After running into a lot of problems, I tried to rebuild the native GDB that Cygwin installed for me, and that didn't work either. BTW, when discussing compile problems with gnu packages, you should always quote the options you gave to configure (if any). 1) Use setup.exe to download the gdb source. 2) mkdir /tmp/build 3) cd /tmp/build 4) /usr/src/gdb-20030919-1/configure --prefix=/usr/local/test If you don't need/want the insight GUI, adding --disable-gdbtk here will remove this issue. -- Brian Ford Senior Realtime Software Engineer VITAL - Visual Simulation Systems FlightSafety International the best safety device in any aircraft is a well-trained pilot... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Running cmd programs in cygwin / rxvt
Dave Korn wrote: -Original Message- From: cygwin-owner On Behalf Of Andrew DeFaria Sent: 21 September 2004 02:55 rxvt is only a dessert topping. It is not a floor wax. No amount of buffing is going to give you the shine on your floor that you are hoping for. cgf Well my mom always used to say: It doesn't hurt to ask. Apparently she never met you! Now there's a new slogan for the WJM archives! Cygwin - where it DOES hurt to ask! or how about Cygwin - you know your mom wouldn't like it! I like it! At least I would have been forewarned! :-) -- I'm not a complete idiot, some parts are missing! -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: [ANNOUNCEMENT] New packge: lighttpd-1.3.0
On Tue, September 21, 2004 16:00, Reini Urban said: Robin Bowes schrieb: Is there any more news about the cygwin php port? I posted my latest php attempts to -apps with subject apached updates 9/9/04 The cli and libs built fine, the cygwin dll failed. I have no idea what and where to fix it. The dll building docs seem to be outdated. maybe gerrit or brian can build it. Thanks for the update. Gerrit? Brian? R. -- http://robinbowes.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: Running cmd programs in cygwin / rxvt
On Tue, Sep 21, 2004 at 03:47:11PM +0100, Dave Korn wrote: -Original Message- From: cygwin-owner On Behalf Of Andrew DeFaria Sent: 21 September 2004 02:55 rxvt is only a dessert topping. It is not a floor wax. No amount of buffing is going to give you the shine on your floor that you are hoping for. Well my mom always used to say: It doesn't hurt to ask. Apparently she never met you! Now there's a new slogan for the WJM archives! Cygwin - where it DOES hurt to ask! How about Cygwin - where it DOES eventually hurt to ask if you start a conversation saying 'I know nothing about X but couldn't you just...' and then keep asking that question in various simple ways even when it is politely implied that it is not possible. Nah. Not as catchy. I am curious, though. Apparently it was the dessert topping comment that was considered rude? Everyone understands the reference, right? 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: Running cmd programs in cygwin / rxvt
Christopher Faylor wrote: How about Cygwin - where it DOES eventually hurt to ask if you start a conversation saying 'I know nothing about X but couldn't you just...' and then keep asking that question in various simple ways even when it is politely implied that it is not possible. How about instead of politely imply, politely say. I'm not a mind reader! You also missed an opportunity to *explain* and *educate* instead of berate and demean. (Hmmm... Would demean be the opposite of mean? I don't think so). I don't know nothing about ptys - I know a little. I just don't know the technical details because I've had no reason to date to learn them. So I asked a question - which shouldn't be snapped at but was snapped at nonetheless. A polite and informative reply to such a question would be something akin to No that can't be done because fill in reason here which would have served to enlighten me, and everybody else like me, about the mechanisms of ptys and their limitation and why my request would be difficult to impossible to do. Implying things do nothing to enlighten because they assume you have fore-knowledge - in this case about the technical details involved. However that would not even register on the meanness scale therefore inappropriate for this group I guess. We kid about meanness here but in reality there is no real joke - people here are often mean, which is not something I would brag about but for some reason certain people here seem to feel pride in being mean, which is the opposite of polite. IOW, in general, being mean is *counter productive*! So which are you Chris? Mean? Or polite? -- It's not hard to meet expenses, they're everywhere. -- 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: Lot of undefined symbols at link time, even with -l option on good libraries
I think you're right, it seems to be a problem with trailing underscore in function naming. For example : in /usr/lib/w32api/libkernel32.a we found : T [EMAIL PROTECTED] U __head_libkernel32_a I [EMAIL PROTECTED] which is required by win32-winbase.o, result of the build of /usr/lib/gcc/win32ada/win32-winbase.adb U _FormatMessageA U _FormatMessageW U _GlobalReAlloc U _LocalReAlloc The source code for this part is the following : pragma Import (Stdcall, Doit, FormatMessageA); I try change it with pragma Import (C, Doit, _FormatMessageA); or things like that with no success. May be it's the trailing @28 after symbol name which cause error, but I cannot control it ( it's DLL calling convention parameter size ). Compiler/linker should usually add or remove trailing @nn if necessary. To answer your general questions, I'am building a large Ada application ( 200 source files ), using W32 API, with Win2000 GNAT Compiler. Larry Hall a écrit : At 05:38 AM 9/21/2004, you wrote: Using latest release of CygWin ( 1.5.11-1 ) I install the devel kit, including gcc and gnat compilers. Then I build from src GCC and GNAT release 3.4.1 ( which include necessary patchs for my application ). All my Ada application compile well with gnatmake command, but link failed with a lot of undefined symbols mainly issued from w32api and system libraries. Undefined symbols are for example : FormatMessageA, GlobalReAlloc, CreateDialogParamA, WSAStartup, accept, select, ... about 100 undefined from system libraries. Of course system libraries are included at link time with the appropriate -l option ( -lnetapi32 -lwsock32 -lshell32 -ladvapi32 -lwinmm -lodbc32 -lwin32ada -luser32 -lgdi32 -lcomdlg32 -laddr2line -lbfd -liberty ) I verify with NM command, symbols are right defined in the included libraries. If someone have an idea ? Sure. Follow the problem reporting guidelines given here: Problem reports: http://cygwin.com/problems.html That will give those on the list interested in helping you out with this problem at least the basic information about your system and what you're doing. My WAG is that you haven't declared these symbols properly so that the calling convention is wrong (__cdecl vs __stdcall) but I'd need to see a small example of your code, how you compile it, and what the errors are to be sure. Then again, maybe this idea is enough for you to have an AHA! moment and fix the problem yourself. :-) -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- *_Frédéric ORMANCEY_* Atos Origin Systems Integration /rue Ampère - BP 475 31315 Labège Cedex/ /Tel// /: 05 61 39 75 21 /Fax /: 05 61 39 16 65 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] www.si.fr.atosorigin.com === Ce message électronique est confidentiel. Il peut contenir des informations protégées par le secret professionnel, le secret de fabrication ou autres règles légales. Si vous recevez ce message par erreur, il vous est interdit de le reproduire ou de le distribuer en tout ou partie, ou de le divulguer de quelque manière que ce soit à quelque personne que ce soit. Nous vous prions de bien vouloir en informer Atos Origin, par téléphone ou par retour d'e-mail puis de détruire le message et toutes copies de votre système informatique. Le contenu de ce message ne reflète pas nécessairement ni les opinions d'Atos Origin ni celles des membres de son groupe. Bien que l'émetteur de ce message ait fait tout son possible pour maintenir son système informatique sans virus, il ne peut garantir que cette transmission ne comporte aucun virus et il ne pourra être tenu pour responsable de quelque dommage que ce soit résultant de la transmission d'un virus. === -- 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: Lot of undefined symbols at link time, even with -l option on good libraries
At 12:15 PM 9/21/2004, you wrote: I think you're right, it seems to be a problem with trailing underscore in function naming. For example : in /usr/lib/w32api/libkernel32.a we found : T [EMAIL PROTECTED] U __head_libkernel32_a I [EMAIL PROTECTED] which is required by win32-winbase.o, result of the build of /usr/lib/gcc/win32ada/win32-winbase.adb U _FormatMessageA U _FormatMessageW U _GlobalReAlloc U _LocalReAlloc The source code for this part is the following : pragma Import (Stdcall, Doit, FormatMessageA); I try change it with pragma Import (C, Doit, _FormatMessageA); or things like that with no success. May be it's the trailing @28 after symbol name which cause error, but I cannot control it ( it's DLL calling convention parameter size ). Compiler/linker should usually add or remove trailing @nn if necessary. To answer your general questions, I'am building a large Ada application ( 200 source files ), using W32 API, with Win2000 GNAT Compiler. Sorry, I know nothing about Ada and how it works. If the pragma statement is supposed to take the place of the traditional function prototype in C/C++, then I agree that it looks OK (again, based on my knowledge of Ada). But the result is that it's looking for symbols that use the 'C' calling convention rather than the 'stdcall' calling convention. The libraries you are linking to want the 'stdcall' calling convention (since it is the default for Windows). If you cannot get Ada to ask for the proper symbol, you could try using the '--enable-stdcall-fixup' option (for 'ld') to attempt to massage away the problem. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Lot of undefined symbols at link time, even with -l option on good libraries
Larry Hall wrote: At 12:15 PM 9/21/2004, you wrote: I think you're right, it seems to be a problem with trailing underscore in function naming. For example : in /usr/lib/w32api/libkernel32.a we found : T [EMAIL PROTECTED] U __head_libkernel32_a I [EMAIL PROTECTED] which is required by win32-winbase.o, result of the build of /usr/lib/gcc/win32ada/win32-winbase.adb U _FormatMessageA U _FormatMessageW U _GlobalReAlloc U _LocalReAlloc The source code for this part is the following : pragma Import (Stdcall, Doit, FormatMessageA); I try change it with pragma Import (C, Doit, _FormatMessageA); or things like that with no success. May be it's the trailing @28 after symbol name which cause error, but I cannot control it ( it's DLL calling convention parameter size ). Compiler/linker should usually add or remove trailing @nn if necessary. To answer your general questions, I'am building a large Ada application ( 200 source files ), using W32 API, with Win2000 GNAT Compiler. Sorry, I know nothing about Ada and how it works. If the pragma statement is supposed to take the place of the traditional function prototype in C/C++, then I agree that it looks OK (again, based on my knowledge of Ada). But the result is that it's looking for symbols that use the 'C' calling convention rather than the 'stdcall' calling convention. The libraries you are linking to want the 'stdcall' calling convention (since it is the default for Windows). If you cannot get Ada to ask for the proper symbol, you could try using the '--enable-stdcall-fixup' option (for 'ld') to attempt to massage away the problem. The syntax for Pragma Import is: pragma Import( [Convention =] convention_identifier, [Entity =] local_name [, [External_Name =] string_expression] [, [Link_Name =] string_expression]); It might be worth experimenting with using Link_Name instead of External_Name - this should enable you to specify exactly what the link name generated by the Ada system is. -- 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: security and cygwin
Actually, Reini, I didn't say that I didn't know what a daemon was, I said that I didn't know how to find out which ones were running (without additional research, which, has thus far been fruitless). If I type ps -fA on my linux box at home, I get a list of all the running processes, even when I am not logged in as root. When I type ps -fA in cygwin, I do not get a complete list -- just my shell and the ps command. Of course this brings up the question of who, exactly is root under cygwin, but a check of /etc/passwd seems to indicate that there isn't one. I gather that if SYSTEM or Administrators wanted to take on the role, they'd be able to do it. As far as I can see from what you wrote, the real issue is that windows is unsafe. I don't use Explorer, and if there is an intruder on my machine, I already have a problem, independent of what they can do using cygwin services. The question is whether someone can use cygwin to intrude. I guess I don't see why anyone would install cygwin rather than linux unless they were stuck in a networked windows environment as I am, so I would assume that it would be designed to work reasonably in such an environment. Only I and computer services have accounts on the machine. I have to trust computer services, and if they screw up, they can't blame me, so the only issue here is what I personally have to do to make sure I do not introduce extra security risks into the system. (Wish the documentation addressed XP Pro rather than just NT.) -Original Message- From: Reini Urban [mailto:[EMAIL PROTECTED] Sent: Monday, September 20, 2004 12:13 PM To: Koskie, Sarah Cc: Cygwin List Subject: Re: security and cygwin Koskie, Sarah schrieb: Are there any other security related issues I should know about? I have to assume that cygwin as installed is safe until I have time to look into it, so I am hoping that my faith is not misplaced. See the FAQ entry: How secure is Cygwin in a multi-user environment? http://cygwin.com/faq/faq_toc.html#TOC78 Thanks, but that does not answer my question. I do not know what daemons are running. It does answer it. If you don't know this, you are completely unsafe. I did not start any. I assume some are started in the installation process but I don't know how to find out which they are. I just searched the FAQs for any other mention of daemon and found none. I have also checked the User's guide but it does not seem to contain any relevant info that I can see. There should never be any users logged in remotely to my cygwin and if there is something I have to do to enforce that, that's part of what I want to know. I should also be the only one using sftp, ssh, etc. With the previous version of cygwin, I was able to sftp and ssh from cygwin to other machines but not from other machines to my desktop computer. I hope that is still the case. I'll check it eventually, but as mentioned, I have a more-than-full time job as other than an UNIX programmer or system administrator and I cannot just stop and spend a month setting up cygwin. In the past I didn't have to. The lack of relevant documentation and the complexity of the current setup and install process are extremely frustrating. Trust the FAQ: It's unsafe. Esp. when you don't know what a daemon is. Just believe it. A daemon is a long-running satanic background process. See your Task Manager on the Process Tab. One of the daemons you don't see is for example called Explorer (the windows desktop). This is one of the worst security holes on windows, regardless of cygwin. sftp, sshd, cygserver, cron and all other cygwin services are also daemons, which share global data via cygwin1.dll. If you are running them as user, a possible intruder can gain permissions of this user. If you run cygwin programs as service the intruder might gain permissions of the SYSTEM user. -- Reini Urban -- 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: multi-user environment: mounting a lot of shares via ssh
On Tue, 21 Sep 2004, Andreas Petralia wrote: Why not use the UNC path directly instead? because of the following reasons: 1. i want to make the home-directories available in the directory /HOMES: /HOMES/A, /HOMES/B, /HOMES/C, ... and i think it's not possible to link to a UNC path (eg. ln -s UNC_path /HOMES/A) is it? It is possible. 2. not every binary (tool) can handle UNC-paths Agreed :-(, but those tools are arguably broken. 3. i would like to set up an environment, where *unix*-scripts+tools do not have to know anything about UNC_paths. Why would they? And, as suggested in a later reply, use mount. -- Brian Ford Senior Realtime Software Engineer VITAL - Visual Simulation Systems FlightSafety International the best safety device in any aircraft is a well-trained pilot... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Running cmd programs in cygwin / rxvt
-Original Message- From: cygwin-owner On Behalf Of Christopher Faylor Sent: 21 September 2004 16:40 I am curious, though. Apparently it was the dessert topping comment that was considered rude? Everyone understands the reference, right? Had to google it, I admit. We don't get to see much SNL over here. Shoulda thrown a monty python reference our way if you wanted us limeys to catch it! cheers, DaveK -- Can't think of a witty .sigline today -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: security and cygwin
At 12:50 PM 9/21/2004, you wrote: (Wish the documentation addressed XP Pro rather than just NT.) Unless it's clear that the reference is specifically for NT 4.0, you should read NT as NT/W2K/XP/W2K3. These are all platforms based on the NT code base, versus the 9x code base of 95/98/Me. References to NT are to the code base, not particular product (marketing) names. HTH, -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Running cmd programs in cygwin / rxvt
Monty Python? Hmmm. I thought it was a reference to the Carol Barnett Show. I remember a skit which was a fake commercial arguing if something was a desert topping or a floor wax. The answer was both. How convenient... On Tue, 21 Sep 2004 17:53:06 +0100, Dave Korn [EMAIL PROTECTED] wrote: -Original Message- From: cygwin-owner On Behalf Of Christopher Faylor Sent: 21 September 2004 16:40 I am curious, though. Apparently it was the dessert topping comment that was considered rude? Everyone understands the reference, right? Had to google it, I admit. We don't get to see much SNL over here. Shoulda thrown a monty python reference our way if you wanted us limeys to catch it! cheers, DaveK -- Can't think of a witty .sigline today -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- 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: Running cmd programs in cygwin / rxvt
-Original Message- From: cygwin-owner On Behalf Of Doctor Bill Sent: 21 September 2004 18:10 On Tue, 21 Sep 2004 17:53:06 +0100, Dave Korn [EMAIL PROTECTED] wrote: Hey dude! PCYMTNQ... ahh, forget it! -Original Message- From: cygwin-owner On Behalf Of Christopher Faylor Sent: 21 September 2004 16:40 I am curious, though. Apparently it was the dessert topping comment that was considered rude? Everyone understands the reference, right? Had to google it, I admit. We don't get to see much SNL over here. Shoulda thrown a monty python reference our way if you wanted us limeys to catch it! Monty Python? Hmmm. I thought it was a reference to the Carol Barnett Show. I remember a skit which was a fake commercial arguing if something was a desert topping or a floor wax. The answer was both. How convenient... SNL == Saturday Night Live. cheers, DaveK -- Can't think of a witty .sigline today -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
trying to reply to specific message
Is there a way to get related messages posted properly Thanks. I tried the second method and it didn't work. I requested a message and it was sent to me as an attachment. The address automatically inserted was for the original sender not the mailing list so I changed that to the mailing list, but, of course, my reply did not get posted as a follow on to the message. I also checked the earlier discussion you referenced which seemed to indicate that I should subscribe to cygwin-allow. I tried that and received the following: Hi. This is the qmail-send program at sourceware.org. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out. [EMAIL PROTECTED]: ezmlm-manage: fatal: I don't accept messages at this address (inlocal and/or inhost don't match) (#5.1.1) --- Enclosed are the original headers of the message. I guess this is why most of the postings aren't properly linked. If I'm doing something wrong or there is anything else I should try I'd be glad to hear of it. as followons in the mailing list archives without subscribing to the mailing list? Yes. Two ways, in fact. One works with programs that understand the mbox format for e-mail (e.g., pine); the other is more generic, but requires some effort. snip For the mbox method, Google for web archives raw text site:cygwin.com -- I posted a couple of recipes before (I've since improved on the automation of the method, if anyone's interested). The second method is described in a help message you get from ezmlm (mail to cygwin-helpatcygwindotcom) -- namely, you can get a copy of any list message by e-mailing to cygwin-get.MSGNUMatcygwindotcom. The trick is finding out the message number -- the Raw text link is helpful here as well; just look at the From line (first line of the raw text), and the MSGNUM will be the digits between cygwin-return- and -listarch-. -- 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/