Re: Multiple installations and 3PPs (FAQ alert)
On Sat, 22 Jan 2005 01:51:38 -0500 (EST), Igor Pechtchanski [EMAIL PROTECTED] wrote: [] | Should we, perhaps, provide a small 'uninstall' script, maybe in | /usr/sbin, that would perform a umount and then use regtool to remove the | registry key? It could even be a .bat, which will enable it to delete all | of Cygwin once the last Cygwin process exits... A postinstall script | could generate it, too, so that it contains explicit paths of the Cygwin | root directory. Something like | | -- BEGIN gen-uninst.sh -- | #!/bin/sh | CYGDIR=`/bin/cygpath -aw /` | cat /usr/sbin/uninstall.bat EOF | $CYGDIR\\umount -s -A | $CYGDIR\\umount -A | copy $CYGDIR\\cygwin1.dll $CYGDIR\\regtool.exe %TEMP% | $CYGDIR\\rm -rf / | del /s $CYGDIR | %TEMP%\\regtool remove /HKLM/Software/Cygnus Solutions | %TEMP%\\regtool remove /HKCU/Software/Cygnus Solutions | del %TEMP%\\cygwin1.dll %TEMP%\\regtool.exe | EOF | --- END gen-uninst.sh --- Looks good to me. But perhaps an option to save the current mount points somewhere would be useful in case the purpose of the uininstall is not removal for it's own sake but removal in order to perform a clean install, with subsequent restoration of the mount points. In other words insert a mount -m command before the first umount. -- davidp / DavidPostill -- Unsubscribe info: 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: stack overflow in cygwin_nt-5.0
On Wed, 10 Nov 2004 11:45:29 -0800 (PST), Yu-Cheng Chou [EMAIL PROTECTED] wrote: | | I have to use large matrices (even larger) in my application. | So, how to do it? C: http://www.eskimo.com/~scs/C-faq/q6.16.html C++: http://www.parashift.com/c++-faq-lite/freestore-mgmt.html#faq-16.15 | | Don't declare huge data structures on the stack. | | Max. | | Hi, | | I declared three double matrices in main function and it caused stack | overflow. | | double a[300][300], |b[300][300], |c[300][300]; | | below is the message of stack overflow: | | Exception: STATUS_STACK_OVERFLOW at eip=00444683 | eax=00013624 ebx=0004 ecx=00032064 edx=00401060 esi=610EF060 | edi=61005A9C | ebp=0022F068 esp=0022F05C program=C:\home\ycchou\upload\matrix.exe, pid | 2376, thread main | cs=001B ds=0023 es=0023 fs=0038 gs= ss=0023 | Stack trace: | Frame Function Args | 0022F068 00444683 (0001, 617816A0, 0A0500A8, 0022F0C0) | 0022F0A8 61005F34 (0022F0C0, , 0022F0A8, 0200) | 0022FF88 6100614B (, , , ) | End of stack trace | | | Any patch for this? davidp / -- David Postill -- Unsubscribe info: 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 typing the letter a
On Wed, 28 Jul 2004 13:33:21 -0700 (PDT), Sid Subr [EMAIL PROTECTED] wrote: | Hi | I am having problem typing the letter a from a | standard USA keyboard. what could be wrong. I have | Cygwin latest version | | any information would be helpful Suggest you give your keyboard a good clean (there is probably a foreign body lodged under the key, which should spring off so you can clean it) or buy a new keyboard (should be only a few $). davidp / -- David Postill -- Unsubscribe info: 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: HLDS and cygwin
On Wed, 20 Aug 2003 09:50:58 -0400, you wrote: | On Wed, Aug 20, 2003 at 01:55:34PM +0100, David Postill wrote: | On Tue, 19 Aug 2003 11:18:42 -0400, you wrote: | | | On Tue, Aug 19, 2003 at 08:21:19AM +0200, J?rg Schaible wrote: | | Hi Russel, | | | | 1) Full install of HLDS, lets call it hlds1 | | 2) Second complete install of HLDS in separate directory, call hlds2 | | | | I have no problem executing the hlds1 or hlds2 by themselves. | | But when I | | try to run both at the same time the 2nd one does not run at all. | | | | Guess, they both install a local cygwin1.dll. This won't work. | | See archives. | | | | OTOH I am asking myself, what kind of license this software is, since | | it obviously is depending on Cygwin. | | | | Anyone have a URL? Google doesn't seem to unearth anything interesting. | | http://www.fileplanet.com/files/5/59236.shtml ?? | | Have you tried downloading from this site? No :( But this one works and is free... ftp://ftp2.gameplanet.co.nz/pub/halflife/hlserver4110.exe davidp / -- David Postill -- Unsubscribe info: 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: rxvt shortcut problem (bash, XP, memory, heap, Win32 error 487)
On Thu, 10 Jul 2003 10:41:20 -0500, you wrote: | What are the contents of your shortcut? | | I point to this batch file: | batch | @echo off | C: | cd \cygwin\bin | rxvt.exe -bg white -fg black -fn Lucida Console-12 -ls -sl 9000 -rv | -geometry 110x49 -sb -si -sk -sr -sw -e bash --login -i | /batch | | Which works fine. I briefly see a command window and then the RXVT term | comes up and the command window disappears. My short cut has the following target: E:\apps\Cygwin\bin\rxvt.exe -geometry 140x68+1+1 -sr -sl 1000 -fn Lucida Console-11 -tn rxvt -n rxvt -ls -e /usr/bin/bash --login -i The advantage is I don't see a command window... davidp / -- David Postill -- Unsubscribe info: 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: System Services in PS
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 29 Mar 2002 16:22:01 -0500, you wrote: | Hi all, | | the ps -W command gives me most of the information I need for running | processes, except it doesn't list system services. I have looked through | the source and it doesn't look it makes any atempts to even go there. Does | anybody know of any utility which does that, which is freely available for | download and re-distribution - or - of any patches to the standard ps | command to list services as well? pslist http://www.sysinternals.com/ntw2k/freeware/pslist.shtml davidp/ - -- David Postill -BEGIN PGP SIGNATURE- Version: PGP 7.0.4 Comment: Get key from europe.keys.pgp.com:11370 iQA/AwUBPLB/5Xxp7q1nhFwUEQLdWgCbB9c4jEzLVu28jhAPMl2pKqV/aZ4AnjTd 8K/bj+OUIUKS90C6DXDZVMqR =0UND -END PGP SIGNATURE- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/