Re: Please upload: docbook-xsl-1.67.2-1
On Sat, Dec 04, 2004 at 11:23:05AM -0500, Christopher Faylor wrote: On Sat, Dec 04, 2004 at 04:58:59PM +0100, Marcel Telka wrote: Please upload new docbook-xsl-1.67.2-1 files: http://telka.sk/cygwin/docbook-xsl/docbook-xsl-1.67.2-1-src.tar.bz2 http://telka.sk/cygwin/docbook-xsl/docbook-xsl-1.67.2-1.tar.bz2 and remove buggy 1.67.1-1 files. Done. Actually, I spoke too soon. I started downloads for both of these and they are now both hung in the background 24+ hours later. Could you put these back up on your server so that I can attempt to re-download them, Marcel? cgf
Re: Please upload: docbook-xsl-1.67.2-1
On Sun, Dec 05, 2004 at 04:11:52PM -0500, Christopher Faylor wrote: On Sat, Dec 04, 2004 at 11:23:05AM -0500, Christopher Faylor wrote: On Sat, Dec 04, 2004 at 04:58:59PM +0100, Marcel Telka wrote: Please upload new docbook-xsl-1.67.2-1 files: http://telka.sk/cygwin/docbook-xsl/docbook-xsl-1.67.2-1-src.tar.bz2 http://telka.sk/cygwin/docbook-xsl/docbook-xsl-1.67.2-1.tar.bz2 and remove buggy 1.67.1-1 files. Done. Actually, I spoke too soon. I started downloads for both of these and they are now both hung in the background 24+ hours later. Could you put these back up on your server so that I can attempt to re-download them, Marcel? Both are back. -- +---+ | Marcel Telka e-mail: [EMAIL PROTECTED] | |homepage: http://telka.sk/ | |jabber: [EMAIL PROTECTED] | +---+
Re: Please upload: docbook-xsl-1.67.2-1
On Sun, Dec 05, 2004 at 11:02:16PM +0100, Marcel Telka wrote: On Sun, Dec 05, 2004 at 04:11:52PM -0500, Christopher Faylor wrote: On Sat, Dec 04, 2004 at 11:23:05AM -0500, Christopher Faylor wrote: On Sat, Dec 04, 2004 at 04:58:59PM +0100, Marcel Telka wrote: Please upload new docbook-xsl-1.67.2-1 files: http://telka.sk/cygwin/docbook-xsl/docbook-xsl-1.67.2-1-src.tar.bz2 http://telka.sk/cygwin/docbook-xsl/docbook-xsl-1.67.2-1.tar.bz2 and remove buggy 1.67.1-1 files. Done. Actually, I spoke too soon. I started downloads for both of these and they are now both hung in the background 24+ hours later. Could you put these back up on your server so that I can attempt to re-download them, Marcel? Both are back. Here are the file sizes. Do they seem right now? -rw-rw-r--1 cyguser cygwin 692330 Dec 5 22:16 docbook-xsl-1.67.2-1.tar.bz2 -rw-rw-r--1 cyguser cygwin1057500 Dec 4 14:04 docbook-xsl-1.67.2-1-src.tar.bz2 cgf
Apache-Cygwin problem
Hi, I know this subject has already been approached many times, but i still haven't found solutions before writing to this list. I've installed apache-1.3.24-4 and apache-php-4.2.0-2 with the cygwin's setup, and some problems seems to appear : -first, the apache-php.sh scipt seems not to have done his job' correctly. So i rebased dlls by myself by typing (new bash, no other processes running) rebaseall -v. It works fine. -Then i type /usr/sbin/apachectl start, which tells me: *** unable to remap C:\cygwin\bin\cygbz21.0.dll to same address as parent(0x66) != 0x67DE /usr/sbin/apachectl start: httpd could not be started so i type : $ rebase -v -d -b 0x6800 -o 0x1 /bin/cygbz21.0.dll /bin/cygbz21.0.dll : new base = 67fd, new size = 3 ...but apachectl still crashes, and sometimes the name of the dll which is impossible to remap changes(cygintl-1.dll, ...) So, what's the problem with apache ? Why don't the rebase commands i type work? I spent a lot of time trying to run apache and it's the only problem i have with cygwin, which is very great!! So if you have any suggestions, or if you could explain me how to install apache+php on cygwin, it would be great! Precisions : uname -a tells me: CYGWIN_NT-5.1 Poseidon 1.5.11(0.116/4/2) 2004-09-04 23:17 i686 Regards, Philippe [EMAIL PROTECTED] Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails ! Créez votre Yahoo! Mail sur http://fr.mail.yahoo.com/ Avec Yahoo! faites un don et soutenez le Téléthon en cliquant sur http://www.telethon.fr/030-Don/10-10_Don.asp
Re: Please upload: docbook-xsl-1.67.2-1
On Sun, Dec 05, 2004 at 05:58:17PM -0500, Christopher Faylor wrote: On Sun, Dec 05, 2004 at 11:02:16PM +0100, Marcel Telka wrote: On Sun, Dec 05, 2004 at 04:11:52PM -0500, Christopher Faylor wrote: On Sat, Dec 04, 2004 at 11:23:05AM -0500, Christopher Faylor wrote: On Sat, Dec 04, 2004 at 04:58:59PM +0100, Marcel Telka wrote: Please upload new docbook-xsl-1.67.2-1 files: http://telka.sk/cygwin/docbook-xsl/docbook-xsl-1.67.2-1-src.tar.bz2 http://telka.sk/cygwin/docbook-xsl/docbook-xsl-1.67.2-1.tar.bz2 and remove buggy 1.67.1-1 files. Done. Actually, I spoke too soon. I started downloads for both of these and they are now both hung in the background 24+ hours later. Could you put these back up on your server so that I can attempt to re-download them, Marcel? Both are back. Here are the file sizes. Do they seem right now? -rw-rw-r--1 cyguser cygwin 692330 Dec 5 22:16 docbook-xsl-1.67.2-1.tar.bz2 -rw-rw-r--1 cyguser cygwin1057500 Dec 4 14:04 docbook-xsl-1.67.2-1-src.tar.bz2 Yes, but timestamp for bin looks bad (it's not a real problem, of course :-): [EMAIL PROTECTED] docbook-xsl]$ ls -l total 1724 -rw-r--r-- 1 marcel marcel 1057500 Dec 4 15:04 docbook-xsl-1.67.2-1-src.tar.bz2 -rw-r--r-- 1 marcel marcel 692330 Dec 4 15:04 docbook-xsl-1.67.2-1.tar.bz2 [EMAIL PROTECTED] docbook-xsl]$ md5sum * 8c58328fb16c909dcf29874679b2e332 docbook-xsl-1.67.2-1-src.tar.bz2 1ec0dbef1b1a6f58ab7622cb52f70701 docbook-xsl-1.67.2-1.tar.bz2 Regards. -- +---+ | Marcel Telka e-mail: [EMAIL PROTECTED] | |homepage: http://telka.sk/ | |jabber: [EMAIL PROTECTED] | +---+
Xfree86 Removed Packages
Dear all, I have installed cygwin but I realised that all Xfree86 package has been removed, I didn't pay to much attention to that considering that X11 was there. But when I type the startx command I only have a black X window coming up, which doesn't seem right, as I had installed it before and it use to be green and white and with multiple windows, this one is just a prompt in black with yellow font. Also I am trying to install ns-2 on this platform and the fact that some of the xfree libraries are not installed seems to be causing problems. How coud I install Xfree separatly from cygwin? Thanks for any help on this. Aisha
Re: Xfree86 Removed Packages
Aicha Said(ACES) wrote: Dear all, I have installed cygwin but I realised that all Xfree86 package has been removed, I didn't pay to much attention to that considering that X11 was there. But when I type the startx command I only have a black X window coming up, which doesn't seem right, as I had installed it before and it use to be green and white and with multiple windows, this one is just a prompt in black with yellow font. Also I am trying to install ns-2 on this platform and the fact that some of the xfree libraries are not installed seems to be causing problems. How coud I install Xfree separatly from cygwin? install the xorg-x11-* packages. Selecting xorg-x11-base and X-startup-scripts should be sufficient NP: VNV Nation - Kingdom -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723
src/winsup/cygwin ChangeLog child_info.h dcrt0 ...
CVSROOT:/cvs/src Module name:src Changes by: [EMAIL PROTECTED] 2004-12-05 19:41:26 Modified files: winsup/cygwin : ChangeLog child_info.h dcrt0.cc fork.cc pinfo.cc pinfo.h sigproc.cc spawn.cc winsup/cygwin/include/sys: cygwin.h Log message: * sigproc.cc (mychild): Reimplement as list scan. (proc_subproc): Don't mess with pinfo if it's myself. * child_info.h (child_info_types): Label enum for _PROC constants. (child_info::child_info): New constructor. (child_info::~child_info): New destructor. (child_info::sync): Declare new function. (child_info_fork::child_info_fork): New constructor. (child_info_spawn::child_info_spawn): Remove old constructor. (child_info_spawn::child_info_spawn): New constructor. * dcrt0.cc (dll_crt0_0): Use correct sizeof when doing sanity check on passed in child_info. Signal readiness to parent when not forking (and not spawning). * fork.cc (sync_with_child): Delete. (resume_child): Remove extra argument. (sync_with_parent): Use child_info method to sync with parent. (fork_child): Don't close fork_info-subproc_ready since that is now handled by the destructor. (fork_parent): Remove subproc_ready stuff. Use child_info sync method for waiting.. Set start time here for child. Rename forked to child. (fork): Check ch.subproc_ready for validity here. * pinfo.h (_pinfo::exec_sendsig): Temp storage for exec stub which may be staying around to handle non-cygwin captive process. (_pinfo::exec_dwProcessId): Ditto. (_pinfo::_lock): Renamed from lock. (_pinfo::lock): New method. (_pinfo::unlock): Ditto. (_pinfo::initialize_lock): Ditto. * pinfo.cc (set_myself): Use initialize_lock method to initialize myself lock. Set exec fields in _pinfo to zero to indicate that we've started successfully. Set start time here when appropriate. (_pinfo::commune_send): Use pinfo lock/unlock methods. (proc_waiter): Remove special case for non-cywin processes. Reinstitute handling for PID_NOCLDSTOP. * sigproc.cc (proc_subproc): Set proper EAGAIN errno when process table is filled. (sig_send): Use exec_* fields from _pinfo for sending signals if the the _pinfo sendsig never materializes. (child_info::child_info): New constructor, renamed from init_child_info. Zeroes child_info structure and sets appropriate fields in structure based on chtype. (child_info::~child_info): New destructor. Closes subproc_ready if it exists. (child_info_fork::child_info_fork): New constructor. (child_info_spawn::child_info_spawn): New constructor. (child_info::ready): New function. Signals parent when child is ready. (child_info::sync): New function. Wait for child to signal us or process to die. (remove_proc): Remove closing of hProcess since this should now be handled shortly after process creation. * spawn.cc (spawn_guts): Use child_info_spawn constructor rather than init_child_info. Save exec_sendsig and exec_dwProcessId in execing _pinfo. Rely on child_info constructor to properly set parent_wr_proc_pipe in ciresrv. Revert to previous determination on whether to start a process in suspended mode. Remove reparenting stuff. Just keep a stub around if starting a non-cygwin process. Patches: http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=srcr1=1.2606r2=1.2607 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/child_info.h.diff?cvsroot=srcr1=1.47r2=1.48 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dcrt0.cc.diff?cvsroot=srcr1=1.224r2=1.225 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fork.cc.diff?cvsroot=srcr1=1.139r2=1.140 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/pinfo.cc.diff?cvsroot=srcr1=1.124r2=1.125 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/pinfo.h.diff?cvsroot=srcr1=1.66r2=1.67 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/sigproc.cc.diff?cvsroot=srcr1=1.203r2=1.204 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/spawn.cc.diff?cvsroot=srcr1=1.155r2=1.156 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/sys/cygwin.h.diff?cvsroot=srcr1=1.55r2=1.56
src/winsup/cygwin ChangeLog cygthread.h pinfo. ...
CVSROOT:/cvs/src Module name:src Changes by: [EMAIL PROTECTED] 2004-12-05 21:29:38 Modified files: winsup/cygwin : ChangeLog cygthread.h pinfo.cc pinfo.h sigproc.cc Log message: * cygthread.cc (cygthread::terminate_thread): Make public. * pinfo.h (pinfo::wait_thread): New element. * pinfo.cc (pinfo::wait): Store handle to started thread in pinfo. * sigproc.cc (proc_terminate): Kill any threads waiting for a process pipe. Patches: http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=srcr1=1.2607r2=1.2608 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/cygthread.h.diff?cvsroot=srcr1=1.22r2=1.23 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/pinfo.cc.diff?cvsroot=srcr1=1.125r2=1.126 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/pinfo.h.diff?cvsroot=srcr1=1.67r2=1.68 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/sigproc.cc.diff?cvsroot=srcr1=1.204r2=1.205
[Patch] fhandler.cc (pust_readahead): end-condition off.
Hi, A real bugfix this time. When fhandler_base::puts_readahead is given a (non -1) len-parameter, in the current implementation, not len characters are stowed, but len z-strings. This affects at least fhandler_pty_master::accept_input in fhandler_tty.cc. Following (trivial, I'd say) patch ought to fix it. ChangeLog-entry: 2004-12-06 Bas van Gompel [EMAIL PROTECTED] * fhandler.cc (fhandler_base::puts_readahead): Fix end-condition. --- src/winsup/cygwin-mmod/fhandler.cc 5 Dec 2004 07:28:27 - 1.209 +++ src/winsup/cygwin-mmod/fhandler.cc 6 Dec 2004 01:14:14 - @@ -54,7 +54,7 @@ int fhandler_base::puts_readahead (const char *s, size_t len) { int success = 1; - while ((*s || (len != (size_t) -1 len--)) + while ((len == (size_t) -1 ? *s : len--) (success = put_readahead (*s++) 0)) continue; return success; L8r, Buzz. -- ) | | ---/ ---/ Yes, this | This message consists of true | I do not -- | | // really is | and false bits entirely.| mail for ) | | //a 72 by 4 +---+ any1 but -- \--| /--- /--- .sigfile. | |perl -pe s.u(z)\1.as.| me. 4^re
How to redirect Segmentation fault (core dumped) to err.txt?
$ cygcheck -c cygwin bash Cygwin Package Information Package VersionStatus bash 2.05b-16 OK cygwin 1.5.11-1 OK $ a 2 err.txt Segmentation fault (core dumped) Why didn't Segmentation fault (core dumped) redirected to err.txt? How to redirect Segmentation fault (core dumped) to err.txt? -- Alex Vinokur email: alex DOT vinokur AT gmail DOT com http://mathforum.org/library/view/10978.html http://sourceforge.net/users/alexvn -- Unsubscribe info: 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: User name with spaces and Cygwin web site suggestion
On Sat, 4 Dec 2004, Pierre A. Humblet wrote: This is strange. Could you send us the output of mkpasswd and indicate both the name you use to log in into Windows and the name returned by id -un I didn't run mkpasswd manually because I have changed the account user name before installing Cygwin and assumed that it would be run by the regular initialization. Isn't that the case? If not, and if I have to run it manually in this case too, it is not clear to me what I have to do. Documents I find for mkpasswd describe it as either printing user information or generating passwords, and it doesn't look like that's what I want to do here. I don't know what parameters to use. The mkpasswd I have installed seems to be useful only for printing /etc/passwd information. Can you help me here? Thanks, Rodrigo -- Unsubscribe info: 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: User name with spaces and Cygwin web site suggestion
On Sun, 5 Dec 2004, Nick Coghlan wrote: Rodrigo de Salvo Braz wrote: id -un, as it is the case with ssh. Did I miss something or renaming the account really doesn't do anything to solve the problem? Did you rename the actual account using the Management Console (Control Panel-Administrative Accounts-Computer Management), or did you change the user name in User Accounts (Control Panel-User Accounts)? The latter doesn't actually rename the account itself - it merely adds a Full Name setting which is displayed by the Windows GUI instead of the actual account name. Thanks. I will try that as soon as I figure out how to run mkpasswd. Meanwhile, it sounds like a good idea to include this bit of info as well as info on mkpasswd in the FAQ. Cheers, Rodrigo -- Unsubscribe info: 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 and XML::Parser
Larry Hall schrieb: At 10:39 PM 12/4/2004, you wrote: I have been having problems installing XML-Parser-2.34.tar.gz, I came across the course of the problem in your mailing archive but it didn't give the solution to the problem. The original error was: cp Parser/Encodings/iso-8859-5.enc blib/lib/XML/Parser/Encodings/iso-8859-5.enc Syntax error: Unterminated quoted string The email I found was: To: Cygwin List Date: Tue, 06 Jul 2004 09:35:56 +0300 Subject: Re: PERL and XML::Parser It said the problem was: It appears that Visual Studio .NET environment variable LIB produced invalid output in Makefile. If any one could give me a detailed solution to this problem it would be greatly appreciated, I'm new to cygwin so please keep it simple. How about adding: SET LIB= to your Cygwin.bat? While you're at it, you might as well add SET INCLUDE= too. And then please install force XML::Parser and its prerequisites again. -- 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: PERL and XML::Parser
Trevor McAlister wrote: Hi I have been having problems installing XML-Parser-2.34.tar.gz, I came across the course of the problem in your mailing archive but it didn't give the solution to the problem. XML::Parser is already included in the Cygwin Perl tarball. 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/
Autotools wrapper problem and fix
I'm having trouble invoking the wrapper scripts for aclocal. Here's my session log... --- [EMAIL PROTECTED] ~/MyApp $ aclocal --force aclocal: invalid option --force Try `aclocal --help' for more information. [EMAIL PROTECTED] ~/MyApp $ aclocal --version aclocal (GNU automake) 1.9.2 ...rest ellided... [EMAIL PROTECTED] ~/MyApp $ cat configure.ac | grep AC_PREREQ AC_PREREQ(2.59) [EMAIL PROTECTED] ~/MyApp $ /usr/autotool/devel/bin/aclocal --version aclocal (GNU automake) 1.9.2 ...rest ellided... [EMAIL PROTECTED] ~/MyApp $ /usr/autotool/devel/bin/aclocal --force /usr/share/aclocal/pkg.m4:5: warning: underquoted definition of PKG_CHECK_MODULES run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending-aclocal /usr/share/aclocal/libsmi.m4:8: warning: underquoted definition of AM_PATH_LIBSMI /usr/share/aclocal/libmcrypt.m4:17: warning: underquoted definition of AM_PATH_LIBMCRYPT /usr/share/aclocal/libgcrypt.m4:23: warning: underquoted definition of AM_PATH_LIBGCRYPT /usr/share/aclocal/freetype2.m4:7: warning: underquoted definition of AC_CHECK_FT2 /usr/share/aclocal/cppunit.m4:4: warning: underquoted definition of AM_PATH_CPPUNIT [EMAIL PROTECTED] ~/MyApp $ env | grep ^PATH= PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/lib/subversion/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/c/Perl/bin/:/c/bin:/c/apps/apache-ant-1.6.0/bin:/c/apps/ruby/bin:/c/Program Files/Borland/BDS/1.0/Bin:/c/WINDOWS/SYSTEM32:/c/WINDOWS:/c/WINDOWS/SYSTEM32/WBEM:/c/apps/BCC55/Bin:/c/PROGRAM FILES/BORLAND/CBUILDER3/BIN:/c/j2sdk1.4.1/bin:/c/Program Files/doxygen/bin:/c/apps/Python23:/c/Program Files/Subversion/bin:/c/PROGRA~1/ATT/Graphviz/bin/tools [EMAIL PROTECTED] ~/MyApp $ cygcheck -c | grep auto autoconf2.59-1 OK autoconf-devel 2.59-1 OK autoconf-stable 2.13-5 OK automake1.7.9-1 OK automake-devel 1.9.2-1 OK automake-stable 1.4p6-2 OK --- Is this because the automake wrapper version is at 1.7.9 and devel is at 1.9.2? Anyway here's the patch I applied to fix it. - [EMAIL PROTECTED] /usr/bin $ diff -ur aclocal-orig aclocal --- aclocal-orig2003-12-02 02:47:03.00100 -0500 +++ aclocal 2004-12-05 07:17:27.042500800 -0500 @@ -34,6 +34,11 @@ shift ;; +--force | -f ) + opt_force=--force + shift ;; + + --help | -h ) opt_help=--help shift ;; -- -- Unsubscribe info: 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: Environment variables system privilages
Thanks. This works well enough. But I take it there is no universal command to check for system permissions. The procedure is just try a command that needs system privilages and watch the exit status. Also for the benefit of anyone reading this thread - there was an error in my original post. I dropped the Environment key from the registry path for setting system environment variables. It should have read. regtool set -s 'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\FOO' 'BAR' Jason Igor Pechtchanski wrote: On Sat, 4 Dec 2004, Jason Pearce wrote: I have two seemingly simple questions that I just can't find the answers to. Any assistance would be appreciated 1. What's the right way to add add environment variables into the user and system maps? Currently I am using regtool to manipulate the registry. For instance to set an environment variable FOO=BAR I do: regtool set -s '\HKEY_CURRENT_USER\Environment\FOO' 'BAR' or regtool set -s 'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\FOO' 'BAR' The first form places it in the user's map, the second in the system map. But will this work across patform? Is there a more preferred method? Well, that's probably the best you could hope for, if you want system-wide settings. I'm not aware of any other command-line tool that would set these. If you only want to set environment variables for Cygwin shells, you might want to edit /cygwin.bat instead. 2. How can I test whether my script is running with system privilages? ie I want to write a script that installs a mount and sets and environment variable. If the script is running with system privilages I want to make the change system wide. Otherwise, in the user's profile. Why not try mounting with system privileges first? 'mount' will fail if it's unable to set mounts, and you can fall back on user mounts. In other words: #!/bin/sh if mount -tfs d:/projects /projects; then regtool set -s 'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\FOO' 'BAR' else # User ony mount -tfu d:/projects /projects regtool set -s '\HKEY_CURRENT_USER\Environment\FOO' 'BAR' fi #!/bin/sh if [ ??? ] then # Sytem wide mount -tfs d:/projects /projects regtool set -s 'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\FOO' 'BAR' else # User ony mount -tfu d:/projects /projects regtool set -s '\HKEY_CURRENT_USER\Environment\FOO' 'BAR' fi What do I put in place of the ?? HTH, Igor -- Unsubscribe info: 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: [Bug Cygwin Applications/575] Unknown HZ value! message from procps commands
[please, let's keep the discussion on the list] dr dot volker dot zell at oracle dot com schrieb: --- Additional Comments From dr dot volker dot zell at oracle dot com 2004-12-04 16:40 --- (In reply to comment #3) This is known problem with multiple processors. Workaround: Disabeling hyperthreading or - in case you're on a real multiprocessor system - using the /NUMPROC=1 switch for booting up windows might have the desired effect. See the thread at http://cygwin.com/ml/cygwin/2004-03/msg01110.html I get this too, on a single processor machine with W2k SP4 Interesting. For which cmdline exactly? cygcheck -s -v -r cygcheck.out also please, since this is the first time I heard it on a SMP. In both cases what is the actual value of HZ you are seeing? 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/
Another autotools wrapper problem and fix
Okay this one is picking at gnits, but autoheader 1.9 will always issue a warning message when you ask it to produce warning message because the authoheader wrapper passes --warning= and -W as --warning=,blah,blah and -W,blah,blah instead of --warning=blah,blah and -Wblah,blah. Here's another patch. I think this works. $ diff -ru autoheader-orig autoheader --- autoheader-orig 2003-12-02 01:21:50.00100 -0500 +++ autoheader 2004-12-05 09:28:10.570940800 -0500 @@ -115,12 +115,14 @@ --warnings=* | -W?* ) - warnings=$warnings,$optarg + test $warnings warnings=$warnings,$optarg + test -z $warnings warnings=$optarg shift ;; --warnings | -W ) test $# = 1 eval $exit_missing_arg shift - warnings=$warnings,$1 + test $warnings warnings=$warnings,$1 + test -z $warnings warnings=$1 shift ;; -- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
short fread(), but no ferror/feof
I've discovered that fread(ptr, size, nitems, stream) sometimes returns a value less than nitems, but does not set feof() nor ferror(). As I understand, this is incorrect: All fread() documentation I've found confirms this. For example, IEEE Std 1003.1 says: Upon successful completion, fread() shall return the number of elements successfully read which is less than nitems only if a read error or end-of-file is encountered. I've only noticed the problem when using fread() on a pipe, and when setting a (another) file descriptor in the same application in close-on-exec mode. The details are on http://python.org/sf/1071516. I've been using the latest Cygwin (as of 2004-12-04) on Windows 98. To me, this looks like a Cygwin bug. Any ideas? /Peter Åstrand [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: Problem running windows application, using ssh command on remote unix session
Henri Irla wrote: *Situation: -Windows XP machine with cygwin and ssh installed ( new cygwin version) -Unix machine launch windows command using local or remote ssh -correct Mount point on cygwin machine (/sophos) located on unix machine -Windows command ( /sophos/setup.exe -IN -INL -update ) : no windows display, no interactive, automated process -all machine are LAN connected, no FW *Result: -Correct execution on any cygwin terminal in windows machine ccommand passed with ssh remote ( Unix or Windows remote) correct but sophos command not executed ! Any one has any idea ? How can i trap errors or log for windows command on Windows machine ? Regards It's right now; UID of PID is origin of problem. In fact ssh unix client, connect to uid login for sophos in windows , witch connect himself trough samba on Unix server. It d'ont inherit in this case (via cigwin) of the real unix uid ( and process PID uid in this case is guest uid of samba (nobody) CQFD. I have modified samba config and put correct quest account . from my point of view, i d'ont understand why via remote connection ownership, d'ont are carried totaly to client via cygwin ( there is not heritance in this case ) regards Henri -- Unsubscribe info: 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: short fread(), but no ferror/feof
On Sun, Dec 05, 2004 at 05:17:46PM +0100, Peter ?strand wrote: I've discovered that fread(ptr, size, nitems, stream) sometimes returns a value less than nitems, but does not set feof() nor ferror(). As I understand, this is incorrect: All fread() documentation I've found confirms this. For example, IEEE Std 1003.1 says: Upon successful completion, fread() shall return the number of elements successfully read which is less than nitems only if a read error or end-of-file is encountered. I've only noticed the problem when using fread() on a pipe, and when setting a (another) file descriptor in the same application in close-on-exec mode. The details are on http://python.org/sf/1071516. I've been using the latest Cygwin (as of 2004-12-04) on Windows 98. To me, this looks like a Cygwin bug. Any ideas? A simple, compilable test case with results shown on both linux and cygwin would prove your theory. 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: Suggestions
On Fri, 3 Dec 2004, Rodrigo de Salvo Braz wrote: Hi, Is there some more specific place in which to give suggestions or feedback about the Cygwin pages? Nope. -- 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/
Cygwin FIFO does not see EOF (NT4sp6, DLL 1.5.11)
It appears to me that pipe (FIFO) readers don't get the same indication of EOF in Cygwin that they do in Linux. The following Korn script works as I think it should with Linux: at startup it shows that the FIFO doesn't exist and there's no cat running; then it prints the test text; then it shows that the FIFO and the cat go away. With Cygwin, the cat never finishes, even though nobody has the pipe open for writing. Experimentation by running the echo and cat manually (in separate shells and windows) lead me to think that the cat simply never sees EOF on the pipe. There are no error messages, but the cat doesn't terminate. I've tried this on Samba-mounted ext2 drives and local (native NTFS) drives in the Cygwin environment but it always behaves the same way (i.e., I think it's unlikely to be Samba- or NFS-related). A cygcheck log is attached. To see the phenomenon: -- #!/bin/ksh ls -l fifo ps mkfifo fifo echo 'Text sent via pipe' fifo sleep 30 cat fifo ls -l fifo rm fifo ls -l fifo ps -- -- GPG public key [EMAIL PROTECTED] available from public key server network or from www.blorch.org/bob Fingerprint BA4A 552C BE3D 8C40 ED76 F372 DF9E 320D 37FA 16AC -- Unsubscribe info: 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: Suggestions
-Original Message- From: cygwin-owner On Behalf Of Brian Ford Sent: 05 December 2004 20:53 To: Rodrigo de Salvo Braz Cc: cygwin Subject: Re: Suggestions On Fri, 3 Dec 2004, Rodrigo de Salvo Braz wrote: Hi, Is there some more specific place in which to give suggestions or feedback about the Cygwin pages? Nope. Yes, there is! But first you gotta get a href=http://cygwin.com/acronyms#WJM;mean!/href[*] And then you gotta get up, you got to get up out of your chair, and go to the window. Open it, and stick your head out, and yell, I'm mad as hell, and I'm not going to take Cygwin any more! cheers, DaveK [*] Sigh. All my funniest posts get barfed by the list's spam filters because they mistake them for HTML. -- 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: Cygwin FIFO does not see EOF (NT4sp6, DLL 1.5.11)
-Original Message- From: cygwin-owner On Behalf Of Peter Åstrand Sent: 05 December 2004 16:18 To: cygwin Subject: short fread(), but no ferror/feof I've discovered that fread(ptr, size, nitems, stream) sometimes returns a value less than nitems, but does not set feof() nor ferror(). -Original Message- From: cygwin-owner On Behalf Of Bob Smart Sent: 05 December 2004 20:56 To: cygwin Subject: Cygwin FIFO does not see EOF (NT4sp6, DLL 1.5.11) It appears to me that pipe (FIFO) readers don't get the same indication of EOF in Cygwin that they do in Linux. The following Korn script works as I think it should with Linux: at startup it shows that the FIFO doesn't exist and there's no cat running; then it prints the test text; then it shows that the FIFO and the cat go away. With Cygwin, the cat never finishes, even though nobody has the pipe open for writing. Experimentation by running the echo and cat manually (in separate shells and windows) lead me to think that the cat simply never sees EOF on the pipe. LOL! It's a conspiracy I tell ya! 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/
commands not found
First I'd like to say that I am sorry for having to ask this. But I have searched the site, read the faqs and documentation, and poked around the directory structure and I am still at a loss. Basically I just can't use any of the commands. 'cd' and 'pwd' seem to work, but 'ls' and even 'man' don't. Most things that I want to use I am told that the command is not found. I can go to the /bin direcotry and type ./ls, and it works. So I guess that maybe my path is not right. The path in the /usr/etc/default/etc/profile is sufficient. And this is the only place that I can find the .bashrc files and such. What do I need to do? And why would this functionality not be there from the beginning. It shouldn't be this hard to make this work. I must be doing something stupid. Thanks in advance -- Unsubscribe info: 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: commands not found
At 07:51 PM 12/5/2004, you wrote: First I'd like to say that I am sorry for having to ask this. But I have searched the site, read the faqs and documentation, and poked around the directory structure and I am still at a loss. Basically I just can't use any of the commands. 'cd' and 'pwd' seem to work, but 'ls' and even 'man' don't. Most things that I want to use I am told that the command is not found. I can go to the /bin direcotry and type ./ls, and it works. So I guess that maybe my path is not right. The path in the /usr/etc/default/etc/profile is sufficient. And this is the only place that I can find the .bashrc files and such. What do I need to do? And why would this functionality not be there from the beginning. It shouldn't be this hard to make this work. I must be doing something stupid. Thanks in advance Start here: Problem reports: http://cygwin.com/problems.html -- 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: User name with spaces and Cygwin web site suggestion
At 01:25 PM 12/5/2004 -0600, Rodrigo de Salvo Braz wrote: On Sun, 5 Dec 2004, Pierre A. Humblet wrote: Just type mkpasswd -l (assuming you are a local user) and send the output together with the name you use to login into Windows and the name reported by id -un. Thanks. Here it is: $ mkpasswd -l snip Rodrigo Braz:unused_by_nt/2000/xp:1006:513:Rodrigo,U-RODRIGONOTEBOOK\Rodrigo Braz,S-1-5-21-3615762775-3924064129-568730901-1006:/home/Rodrigo Braz:/bin/bash The Windows login name is Rodrigo Braz, although now it changed to Rodrigo on the screen (but looks like it is a superficial change). If the Windows login name is still Rodrigo Braz, that means that you have not changed it. Have looked into Nick Coghlan's suggestion? The cygwin page mentions running mkpassswd in a way that does change the system, what is this way? mkpasswd -l /etc/passwd Cygwin relies on /etc/passwd for things such as id -un mkpasswd is a program that essentially dumps the Windows user database into a Unix like format. For example your Windows login name appears just after U-RODRIGONOTEBOOK\ above, while your name appears just before. So you should do what the faq says. Either change your Windows login name to something without space and run mkpasswd -l /etc/passwd or edit /etc/passwd and change the name (first field) in your record. You may also want to change your home directory (next to last field). 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/
more Cygwin
Emmett, I enjoyed reading your article Comparing Cygwin and MKS Toolkit at http://www.unixreview.com/documents/s=8989/ur0408i/ and have a couple comments. First, 'more' actually is available for Cygwin (I did a quick port a long time ago), it's just not installed by default. Look for it Text category in the Cygwin setup.exe package chooser. As for the default shell, I agree that changing it to pdksh or zsh isn't as easy as it could be. I'd also like to mention that while Cygwin is free (as in both no price and freedom), like other open source projects the developers are also users who are building their own skills and having fun. So in that sense I like Neal Stephenson's analogy that open source is like car enthusiasts. Sure, you can get a free car out of the deal, but the real point is that enthusiasts like to build cars and find the thought of a poorly built one ludicrous. Anyway, thanks for your positive remarks about Cygwin, Joshua Daniel Franklin p.s. I haven't used it, but if you ever do another comparison you might include UWIN, which I believe does use ksh by default: http://www.research.att.com/sw/tools/uwin/ -- Unsubscribe info: 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: What depends on less and what man depends on.
On Sun, 5 Dec 2004 08:13:34 +0100 (MET), Bas van Gompel wrote: Sometimes one wants to know what depends on a package or vice versa. To find out, using the local setup.inis, I wrote following script. It uses make to recursively find and display all dependencies in either direction. Buzz, These scripts you've made seem both cool and useful to me. It would be even better if we had this functionality in some of the cygwin utils, though, like cygcheck. Any interest in that? I'm also thinking maybe setup.exe should store the latest known good setup.ini as /etc/setup/setup.ini or something like that. -- Unsubscribe info: 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: commands not found
Thanks, but like I said I've been there. I've been everywhere and read it all for hours before I posted this. Frustration. At 07:51 PM 12/5/2004, you wrote: First I'd like to say that I am sorry for having to ask this. But I have searched the site, read the faqs and documentation, and poked around the directory structure and I am still at a loss. Basically I just can't use any of the commands. 'cd' and 'pwd' seem to work, but 'ls' and even 'man' don't. Most things that I want to use I am told that the command is not found. I can go to the /bin direcotry and type ./ls, and it works. So I guess that maybe my path is not right. The path in the /usr/etc/default/etc/profile is sufficient. And this is the only place that I can find the .bashrc files and such. What do I need to do? And why would this functionality not be there from the beginning. It shouldn't be this hard to make this work. I must be doing something stupid. Thanks in advance Start here: Problem reports: http://cygwin.com/problems.html -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 ---BeginMessage--- At 07:51 PM 12/5/2004, you wrote: First I'd like to say that I am sorry for having to ask this. But I have searched the site, read the faqs and documentation, and poked around the directory structure and I am still at a loss. Basically I just can't use any of the commands. 'cd' and 'pwd' seem to work, but 'ls' and even 'man' don't. Most things that I want to use I am told that the command is not found. I can go to the /bin direcotry and type ./ls, and it works. So I guess that maybe my path is not right. The path in the /usr/etc/default/etc/profile is sufficient. And this is the only place that I can find the .bashrc files and such. What do I need to do? And why would this functionality not be there from the beginning. It shouldn't be this hard to make this work. I must be doing something stupid. Thanks in advance Start here: Problem reports: http://cygwin.com/problems.html -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 ---End Message--- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: commands not found
At 10:56 PM 12/5/2004, you wrote: Thanks, but like I said I've been there. I've been everywhere and read it all for hours before I posted this. Frustration. snip Start here: Problem reports: http://cygwin.com/problems.html Then you missed a very important point. I can think of several reasons or things to check and try but there's no sense in having me or somebody else on this list take wild shots in the dark when a little specific information from you would narrow the field considerably. You need to reread carefully what's on this page, particularly the parts that recommend providing specific information that demonstrates your problems and to also provide basic configuration information (cygcheck output). Please reread the page again with an eye toward these areas and post the requested information. Then someone might have a very good suggestion for you. I'm certain you've spent a good amount of time trying to track this down yourself, using the available resources. It's appreciated. We just need you to take some time to let the frustration of your previous attempt(s) subside some and come back to the problem with a fresh start. :-) Also, please don't quote headers and such in your responses. We highly discourage those actions since they only feed the spammers. They're fat enough already. -- 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: User name with spaces and Cygwin web site suggestion
On Sun, 5 Dec 2004, Pierre A. Humblet wrote: So you should do what the faq says. Thanks for the clarifications, Pierre, they will solve my problem. But one of the motivations of my original post was that I thought I had done what the faq says. I suggest it gets clarified; it says: You can rename the user in the Windows User Manager GUI. I interpreted this to mean to go to Control Panel-User Accounts-Rename, and did it. I think many users will do the same. Also, as Coughlan pointed out, the real renaming may break many things and it may be good to alert users to that. Also, the FAQ says: run mkpasswd, without giving the info you gave me above which is essential. Thanks again, Rodrigo -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Dear Sir,
Dear Sir, Thanks for your mail, we will contact you shortly. Regards and best wishes, Rajeev T Shandilya meet-asia.com [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/