Angelo Graziosi wrote:
Non-official Cygwin binaries can be found here
http://www.webalice.it/angelo.graziosi/cygwin/emacs/Emacs.html
To install see the emacs-23.0.60.snapshot.README file.
Thanks! This is great. Will this make it to the official repositories soon?
-Lewis
--
Unsubscri
It works fine for me.
Slava Pestov wrote:
> What cygwin version and what gcc version are you using? Also can you
> send me the compiled a.exe?
I am using cygwin 1.5.24-2, and the most up-to-date gcc, which is
3.4.4-3 for the cygwin version, 20040810-1 for the MinGW version, which
is what is a
Slava Pestov wrote:
I narrowed the problem down to a short test case. Here goes:
It works fine for me.
-Lewis
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:
These machines have an anti-virus program, but the same one I have
been using for the past two or three years. The filenames either have no
extension, or ".txt".
That's most likely the problem anyway, what happens if you turn it off?
-Lewis
--
Unsubscribe info: http://cygwin.com/ml/#u
Hang on, I misread you, my eye skipped over the bit where you suggest that
adding the check somehow makes the preceding fopen call succeed instead of
fail. However I still don't think that's what the OP was saying, unless the
subject line of this thread is terribly wrong, I think you just read
Dave Korn wrote:
On 01 November 2007 06:43, zirtik wrote:
After adding the line:
if (fp==NULL)
{
printf("error, NULL pointer!\n");
return(1);
}
and then rebuilding the code, everything worked. But it's strange that if I
delete that code segment a
Can you post the bug{1,2}.cpp files? I would guess that its not a bug,
but rather you are relying on an undefined order of static
initialization that happens to do what you want sometimes but not
others. It's impossible to say for sure without seeing the source files,
though.
Oh I see, you di
Brad Bell wrote:
I seem to have run across a bug using g++ with -O2 under Cygwin. It has
to do with using static class member functions and standard string.
The bash shell script command
./bug.sh
creates three files, compiles, links, and runs the result. I have run
this command on severa
i can remove the method call, too. this also crashes:
extern "C" JNIEXPORT void JNICALL
Java_terminator_terminal_PtyProcess_sendResizeNotification(JNIEnv* env,
jobject instance, jobject a0, jobject a1) {
try {
throw std::exception();
} catch (const std::exception& ex) {
}
}
$ cat ex.cpp
#include
int main() {
try {
throw new std::exception();
} catch (const std::exception& ex) {
return 1;
}
return 0;
}
You are throwing a pointer and trying to catch a reference, so the
exception never gets caught at all, which causes the program to abort.
You should should
> Anyway, can I ask you to do this yourself - just do the last test:
>
> COUNTER=1
> while [ $COUNTER -lt 123456 ]; do (echo $COUNTER); let COUNTER=$COUNTER+1;
> done
>
> and wait a little (couple of minutes). If necessary, repeat it until your
> memory drops to 10-20 MB range and your HDD shou
wimxa wrote:
Try executing:
find -exec echo {} \;
Simple command. This one, however, leaks at about 5kB/s. I tried the
following:
How do you know it is leaking memory? If you are looking at Windows Task
Manager or some similar program, then you're probably just being misled.
The OS will aut
This is what happens when I try to compile this program under cygwin on
my Windows XP machine:
% gcc newtest.cpp
/tmp/ccReoXoA.o:newtest.cpp:(.text+0x32): undefined reference to
`operator new(unsigned int)'
/tmp/ccReoXoA.o:newtest.cpp:(.text+0x5e): undefined reference to
`operator delete(void*
Cole Radcliffe wrote:
Is there any math package that I can install for free on cygwin that
will allow me to do symbolic algebra and symbolically solve DEs and
symbolically integrate better than my TI-89? Apparently Octave only
produces numeric solutions.
mathomatic might do what you need.
-Le
I'm wondering what is the best way to deal with this? I'd like the
scripts to work straight out of the box and not have to make the users
create their own /dev and creating it for them would be tedious because
every script would have to check for this...
Any advice?
Puzzled about nothing.
J
D
Keith Chiem wrote:
Is it possible to write a script in cygwin, say bash or perl, create a shortcut
to it in windows, and drag and drop a path or a url to it and have the script
run and take it as an argument somehow ?
--k
If you drag and drop files onto a batch script, Windows will run th
y
pretty quick and dirty. It's clear how to improve it, but it works fine
the way it is and re-uses the already-debugged packagemeta::set_action()
code.
-Lewis
/*
* Copyright (c) 2002 Lewis Hyatt.
*
* This program is free software; you can redistribute it and/or modify
* it unde
Lewis Hyatt wrote:
The simplest way I could think of to correct this would be to change the
behavior so that when you click on a Category or a Package, instead of
simply cycling through, you get a little popup menu that asks you what
you want to do instead. This way, you can go directly to
Hello-
Firstly, thanks to everyone who has worked on setup.exe, it's really a
very convenient program! There is just one thing that has always
bothered me, which is that you have to click repeatedly on the package
or category to cycle through all the available actions to find the one
you want
Steven Woody wrote:
hi,
can i directly call Windows APIs ( such as creating a window, reading
from a file ) from a cygwin program written in C ? if the answer is
yes, i want to know how i should do that, thanks!
Just #include and write whatever windows program you want,
it will compile fi
mcbenus wrote:
Hi Cygwin users,
I have a very basic question: Sometimes when I am running something with
cygwin the output text is so long, that even if I scroll up I cannot see all
the text. Is there a way to change it so that i could scroll more "history"
back? Or alternatively, can I type som
Andrew DeFaria wrote:
Tim Prince wrote:
Generally speaking, putting cygwin stuff in your Windows environment
should be avoided.
I do that all the time. In fact I wouldn't live without it. There's no
problems with doing this.
Problems can arise, and when they do, they are particularly hard to
When the cygwin tar recognizes this, due to Windows restrictions, the output
file is not properly extracted. I Googled around and found options for
--force-file and http://cygwin.com/ml/cygwin/2001-01/msg01536.html this
link , but I still can't get this to work properly.
I am able to get the f
Andrew Schulman wrote:
The package 'screen' is now available in the Cygwin distribution.
This is great, thanks a lot!
-Lewis
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs
Could be something else interfering. Known culprits include:
Sonic Solutions burning software containing DLA component
Norton/MacAffee/Symantec antivirus or antispyware
Logitech webcam software with "Logitech process monitor" service
Kerio, Agnitum or ZoneAlarm Personal Firewall
Iolo System M
Lee Rhodes wrote:
Brian,
Thanks. Here is the output from Eclipse:
make -k all
Building file: ../main.cpp
Invoking: GCC C++ Compiler
g++ -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"main.d" -MT"main.d"
-o"main.o" "../main.cpp"
Finished building: ../main.cpp
Building target: TestGSL.e
Lee Rhodes wrote:
Hello,
I have installed the GSL libs via setup and am trying to get the following
example program to work:
#include
#include
int main (void)
{
double x = 5.0;
double y = gsl_sf_bessel_J0 (x);
printf ("J0(%g) = %.18e\n", x, y);
return 0;
All though this may not be the case here but rsync over ssh is simply
unusable under cygwin for the most part. I've tried for years to get
it working reliably and its simply not possible I'm afraid.
It seems related to the very slow ssh transfer issue and I suspect
some low level thing to due w
Dave Kilroy wrote:
The chere package has been updated to 0.8-1
chere is a tool to manage context menu items for starting shells from
Windows Explorer. See the man page for detailed instructions.
Bug fixes
---
* xterm invoked with /usr/X11R6/bin in the path. This allows it to
find various DL
Lewis Hyatt wrote:
OK, one last thing, sorry. I did something wrong with the last test. If
I add c:\cygwin\bin and c:\cygwin\usr\X11R6\bin to the Windows PATH
variable, then chere does work to open up an xterm!
So I guess the only question is: is there any way to avoid this
requirement? It
The difference is that --login -i directs bash eventually to read
/etc/profile, which adds cygwin dirs to the path. So as Morgan thought,
this is somehow a PATH issue. However, I added c:\cygwin\bin,
c:\cygwin\user\X11R6\bin to my Windows path, and the chere still does
not pop up an xterm. (N
Dave wrote:
At a guess, do you need to make sure the DISPLAY environment variable is
set for the xterm to find the server? You have it set in your cygcheck
output, but you clearly produced that within an xterm which will have
the variable set.
If that's the case DISPLAY will need to be set in t
It is supposed to work. That said I don't use X myself, so haven't
explicitly tested this.
Using xterm does require that the x server is already running before
xterm is invoked.
What happens if you run the following command from a cmd prompt:
xterm -e /bin/bash -l
The latter command works f
Hi Everyone-
If I run chere like this:
chere -iam1 -s bash -t cmd
or like this:
chere -iam2 -s bash -t cmd
Then it behaves as expected. What I was hoping was to get the same
functionality, but have it pop up an xterm for me instead of the cmd
window. Is this supposed to work? I tried this:
Olivier Langlois wrote:
Hi,
I kinda isolated the weird file access problem. The corruption seems to come
from the setup.exe program as if I download manually
cygwin-1.5.24-2-src.tar.bz2, unzip and untar it manually, the permissions
for all files are ok.
Greetings,
Olivier Langlois
http://www.st
Richard Quadling wrote:
Hi.
http://www.experts-exchange.com/Storage/Backup_Restore/Q_22479665.html
Basically, I want to create DVD ISO images via some sort of command
line tool. Burning them is secondary at the moment, but this looks
entirely possible too.
To that end I've downloaded cdrtools,
Patric Ljung itn.liu.se> writes:
>
> Dear cygwin readers,
>
> I have just ported an application from Linux to Cygwin.
> In one archive (.a) I have several global constructors,
> 2-3 in two .o files. When I run my program only one
> initializer function is called in that archive. Leaving
> the
> There are a few other things to think about with your initial attempt.
> Right now, igncr is an all or nothing setting, can be inherited into child
> processes via SHELLOPTS, but can only be changed by explicit user action.
> Your patch only ever turns it on without user intervention, not off.
> Propose a patch, and I will consider it. In my opinion, it was much
> easier to do igncr as an all or none option than it was to parse the first
> line and discard \r on a per-file basis, not to mention that all-or-none
> is easily configurable so that those of us who WANT literal \r as required
> >> Are you saying that these people expect bash to treat CRLF as if the
> >> CR were non-whitespace? Can you give me an example where this would
> >> be a useful feature?
>
> It may not be a well-used feature, but I won't go so far as to call it not
> useful. One possible use - a script writte
Hi All,
I apologize if this has been brought up before, but I couldn't find any
mention of it. I think the filesystem component of boost v1.33 currently
available as part of the cygwin distribution has been compiled
incorrectly. As mentioned here:
http://boost.org/libs/filesystem/doc/index.ht
41 matches
Mail list logo