RE: report from virustotal / setup.exe from cygwin.com may be corrupt?

2008-09-01 Thread Dave Korn
René Berber wrote on 01 September 2008 07:41:

> Eric Freudenthal wrote:
> 
>> I just downloaded setup.exe from cygwin.com and sent it to virustotal.
>>  A couple of services didn't like it:
>> 
>> the report:
>> http://www.virustotal.com/analisis/ccb64d1f4e157ba250e1649f46868196
>> 
>> details:
>> eSafe 7.0.17.0 2008.08.31 Suspicious File
>> Prevx1 V2 2008.09.01 Suspicious
> 
> That means nothing, if sddt.exe is a known virus it should say so
> clearly.  Notice that none of the big names report anything.

  It's quite likely they're just indiscriminately flagging up all UPX-packed
executables as inherently suspicious.  I can confirm that setup.exe on
cygwin.com still matches the version that I built on my home PC and uploaded
there:

~ $ wget http://cygwin.com/setup.exe
--2008-09-01 08:30:47--  http://cygwin.com/setup.exe
Resolving cygwin.com... 209.132.176.174
Connecting to cygwin.com|209.132.176.174|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 585728 (572K) [application/octet-stream]
Saving to: `setup.exe'

100%[==>] 585,728  239K/s   in 2.4s

2008-09-01 08:30:51 (239 KB/s) - `setup.exe' saved [585728/585728]

@___. .
(   /"\
 ||--||(___)
 '"  '"'---'
~ $ md5sum setup.exe
4f3f250cb9704fda2c241347cb689a8f *setup.exe
@___. .
(   /"\
 ||--||(___)
 '"  '"'---'
~ $ md5sum /tmp/apps/objmerge/setup-2.573.2.3.exe
4f3f250cb9704fda2c241347cb689a8f */tmp/apps/objmerge/setup-2.573.2.3.exe
@___. .
(   /"\
 ||--||(___)
 '"  '"'---'
~ $


> but, as Dave Korn's reply said, if it was, the virus must be inside one
> of the packages (and setup.ini had to be forged, and a pre- or
> post-install script changed to run the virus)... I'm not sure if it
> really is possible to spread it like that.

  /Was/ possible.  Isn't now! :)

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/



why the strange stack stuf in cygwin?

2008-09-01 Thread Jay

 Why does Cygwin do such wierd stuff with the top of the stack?
 Is this to have thread locals faster than TlsGetValue offers?
 Is it worth it?
 (The cost: harder to LoadLibrary(cygwin1.dll), harder to port to other 
architectures,
  the strange path where DllMain "respawns", etc.)
 

 - Jay

--
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/



ImageMagick

2008-09-01 Thread wynfield


Manually, I donwloaded "ImageMagick-6.4.3" and compiled it.

It used to run fine.  But, now I can not convert any files to jpg?!?#
I built jasper with 
./configure --disable-libjpeg

so no problem should've occured there.
the config.log shows that libjpeg is found and o.k.


I would like to hear from the package maintainer or anyone else who has run 
into this problem and how they resolved it.

thanks


--
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: is sddt.exe part of the cygwin installer? (possible corruption of gatech mirror)

2008-09-01 Thread Eric Freudenthal

It's all an embarrassing false alarm due to a poor choice of font.

The process I saw was actualy sdclt.exe, not sddt.exe.  Sadly, they are
almost indistinguishable in the sans serif font chosen for task manager.

Thanks to all for your assistance,
Eric

--
Eric Freudenthal, Assistant Professor, UTEP Computer Science
 - http://www.freudenthal.net; 917/279-6208; [EMAIL PROTECTED]
 - http://rlab.cs.utep.edu/~freudent; 915/747-6954; [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/




-- 
View this message in context: 
http://www.nabble.com/is-sddt.exe-part-of-the-cygwin-installer--%28possible-corruption-of-gatech-mirror%29-tp19246828p19251821.html
Sent from the Cygwin list mailing list archive at Nabble.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/



rm behaviour when file in use by Windows app?

2008-09-01 Thread Lloyd Wood
I have a question about rm behaviour when the file rm'd is already in  
use by a Windows app. I've looked through the rm manpage/info, but  
that's just the usual GNU stuff; nothing cygwin-specific.


Let's say I'm using the cygwin bash shell to tidy up a directory of  
Acrobat pdfs. I do

rm foo.pdf
but as foo.pdf is already open in the Windows Acrobat reader, nothing  
happens. No error message is given. If I ls, I can still see foo.pdf.


Later, I close foo.pdf in Reader. foo.pdf then immediately and  
silently vanishes from the file system.


I'm having trouble understanding what happens here. Does the rm for  
foo.pdf get queued up somewhere, but is blocked by Acrobat's use? Is  
this the most sensible behaviour?


thanks,

L.

<[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/



Running 64bit processes from 32bit Cygwin

2008-09-01 Thread Robert McKay
Hi all,

I have a problem with running powershell scripts from within cygwin..
basically no matter what I do it always ends up running the powershell
process as 32bit when invoked from within Cygwin. This normally
wouldn't make a difference, but I need to use a powershell extension
that only exists for 64bit powershell. There isn't really anything
powershell specific about this question though;

Can anyone tell me for sure that it's impossible to run a 64bit
windows process from 32bit Cygwin? Or rather.. is it possible to spawn
a 64bit process from Cygwin and have it not be trapped inside WoW64
emulation? It seems as though once you're inside WOW64, you can't
readily escape from it? I wonder if it would be possible to ask the
explorer process to spawn something for you (possibly via a com
message?) rather than using WinExec(). If so a utility to facilitate
such process spawning would be a very useful addition to Cygwin.


Rob.

--
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: rm behaviour when file in use by Windows app?

2008-09-01 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

According to Lloyd Wood on 9/1/2008 4:29 AM:
> but as foo.pdf is already open in the Windows Acrobat reader, nothing
> happens. No error message is given. If I ls, I can still see foo.pdf.
> 
> Later, I close foo.pdf in Reader. foo.pdf then immediately and silently
> vanishes from the file system.

Yes, this is Window's semantics for file deletion, when the file is
currently open.

> 
> I'm having trouble understanding what happens here. Does the rm for
> foo.pdf get queued up somewhere, but is blocked by Acrobat's use? Is
> this the most sensible behaviour?

No less sensible than any of Microsoft's other implementation decisions.
Cygwin 1.7.0 will go to greater lengths to try to hide this wart, by
moving open files to the recycle bin so that ls no longer sees an unlinked
file, and so that rmdir no longer complains about non-empty directories,
so that the behavior is closer to Linux.  But it is just that -
workarounds to a different implementation, due to a different OS.

- --
Don't work too hard, make some time for fun as well!

Eric Blake [EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAki73LYACgkQ84KuGfSFAYA7rQCfQBiq/IbFuIC/uCunOKY8cYUJ
Pv0AoNPV8NviaYEQgJfg4hh89Z3Zhpcv
=wSfP
-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/



Re: getting gdb I/O and progam I/O into separate windows

2008-09-01 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

According to René Berber on 8/31/2008 10:42 PM:
> Charles D. Russell wrote:
> 
>> Can this be done?  I can't redirect program output (from ncurses) into
>> an rxvt window using the tty command in gdb.  Googling gdb+tty+cygwin
>> shows that there have been problems in the past, but I didn't find
>> anything recent.
> 
> That's what Insight is for (and ddd under X), a GUI that separates code
> from memory and the program's output (plus gdb output, breakpoints, and
> so on).

Or you can use process attaching, sticking with command-line gdb instead
of gui.  I frequently start a program in one console, then in another
console, use ps to determine its pid, then invoke 'gdp path/to/program
pid' where pid was determined from ps to break in to the program.
Depending on the program, it may be helpful to recompile with an added
sleep() in main, to give you time to attach before it does anything worth
debugging.

- --
Don't work too hard, make some time for fun as well!

Eric Blake [EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAki73UEACgkQ84KuGfSFAYCbjQCglKo6X9XBajjuO8h31yiYVNdF
DGMAn08iwqI2AHS+Hnd5xoKe45M5Asbh
=wdIX
-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/



Keyboard language in cygwin

2008-09-01 Thread davidkont

Hello all,

I have a new question related with the keyboard language
The problem is that I use cygwin with fvwm as a XWindow, and I don't know
why but when I start a new xterm sometimes language has changed... How can I
specify the language?
In my case I'm interested in spanish keyboard...

Thanks!!
-- 
View this message in context: 
http://www.nabble.com/Keyboard-language-in-cygwin-tp19254989p19254989.html
Sent from the Cygwin list mailing list archive at Nabble.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: TexLive Binaries?

2008-09-01 Thread Angelo Graziosi

Sivaram Neelakantan wrote:


Are there any plans to port the TeXLive 2007 to cygwin?  The tetex 3.x
are quite old and are no longer maintained by the author Thomas Esser
and all changes are maintained in TeX Live repository.


Recently I have found useful to build (see [1]) the TeXLive 2008 sources as

./Build --without-xetex

The results can be found here

http://www.webalice.it/angelo.graziosi/cygwin/texlive/texlive.html


Cheers,
   Angelo.

---
[1] http://www.tug.org/texlive/build.html

--
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 install hang

2008-09-01 Thread Christopher Carlson
I have been a user of Cygwin for at least 6 years now, and I love it.
I'm constantly impressed with how well it works and how much it
follows Linux and still stay within the Windows environment.

In all of the 6 years, though, I don't think I have ever installed
Cygwin or even upgraded it that it didn't hang during the running of
the install scripts at the end.  Inevitably, I have to in and *fix*
something and run the remaining install scripts manually.

I have found that when the install script fails, there is no reporting
of the error.  The installation tool (setup.exe) just sits there and
never reports a thing.  I let it sit, usually overnight, and it hasn't
moved.

Over time, I've come to learn some of the things to look for.  I'm no
expert with Cygwin in spite of how long I've been using it.

I was installing the latest version from calvin.edu as of last night
(8/31/08).  The latest reason for failure is:


  $ cat setup.log.postinstallXa07932
2 [main] ? (6036) C:\cygwin\bin\bash.exe: *** fatal error
- couldn't allocate heap, Win32 error 487, base 0x113, top
0x114, reserve_size 61440, allocsize 65536, page_const 4096
4 [main] bash 5748 child_info::sync: wait failed, pid
6036, Win32 error 1812
   1658 [main] bash 5748 fork: child -1 - died waiting for longjmp
before initialization, retry 0, exit code 0x100, errno 11


I'm installing this on a Windows Vista Home Premium system.  I have
750G of disk, 4G of RAM, Quad processor.  I told 'setup.exe' to
"Install" everything.

I hope this helps in resolving the problem.

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/



make script not working with Cygwin 1.5.25-14 (with Perl)

2008-09-01 Thread Nose

Hello everybody!

I've got a makescript which doesn't run with the new cygwin version.

When I switch back to the new cygwin version nothing seems to be the matter
but when I switch to the new version things are getting weird.

Does anybody know if something is changed or major bugs are known?

Waiting when cygwin mobile comes out,

Nose
-- 
View this message in context: 
http://www.nabble.com/make-script-not-working-with-Cygwin-1.5.25-14-%28with-Perl%29-tp19256129p19256129.html
Sent from the Cygwin list mailing list archive at Nabble.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: make script not working with Cygwin 1.5.25-14 (with Perl)

2008-09-01 Thread Ralph Hempel

Nose wrote:

Hello everybody!

I've got a makescript which doesn't run with the new cygwin version.

When I switch back to the new cygwin version nothing seems to be the matter
but when I switch to the new version things are getting weird.


As Groucho Marx might have said on this list:

  "Then don't use the new version"


Does anybody know if something is changed or major bugs are known?


I forgot to put my mind-reading hat on this morning, sorry.


Waiting when cygwin mobile comes out,


Oh my goodness, I think the Cygwin folks totally forgot about this!
Maybe you should file a PR.

Ralph


--
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: make script not working with Cygwin 1.5.25-14 (with Perl)

2008-09-01 Thread Christopher Faylor
On Mon, Sep 01, 2008 at 11:14:17AM -0400, Ralph Hempel wrote:
>>Waiting when cygwin mobile comes out,
>
>Oh my goodness, I think the Cygwin folks totally forgot about this!
>Maybe you should file a PR.

You're absolutely right.  This slips my mind (and I assume Corinna's)
on an hourly, and even sometimes minutely, basis.

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: why the strange stack stuf in cygwin?

2008-09-01 Thread Christopher Faylor
On Mon, Sep 01, 2008 at 08:33:16AM +, Jay wrote:
> Why does Cygwin do such wierd stuff with the top of the stack?
> Is this to have thread locals faster than TlsGetValue offers?

No, it is a work-around for this:

  % cat <<'EOF' > foo.c
  __thread int abc;

  int
  main (int argc, char **argv)
  {
printf ("%d\n", abc);
  }
  EOF

  % gcc -o foo foo.c
  foo.c:2: error: thread-local storage not supported for this target

> Is it worth it?

What kind of answer do you expect here?  A head slap and a "What were we
thinking???"

> (The cost: harder to LoadLibrary(cygwin1.dll),

Dynamic linking of cygwin1.dll (i.e., making it easier to be a 3PP) has never
been a core goal of Cygwin.

>harder to port to other architectures,

Cygwin works on all of the architectures that Windows NT+ supports.
Porting Cygwin to architectures supported by Windows CE would require
quite a bit more work than fiddling with the thread local storage model.

>the strange path where DllMain "respawns", etc.)

"the strange path"?

You're using shorthand which assumes that people understand your thought
processes and conclusions.  If you have a point to make you really need
to provide more details and concrete examples of an alternate method for
doing what is currently accomplished by Cygwin's tls method.

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: Keyboard language in cygwin

2008-09-01 Thread Christopher Faylor
On Mon, Sep 01, 2008 at 06:45:46AM -0700, davidkont wrote:
>I have a new question related with the keyboard language  The
>problem is that I use cygwin with fvwm as a XWindow, and I don't know
>why but when I start a new xterm sometimes language has changed...  How
>can I specify the language?  In my case I'm interested in spanish
>keyboard...

This would be a question for the cygwin-xfree mailing list.  Please use that
list for X-related questions.

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: Text selected when I do double click in it

2008-09-01 Thread davidkont

Hi Larry,

Thanks!! You helped me much!!


Mark Reed-2 wrote:
> 
> On Fri, Aug 29, 2008 at 5:55 PM, davidkont wrote:
>>
>> Hi Larry, in principle I'm interested in continue with fvwm because it
>> works
>> very well, this issue is the unique problem that I see...
>>
>> Thanks anyway...
> 
> You're not understanding.  rxvt doesn't replace fvwm.  They are
> completely separate.  fvwm is a window manager; it draws the
> decorations around X windows and lets you close them etc.  rxvt is a
> terminal program - it's what runs inside the decorations to give you a
> place to type commands.
> 
> When you run Cygwin via the default .BAT, you get a Windows console
> window as your terminal program, which is not a very good one.  If
> you're using full-screen fvwm, you probably use xterm as your terminal
> program - but the double-clicking should work for that, so I'm not at
> all clear on what your environment looks like.
> 
> But either way, you can easily use rxvt instead, which has friendlier
> behavior for selecting text.
> 
> -- 
> Mark J. Reed <[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/
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Text-selected-when-I-do-double-click-in-it-tp19226471p19258423.html
Sent from the Cygwin list mailing list archive at Nabble.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/



[ANNOUNCEMENT] Updated: brltty 3.10-2

2008-09-01 Thread Samuel Thibault
Version 3.10-2 of "brltty" has been uploaded.

It is a background process (daemon) providing access to the Windows
Console for a blind person using a refreshable braille display.

--  brltty-3.10-2 -- 2008-08-31 ---
Add icu support.

If you have questions or comments, please send them to the Cygwin
mailing list at: cygwin@cygwin.com .

  *** 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.

--
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: TexLive Binaries?

2008-09-01 Thread wynfield

Angelo,
  That's great.  Texlive for XP doesn't understand posix pathnames, etc.
  It'd be great to have a new eTeX compatable cygwyn system.

  I noticed the "--without-xetex" as an agrument to your "Build".  
  What is the reason for this.  Since xetex uses unicode, it can be 
  used for many languages, include Japanese, Chinese, and Korean.


Thanks,
  Wynfield

Angelo Graziosi <[EMAIL PROTECTED]> wrote:
> Sivaram Neelakantan wrote:
> 
> > Are there any plans to port the TeXLive 2007 to cygwin?  The tetex 3.x
> > are quite old and are no longer maintained by the author Thomas Esser
> > and all changes are maintained in TeX Live repository.
> 
> Recently I have found useful to build (see [1]) the TeXLive 2008 sources as
> 
> ./Build --without-xetex
> 
> The results can be found here
> 
> http://www.webalice.it/angelo.graziosi/cygwin/texlive/texlive.html
.

--
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: Compiling gcc for cygwin

2008-09-01 Thread Brian Salter-Duke
On Fri, 22 Aug 2008 11:22:46 -0700, Brian Dessent <[EMAIL PROTECTED]> wrote:
> NightStrike wrote:
>
>> If cygwin ever wants to be able to support newer gcc compilers,
>> something needs to be done in this area.  There are several options,
>
> That's a quite a misleading statement to make.  Everything is fine for a
> native 4.4 using 3.4 as the bootstrap compiler.  That's the whole point
> of the three stage bootstrap, to eliminate any influence of the
> bootstrap compiler on the final compiler.  The problem only occurs when
> you build a 4.4 cross using 3.4 because by definition you can't
> bootstrap a cross.  But even then you're fine if you first bootstrap a
> recent native to use to build the cross.  It's really not the end of the
> world.
>
> Brian

Indeed. gcc 4.4 works fine. I have the version that comes with gfortran. 

Is it likley any time soon that gcc4 and gfortran come as a standard
cygwin package. Apologies if I missed this. 

Another Brian.


-- 
   Brian Salter-Duke  Melbourne, Australia
 My real address is b_duke(AT)bigpond(DOT)net(DOT)au
Use this for reply or followup.  Registered Linux user 287938.
  Cygwin for Linux on PCs. 


--
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 install hang

2008-09-01 Thread Larry Hall (Cygwin)

Christopher Carlson wrote:

I have been a user of Cygwin for at least 6 years now, and I love it.
I'm constantly impressed with how well it works and how much it
follows Linux and still stay within the Windows environment.

In all of the 6 years, though, I don't think I have ever installed
Cygwin or even upgraded it that it didn't hang during the running of
the install scripts at the end.  Inevitably, I have to in and *fix*
something and run the remaining install scripts manually.

I have found that when the install script fails, there is no reporting
of the error.  The installation tool (setup.exe) just sits there and
never reports a thing.  I let it sit, usually overnight, and it hasn't
moved.

Over time, I've come to learn some of the things to look for.  I'm no
expert with Cygwin in spite of how long I've been using it.

I was installing the latest version from calvin.edu as of last night
(8/31/08).  The latest reason for failure is:


  $ cat setup.log.postinstallXa07932
2 [main] ? (6036) C:\cygwin\bin\bash.exe: *** fatal error
- couldn't allocate heap, Win32 error 487, base 0x113, top
0x114, reserve_size 61440, allocsize 65536, page_const 4096
4 [main] bash 5748 child_info::sync: wait failed, pid
6036, Win32 error 1812
   1658 [main] bash 5748 fork: child -1 - died waiting for longjmp
before initialization, retry 0, exit code 0x100, errno 11


?


I'm installing this on a Windows Vista Home Premium system.  I have
750G of disk, 4G of RAM, Quad processor.  I told 'setup.exe' to
"Install" everything.

I hope this helps in resolving the problem.


Typically, we like to see the output of 'cygcheck' as requested by:


Problem reports:   http://cygwin.com/problems.html


Please pay close attention to the request to *attach* the 'cygcheck' output.
This may or may not pinpoint a problem (like BLODA) but it is a good
baseline for folks on this list to review.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?

--
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/



Import library for symbols decl. without dllimport

2008-09-01 Thread John E. / TDM

Greetings! I have a question for the DLL and ld gurus.

Is it possible to create an import library for ld on Win32 that will 
fulfill function and data symbols that were not declared with the 
dllimport attribute?


For example, the variable myvar is declared in unit.c as:
extern int myvar;

I would want to be able to fulfill myvar from either a static library or 
a DLL as desired, without having to recompile unit.c.


The above example is a very simple one. What I'm actually working on is 
the use of shared (DLL) versions of GCC's support libraries -- currently 
libstdc++. None of the libstdc++ declarations are marked 
__declspec(dllimport), and when it comes time to link with it I get 
messages like the following:

Info: resolving std::cout  by linking to __imp___ZSt4cout (auto-import)
This of course works fine, but it's sub-optimal; I would like for the 
message not to be displayed at all, and I imagine that the auto-import 
machinery shouldn't even need to be activated if the import library for 
the libstdc++ DLL is properly designed. Also, hiding the message with 
--enable-auto-import would also hide similar messages from other 
libraries that I *would* want to see.


Thanks in advance,
John E.

--
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: Text selected when I do double click in it

2008-09-01 Thread Larry Hall (Cygwin)

  Reformatted.

davidkont wrote:

Mark Reed-2 wrote:

On Fri, Aug 29, 2008 at 5:55 PM, davidkont wrote:

Hi Larry, in principle I'm interested in continue with fvwm because it
works
very well, this issue is the unique problem that I see...

Thanks anyway...

You're not understanding.  rxvt doesn't replace fvwm.  They are
completely separate.  fvwm is a window manager; it draws the
decorations around X windows and lets you close them etc.  rxvt is a
terminal program - it's what runs inside the decorations to give you a
place to type commands.

When you run Cygwin via the default .BAT, you get a Windows console
window as your terminal program, which is not a very good one.  If
you're using full-screen fvwm, you probably use xterm as your terminal
program - but the double-clicking should work for that, so I'm not at
all clear on what your environment looks like.

But either way, you can easily use rxvt instead, which has friendlier
behavior for selecting text.

> Hi Larry,
>
> Thanks!! You helped me much!!

You're welcome.  Though I would give some credit to Mark for taking the
time to help you understand my response. :-)

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?

--
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: Import library for symbols decl. without dllimport

2008-09-01 Thread Brian Dessent
"John E. / TDM" wrote:

> This of course works fine, but it's sub-optimal; I would like for the
> message not to be displayed at all, and I imagine that the auto-import
> machinery shouldn't even need to be activated if the import library for
> the libstdc++ DLL is properly designed. Also, hiding the message with
> --enable-auto-import would also hide similar messages from other
> libraries that I *would* want to see.

That's just not how it works for data imports.  For functions yes, but
not for data imports.  You either use auto-import or you
__declspec(dllimport).  It works for functions because the call can go
through a thunk stub.  But for data variables not marked
__declspec(dllimport), there's no indirection; the only way to add the
required indirection (to make the reference to a symbol in another
module whose address isn't known until runtime) is to trick the
operating system loader into modifying the text section at runtime which
is what auto-import does.  There's no way to simulate this with just an
import library as is possible with function thunks.

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: Limited regex support in newlib cripples syntax highlighting in nano

2008-09-01 Thread Lapo Luchini

Reini Urban wrote:

2008/8/1 Tomi Belan wrote as "Limited regex support in newlib cripples
syntax highlighting in nano"

Cygwin regex.h implementation doesn't support some special sequences,
for example \< (beginning of word), \> (end of word) and \b (word
boundary). This causes a usability bug with the nano editor, which
uses these sequences extensively in most of its syntax highlighting
rules.


Posix regex is much faster then perl-style pcre regex. Syntax
highlighter usually prefer fast over complete. So the term "crippled"
should be used with care.

See e.g. http://swtch.com/~rsc/regexp/regexp1.html - Regular
Expression Matching Can Be Simple And Fast (but is slow in Java, Perl,
PHP, Python, Ruby, ...)  - which complains about the typical POSIX
spencer implementation also.


Interesting paper!

Judging from the linked efficient implementations, it could be 
interesting to have TRE library  in Cygwin.


But judging from our own "man regexp" it should already have 
back-references (??):
"Regexec is largely insensitive to RE complexity except that back 
references are massively expensive."




--
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/