How to write to shared memory?

2010-10-19 Thread Cameron, Barrett
Hi, I have a bash loop which I have significantly sped up by using: for ((i=0;i<=Z;i++)); do echo $i; done instead of other format for loops as well as using internal math like: NEWX=$(($EAST+$DX)) Instead of let or expr. This process is now heaps faster but I want to echo the data to a file bu

Re: Sending signals to a subprocess

2010-10-19 Thread Andy Koppe
On 20 October 2010 04:17, Ken Brown wrote: > Emacs creates a subprocess that runs an interactive bash shell.  Emacs wants > to get the PGID of the foreground process group associated to the tty of > this shell, and it does this on Linux via TIOCGPGRP (or equally well > tcgetpgrp).  I think it uses

Re: Sending signals to a subprocess

2010-10-19 Thread Christopher Faylor
On Tue, Oct 19, 2010 at 11:17:39PM -0400, Ken Brown wrote: >On 10/19/2010 10:15 AM, Christopher Faylor wrote: >I would like to create a STC that would let me investigate this further, >but I don't know enough programming to do it. It ought to be completely >trivial. Here's what happens: > >Emacs

Re: Where to get source for setup.exe?

2010-10-19 Thread Christopher Faylor
On Wed, Oct 20, 2010 at 11:20:29AM +0800, Pan ruochen wrote: >Where can I get the source package for the latest setup.exe. I used to >implement a package filter on version 2.573.2.3. But now the old >version of setup gets errors during installation. And I still want to >apply filtering on setup.

Where to get source for setup.exe?

2010-10-19 Thread Pan ruochen
Hi All, Where can I get the source package for the latest setup.exe. I used to implement a package filter on version 2.573.2.3. But now the old version of setup gets errors during installation. And I still want to apply filtering on setup. PRC Oct 20,2010 -- Problem reports: http://cygwin.

Re: Sending signals to a subprocess

2010-10-19 Thread Ken Brown
On 10/19/2010 10:15 AM, Christopher Faylor wrote: On Tue, Oct 19, 2010 at 09:32:34AM -0400, Ken Brown wrote: On 10/18/2010 4:18 PM, Christopher Faylor wrote: On Mon, Oct 18, 2010 at 03:40:21PM -0400, Ken Brown wrote: On 10/18/2010 2:34 PM, Christopher Faylor wrote: On Sat, Oct 16, 2010 at 02:

[ANNOUNCEMENT] Updated: cygport-0.10.1-1

2010-10-19 Thread Yaakov (Cygwin/X)
The following package has been updated for the Cygwin distribution: *** cygport-0.10.1-1 This is a bug-fix release with the following improvements: * More fixes for cross-compiling scenarios. * More refinements for automatic exclusion rules. * Better detection of OCaml bytecode during postinstal

Re: Re: can't compile opengl using w32api with gcc

2010-10-19 Thread chm
On 2:59 PM, André Bleau wrote: Your problem is the consequence of the libGL-devel package (Mesa GL) taking over /usr/include/GL in 2008. If you want native GL, you need to install the opengl package, and compile with -I/usr/include/opengl , as stated in /usr/share/doc/opengl-1.1.0/README.txt .

umounting drives

2010-10-19 Thread Axel Bender
Is there any possibility to umount a drive letter the UNIX way in Cygwin 1.7.7.1? Whenever I umount a drive, it reappears with parameters different from the ones in /etc/fstab. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentati

Re: missing dep ecj1.exe 4.5.0 -> libgcj11

2010-10-19 Thread Yaakov (Cygwin/X)
On Tue, 2010-10-19 at 22:57 +0200, Samuel Thibault wrote: > I installed version 4.5.0 of gcc4-java, and there seems to be a missing > dependency on libgcj11, as that one didn't get installed, and running > gcj brings > > /usr/lib/gcc/i686-pc-cygwin/4.5.0/ecj1.exe: error while loading shared > libr

Re: Bash problems, strace, performance, etc.

2010-10-19 Thread Lee D. Rothstein
On 10/19/2010 5:46 PM, Lee D. Rothstein wrote: I'm confused. Something is wrong with my Cygwin configuration that has slowed Cygwin operation down drastically. The performance issue follows several problems with 'bash' that occurred while running nested scripts. The residual effect is slow perf

Re: Win7 64bit, why so slow?

2010-10-19 Thread Gerrit P. Haase
On 19 October 2010 22:56, Gerrit P. Haase wrote: > Norton Security is running, this may well be a problem, I'll try to > disable this for now. Yes, much better now, seems to run very much faster now without Norton running... I guess I need to trash it. G. -- Problem reports: http://cygwi

[ANNOUNCEMENT] New package: enchant-1.6.0-1

2010-10-19 Thread Yaakov (Cygwin/X)
The following packages have been added to the Cygwin distribution: *** enchant-1.6.0-1 *** libenchant1-1.6.0-1 *** libenchant-devel-1.6.0-1 Enchant provides an extensible abstraction for various spell checking libraries. This release includes support for Aspell, Ispell, and Myspell dictionaries.

missing dep ecj1.exe 4.5.0 -> libgcj11

2010-10-19 Thread Samuel Thibault
Hello, I installed version 4.5.0 of gcc4-java, and there seems to be a missing dependency on libgcj11, as that one didn't get installed, and running gcj brings /usr/lib/gcc/i686-pc-cygwin/4.5.0/ecj1.exe: error while loading shared libraries: cyggcj-11.dll: cannot open shared object file: No such

Re: Win7 64bit, why so slow?

2010-10-19 Thread Gerrit P. Haase
Hi Reini, > I have a similar laptop here. Ultrafast new Win7 laptop with latest cygwin, > but 32bit only. > cygwin is slower than on XP but not THAT slow. > 64bit is reported to be slower but not THAT slow. But it is that slow here, make on xmlroff-0.62 is still running now after 17 hours ;) >

Re: Win7 64bit, why so slow?

2010-10-19 Thread Gerrit P. Haase
On 19 October 2010 22:18, Steve Thompson wrote: > On Tue, 19 Oct 2010, Gerrit P. Haase wrote: > >> anyone can tell me how long it lasts to build xmlroff on Linux? > > On my CentOS 5.5 system, x86_64 dual quad cores at 2.33 GHz, SATA, it takes: > >        configure       11 seconds elapsed >      

Re: Win7 64bit, why so slow?

2010-10-19 Thread Gerrit P. Haase
On 19 October 2010 22:04, Edward Lam wrote: > On 10/19/2010 3:30 PM, Gerrit P. Haase wrote: >> >> I don't get it.  What is the problem?  What can I do?  Where to look >> first? How to fix this disagreeableness? > > This is probably the same problem as tracked down previously: >    http://cygwin.co

Re: Win7 64bit, why so slow?

2010-10-19 Thread Steve Thompson
On Tue, 19 Oct 2010, Gerrit P. Haase wrote: anyone can tell me how long it lasts to build xmlroff on Linux? On my CentOS 5.5 system, x86_64 dual quad cores at 2.33 GHz, SATA, it takes: configure 11 seconds elapsed make -j488 seconds elapsed (248 sec CPU) for x

Re: Win7 64bit, why so slow?

2010-10-19 Thread Edward Lam
On 10/19/2010 3:30 PM, Gerrit P. Haase wrote: I don't get it. What is the problem? What can I do? Where to look first? How to fix this disagreeableness? This is probably the same problem as tracked down previously: http://cygwin.com/ml/cygwin/2010-08/msg00964.html This is the last I hea

Re: Win7 64bit, why so slow?

2010-10-19 Thread Reini Urban
2010/10/19 Gerrit P. Haase: > Yes, again... > > Please help me, I have a new laptop, the fastest piece of hardware I > ever owned, and now I am s disappointed because everything on > Cygwin is slower than I have ever experienced before.  I have compiled > a lot of packages, some maybe remember

Win7 64bit, why so slow?

2010-10-19 Thread Gerrit P. Haase
Yes, again... Please help me, I have a new laptop, the fastest piece of hardware I ever owned, and now I am s disappointed because everything on Cygwin is slower than I have ever experienced before. I have compiled a lot of packages, some maybe remember my name, I was Perl maintainer and also

Re: OpenGL under Cygwin with GtkGlExt

2010-10-19 Thread Stedy
libgl and libglu seem to be installed correctly.. I can compile with those libs at gcc.. So there really maybe a problem with the configure script. Can I maybe download the GtkGlExt lib as binaries? I just found the sources.. -- View this message in context: http://old.nabble.com/OpenGL-under

Re: peflags and STATUS_ACCESS_VIOLATION

2010-10-19 Thread Eric Blake
On 10/19/2010 12:16 PM, Hadi Hadizadeh wrote: Dear All, I compiled a program under the latest version of Cygwin (1.7.7). But when I run my executable file, I get a STATUS_ACCESS_VIOLATION exception. Are you sure your code isn't buggy? That's usually the sign of a NULL dereference or other

peflags and STATUS_ACCESS_VIOLATION

2010-10-19 Thread Hadi Hadizadeh
Dear All, I compiled a program under the latest version of Cygwin (1.7.7). But when I run my executable file, I get a STATUS_ACCESS_VIOLATION exception. I tried "peflags --tsaware=true myprogram.exe" and even "peflagsall" (in ash) but none of them could solve the problem. Does anybody know how

Re: OpenGL under Cygwin with GtkGlExt

2010-10-19 Thread Yaakov (Cygwin/X)
On Tue, 2010-10-19 at 09:39 -0700, Stedy wrote: > Yes, Im using X11.. As you must, since our GTK+ is also X11. > In the meanwhile I've installed every GL package I found at Cygwin setup > incl. libGL-devel and libGL1 but I still get the error :-/ Building GtkGLExt also requires libGLU-devel, and

Re: OpenGL under Cygwin with GtkGlExt

2010-10-19 Thread André Bleau
Stedy wrote: > Hi AndrÃ, > > Yes, Im using X11.. > In the meanwhile I've installed every GL package I found at Cygwin setup > incl. libGL-devel and libGL1 but I still get the error :-/ > do I have to manual install this libs? > I just run cygwin setup process If you have installed the packa

Re: OpenGL under Cygwin with GtkGlExt

2010-10-19 Thread Stedy
Hi André, Yes, Im using X11.. In the meanwhile I've installed every GL package I found at Cygwin setup incl. libGL-devel and libGL1 but I still get the error :-/ do I have to manual install this libs? I just run cygwin setup process -- View this message in context: http://old.nabble.com/OpenGL-

Re: OpenGL under Cygwin with GtkGlExt

2010-10-19 Thread André Bleau
Stedy wrote: > Hi, Hi Stedy, > > I'm using Cygwin under Windows Vista and have installed the OpenGL Libs at > Cygwin setup. > > Now im trying to configure GtkGlExt (with ./configure). But I get a message > "GL not installed".. Are you configuring to use OpenGL in an X11 window? If yes,

Re: side effects after installing gcc-3.4.4.999

2010-10-19 Thread Afflictedd2
I've got a simple solution that I am not sure if it has been mentioned here. take the link g++, and rename it g++.bak and make a copy of the g++ you want to use g++-3 or 4 and rename it g++ No more access denied problem. Ted Akakima wrote: > > After updating gcc in my cygwin installation, i

Re: Sending signals to a subprocess

2010-10-19 Thread Christopher Faylor
On Tue, Oct 19, 2010 at 09:32:34AM -0400, Ken Brown wrote: >On 10/18/2010 4:18 PM, Christopher Faylor wrote: >> On Mon, Oct 18, 2010 at 03:40:21PM -0400, Ken Brown wrote: >>> On 10/18/2010 2:34 PM, Christopher Faylor wrote: On Sat, Oct 16, 2010 at 02:06:56PM -0400, Ken Brown wrote: > On 10

Re: Sending signals to a subprocess

2010-10-19 Thread Ken Brown
On 10/18/2010 4:18 PM, Christopher Faylor wrote: On Mon, Oct 18, 2010 at 03:40:21PM -0400, Ken Brown wrote: On 10/18/2010 2:34 PM, Christopher Faylor wrote: On Sat, Oct 16, 2010 at 02:06:56PM -0400, Ken Brown wrote: On 10/16/2010 1:17 PM, Ken Brown wrote: I could use some help fixing a longst

OpenGL under Cygwin with GtkGlExt

2010-10-19 Thread Stedy
Hi, I'm using Cygwin under Windows Vista and have installed the OpenGL Libs at Cygwin setup. Now im trying to configure GtkGlExt (with ./configure). But I get a message "GL not installed".. Can you help me? Regards -- View this message in context: http://old.nabble.com/OpenGL-under-Cygwin-wi

Re: gfortran 4.3.4: NINT() intrinsic triggers undefined references to '_llround' and '_llroundf'

2010-10-19 Thread Marco Atzeri
--- Mar 19/10/10, Cornelis de Gier ha scritto: > Data: Martedì 19 ottobre 2010, 12:54 > 2010/10/18 Marco Atzeri : > > > next cygwin release/snapshot will solve it. > > > > http://cygwin.com/ml/cygwin-patches/2010-q4/msg5.html > > > > $ gfortran -Wall testninit.f90 -o testninit > > > > $ ./te

Unusual comments from the setup routine

2010-10-19 Thread Gregg Levine
Hello! For reasons that need not concern us here I needed to reinstall Cygwin. After running setup (again) to remove a package I know I do not need, I saw this on the last screen provided by the program: "Package: No package boxes.sh exit code 2 exim.sh exit code 1 mined.sh

[ANNOUNCEMENT] Updated: ocaml-3.12.0-4

2010-10-19 Thread Damien Doligez
Version 3.12.0-4 of ocaml has been uploaded. OCaml is a functional programming language with imperative features, objects, and modules. This update splits the package into the base system and the camlp4 subsystem, and adds packages for the emacs mode and the (optional) compiler libraries. -- D

Re: gfortran 4.3.4: NINT() intrinsic triggers undefined references to '_llround' and '_llroundf'

2010-10-19 Thread Cornelis de Gier
2010/10/18 Marco Atzeri : > next cygwin release/snapshot will solve it. > > http://cygwin.com/ml/cygwin-patches/2010-q4/msg5.html > > $ gfortran -Wall testninit.f90 -o testninit > > $ ./testninit >                    2 >                    1 > > Marco Great, thank you for the patch. Next cygw

Grants for business owners

2010-10-19 Thread Sally Trudeau
Let me introduce myself I'm Sally, I work with Window firms all through the US. We supply Grant Help for Small Company. Did you understand that there is more than 288 billion dollars offered in Grant income accessible for business enterprise owners? The provision of this funds is subject to exac

Re: getting 'clear' to work in Emacs shell

2010-10-19 Thread Oleksandr Gavenko
On 19.10.2010 11:55, Oleksandr Gavenko wrote: shell-mode does not understand terminal ESC sequences. For example there exist special functions: ansi-color-for-comint-mode-on ansi-color-for-comint-mode-off I want say that some useful terminal ESC sequences Emacs shell-mode can handle properly

Re: getting 'clear' to work in Emacs shell

2010-10-19 Thread Oleksandr Gavenko
On 18.10.2010 16:53, Jeff Rancier wrote: GNU Emacs 21.3.1 (i386-msvc-nt5.1.2600) of 2003-03-27 on buffy GNU bash, version 3.2.51(24)-release (i686-pc-cygwin) CYGWIN_NT-5.1 1.7.7(0.230/5/3) 2010-08-31 09:58 Microsoft Windows XP Pro - Version 2002, SP3 The 'clear' work's in a Cygwin Bash session,