[RFU] mintty-0.8.2-1

2010-08-22 Thread Andy Koppe
Please upload:

wget http://mintty.googlecode.com/files/mintty-0.8.2-1.tar.bz2
wget http://mintty.googlecode.com/files/mintty-0.8.2-1-src.tar.bz2

Please delete 0.8.1-1, leaving 0.7.1-1 as previous.

Thanks,
Andy


Re: [RFU] mintty-0.8.2-1

2010-08-22 Thread Yaakov (Cygwin/X)
On Sun, 2010-08-22 at 19:32 +0100, Andy Koppe wrote:
 Please upload:
 
 wget http://mintty.googlecode.com/files/mintty-0.8.2-1.tar.bz2
 wget http://mintty.googlecode.com/files/mintty-0.8.2-1-src.tar.bz2
 
 Please delete 0.8.1-1, leaving 0.7.1-1 as previous.

Done and done.


Yaakov




Re: Building a custom cygwin1.dll library

2010-08-22 Thread Christopher Faylor
On Sat, Aug 21, 2010 at 09:32:47PM -0400, Gregg Levine wrote:
Is it possible to build a custom cygwin1.dll library? I'm in the
process of setting up a Win2K8 or Win2K3 server, and I would like to
install a personalized install of Cygwin there.

No, it's completely impossible.  This is software.  Once it's written,
it's cast in stone.  Sorry.

cgf

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Build S-Lang Fail

2010-08-22 Thread Csaba Raduly
On Sat, Aug 21, 2010 at 12:48 PM, Steven Woody  wrote:
 Hi,

 I got following error when I was compiling s-lang for cygwin:

 cd /home/narke/src/slang-2.2.2/src/elfobjs; gcc -c -g -O2
 -DBUILD_DLL=1  -Dunix -DSLANG
 -DMISC_TERMINFO_DIRS='/usr/share/terminfo'
 /home/narke/src/slang-2.2.2/src/sltermin.c
 /usr/lib/gcc/i686-pc-cygwin/4.3.4/cc1.exe: error while loading shared
 libraries: ?: cannot open shared object file: No such file or
 directory

Apparently, it can't find a shared library. What's the output of

ldd /usr/lib/gcc/i686-pc-cygwin/4.3.4/cc1.exe

-- 
Life is complex, with real and imaginary parts.
Ok, it boots. Which means it must be bug-free and perfect.  -- Linus Torvalds
People disagree with me. I just ignore them. -- Linus Torvalds

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: [ANNOUNCEMENT] Updated: cygwin-1.7.6-1

2010-08-22 Thread Angelo Graziosi

Larry Hall wrote:

Corinna Vinschen wrote:

- Improve performance of stat and a few other functions.  ls(1) should
  be up to 30% faster


I have a directory (500MB, 30 files) which contains mainly 'exe' (setups for 
TB, FF, OO etc.). If I try 'ls -l' in this directory, the first time it take 
about 30 seconds to list the files. After the first time, the listing is almost 
without delay. The same happens also with 'ls -l /usr/bin'.

When there is the 'hang' (30 secs.), Task Manager shows that AVG9 takes about 
50% of CPU: this occurs *only* with 1.7.6 but _not_ with 1.7.5, with which 'ls 
-l' is almost immediate, regardless of the number and type of files.

Obviously I have tested this, each time, with a 'fresh machine', to avoid 
'cache' effects.

The system is WinXP SP3, AMD Athlon 64X2DC 2.03GHz, 1.75GB RAM.


Try a recent snapshot:

http://cygwin.com/snapshots/


I have tried cygwin1-20100822.dll.bz2, but same results. :(

The first time (no cache 'effects') I do

$ time ls -lrt /usr/bin

the results are:

CYGWIN_NT-5.1  1.7.5(0.225/5/3) 2010-04-12 19:07 i686 Cygwin
time ls -lrt /usr/bin
real0m16.531s
user0m0.108s
sys 0m0.421s

CYGWIN_NT-5.1  1.7.6(0.230/5/3) 2010-08-16 16:06 i686 Cygwin
real1m3.171s
user0m0.155s
sys 0m0.702s

CYGWIN_NT-5.1  1.7.6s(0.231/5/3) 20100822 02:25:11 i686 Cygwin
real1m4.218s
user0m0.280s
sys 0m0.609s

Ciao,
Angelo.


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Disable recycle bin for rm command

2010-08-22 Thread Alec Istomin
Urban Purkat urban.purkat at topit.si writes:

 
 Hi!
 
 I see that the rm command uses the recycle bin to remove files.
 On What's new and what changed in Cygwin 1.7 - File Access related
 changes (http://cygwin.com/cygwin-ug-net/ov-new1.7.html#ov-new1.7-file)
 I read
 
 unlink(2) and rmdir(2) try very hard to remove files/directories even
 if they are currently accessed or locked. This is done by utilizing the
 hidden recycle bin directories and marking the files for deletion.
 
 I was testing this functionality on Win2k8 and figured out that rm uses
 recycle bin even the recycle bin is disabled for specific partition.
 Such behavior does not fit the restrictions I have on my system.
 
 Is there any way to disable this recycle bin functionality so the rm
 works like before this change?
 
 It would also be a nice feature that Cygwin respects the Recycle bin
 settings in case it is disabled.
 
 I was checking the FAQ and mailing list archives and I could not find
 the answer.
 
 TIA,
 Urban
 
 

I was not able to find a way to disable the cygwin's own recycle.bin and
understand when exactly it gets populated. I'd really like an option to disable
the recycle.bin at all.

In the mean time I'm trying to disable the directory creation all together, ie:
touch \*RECYCLE.BIN\*

Will keep an eye if it actually helps or breaks things:)

Thanks,
 Alec



--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: It's a setup issue = Re: 1.7.6-1: mount -p and mount --show-cygdrive-prefix broken in latest release

2010-08-22 Thread Csaba Raduly
Hi Brian,

On Sat, Aug 21, 2010 at 10:53 PM, Brian Kelly reedf...@ix.netcom.com wrote:

 Ok - so I did a re-install and mount -p is back. But a setup bug (probably 
 not setup.exe's fault) was discovered in the process.

 I first tried a re-install and once again was told cygwin1.dll could not be 
 replaced because of a running process (thought I had killed everything). 
 Rather than quit and start over, I pressed the continue button and re-booted 
 the laptop when the re-install completed. mount -p was STILL broken, so 
 something sure was amiss. Turned out I had cygserver and postgres via 
 cygserver running. (Forgot about them).

With Process Explorer from Sysinternals, it is possible to search for
open files/n-use DLLs. It shows the process which keeps the file in
use.

These services start automatically (along with sshd) when Windows starts up. 
*ALSO* I have an XWin Server in the Startup folder of the Windows Start Menu. 
So apparently, one of these services is starting up *BEFORE* the cygwin1.dll 
can be replaced by Windows at startup.

I find that hard to believe; after-reboot file replacing happens
before any processes are created. But I'm just speculating.


 -Original Message-

Please don't top-post. http://www.cygwin.com/acronyms/#TOFU


-- 
Life is complex, with real and imaginary parts.
Ok, it boots. Which means it must be bug-free and perfect.  -- Linus Torvalds
People disagree with me. I just ignore them. -- Linus Torvalds

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Build S-Lang Fail

2010-08-22 Thread Steven Woody
On 22 August 2010 16:53, Csaba Raduly rcs...@gmail.com wrote:
 On Sat, Aug 21, 2010 at 12:48 PM, Steven Woody  wrote:
 Hi,

 I got following error when I was compiling s-lang for cygwin:

 cd /home/narke/src/slang-2.2.2/src/elfobjs; gcc -c -g -O2
 -DBUILD_DLL=1  -Dunix -DSLANG
 -DMISC_TERMINFO_DIRS='/usr/share/terminfo'
 /home/narke/src/slang-2.2.2/src/sltermin.c
 /usr/lib/gcc/i686-pc-cygwin/4.3.4/cc1.exe: error while loading shared
 libraries: ?: cannot open shared object file: No such file or
 directory

 Apparently, it can't find a shared library. What's the output of

Thanks. The question is that what's the missing share library?


 ldd /usr/lib/gcc/i686-pc-cygwin/4.3.4/cc1.exe

$ ldd /usr/lib/gcc/i686-pc-cygwin/4.3.4/cc1.exe
ntdll.dll = /cygdrive/c/WINDOWS/system32/ntdll.dll (0x7c92)
kernel32.dll = /cygdrive/c/WINDOWS/system32/kernel32.dll (0x7c80)
cyggcc_s-1.dll = /usr/bin/cyggcc_s-1.dll (0x67f0)
cygwin1.dll = /usr/bin/cygwin1.dll (0x6100)
ADVAPI32.DLL = /cygdrive/c/WINDOWS/system32/ADVAPI32.DLL (0x77da)
RPCRT4.dll = /cygdrive/c/WINDOWS/system32/RPCRT4.dll (0x77e5)
Secur32.dll = /cygdrive/c/WINDOWS/system32/Secur32.dll (0x77fc)
cyggmp-3.dll = /usr/bin/cyggmp-3.dll (0x63f4)
cygmpfr-1.dll = /usr/bin/cygmpfr-1.dll (0x6cd8)



 --
 Life is complex, with real and imaginary parts.
 Ok, it boots. Which means it must be bug-free and perfect.  -- Linus 
 Torvalds
 People disagree with me. I just ignore them. -- Linus Torvalds

 --
 Problem reports:       http://cygwin.com/problems.html
 FAQ:                   http://cygwin.com/faq/
 Documentation:         http://cygwin.com/docs.html
 Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple





-- 
Life is the only flaw in an otherwise perfect nonexistence
    -- Schopenhauer

narke
public key at http://subkeys.pgp.net:11371 (narkewo...@gmail.com)

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Strange SET (pseudo-) command output

2010-08-22 Thread Andrew Bogorodsky
Hello!

I'd install cygwin  under Windows Vista

01:41 [Lenovo g...@blackboard ~] uname -a
CYGWIN_NT-6.0 BlackBoard 1.7.6(0.230/5/3) 2010-08-16 16:06 i686 Cygwin

All is fine except an output of SET command. It outputs some SETs as
it is expected but floods some sources after them. You can see full
dump of it:
$  set  t.txt
t.txt here: http://files.mail.ru/N5KR7O or here:
http://rapidshare.com/files/414508643/t.txt

Shortly it looks like:

USERNAME='Lenovo G550'
USERPROFILE='C:\Users\Lenovo G550'
WINDIR='C:\Windows'
_=date
configsetroot='C:\Windows\ConfigSetRoot'
f=
_ImageMagick ()
{
local cur prev;
_get_comp_words_by_ref cur prev;
case $prev in
-channel)
COMPREPLY=($( compgen -W 'Red Green Blue Opacity \
Matte Cyan Magenta Yellow Black' -- $cur ));

and here more and more source code %-\

What can be wrong, friends?

-- 
=
   Andrew Bogorodsky
=

-- 
=
       Andrew Bogorodsky
=

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Strange SET (pseudo-) command output

2010-08-22 Thread Bernhard Ege

On 22-08-2010 23:51, Andrew Bogorodsky wrote:

Hello!

I'd install cygwin  under Windows Vista

01:41 [Lenovo g...@blackboard ~] uname -a
CYGWIN_NT-6.0 BlackBoard 1.7.6(0.230/5/3) 2010-08-16 16:06 i686 Cygwin

All is fine except an output of SET command. It outputs some SETs as
it is expected but floods some sources after them. You can see full
dump of it:
$  set  t.txt
t.txt here: http://files.mail.ru/N5KR7O or here:
http://rapidshare.com/files/414508643/t.txt

Shortly it looks like:

USERNAME='Lenovo G550'
USERPROFILE='C:\Users\Lenovo G550'
WINDIR='C:\Windows'
_=date
configsetroot='C:\Windows\ConfigSetRoot'
f=
_ImageMagick ()
{
 local cur prev;
 _get_comp_words_by_ref cur prev;
 case $prev in
 -channel)
 COMPREPLY=($( compgen -W 'Red Green Blue Opacity \
 Matte Cyan Magenta Yellow Black' -- $cur ));

and here more and more source code %-\

What can be wrong, friends?



Nothing is wrong. set lists more than just environment variables. It 
also lists defined functions. _ImageMagick is one such function.


Bernhard

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Strange SET (pseudo-) command output

2010-08-22 Thread Eliot Moss

On 8/22/2010 5:51 PM, Andrew Bogorodsky wrote:

Hello!

I'd install cygwin  under Windows Vista

01:41 [Lenovo g...@blackboard ~] uname -a
CYGWIN_NT-6.0 BlackBoard 1.7.6(0.230/5/3) 2010-08-16 16:06 i686 Cygwin

All is fine except an output of SET command. It outputs some SETs as
it is expected but floods some sources after them. You can see full
dump of it:
$  set  t.txt



What can be wrong, friends?


Nothing's wrong.  Typing set by itself to bash causes it
to print out all the current bash function definitions. The
ones you are seeing may come from the bash completion package,
which loads quite a few functions to assist with customized
completion for more than a few commands ...

Regards -- Eliot Moss

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Shared folsers under Vista

2010-08-22 Thread Steve Holden
Folders that I create with Cygwin using mkdir appear to be shared - sort
of. They are denoted with the shared folder icon, and when I use Windows
Explorer to delete them I get the warning about the folder being shared.

When I look at the folder's properties, however, Explorer insists the
the folder is not shared.

Can someone explain how to avoid the sharing in the first place? It
doesn't seem to happen to everyone.

regards
 Steve
-- 
Steve Holden   +1 571 484 6266   +1 800 494 3119
DjangoCon US September 7-9, 2010http://djangocon.us/
See Python Video!   http://python.mirocommunity.org/
Holden Web LLC http://www.holdenweb.com/


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Shared folsers under Vista

2010-08-22 Thread Larry Hall (Cygwin)

On 8/22/2010 10:19 PM, Steve Holden wrote:

Folders that I create with Cygwin using mkdir appear to be shared - sort
of. They are denoted with the shared folder icon, and when I use Windows
Explorer to delete them I get the warning about the folder being shared.

When I look at the folder's properties, however, Explorer insists the
the folder is not shared.

Can someone explain how to avoid the sharing in the first place? It
doesn't seem to happen to everyone.


http://www.cygwin.com/ml/cygwin/2007-11/msg00456.html?

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


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



perl: Net::DNS requires Win32::IPHelper

2010-08-22 Thread Yaakov (Cygwin/X)
Reini,

The Net::DNS module, which you ship with perl, depends on perl-libwin32
(packaged separately) and Win32::IPHelper, the latter of which depends
on Win32::API and enum modules.  Win32::API needs a custom typemap file
in order to compile on Cygwin, which AFAICS should be:

TYPEMAP
HINSTANCE   T_PTR
LPCSTR  T_PV
LPCWSTR T_PV

Again, I'm going to have to ask you to break out the extra modules you
ship with perl and handle them individually.  It's not only a matter of
handling these dependencies, but there are several modules which need to
be updated, and you shouldn't have to rebuild (nor should we have to ask
you to rebuild) all of perl in order to do so.


Yaakov



--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



[ANNOUNCEMENT] [ANNOUNCEMENT] Updated: mintty-0.8.2-1

2010-08-22 Thread Andy Koppe
mintty 0.8.2-1 is on its way to the Cygwin mirrors. This is a bugfix release.

DESCRIPTION
===
Mintty is a terminal emulator for Cygwin with a native Windows user
interface and minimalist design. Among its features are Unicode
support and a graphical options dialog. Its terminal emulation is
largely compatible with xterm, but it does not require an X server.
Mintty is based on code from PuTTY by Simon Tatham and team.

CHANGES
===
- Fixed bug causing 100% CPU consumption when keeping the terminal
open after the child process exited.
- The next keypress after the child process exited closes the
terminal.
- Fixed bug that opened the window in fullscreen mode when it was
meant to be hidden (e.g. when started with cygstart's --hide
argument).
- Tweaked postinstall and preremove scripts to better cope with Just
for me installations.

Previous changes from 0.7.1:
- Copy-on-select is enabled by default.
- The default font size was reduced from 10 to 9, more in line with
the Windows console's default.
- I/O handling was redesigned using /dev/windows and select(). The
result of this is that signals sent to mintty are now handled
immediately. In particular, suspending mintty works properly now.
- A new option allows to put the scrollbar on the left-hand side of
the window. It's on the 'Window' pane of the options dialog.
- The line cursor is displayed with the thickness configured in the
Windows accessibility control panel (which defaults to 1 pixel).
- Excess line content is no longer thrown away when narrowing the
window, i.e. it now reappears if the window is widened again
afterwards. (Rebreaking of long lines is not done though.)
- Changing the font smoothing setting takes effect immediately after
pressing OK or Apply.
- Failure to save options triggers an error message instead of
silently forgetting the options.
- A couple of annoyances in the handling of mouse clicks were fixed.

QUESTIONS
=
The mintty manual is installed as a manpage ('man mintty'), and it's
also available in PDF format at
http://mintty.googlecode.com/files/mintty-0.8.2.pdf.

Questions and comments can be sent to the mintty discussion group at
http://groups.google.com/group/mintty-discuss or the Cygwin mailing
list at cyg...@cygwin.com. Please use the issue tracker at
http://code.google.com/p/mintty/issues/list to report bugs or suggest
enhancements.



To update your installation, click on the Install Cygwin now link
on the http://cygwin.com/ web page.  This downloads setup.exe to
your system.  Then, run setup and answer all of the questions.

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

cygwin-announce-unsubscribe-you=yourdomain@cygwin.com

If you need more information on unsubscribing, start reading here:

http://sourceware.org/lists.html#unsubscribe-simple

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple