Re: Please upload: unison-2.10.2-3
Andrew Schulman wrote: Sorry for the confusion, but earlier today when I asked you to upload unison-2.10.2-2, that version was incorrectly numbered. It should have been unison-2.10.2-3. Version -2 was already the archive. So please upload 2.10.2-3, remove 2.10.2-2, and leave 2.9.20-1. Done. Gerrit -- =^..^=
Re: cygwin terminal problems
On Tue, Nov 02, 2004 at 07:59:23AM +0100, Thomas Wolff wrote: [I assume terminal emulation is all done in cygwin1.dll, so this is the right mailing list?] Well, you're half right. Of course terminal emulation is done in the Cygwin DLL, but you're confused about the correct mailing list. This is not it: # cygwin-apps: a subscriber-only list for discussing packaging issues regarding applications that are distributed with the Cygwin DLL. There is nothing in the above which would suggest that you should send cygwin1.dll bugs here. By the way, it was recently discussed to introduce a bugzilla for setup.exe; is there any such thing for cygwin1.dll or is it all just on this mailing list? http://sources.redhat.com/ml/cygwin-apps/2004-10/msg00535.html
Re: [ITP] unison-gtk2-2.10.2-1
On Tue, Nov 02, 2004 at 05:16:04PM -0500, [EMAIL PROTECTED] wrote: I want to package and maintain unison-gtk2 for Cygwin. Unison is a file synchronizer for Unix and Windows. It comes in two interfaces: text and GTK2. The text-mode version is already packaged for Cygwin in the unison package. unison-gtk2 is the GTK2 version. 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 Is unison-gtk2 provided by any linux distribution?
Re: [ITP] unison-gtk2-2.10.2-1
I want to package and maintain unison-gtk2 for Cygwin. Unison is a file synchronizer for Unix and Windows. It comes in two interfaces: text and GTK2. The text-mode version is already packaged for Cygwin in the unison package. unison-gtk2 is the GTK2 version. Is unison-gtk2 provided by any linux distribution? Yes, Debian has unison-gtk: http://packages.debian.org/stable/net/unison-gtk. (Actually that's the older GTK1 interface, but the Debian maintainer is planning to upgrade it to GTK2.)
Problems with the installer
Good morning: I'm not sure if this is the right list for this report, I wasn't clear on reading the mailing lists descriptions and bugzilla didn't match this problem. But here it goes. Error. Multiple ocurrences of: The specified dynamic link library could not be found in the specified path Path Set by Windows: %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;F:\xml-libs; F:\xml-apps;F:\cygwin\usr\sbin;F:\cygwin\usr\bin;F:\java\ant\bin;F:\java\fop;F:\cygwin\lib; Setup version 1.5.11 (downloaded from the cygwin site) tried full install (everything) tried default install just by doing a search on the cygwin tree, it appears zlib wasn't installed. I've deleted all the source files (downloaded to my local drive) and reinstalled. Carlos -- Carlos E. Araya [EMAIL PROTECTED] [EMAIL PROTECTED] We can rise and fall like empires Flow in and out like the tide Be vain and smart, humble and dumb We can hit and miss like pride,. Just like pride Rush -- Force Ten
setup size prefs
I'm just implementing better setup resizability, in particular remembering previous window states (size + pos) as requested. And the bugfix to resize smaller than the default size from the ressource. Which window sizes do we want to store? I started with one size for all, then I rewrote for one size for each propertypage, and now I believe the best would be to store/restore only two sizes. The big size for the package list and the small for the rest. What else do we want to remember? The state of the two checkboxes at the end? What else? -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/
Re: don't use AC_FUNC_MMAP, use AC_CHECK_FUNCS(mmap) instead.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gerrit P. Haase wrote: | Yaakov Selkowitz wrote: | | Gerrit P. Haase wrote: | | AC_CHECK_FUNCS(mmap) issues this: | | checking for mmap... yes | | | | This is what I will using now for all the GNOME packages, there are | | several packages affected, so far I know of: | | - libgtop | | - gtk+ | | - libgnomeprint | | - libgsf | | Actually, looking again at my libgnomeprint22 package, I already had | manually patched the few places that needed mmap (i.e. | #if defined(HAVE_MMAP) || defined(__CYGWIN__) | ) due to build errors. I'll have to look at libgsf though. | | | I think it just tries to link against the system library and it | | succeeds, so mmap() is considered to be available. Fine with me. | | | | Using the macro AC_FUNC_MMAP, the test fails and mmap() will not be | | available. | | | | BTW, it looks like this in configure.ac: | | case $host in | | *cygwin*) | | AC_CHECK_FUNCS(mmap) | | ;; | | *) | | AC_FUNC_MMAP | | ;; | | esac | | Thanks for the tip. But how does that define HAVE_MMAP? And what about | fixing AC_FUNC_MMAP itself? Well, I did think of the following solution: case $host in ~ *-*-cygwin*) ~ac_cv_func_mmap_fixed_mapped=yes ~AC_DEFINE(HAVE_MMAP, 1, ~[Define to 1 if you have a working `mmap' system call.]) ~;; ~ *) ~AC_FUNC_MMAP ~;; esac That should do everything that a successful AC_FUNC_MMAP test would do, I think. Sure better than patching code ifdefs in a dozen places. | I don't know how, maybe it doesn't do it, I'm not sure, at least it is | so in GMP, but this is very special. Better fix AC_FUNC_MMAP. | | Submit a patch to the Cygwin autoconf maintainer, since there were no | upstream autoconf releases for years, it needs to be fixed locally at | first. Corinna, according to the Cygwin README, autoconf-devel is yours. As this has been a problem both here and on the main list, would it be possible to fix the AC_FUNC_MMAP macro in /usr/autotool/devel/share/autoconf/autoconf/functions.m4? This affects building a LOT of packages. I suppose using a similar logic to the above would suffice. Thank you. Yaakov -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (Cygwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBiZnipiWmPGlmQSMRAsBPAJwO+R56Ec18NXQjhTQBLTRZZq/5dACePlCX /giqwlOt9RC9hjocnqKcFcA= =+nju -END PGP SIGNATURE-
Re: Multiwindows launches but nothing happens
On Tue, 2 Nov 2004, Robert Savage wrote: Thanks for the response. I do not understand why the x-startup-scripts are not installed. I have tried a number of sites to install from selecting all packages. Are the startup scripts something that need manual installation? If so how is this done. No. Just select X-startup-scripts (version 1.0.10-2 is current) via setup.exe and install it. Or is the a site that you recommend installing from? mirrors.kernel.org. I use this a reference and send announcements if the packages are available there. So I'm sure x-startup-scripts is available from this mirror. bye ago -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723
src/winsup/w32api ChangeLog include/shellapi.h
CVSROOT:/cvs/src Module name:src Changes by: [EMAIL PROTECTED] 2004-11-04 07:09:52 Modified files: winsup/w32api : ChangeLog winsup/w32api/include: shellapi.h Log message: * include/wingdi.h (NIF_INFO): Add define. (NIIF_*) Add defines.. Thanks to: Benoit Blanchon [EMAIL PROTECTED] (NIF_*): Convert constants to hex. Patches: http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/w32api/ChangeLog.diff?cvsroot=srcr1=1.612r2=1.613 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/w32api/include/shellapi.h.diff?cvsroot=srcr1=1.12r2=1.13
Re: [PATCH] kill -f
Pierre A. Humblet schrieb: This patch allows kill.exe -f to deal with Win9x pids. Needs the bash internal also a patch like this? 2004-11-03 Pierre Humblet [EMAIL PROTECTED] * kill.cc (forcekill): Do not pass negative pids to cygwin_internal. (main): Make pid a long long and distinguish between pids, gpids (i.e. negative pids) and Win9x pids. -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/
Re: [PATCH] kill -f
Reini Urban wrote: Pierre A. Humblet schrieb: This patch allows kill.exe -f to deal with Win9x pids. Needs the bash internal also a patch like this? The bash internal doesn't kill Windows pids, neither on NT nor on 9X. I am not in favor of adding Windows specific frills to bash. /bin/kill is a Cygwin program, its man page says that the -f switch kills Windows pids. Pierre
Re: [PATCH] kill -f
Pierre A. Humblet schrieb: Reini Urban wrote: Pierre A. Humblet schrieb: This patch allows kill.exe -f to deal with Win9x pids. Needs the bash internal also a patch like this? The bash internal doesn't kill Windows pids, neither on NT nor on 9X. I am not in favor of adding Windows specific frills to bash. /bin/kill is a Cygwin program, its man page says that the -f switch kills Windows pids. oops, my $(man kill) misses this interesting info. because I didn't patch that away in my experimental coreutils. I only remembered --force -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/
RE: ls /dev/*
* Christopher Faylor [EMAIL PROTECTED] [2004-11-02 15:01:13 -0500]: On Tue, Nov 02, 2004 at 02:55:39PM -0500, Sam Steingold wrote: why isn't /dev a more usual directory? cd /dev, ls /dev all fail, while cat /dev/clipboard works. No one has implemented the special handling required for /dev which would enable things like opendir/readdir or cd to work. Thanks, I guessed that much. I also know about PTC. (fhandler_proc.cc is too long, I guess fhandler_dev.cc would be just as long, and I suspect that fhandler_dev.cc is not the only this missing). Is this on anyone's TODO list? Actually it's not that difficult. I've already implemented it once. See this patch: http://www.cygwin.com/ml/cygwin-patches/2002-q2/msg00191.html It was due to be merged sometime around 1.3.12 but I think I and the maintainers forgot about it. Feel free to update the patch to latest CVS and re-submit it. Chris -- Unsubscribe info: 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: Regex problem
Kotan wrote: Hi! I tried to use the POSIX regular expression functions under cygwin, and I only got segmentation faults. My program is working fine under Linux, but dont run at all with cygwin. Maybe you can give me a hint, whats wrong or if it is a bug. Does nobody know, if regex should work, and if how it should work, and the problem could be? regards Daniel -- Unsubscribe info: 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: INFO Death
Arthur I Schwarz wrote: I just noticed that 'INFO' is no longer operational. I've been trying to find out why from the mailing list and from looking at my site. No luck. Can anyone offer a suggestion as to where to look for the answer (most helpful) or how to fix the problem (very useful). Thanks Art Symptoms: info info info: dir: No such file or directory Reinstall the _update_info_dir package or run: $ sh /etc/postinstall/update-info-dir.sh.done info -d /usr/share/info info info: dir: No such file or directory INFOPATH=/usr/local/info:/usr/info:/usr/share/info:/usr/autotool/devel/info:/usr/autotool/stable/info: (and /usr/local/info no longer exists); cygcheck -s Please send cygcheck output as attachment. Gerrit -- =^..^= -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Problem with installing crontab on Cygwin(1.5.11/1005.11.0.0)/WinXP SP2
On Tue, 2 Nov 2004 18:33:57 -0500, Harig, Mark wrote: I (Barry Kelly) wrote: I'm getting the following error when trying to install a crontab on my account: $ crontab -e # editing my crontab here... chown: Invalid argument Please run this diagnostic script. It will attempt to locate many types of common problems with cron on cygwin. http://sources.redhat.com/ml/cygwin/2004-07/msg00207.html Please read the output of the script carefully. If it finds problems, it suggests possible fixes, and it will also recommend steps to take if it is unable to detect any problems I did what it suggested: the errors it notified me were that /etc/passwd and /etc/group needed to be marked +r. I did this (chmod 0644). For what it is worth, crond is working on both Win2K and WinXP for me. In the previous three installs of cygwin I did, it was working under both Win2K and WinXP for me too. However, crond (specifically, the daemon) isn't part of the problem. Crontab fails with the error message even if the service hasn't been started. I'll download the source and trace through it some time this evening local time (GMT+0). The following commands should give you a simple, and possibly valid, password file: $ mv /etc/passwd /etc/passwd.save $ mkpasswd -l /etc/passwd $ mkpasswd -d -u [your Windows user ID] /etc/passwd You would edit your entry then if you wanted to change your login shell, home directory, group, etc. Sure. Did this, but got no further. Thanks for the reply. BTW, I'm subscribed to this list and will be until I get this error fixed, so there's no need to cc me. -- Barry -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Can I launch a graphical windows app from within a cygwin ssh session
DePriest, Jason R. schrieb: On Tuesday, November 02, 2004 4:12 PM, Mark Stuhr wrote [--cut some stuff--] launch a windows app that should run on that remote (or host, can never keep that syntax straight) box. (In other words a server runs an app most of the time, but not as a service. That app needs restarting for whatever reason and I'm on the road. I can dial in with my pocketpc and get an ssh session going to that server, at that point I'd want to kill that app, easy, then I need to restart that app so it will stay running on that server even after I disconnect my ssh session. [--cut some stuff--] How do I do that??? I am not in a position to test it out right now. But what happens if you have the Cygwin SSH service on the remote system set to interact with the local desktop? Cygrunsrv has a commandline switch --interactive to set this when you install the service, but you can also change it by looking at the service properties through the Windows services applet. Indeed, --interactive is the correct answer. -- 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: Problem with installing crontab on Cygwin(1.5.11/1005.11.0.0)/WinXP SP2
On Wed, Nov 03, 2004 at 10:13:55AM +, Barry Kelly wrote: On Tue, 2 Nov 2004 18:33:57 -0500, Harig, Mark wrote: I (Barry Kelly) wrote: I'm getting the following error when trying to install a crontab on my account: $ crontab -e # editing my crontab here... chown: Invalid argument Please run this diagnostic script. It will attempt to locate many types of common problems with cron on cygwin. http://sources.redhat.com/ml/cygwin/2004-07/msg00207.html Please read the output of the script carefully. If it finds problems, it suggests possible fixes, and it will also recommend steps to take if it is unable to detect any problems I did what it suggested: the errors it notified me were that /etc/passwd and /etc/group needed to be marked +r. I did this (chmod 0644). For what it is worth, crond is working on both Win2K and WinXP for me. In the previous three installs of cygwin I did, it was working under both Win2K and WinXP for me too. However, crond (specifically, the daemon) isn't part of the problem. Crontab fails with the error message even if the service hasn't been started. I'll download the source and trace through it some time this evening local time (GMT+0). The following commands should give you a simple, and possibly valid, password file: $ mv /etc/passwd /etc/passwd.save $ mkpasswd -l /etc/passwd $ mkpasswd -d -u [your Windows user ID] /etc/passwd You would edit your entry then if you wanted to change your login shell, home directory, group, etc. Sure. Did this, but got no further. Thanks for the reply. BTW, I'm subscribed to this list and will be until I get this error fixed, so there's no need to cc me. crontab chowns the crontab file group to 18. Make sure that gid 18 is in /etc/group. Also I find it hard to believe that the strace you got gives no useful information. Pierre -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
freezing in setup on xorf-x11
Its freezing while set up fsrv. Its the readme file. Keeps going and going and going. Windowx XP professional with Service Pack #2 and Norton Systemworks. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Problem with installing crontab on Cygwin(1.5.11/1005.11.0.0)/WinXP SP2
On Wed, 3 Nov 2004 09:24:37 -0500, Pierre A. Humblet [EMAIL PROTECTED] wrote: crontab chowns the crontab file group to 18. Make sure that gid 18 is in /etc/group. Also I find it hard to believe that the strace you got gives no useful information. This did it. Group 18 (SYSTEM) was not in /etc/group; instead, /etc/group only contained domain groups, not local groups. I ran 'mkgroup -l -d /etc/group' to recreate the file. Re strace: the strace gave (something like) this entry about the chown() call: 165 14525235 [main] crontab 2600 chown_worker: -1 = chown (tabs/tmp.002600,...) This didn't give me enough information to figure out the missing parameters. I believe crontab should print more verbose error output for its critical failures. Thanks for the tip. I would have found this out this evening if I had to; you saved me a good 30 minutes. Thanks again! -- Barry -- Unsubscribe info: 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: ls /dev/*
* Chris January [EMAIL PROTECTED] [2004-11-03 09:08:44 +]: * Christopher Faylor [EMAIL PROTECTED] [2004-11-02 15:01:13 -0500]: On Tue, Nov 02, 2004 at 02:55:39PM -0500, Sam Steingold wrote: why isn't /dev a more usual directory? cd /dev, ls /dev all fail, while cat /dev/clipboard works. No one has implemented the special handling required for /dev which would enable things like opendir/readdir or cd to work. Thanks, I guessed that much. I also know about PTC. (fhandler_proc.cc is too long, I guess fhandler_dev.cc would be just as long, and I suspect that fhandler_dev.cc is not the only this missing). Is this on anyone's TODO list? Actually it's not that difficult. I've already implemented it once. See this patch: http://www.cygwin.com/ml/cygwin-patches/2002-q2/msg00191.html It was due to be merged sometime around 1.3.12 but I think I and the maintainers forgot about it. Feel free to update the patch to latest CVS and re-submit it. I am sure it would be much easier for you to update your own patch. Could you please do it? -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.camera.org http://www.iris.org.il http://www.memri.org/ http://www.mideasttruth.com/ http://www.honestreporting.com He who laughs last did not get the joke. -- Unsubscribe info: 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: ls /dev/*
* Andrew DeFaria [EMAIL PROTECTED] [2004-11-02 22:07:41 -0800]: Christopher Faylor wrote: On Tue, Nov 02, 2004 at 02:55:39PM -0500, Sam Steingold wrote: why isn't /dev a more usual directory? cd /dev, ls /dev all fail, while cat /dev/clipboard works. No one has implemented the special handling required for /dev which would enable things like opendir/readdir or cd to work. Actually I change the cygdrive prefix to dev. Just seems to make sense to me that C: would be /dev/c as apposed to /cygdrive/c, which is longer to type. When I ls /dev I get: $ ls /dev c/ d/ z/ YES! I think this is a great idea! -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.camera.org http://www.iris.org.il http://www.memri.org/ http://www.mideasttruth.com/ http://www.honestreporting.com Every day above ground is a good day. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Problem with installing crontab on Cygwin(1.5.11/1005.11.0.0)/WinXP SP2
On Wed, Nov 03, 2004 at 02:34:03PM +, Barry Kelly wrote: On Wed, 3 Nov 2004 09:24:37 -0500, Pierre A. Humblet [EMAIL PROTECTED] wrote: crontab chowns the crontab file group to 18. Make sure that gid 18 is in /etc/group. Also I find it hard to believe that the strace you got gives no useful information. This did it. Group 18 (SYSTEM) was not in /etc/group; instead, /etc/group only contained domain groups, not local groups. I ran 'mkgroup -l -d /etc/group' to recreate the file. Glad it's fixed. Hey Mark, care to add another test to cron_diagnose? (see sample in postinstall/exim.sh.done) Pierre -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: ls /dev/*
On Tue, Nov 02, 2004 at 10:07:41PM -0800, Andrew DeFaria wrote: Christopher Faylor wrote: On Tue, Nov 02, 2004 at 02:55:39PM -0500, Sam Steingold wrote: why isn't /dev a more usual directory? cd /dev, ls /dev all fail, while cat /dev/clipboard works. No one has implemented the special handling required for /dev which would enable things like opendir/readdir or cd to work. Actually I change the cygdrive prefix to dev. Just seems to make sense to me that C: would be /dev/c as apposed to /cygdrive/c, which is longer to type. When I ls /dev I get: $ ls /dev c/ d/ z/ A C, D and Z drive (the Z drive is to my backup partition on my Linux box). While, you are welcome to redefine /cygdrive any way you want, the unix paradigm does not put filesystems under /dev. That is for devices. In any event, this has nothing to do with the actual question. Even if this was something that makes sense, it doesn't help the OP meet his goals in 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: ls /dev/*
* Chris January [EMAIL PROTECTED] [2004-11-03 09:08:44 +]: * Christopher Faylor [EMAIL PROTECTED] [2004-11-02 15:01:13 -0500]: On Tue, Nov 02, 2004 at 02:55:39PM -0500, Sam Steingold wrote: why isn't /dev a more usual directory? cd /dev, ls /dev all fail, while cat /dev/clipboard works. No one has implemented the special handling required for /dev which would enable things like opendir/readdir or cd to work. Thanks, I guessed that much. I also know about PTC. (fhandler_proc.cc is too long, I guess fhandler_dev.cc would be just as long, and I suspect that fhandler_dev.cc is not the only this missing). Is this on anyone's TODO list? Actually it's not that difficult. I've already implemented it once. See this patch: http://www.cygwin.com/ml/cygwin-patches/2002-q2/msg00191.html It was due to be merged sometime around 1.3.12 but I think I and the maintainers forgot about it. Feel free to update the patch to latest CVS and re-submit it. I am sure it would be much easier for you to update your own patch. Could you please do it? Oh of course - if you are willing to compensate me for my time... I don't need this feature and am not inclined to work on it voluntarily at the moment. Chris -- Unsubscribe info: 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: ls /dev/*
On Wed, Nov 03, 2004 at 10:12:52AM -0500, Christopher Faylor wrote: On Tue, Nov 02, 2004 at 10:07:41PM -0800, Andrew DeFaria wrote: Christopher Faylor wrote: On Tue, Nov 02, 2004 at 02:55:39PM -0500, Sam Steingold wrote: why isn't /dev a more usual directory? cd /dev, ls /dev all fail, while cat /dev/clipboard works. No one has implemented the special handling required for /dev which would enable things like opendir/readdir or cd to work. Actually I change the cygdrive prefix to dev. Just seems to make sense to me that C: would be /dev/c as apposed to /cygdrive/c, which is longer to type. When I ls /dev I get: $ ls /dev c/ d/ z/ A C, D and Z drive (the Z drive is to my backup partition on my Linux box). While, you are welcome to redefine /cygdrive any way you want, the unix paradigm does not put filesystems under /dev. That is for devices. In any event, this has nothing to do with the actual question. Even if this was something that makes sense, it doesn't help the OP meet his goals in any way. Sorry. I should have read further. Apparently the OP just wants *something* in /dev even if it is not what should be there. I suggest just making the directory and downloading interesting jpeg images to the directory. That's what I'd do. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
[ANNOUNCEMENT] Updated: unison-2.10.2-3
A new version of the unison package is available in the Cygwin distribution. Changes in version 2.10.2-3: * Added /usr/share/doc/unison-2.10.2/unison-manual.html. * Patch: don't look in $USERPROFILE for the .unison directory; look only in $UNISON and then $HOME. This is the Unix behavior. * Changed to generic build script method for packaging. * Combined all Cygwin-specific docs (README.Cygwin, NEWS.Cygwin, unison.README) into unison.README. To update your installation, click on the Install Cygwin now link on the http://cygwin.com/ web page. This downloads setup.exe to your system. Then, run setup and answer all of the questions. *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO *** If you want to unsubscribe from the cygwin-announce mailing list, look at the List-Unsubscribe: tag in the email header of this message. Send email to the address specified there. It will be in the format: [EMAIL PROTECTED] If you need more information on unsubscribing, start reading here: http://sources.redhat.com/lists.html#unsubscribe-simple Please read *all* of the information on unsubscribing that is available starting at this URL. Andrew Schulman. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
[ANNOUNCEMENT] Updated: lablgtk2-2.4.0-2
A new version of the lablgtk2 package is available in the Cygwin distribution. Changes in version 2.4.0-2: * Changed to generic build script method for package building. * Combined all Cygwin-specific docs (README.Cygwin, NEWS.Cygwin, lablgtk2.README) into lablgtk2.README. To update your installation, click on the Install Cygwin now link on the http://cygwin.com/ web page. This downloads setup.exe to your system. Then, run setup and answer all of the questions. *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO *** If you want to unsubscribe from the cygwin-announce mailing list, look at the List-Unsubscribe: tag in the email header of this message. Send email to the address specified there. It will be in the format: [EMAIL PROTECTED] If you need more information on unsubscribing, start reading here: http://sources.redhat.com/lists.html#unsubscribe-simple Please read *all* of the information on unsubscribing that is available starting at this URL. Andrew Schulman. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
[ANNOUNCEMENT] Updated: autossh-1.2g-4
A new version of the autossh package is available in the Cygwin distribution. Changes in version 1.2g-4: * Changed to generic build script method for package building. * Combined all Cygwin-specific docs (README.Cygwin, NEWS.Cygwin, autossh.README) into autossh.README. To update your installation, click on the Install Cygwin now link on the http://cygwin.com/ web page. This downloads setup.exe to your system. Then, run setup and answer all of the questions. *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO *** If you want to unsubscribe from the cygwin-announce mailing list, look at the List-Unsubscribe: tag in the email header of this message. Send email to the address specified there. It will be in the format: [EMAIL PROTECTED] If you need more information on unsubscribing, start reading here: http://sources.redhat.com/lists.html#unsubscribe-simple Please read *all* of the information on unsubscribing that is available starting at this URL. Andrew Schulman. -- Unsubscribe info: 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: ls /dev/*
Christopher Faylor wrote: On Tue, Nov 02, 2004 at 10:07:41PM -0800, Andrew DeFaria wrote: Christopher Faylor wrote: On Tue, Nov 02, 2004 at 02:55:39PM -0500, Sam Steingold wrote: why isn't /dev a more usual directory? cd /dev, ls /dev all fail, while cat /dev/clipboard works. No one has implemented the special handling required for /dev which would enable things like opendir/readdir or cd to work. Actually I change the cygdrive prefix to dev. Just seems to make sense to me that C: would be /dev/c as apposed to /cygdrive/c, which is longer to type. When I ls /dev I get: $ ls /dev c/ d/ z/ A C, D and Z drive (the Z drive is to my backup partition on my Linux box). While, you are welcome to redefine /cygdrive any way you want, the unix paradigm does not put filesystems under /dev. That is for devices. To me, a disk drive IS a device. YMMV! :-) In any event, this has nothing to do with the actual question. Even if this was something that makes sense, it doesn't help the OP meet his goals in any way. How so? What exactly is the OP's problem? As stated cd /dev and ls /dev fail. With my solution both cd and ls work. Sounds like a solution to me! ;-) -- I said NO to drugs, but they didn't listen. -- Unsubscribe info: 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: ls /dev/*
On Wed, Nov 03, 2004 at 03:20:08PM -, Dave Korn wrote: -Original Message- From: cygwin-owner On Behalf Of Christopher Faylor Sent: 03 November 2004 15:13 On Tue, Nov 02, 2004 at 10:07:41PM -0800, Andrew DeFaria wrote: Actually I change the cygdrive prefix to dev. Just seems to make sense to me that C: would be /dev/c as apposed to /cygdrive/c, which is longer to type. When I ls /dev I get: $ ls /dev c/ d/ z/ A C, D and Z drive (the Z drive is to my backup partition on my Linux box). While, you are welcome to redefine /cygdrive any way you want, the unix paradigm does not put filesystems under /dev. That is for devices. Indeed. OTOH, renaming your cygdrive prefix to mnt might make quite a lot of sense, even if it's not strictly the same. Kinda like having a handy automounter.. Yup. 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: ls /dev/*
Christopher Faylor wrote: Sorry. I should have read further. Apparently the OP just wants *something* in /dev even if it is not what should be there. The question of should is subjective I would think. I worry sometimes, since /dev is special and a pseudo directory that what I'm doing my break things in some manner. To date it works just fine. And, as I've said, to me, disk drives are devices. Somebody suggested /mnt. To me that's more for remote mounts, so my Z drive might be better suited for /mnt but C and D are local and I would expect them in /dev not /mnt.though one could argue that they too are mounted. Right now we are just talking personal preferences... I suggest just making the directory and downloading interesting jpeg images to the directory. That's what I'd do. Hell a touch /dev/file would work (except other special things in /dev like clipboard will not list - but curiously list with ls /dev/clipboard)! -- I was trying to daydream, but my mind kept wandering. -- Unsubscribe info: 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: ls /dev/*
Christopher Faylor wrote: On Wed, Nov 03, 2004 at 09:52:13AM -0500, Sam Steingold wrote: * Andrew DeFaria [EMAIL PROTECTED] [2004-11-02 22:07:41 -0800]: Christopher Faylor wrote: On Tue, Nov 02, 2004 at 02:55:39PM -0500, Sam Steingold wrote: why isn't /dev a more usual directory? cd /dev, ls /dev all fail, while cat /dev/clipboard works. No one has implemented the special handling required for /dev which would enable things like opendir/readdir or cd to work. Actually I change the cygdrive prefix to dev. Just seems to make sense to me that C: would be /dev/c as apposed to /cygdrive/c, which is longer to type. When I ls /dev I get: $ ls /dev c/ d/ z/ YES! I think this is a great idea! Ok. One of us is pretty confused. If you want /dev to just contain any random stuff, Who said that? I want dev to contain devices. My disk drives are devices to me. then you could just create the directory and populate it. Oh yeah I could choose some other directory. But why? I could just use /dev. You could even populate it with devices if you wanted. -- I intend to live forever - so far, so good -- Unsubscribe info: 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: ls /dev/*
On Wed, Nov 03, 2004 at 09:08:44AM -, Chris January wrote: * Christopher Faylor [EMAIL PROTECTED] [2004-11-02 15:01:13 -0500]: On Tue, Nov 02, 2004 at 02:55:39PM -0500, Sam Steingold wrote: why isn't /dev a more usual directory? cd /dev, ls /dev all fail, while cat /dev/clipboard works. No one has implemented the special handling required for /dev which would enable things like opendir/readdir or cd to work. Thanks, I guessed that much. I also know about PTC. (fhandler_proc.cc is too long, I guess fhandler_dev.cc would be just as long, and I suspect that fhandler_dev.cc is not the only this missing). Is this on anyone's TODO list? Actually it's not that difficult. I've already implemented it once. See this patch: http://www.cygwin.com/ml/cygwin-patches/2002-q2/msg00191.html It was due to be merged sometime around 1.3.12 but I think I and the maintainers forgot about it. Feel free to update the patch to latest CVS and re-submit it. Actually, please don't. I think you misinterpret the discussion in cygwin-developers. Now that you've reacquainted me with the discussion, I remember why it wasn't applied as-is. My plan was for /dev to go away as a special mount. Now that mknod works, this is more doable than it was in 2002. Ah yes - I remember now why it wasn't committed in the first place. Chris -- Unsubscribe info: 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: ls /dev/*
Andrew DeFaria wrote: Christopher Faylor wrote: Sorry. I should have read further. Apparently the OP just wants *something* in /dev even if it is not what should be there. The question of should is subjective I would think. I worry sometimes, since /dev is special and a pseudo directory that what I'm doing my break things in some manner. To date it works just fine. And, as I've said, to me, disk drives are devices. Somebody suggested /mnt. To me that's more for remote mounts, so my Z drive might be better suited for /mnt but C and D are local and I would expect them in /dev not /mnt.though one could argue that they too are mounted. Right now we are just talking personal preferences... I suggest just making the directory and downloading interesting jpeg images to the directory. That's what I'd do. Hell a touch /dev/file would work (except other special things in /dev like clipboard will not list - but curiously list with ls /dev/clipboard)! Sounds like a winner. I'd go along with having cygdrive changed to dev. dev holds all the devices, like aux, con, and others. lpt -- Unsubscribe info: 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: ls /dev/*
-Original Message- From: cygwin-owner On Behalf Of Andrew DeFaria Sent: 03 November 2004 15:38 The question of should is subjective I would think. I worry sometimes, since /dev is special and a pseudo directory that what I'm doing my break things in some manner. To date it works just fine. And, as I've said, to me, disk drives are devices. You should stop talking now, because you're out of your depth. Go away and learn the difference between a physical device and a logical volume, and come back when your comments have any validity. Somebody suggested /mnt. To me that's more for remote mounts, so my Z drive might be better suited for /mnt but C and D are local and I would expect them in /dev not /mnt. You should learn how posix systems work, since there's nothing 'remote' about it. Almost every linux/unix box provides access there to the floppy and CD drive. Would you call them remote devices? Right now we are just talking personal preferences... No, right now you are redefining words humpty-dumpty style to mean whatever you want them to mean. However device and mounted filesystem are two very different things with very clear and well-defined semantics, of which you are merely unaware. 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: Problem with installing crontab on Cygwin(1.5.11/1005.11.0.0)/WinXP SP2
This did it. Group 18 (SYSTEM) was not in /etc/group; instead, /etc/group only contained domain groups, not local groups. I ran 'mkgroup -l -d /etc/group' to recreate the file. Glad it's fixed. Hey Mark, care to add another test to cron_diagnose? (see sample in postinstall/exim.sh.done) Pierre As I reported earlier, there are already two tests for this. Please see lines 254 through 272 of version 1.7 of cron_diagnose.sh. I must be misunderstanding this problem because I cannot see why these tests do not detect the error condition. --- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Problem with installing crontab on Cygwin(1.5.11/1005.11.0.0)/WinXP SP2
On Wed, Nov 03, 2004 at 11:13:13AM -0500, Harig, Mark wrote: This did it. Group 18 (SYSTEM) was not in /etc/group; instead, /etc/group only contained domain groups, not local groups. I ran 'mkgroup -l -d /etc/group' to recreate the file. Glad it's fixed. Hey Mark, care to add another test to cron_diagnose? (see sample in postinstall/exim.sh.done) Pierre As I reported earlier, there are already two tests for this. Please see lines 254 through 272 of version 1.7 of cron_diagnose.sh. I must be misunderstanding this problem because I cannot see why these tests do not detect the error condition. The existing tests check the group of the crontab file. The problem reported here is that gid 18 was missing from /etc/group file. It is possible that it was accidentally deleted after the crontab file had been successfully created. Pierre -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
creating shared object (.so) with gcc under cygwin
Hello I am trying to create a shared object and use it in a program under cygwin with gcc. I seem to miss a point. If some kind soul could help me on that, I'd be very grateful. Here's the code for the shared object (calc_mean.c): #include calc_mean.h double mean(double a, double b) { return (a+b) / 2; } Here's its header file (calc_mean.h): double mean(double, double); So, I compile that to a .so like so: $ gcc -shared -o libmean.so calc_mean.c Then, there's main.c that wants to use the shared object: #include stdio.h #include calc_mean.h int main(int argc, char* argv[]) { double v1, v2, m; v1 = 5.2; v2 = 7.9; m = mean(v1, v2); printf(The mean of %3.2f and %3.2f is %3.2f\n, v1, v2, m); return 0; } I try to compile main.c like so: $ gcc main.c -o main -L. -lmean However, the following error is returned: /usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/../../../../i686-pc-cygwin/bin/ld: cannot find -lmean collect2: ld returned 1 exit status Obviously, I do something wrong here, but I have no idea what that could be. Rene -- Unsubscribe info: 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: ls /dev/*
* Christopher Faylor [EMAIL PROTECTED] [2004-11-03 10:18:18 -0500]: On Wed, Nov 03, 2004 at 09:08:44AM -, Chris January wrote: * Christopher Faylor [EMAIL PROTECTED] [2004-11-02 15:01:13 -0500]: On Tue, Nov 02, 2004 at 02:55:39PM -0500, Sam Steingold wrote: why isn't /dev a more usual directory? cd /dev, ls /dev all fail, while cat /dev/clipboard works. No one has implemented the special handling required for /dev which would enable things like opendir/readdir or cd to work. Thanks, I guessed that much. I also know about PTC. (fhandler_proc.cc is too long, I guess fhandler_dev.cc would be just as long, and I suspect that fhandler_dev.cc is not the only this missing). My plan was for /dev to go away as a special mount. Now that mknod works, this is more doable than it was in 2002. Could you please elaborate? are you saying that /dev/ will go away altogether? where will /dev/clipboard reside? Thanks! -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.camera.org http://www.iris.org.il http://www.memri.org/ http://www.mideasttruth.com/ http://www.honestreporting.com There are 3 kinds of people: those who can count and those who cannot. -- Unsubscribe info: 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: apache fails to start when not connected to net
--- Brian Dessent wrote: Elvin Peterson wrote: The /etc/hosts file is fine and does contain the definition for localhost. But the module in question is doing gethostbyname(mymachinename) where mymachinename is the name given to the windows machine during installation. Unless you're using the functionality of mod_unique_id (and if you don't know, you aren't) then just disable it. You should disable modules that you don't use anyway, as it will decrease the memory footprint and shield you should a bug be found in one that you aren't using. This is what I've done. I thought fixing the bug might be worthwhile. Now if someone would put mod_php back ... __ Do you Yahoo!? Check out the new Yahoo! Front Page. www.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: CPAN module in Cygwin
--- Reini Urban wrote: Elvin Peterson schrieb: What do people here use to install perl modules (other than CPAN)? I use cpanplus (with a fixed reporter module) and cpan. recent cpanplus versions became kinda unstable for me with its Storage module, but I had not time to fix it yet. cpansmoke and cpantest do work fine. but I stopped automatic cygwin smoketests a couple of months ago. Thanks for all the suggestions. Are these part of cygwin (or do they have to be installed separately? :-))? In any case running CPAN sends my machine to OOM, so I am sticking to precompiled binaries for now. __ Do you Yahoo!? Check out the new Yahoo! Front Page. www.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: INFO Death
Dave Korn wrote: Should it perhaps say for d in /usr/info /usr/share/info ${INFOPATH} do Aha! So THAT'S what happened to my info directory! I hadn't really looked into it, since usually I just type info bletch anyway. I ran a modified version of that script and it's back to normal now. BTW, you need to add colons to your IFS or replace them (e.g., $(echo $INFOPATH | sed -e 's/:/ /g')). And, of course, /usr/info and /usr/share/info were already in my $INFOPATH anyway. Thanks, -Jerry -- Unsubscribe info: 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: INFO Death
-Original Message- From: cygwin-owner On Behalf Of Williams, Gerald S (Jerry) Sent: 03 November 2004 18:06 Dave Korn wrote: Should it perhaps say for d in /usr/info /usr/share/info ${INFOPATH} do Aha! So THAT'S what happened to my info directory! I hadn't really looked into it, since usually I just type info bletch anyway. I ran a modified version of that script and it's back to normal now. BTW, you need to add colons to your IFS or replace them (e.g., $(echo $INFOPATH | sed -e 's/:/ /g')). And, of course, /usr/info and /usr/share/info were already in my $INFOPATH anyway. Oh, silly me, of course you do. Good catch! 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: Win32::API perl module
Jason Pearce schrieb: I have been trying to compile up Win32::API perl module under Cygwin's perl. The latest version off CPAN doesn't build (see below). http://xarch.tu-graz.ac.at/home/rurban/software/perl/Win32-API-0.41-cygwin.patch = http://xarch.tu-graz.ac.at/home/rurban/software/perl/Win32-API-0.42.tar.gz just the new-style win32 callbacks do not work that way with gcc. old style it worked, but backporting seemed to much effort for me. I have found some refernces to patches people have applied to get it working in the past. In particular Win32:API version 0.20. http://anfaenger.de/cygwin/libwin32/Win32-API-0.20cygwin/ But I was unable to get that working either, maybe because the Cygwin.dll and/or Perl (v5.8.2) has moved on since that patch was done? I was wondering if anyone has got it working for themselves? If not, I'd really appreciate someone taking a look. I am happy to do some of my own dirty work, but I have little knowledge of the Cygwin.dll so I really struggle to know where to look. I gather Win32::API is relying on a hook that the Cygwin.dll is not providing? All I really need this for is to call a procedure in a DLL, that does some port IO for me. At the moment my work around is to use Active State perl, for which Win32::API does build, but it would be better to only have one version of Perl around. -- 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: ls /dev/*
Sam Steingold schrieb: * Christopher Faylor [EMAIL PROTECTED] [2004-11-03 10:18:18 -0500]: On Wed, Nov 03, 2004 at 09:08:44AM -, Chris January wrote: * Christopher Faylor [EMAIL PROTECTED] [2004-11-02 15:01:13 -0500]: On Tue, Nov 02, 2004 at 02:55:39PM -0500, Sam Steingold wrote: why isn't /dev a more usual directory? cd /dev, ls /dev all fail, while cat /dev/clipboard works. No one has implemented the special handling required for /dev which would enable things like opendir/readdir or cd to work. Thanks, I guessed that much. I also know about PTC. (fhandler_proc.cc is too long, I guess fhandler_dev.cc would be just as long, and I suspect that fhandler_dev.cc is not the only this missing). My plan was for /dev to go away as a special mount. Now that mknod works, this is more doable than it was in 2002. Could you please elaborate? are you saying that /dev/ will go away altogether? where will /dev/clipboard reside? he meant: mkdir /dev and populate that with your favorite mknod initializer. igor posted one some months ago. BTW: colinux uses /dev/cobdn I'd really like to try to mount this beast in cygwin also. (mke2fs = ddk as in colinux) - 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: CPAN module in Cygwin
Elvin Peterson schrieb: --- Reini Urban wrote: Elvin Peterson schrieb: What do people here use to install perl modules (other than CPAN)? I use cpanplus (with a fixed reporter module) and cpan. recent cpanplus versions became kinda unstable for me with its Storage module, but I had not time to fix it yet. cpansmoke and cpantest do work fine. but I stopped automatic cygwin smoketests a couple of months ago. Thanks for all the suggestions. Are these part of cygwin (or do they have to be installed separately? :-))? CPANPLUS not yet. $ pmq -f CPANPLUS 0.049 /usr/lib/perl5/site_perl/5.8.5/CPANPLUS.pm $ pmq -f CPAN 1.76_01 /usr/lib/perl5/5.8.5/CPAN.pm In any case running CPAN sends my machine to OOM, so I am sticking to precompiled binaries for now. So fix your CPAN config file first, then you can bootstrap the rest. -- 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: Updates
Developers Maintainers: Please include the original description of the package when you provide updates. I keep only the latest message for each package, and I now have over 180 messages! (Or is a better idea to keep the new package messages?) In either case, it would be really useful to include the package info with each message, e.g., The package 'lablgtk2' is now available in the Cygwin distribution. 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. Homepage: http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgtk.html License: LGPL Thanks, Steve [EMAIL PROTECTED] wrote: A new version of the lablgtk2 package is available in the Cygwin distribution. Changes in version 2.4.0-2: * Changed to generic build script method for package building. * Combined all Cygwin-specific docs (README.Cygwin, NEWS.Cygwin, lablgtk2.README) into lablgtk2.README. To update your installation, click on the Install Cygwin now link on the http://cygwin.com/ web page. This downloads setup.exe to your system. Then, run setup and answer all of the questions. *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO *** If you want to unsubscribe from the cygwin-announce mailing list, look at the List-Unsubscribe: tag in the email header of this message. Send email to the address specified there. It will be in the format: [EMAIL PROTECTED] If you need more information on unsubscribing, start reading here: http://sources.redhat.com/lists.html#unsubscribe-simple Please read *all* of the information on unsubscribing that is available starting at this URL. Andrew Schulman. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
[ANNOUNCEMENT] Re: Updates
Developers Maintainers: Please include the original description of the package when you provide updates. I keep only the latest message for each package, and I now have over 180 messages! (Or is a better idea to keep the new package messages?) In either case, it would be really useful to include the package info with each message, e.g., The package 'lablgtk2' is now available in the Cygwin distribution. 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. Homepage: http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgtk.html License: LGPL Thanks, Steve [EMAIL PROTECTED] wrote: A new version of the lablgtk2 package is available in the Cygwin distribution. Changes in version 2.4.0-2: * Changed to generic build script method for package building. * Combined all Cygwin-specific docs (README.Cygwin, NEWS.Cygwin, lablgtk2.README) into lablgtk2.README. To update your installation, click on the Install Cygwin now link on the http://cygwin.com/ web page. This downloads setup.exe to your system. Then, run setup and answer all of the questions. *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO *** If you want to unsubscribe from the cygwin-announce mailing list, look at the List-Unsubscribe: tag in the email header of this message. Send email to the address specified there. It will be in the format: [EMAIL PROTECTED] If you need more information on unsubscribing, start reading here: http://sources.redhat.com/lists.html#unsubscribe-simple Please read *all* of the information on unsubscribing that is available starting at this URL. Andrew Schulman. -- Unsubscribe info: 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: ls /dev/*
Andrew DeFaria wrote: While, you are welcome to redefine /cygdrive any way you want, the unix paradigm does not put filesystems under /dev. That is for devices. To me, a disk drive IS a device. YMMV! :-) A disk drive is a device, but /cygdrive/c is not a disk-drive. It's a file-system contained in a partition contained on a disk-drive (usually). In unix-like systems, the disk-drive and the partition are available as devices along with the file-system. The disk-drive in /dev/ is a flat-device. All bytes available sequentially as a single image. I recall that there is a way to access the disks as real devices under NT/2000/XP using some strange notation. It might make sense to mount those under /dev/, but to mount your C-drive there would not be consistant with what /dev/ was designed for. -Rolf -- Unsubscribe info: 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: ls /dev/*
On Tue, 2 Nov 2004, Sam Steingold wrote: why isn't /dev a more usual directory? cd /dev, ls /dev all fail, while cat /dev/clipboard works. http://cygwin.com/cygwin-ug-net/using-specialnames.html#AEN825 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! The Sun will pass between the Earth and the Moon tonight for a total Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: ls /dev/*
On Wed, 3 Nov 2004, Rolf Campbell wrote: Andrew DeFaria wrote: While, you are welcome to redefine /cygdrive any way you want, the unix paradigm does not put filesystems under /dev. That is for devices. To me, a disk drive IS a device. YMMV! :-) A disk drive is a device, but /cygdrive/c is not a disk-drive. It's a file-system contained in a partition contained on a disk-drive (usually). In unix-like systems, the disk-drive and the partition are available as devices along with the file-system. The disk-drive in /dev/ is a flat-device. All bytes available sequentially as a single image. True. I recall that there is a way to access the disks as real devices under NT/2000/XP using some strange notation. What's wrong with using /dev/sda*? It might make sense to mount those under /dev/, They already are: ls /dev/sda, ls /dev/sda1... but to mount your C-drive there would not be consistant with what /dev/ was designed for. True. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! The Sun will pass between the Earth and the Moon tonight for a total Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Problem with installing crontab on Cygwin(1.5.11/1005.11.0.0)/WinXP SP2
On Tue, 2 Nov 2004, Barry Kelly wrote: I'm getting the following error when trying to install a crontab on my account: $ crontab -e # editing my crontab here... chown: Invalid argument I've tried updating my passwd (I live on a Win2K server domain) file in case it was out of date or missing local users (vs domain users), using $ mkpasswd -d -l -g /etc/passwd In case it makes a difference, my home directory does not correspond to my username, so I edited the passwd file just after running mkpasswd. However, I still get the same problem. I've tried fiddling with the ownership of /var/cron/tabs in case that was a problem, but I then got access denied errors, so I backed off. Cron is currently running on my system, and was installed with: ~$ cygrunsrv -I cron -p /usr/sbin/cron.exe -a -D I stopped and started it again after changing /etc/passwd. Process Explorer tells me cron is running under the local SYSTEM account. I've run 'strace crontab saved' and inspected the output; the chown syscall is returning -1, but it doesn't seem to give me any more information. Any ideas? Check your /etc/group... Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! The Sun will pass between the Earth and the Moon tonight for a total Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Can I launch a graphical windows app from within a cygwin ssh session
On Tue, 2 Nov 2004, Mark Stuhr wrote: Subject line says it, but let me describe further g. I'm hoping to set cygwin with ssh up on servers so that I can remotely manage those servers when not able to get in via terminal services or other graphical remote control app. What I want to be able to do from within that ssh session includes but is not limited to kill a process net stop or start a service restart the machine (I'm pretty comfortable doing all of the above) launch a windows app that should run on that remote (or host, can never keep that syntax straight) box. (In other words a server runs an app most of the time, but not as a service. That app needs restarting for whatever reason and I'm on the road. I can dial in with my pocketpc and get an ssh session going to that server, at that point I'd want to kill that app, easy, then I need to restart that app so it will stay running on that server even after I disconnect my ssh session. How do I do that??? PS I have googled and searched mailing list and read FAQs and documentation and tried various tests that I can think of and have seen nothing on this, so apologies in advance if I'm missing the obvious. If all you want is to make sure the app is running on the machine (i.e., you don't actually need to see the screens on your pocketpc), install the sshd service using the -i cygrunsrv flag (which *will* open an extra console window for sshd, but that can't be helped), and then you should be able to use setsid progname or even cygstart progname from your ssh session. Please let this list know if this works, Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! The Sun will pass between the Earth and the Moon tonight for a total Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: ls /dev/*
On Wed, 3 Nov 2004, Reini Urban wrote: Sam Steingold schrieb: * Christopher Faylor [2004-11-03 10:18:18 -0500]: On Wed, Nov 03, 2004 at 09:08:44AM -, Chris January wrote: * Christopher Faylor [2004-11-02 15:01:13 -0500]: On Tue, Nov 02, 2004 at 02:55:39PM -0500, Sam Steingold wrote: why isn't /dev a more usual directory? cd /dev, ls /dev all fail, while cat /dev/clipboard works. No one has implemented the special handling required for /dev which would enable things like opendir/readdir or cd to work. Thanks, I guessed that much. I also know about PTC. (fhandler_proc.cc is too long, I guess fhandler_dev.cc would be just as long, and I suspect that fhandler_dev.cc is not the only this missing). My plan was for /dev to go away as a special mount. Now that mknod works, this is more doable than it was in 2002. Could you please elaborate? are you saying that /dev/ will go away altogether? Right now /dev is a virtual directory (or, in CGF's words, special mount). /dev will eventually become a regular directory populated with device files. where will /dev/clipboard reside? he meant: mkdir /dev and populate that with your favorite mknod initializer. igor posted one some months ago. Correction: I posted a script that would create dummy files in /dev, so that ls /dev works. Granted, the script could be adapted to create the actual device files using mknod. Igor BTW: colinux uses /dev/cobdn I'd really like to try to mount this beast in cygwin also. (mke2fs = ddk as in colinux) -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! The Sun will pass between the Earth and the Moon tonight for a total Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: creating shared object (.so) with gcc under cygwin
On Wed, 3 Nov 2004, Rene Nyffenegger wrote: Hello I am trying to create a shared object and use it in a program under cygwin with gcc. I seem to miss a point. If some kind soul could help me on that, I'd be very grateful. Here's the code for the shared object (calc_mean.c): #include calc_mean.h double mean(double a, double b) { return (a+b) / 2; } Here's its header file (calc_mean.h): double mean(double, double); So, I compile that to a .so like so: $ gcc -shared -o libmean.so calc_mean.c Then, there's main.c that wants to use the shared object: #include stdio.h #include calc_mean.h int main(int argc, char* argv[]) { double v1, v2, m; v1 = 5.2; v2 = 7.9; m = mean(v1, v2); printf(The mean of %3.2f and %3.2f is %3.2f\n, v1, v2, m); return 0; } I try to compile main.c like so: $ gcc main.c -o main -L. -lmean However, the following error is returned: /usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/../../../../i686-pc-cygwin/bin/ld: cannot find -lmean collect2: ld returned 1 exit status Obviously, I do something wrong here, but I have no idea what that could be. As Chris recommended, use the .dll extension for your shared libs, or you can also build an import lib using $ gcc -shared -o libmean.so -Wl,--out-implib,libmean.dll.a calc_mean.c and your link step should work. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! The Sun will pass between the Earth and the Moon tonight for a total Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: CPAN module in Cygwin
Elvin Peterson wrote: Thanks for all the suggestions. Are these part of cygwin (or do they have to be installed separately? :-))? In any case running CPAN sends my machine to OOM, so I am sticking to precompiled binaries for now. You can fetch any source package via ftp or from http://search.cpan.org/ and build and install them manually: $ tar xzf package-name.tar.gz $ cd package-name $ perl Makefile.PL $ make $ make test $ make install Gerrit -- =^..^= -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Updates
On Wed, Nov 03, 2004 at 10:53:51AM -0800, Steve Kelem wrote: Developers Maintainers: Please include the original description of the package when you provide updates. What's with the ill-conceived tendency of cc'ing cygwin-announce, lately? It's a moderated list, people! It's not intended for questions or for soapboxes. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
cron event error message
Hi there, Could someone please help explain this message i am seeing in the Event Viewer (Applciations): The description for Event ID ( 0 ) in Source ( /USR/SBIN/CRON ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: /USR/SBIN/CRON : PID 788 : (Administrator) MAIL (mailed 65 bytes of output but got status 0x0001 ). Thanks Simon -- Unsubscribe info: 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 readmes??
Uninstalled and reinstalled a number of times today and seem to be getting inconsistent results form different mirrors when doing fresh downloads. This time after installing a fair number of packages I only have 2 files in /usr/doc/Cygwin these two openssl-0.9.7d.README rxvt-2.7.10.README I'm trying to get openssh working but that readme isn't here. What's the easiest way for me to get that one, and really to populate that directory for other missing ones? Thanks Mark Stuhr Director of Inf. Tech. Nolo [EMAIL PROTECTED] -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: no readmes??
Mark Stuhr wrote: Uninstalled and reinstalled a number of times today and seem to be getting inconsistent results form different mirrors when doing fresh downloads. This time after installing a fair number of packages I only have 2 files in /usr/doc/Cygwin these two openssl-0.9.7d.README rxvt-2.7.10.README I'm trying to get openssh working but that readme isn't here. What's the easiest way for me to get that one, and really to populate that directory for other missing ones? Look into /usr/share/doc/Cygwin /usr/share/doc/. Gerrit -- =^..^= -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: no readmes??
Thanks Gerrit. Well that helped, but I still don't have this file openssh-3.5p1-2.README or an equivalent for the version I got which I believe is 3.9p1-2 There was a file here /usr/share/doc/ openssh called readme, but that isn't it. There's also a file here /usr/share/doc/Cygwin called openssh.README which looked interesting, but it's more of a change history then a how to install (couple of install tips at the end, but doesn't seem comprehensive.) Any other ideas? Thanks very much. Gerrit P. Haase [EMAIL PROTECTED] on Wednesday, November 03, 2004 at 4:44 PM -0800 wrote: openssl-0.9.7d.README rxvt-2.7.10.README I'm trying to get openssh working but that readme isn't here. What's the easiest way for me to get that one, and really to populate that directory for other missing ones? Look into /usr/share/doc/Cygwin /usr/share/doc/. openssh-3.5p1-2.README or an equivalent for the version I got which I believe is 3.9p1-2 Mark Stuhr Director of Inf. Tech. Nolo [EMAIL PROTECTED] -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Perl binmode problem on text mount
This code used to work on Perl 5.6.1-2 on Cygwin 1.3.10. I've now moved to Perl 5.8.5-3 on Cygwin 1.5.11. Here is the Perl program: binmode STDOUT; print Hello\n; 1. Output to file on text mount perl foo.pl foo.txt ; od -c foo.txt 000 H e l l o \r \n# Perl 5.8.5-3 Cygwin 1.5.11 000 H e l l o \n # Perl 5.6.1-2 Cygwin 1.3.10 2. Output to file via cat perl foo.pl | cat foo.txt ; od -c foo.txt 000 H e l l o \n # Perl 5.8.5-3 Cygwin 1.5.11 000 H e l l o \n # Perl 5.6.1-2 Cygwin 1.3.10 Has anyone else experienced the same issue? Earl -- Unsubscribe info: 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: cron event error message
At 05:54 PM 11/3/2004, you wrote: /USR/SBIN/CRON : PID 788 : (Administrator) MAIL (mailed 65 bytes of output but got status 0x0001 ). This is the operative part. I think it's fairly self-explanatory, in terms of what happened. You might take a gander at '/var/log/cron.log' for additional hints if that's not enough. But really, this just means cron tried to send email and it failed. You'll have to dig a little more to figure out where and why. -- 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: no readmes??
At 08:01 PM 11/3/2004, you wrote: Thanks Gerrit. Well that helped, but I still don't have this file openssh-3.5p1-2.README or an equivalent for the version I got which I believe is 3.9p1-2 There was a file here /usr/share/doc/ openssh called readme, but that isn't it. There's also a file here /usr/share/doc/Cygwin called openssh.README which looked interesting, but it's more of a change history then a how to install (couple of install tips at the end, but doesn't seem comprehensive.) It's a little of both, which is why it's not called 'openssh-HOWTO'. ;-) The stuff toward the middle and end is the basics of how to set up openssh on pre W2K3 machines. The stuff at the top helps with W2K3. -- 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/
Can Cygwin sshd log to a file? (as opposed to Event Log)
Hello all -- I've modified the Logging section of cygwin\etc\cygserver.conf as follows: # kern.log.syslog: Determines whether logging should go to the syslog, # Default is yes, if stderr is no tty, no otherwise. # Command line option -y, --syslog or -Y, --no-syslog. kern.log.syslog --no-syslog # kern.log.stderr: Determines whether logging should go to stderr, # Default is yes, if stderr is a tty, no otherwise. # Command line option -e, --stderr or -E, --no-stderr. kern.log.stderr no I would like to get the SSH server to log events (failed logins, etc.) to a simple text file, such as sshd.log under cygwin\var\log. Is this possible? Or is this only a 'dummy' file, and Event Log in the only option for logging on Windows (Win2k in this case)? Thanks much for any assistance, Bob P.S. -- apologies if this has been covered previously -- my google and list archive searches did not reveal an answer to this specific question. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Xdelta
Hi all, did anyone get to compile xdelta 2 fine? i've found a few binaries of xdelta 1 on the web but couldnt get to compile xdelta 2...(some prob with libdb). http://sourceforge.net/projects/xdelta/ If anyone succeeds compiling it, please give some info, Thanks, Paul-Kenji Cahier -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Can Cygwin sshd log to a file? (as opposed to Event Log)
RDD wrote: Hello all -- I've modified the Logging section of cygwin\etc\cygserver.conf as follows: # kern.log.syslog: Determines whether logging should go to the syslog, # Default is yes, if stderr is no tty, no otherwise. # Command line option -y, --syslog or -Y, --no-syslog. kern.log.syslog --no-syslog # kern.log.stderr: Determines whether logging should go to stderr, # Default is yes, if stderr is a tty, no otherwise. # Command line option -e, --stderr or -E, --no-stderr. kern.log.stderr no I would like to get the SSH server to log events (failed logins, etc.) to a simple text file, such as sshd.log under cygwin\var\log. Is this possible? Or is this only a 'dummy' file, and Event Log in the only option for logging on Windows (Win2k in this case)? You're barking up the wrong tree here with cygserver.conf. THat is the configuration file for cygserver, which is a helper application to provide shared memory, queues, semaphores, and various other things. See /usr/share/doc/Cygwin/cygserver.README for details. It has absolutely nothing to do with sshd, or running services in general. What you want to do is provide the -e argument to sshd when it starts up. From man sshd: -e When this option is specified, sshd will send the output to the standard error instead of the system log. (In windows, syslog = windows event log) To do this you can either remove the service and reinstall it with the new arguments (both with cygrunsrv) or you can just go into the registry and edit the command line there. Look at the ssh-host-config file for how cygrunsrv is used to install the service, if you want to duplicate its options. Cygrunsrv is the program that allows daemons to run as services, and it will redirect stderr and stdout of the daemon to a file. From cygrunsrv -h: -0, --stdin fileOptional input file used for stdin redirection. Default is /dev/null. -1, --stdout file Optional output file used for stdout redirection. Default is /var/log/svc_name.log. -2, --stderr file Optional output file used for stderr redirection. Default is /var/log/svc_name.log. You will either need to specify -2 to cygrunsrv with the name of the log file you want, or accept the default /var/log/sshd.log. Brian -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: no readmes??
On Wed, Nov 03, 2004 at 05:01:07PM -0800, Mark Stuhr [EMAIL PROTECTED] wrote: Thanks Gerrit. Well that helped, but I still don't have this file openssh-3.5p1-2.README or an equivalent for the version I got which I believe is 3.9p1-2 Use cygcheck -l packagename to see what files were included in a package. cygcheck -l openssh|fgrep README shows 5 different readme files; I assume one of the first two is what you are looking for. -- Unsubscribe info: 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: don't use AC_FUNC_MMAP, use AC_CHECK_FUNCS(mmap) instead.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gerrit P. Haase wrote: | Yaakov Selkowitz wrote: | | Gerrit P. Haase wrote: | | AC_CHECK_FUNCS(mmap) issues this: | | checking for mmap... yes | | | | This is what I will using now for all the GNOME packages, there are | | several packages affected, so far I know of: | | - libgtop | | - gtk+ | | - libgnomeprint | | - libgsf | | Actually, looking again at my libgnomeprint22 package, I already had | manually patched the few places that needed mmap (i.e. | #if defined(HAVE_MMAP) || defined(__CYGWIN__) | ) due to build errors. I'll have to look at libgsf though. | | | I think it just tries to link against the system library and it | | succeeds, so mmap() is considered to be available. Fine with me. | | | | Using the macro AC_FUNC_MMAP, the test fails and mmap() will not be | | available. | | | | BTW, it looks like this in configure.ac: | | case $host in | | *cygwin*) | | AC_CHECK_FUNCS(mmap) | | ;; | | *) | | AC_FUNC_MMAP | | ;; | | esac | | Thanks for the tip. But how does that define HAVE_MMAP? And what about | fixing AC_FUNC_MMAP itself? Well, I did think of the following solution: case $host in ~ *-*-cygwin*) ~ac_cv_func_mmap_fixed_mapped=yes ~AC_DEFINE(HAVE_MMAP, 1, ~[Define to 1 if you have a working `mmap' system call.]) ~;; ~ *) ~AC_FUNC_MMAP ~;; esac That should do everything that a successful AC_FUNC_MMAP test would do, I think. Sure better than patching code ifdefs in a dozen places. | I don't know how, maybe it doesn't do it, I'm not sure, at least it is | so in GMP, but this is very special. Better fix AC_FUNC_MMAP. | | Submit a patch to the Cygwin autoconf maintainer, since there were no | upstream autoconf releases for years, it needs to be fixed locally at | first. Corinna, according to the Cygwin README, autoconf-devel is yours. As this has been a problem both here and on the main list, would it be possible to fix the AC_FUNC_MMAP macro in /usr/autotool/devel/share/autoconf/autoconf/functions.m4? This affects building a LOT of packages. I suppose using a similar logic to the above would suffice. Thank you. Yaakov -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (Cygwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBiZnipiWmPGlmQSMRAsBPAJwO+R56Ec18NXQjhTQBLTRZZq/5dACePlCX /giqwlOt9RC9hjocnqKcFcA= =+nju -END PGP SIGNATURE- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Announcement forwarding [Attn: Brian Ford] (Was Re: Updates)
On Wed, 3 Nov 2004, Christopher Faylor wrote: On Wed, Nov 03, 2004 at 10:53:51AM -0800, Steve Kelem wrote: Developers Maintainers: Please include the original description of the package when you provide updates. What's with the ill-conceived tendency of cc'ing cygwin-announce, lately? It's a moderated list, people! It's not intended for questions or for soapboxes. One interesting thing to note is that messages sent to both cygwin@ and cygwin-announce@ are forwarded here with the [ANNOUNCEMENT] prefix even if they aren't approved for posting on cygwin-announce. Looks like Brian's rules filter for messages *addressed* to cygwin-announce, rather than those that were actually *sent via* cygwin-announce... Just a heads-up. Igor P.S. Not sure if this belongs on cygwin-apps instead... -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! The Sun will pass between the Earth and the Moon tonight for a total Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: ls /dev/*
Actually, please don't. I think you misinterpret the discussion in cygwin-developers. Now that you've reacquainted me with the discussion, I remember why it wasn't applied as-is. My plan was for /dev to go away as a special mount. Now that mknod works, this is more doable than it was in 2002. Why have a real /dev directory? I like having a dynamically populated /dev/-directory. I like Linux's devfs very much, and perhaps udev will be very much like it, but i don't guess that cygwin will have something like udev (an example where devices would be added/removed from /dev is, wehn a new CD-ROM is attached/removed etc.) -- Unsubscribe info: 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: Perl binmode problem on text mount
On Wed, 3 Nov 2004, Earl Chew wrote: This code used to work on Perl 5.6.1-2 on Cygwin 1.3.10. I've now moved to Perl 5.8.5-3 on Cygwin 1.5.11. Here is the Perl program: binmode STDOUT; print Hello\n; 1. Output to file on text mount perl foo.pl foo.txt ; od -c foo.txt 000 H e l l o \r \n# Perl 5.8.5-3 Cygwin 1.5.11 000 H e l l o \n # Perl 5.6.1-2 Cygwin 1.3.10 2. Output to file via cat perl foo.pl | cat foo.txt ; od -c foo.txt 000 H e l l o \n # Perl 5.8.5-3 Cygwin 1.5.11 000 H e l l o \n # Perl 5.6.1-2 Cygwin 1.3.10 Has anyone else experienced the same issue? This is expected behavior. Unless you use raw writes (as cat does), the mode of the file (text or binary) is determined *by the program that opens the file*. In the above case, the program is not perl, it's your shell. You can try one of a few things: either set PERLIO to :raw (I guess :unix should also work) before invoking perl, or make perl open the file itself instead of relying on shell redirection, or use the cat trick, or use a binary mount... Since you mentioned perl-5.6.1, setting PERLIO would probably be the best way to approximate the behavior. For more details on PERLIO, see man perlrun. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! The Sun will pass between the Earth and the Moon tonight for a total Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Can Cygwin sshd log to a file? (as opposed to Event Log)
Thank you very much for your help, Brian ( list) -- I was looking in all the wrong places, but got it set up correctly now (through editing the registry entry). Much appreciated, Bob - Original Message - From: Brian Dessent [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, November 03, 2004 9:22 PM Subject: Re: Can Cygwin sshd log to a file? (as opposed to Event Log) RDD wrote: Hello all -- I've modified the Logging section of cygwin\etc\cygserver.conf as follows: # kern.log.syslog: Determines whether logging should go to the syslog, # Default is yes, if stderr is no tty, no otherwise. # Command line option -y, --syslog or -Y, --no-syslog. kern.log.syslog --no-syslog # kern.log.stderr: Determines whether logging should go to stderr, # Default is yes, if stderr is a tty, no otherwise. # Command line option -e, --stderr or -E, --no-stderr. kern.log.stderr no I would like to get the SSH server to log events (failed logins, etc.) to a simple text file, such as sshd.log under cygwin\var\log. Is this possible? Or is this only a 'dummy' file, and Event Log in the only option for logging on Windows (Win2k in this case)? You're barking up the wrong tree here with cygserver.conf. THat is the configuration file for cygserver, which is a helper application to provide shared memory, queues, semaphores, and various other things. See /usr/share/doc/Cygwin/cygserver.README for details. It has absolutely nothing to do with sshd, or running services in general. What you want to do is provide the -e argument to sshd when it starts up. From man sshd: -e When this option is specified, sshd will send the output to the standard error instead of the system log. (In windows, syslog = windows event log) To do this you can either remove the service and reinstall it with the new arguments (both with cygrunsrv) or you can just go into the registry and edit the command line there. Look at the ssh-host-config file for how cygrunsrv is used to install the service, if you want to duplicate its options. Cygrunsrv is the program that allows daemons to run as services, and it will redirect stderr and stdout of the daemon to a file. From cygrunsrv -h: -0, --stdin fileOptional input file used for stdin redirection. Default is /dev/null. -1, --stdout file Optional output file used for stdout redirection. Default is /var/log/svc_name.log. -2, --stderr file Optional output file used for stderr redirection. Default is /var/log/svc_name.log. You will either need to specify -2 to cygrunsrv with the name of the log file you want, or accept the default /var/log/sshd.log. Brian -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
cygwin 1.5.11-1
I've tried installing the latest package with setup. I have downloaded it twice and I've tried two seperate hard disks and I've tried lowering the system speed (i have an old pIII) and setup always hangs at the 97% mark while installing some X11 readme files. I choose the install all option. is there something wrong with this release? pasquale -- Unsubscribe info: 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: Perl binmode problem on text mount
Igor Pechtchanski wrote: On Wed, 3 Nov 2004, Earl Chew wrote: This code used to work on Perl 5.6.1-2 on Cygwin 1.3.10. I've now moved to Perl 5.8.5-3 on Cygwin 1.5.11. Here is the Perl program: binmode STDOUT; print Hello\n; 1. Output to file on text mount perl foo.pl foo.txt ; od -c foo.txt 000 H e l l o \r \n# Perl 5.8.5-3 Cygwin 1.5.11 000 H e l l o \n # Perl 5.6.1-2 Cygwin 1.3.10 [ .. snip .. ] This is expected behavior. Unless you use raw writes (as cat does), the mode of the file (text or binary) is determined *by the program that opens the file*. In the above case, the program is not perl, it's your shell. I think you're telling me that binmode STDOUT has no effect. I find this counterintuitive. Without binmode STDOUT, I can see how your explanation would work. Earl -- Unsubscribe info: 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 readmes??
Mark Stuhr wrote: There's also a file here /usr/share/doc/Cygwin called openssh.README which looked interesting, but it's more of a change history then a how to install (couple of install tips at the end, but doesn't seem comprehensive.) This is it, everything you need to know should be in there. Any other ideas? Run /usr/bin/ssh-host-config and /usr/bin/ssh-user-config. Gerrit -- =^..^= -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Updated: unison-2.10.2-3
A new version of the unison package is available in the Cygwin distribution. Changes in version 2.10.2-3: * Added /usr/share/doc/unison-2.10.2/unison-manual.html. * Patch: don't look in $USERPROFILE for the .unison directory; look only in $UNISON and then $HOME. This is the Unix behavior. * Changed to generic build script method for packaging. * Combined all Cygwin-specific docs (README.Cygwin, NEWS.Cygwin, unison.README) into unison.README. To update your installation, click on the Install Cygwin now link on the http://cygwin.com/ web page. This downloads setup.exe to your system. Then, run setup and answer all of the questions. *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO *** If you want to unsubscribe from the cygwin-announce mailing list, look at the List-Unsubscribe: tag in the email header of this message. Send email to the address specified there. It will be in the format: [EMAIL PROTECTED] If you need more information on unsubscribing, start reading here: http://sources.redhat.com/lists.html#unsubscribe-simple Please read *all* of the information on unsubscribing that is available starting at this URL. Andrew Schulman.
Updated: autossh-1.2g-4
A new version of the autossh package is available in the Cygwin distribution. Changes in version 1.2g-4: * Changed to generic build script method for package building. * Combined all Cygwin-specific docs (README.Cygwin, NEWS.Cygwin, autossh.README) into autossh.README. To update your installation, click on the Install Cygwin now link on the http://cygwin.com/ web page. This downloads setup.exe to your system. Then, run setup and answer all of the questions. *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO *** If you want to unsubscribe from the cygwin-announce mailing list, look at the List-Unsubscribe: tag in the email header of this message. Send email to the address specified there. It will be in the format: [EMAIL PROTECTED] If you need more information on unsubscribing, start reading here: http://sources.redhat.com/lists.html#unsubscribe-simple Please read *all* of the information on unsubscribing that is available starting at this URL. Andrew Schulman.