Trying to add an exit confirmation dialog to Cygwin setup.exe, failing

2009-03-14 Thread Terry Fleming
I want setup to ask for confirmation before exiting when alt+f4 is pressed, like firefox and many other programs do, rather than immediately exiting and terminating any download/install in progress, like it currently does. I spent many of the past 24 hours reading Win32 API documentation (I'm not

Re: Trying to add an exit confirmation dialog to Cygwin setup.exe, failing

2009-03-14 Thread Andy Koppe
Cygwin setup.exe's message loop is this  while (GetMessage (msg, NULL, 0, 0) != 0         GetMessage (msg, (HWND) NULL, 0, 0) != -1) I might not sufficiently understand Win32 messaging, but to me that looks as if it's dropping every other message. Shirley it should be calling GetMessage only

Re: Trying to add an exit confirmation dialog to Cygwin setup.exe, failing

2009-03-14 Thread Terry Fleming
Andy Koppe andy.ko...@gmail.com wrote: Cygwin setup.exe's message loop is this  while (GetMessage (msg, NULL, 0, 0) != 0         GetMessage (msg, (HWND) NULL, 0, 0) != -1) I might not sufficiently understand Win32 messaging, but to me that looks as if it's dropping every other message.

[RFU] mintty-0.3.6-1

2009-03-14 Thread Andy Koppe
MinTTY 0.3.6 is ready for upload. http://mintty.googlecode.com/svn/pkgs/cygwin/0.3.6-1/mintty-0.3.6-1-src.tar.bz2 http://mintty.googlecode.com/svn/pkgs/cygwin/0.3.6-1/mintty-0.3.6-1.tar.bz2 http://mintty.googlecode.com/svn/pkgs/cygwin/0.3.6-1/setup.hint Changes: - Added a man page. Credit to Lee

Re: [RFU] mintty-0.3.6-1

2009-03-14 Thread Charles Wilson
Andy Koppe wrote: MinTTY 0.3.6 is ready for upload. Uploaded. -- Chuck

Re: Upgrade broke Openbox

2009-03-14 Thread Arpel
Yaakov (Cygwin/X) wrote: Ouch. Compiled 5 minutes ago with both 1.5 and 1.7 and still getting this behaviour. Yaakov (Cygwin/X) wrote: Any advice for getting openbox back? The openbox package is extremely overdue for an update (distro: 0.99.1, upstream: 3.4.7.2). There is a

Re: Upgrade broke Openbox

2009-03-14 Thread Arpel
Yaakov (Cygwin/X) wrote: Ouch. Compiled 5 minutes ago with both 1.5 and 1.7 and still getting this behaviour. Yaakov (Cygwin/X) wrote: Any advice for getting openbox back? The openbox package is extremely overdue for an update (distro: 0.99.1, upstream: 3.4.7.2). There is a

setup.exe crashes when removing xorg-server

2009-03-14 Thread Mirko Vukovic
Hello, After (actually during) my last cygwin update, the installation procedure crashes when setup tries to uninstall xorg-server. I am running on windows XP I have updated to the latest setup.exe (2.573.2.3), and rebooted. I do not see any x-processes in either task manager or windows

xterm Home/End keycodes

2009-03-14 Thread Andy Koppe
I'm a bit confused about those. They didn't change during the xorg transition, did they? I could have sworn they sent VT220-style ^[[1; and ^[[4; but actually they send PC-style ^[[H and ^[[F. Of course I should have realised this when I changed F1 to F4 to PC-style codes in MinTTY ... D'oh, Andy

Re: xterm Home/End keycodes

2009-03-14 Thread Thomas Dickey
On Sat, 14 Mar 2009, Andy Koppe wrote: I'm a bit confused about those. They didn't change during the xorg transition, did they? I could have sworn they sent VT220-style ^[[1; and ^[[4; but actually they send PC-style ^[[H and ^[[F. Of course I should have realised this when I changed F1 to F4

Re: xterm Home/End keycodes

2009-03-14 Thread Thomas Dickey
On Sun, 15 Mar 2009, Andy Koppe wrote: 2009/3/15 Thomas Dickey dic...@his.com: I'm a bit confused about those. They didn't change during the xorg transition, did they? I could have sworn they sent VT220-style ^[[1; and ^[[4; but actually they send PC-style ^[[H and ^[[F. Of course I should

Re: Upgrade broke Openbox

2009-03-14 Thread Yaakov (Cygwin/X)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Arpel wrote: Compiled 5 minutes ago with both 1.5 and 1.7 and still getting this behaviour. That version of openbox is ancient, so I'm not entirely surprised. Any update on this point, 0.99.1 is still here ... I think we are some here that

src/winsup/cygwin ChangeLog gendef

2009-03-14 Thread corinna
CVSROOT:/cvs/src Module name:src Changes by: cori...@sourceware.org 2009-03-14 09:14:47 Modified files: winsup/cygwin : ChangeLog gendef Log message: * gendef: Remove STABS directives. Patches:

winsup/cygwin ChangeLog path.cc

2009-03-14 Thread cgf
CVSROOT:/cvs/uberbaum Module name:winsup Changes by: c...@sourceware.org 2009-03-14 18:35:28 Modified files: cygwin : ChangeLog path.cc Log message: * path.cc (warn_msdos): Don't warn about MS-DOS filenames encountered during initialization.

winsup/utils ChangeLog ldd.cc

2009-03-14 Thread cgf
CVSROOT:/cvs/uberbaum Module name:winsup Changes by: c...@sourceware.org 2009-03-14 18:40:59 Modified files: utils : ChangeLog ldd.cc Log message: * ldd.cc (longopts): Add --dll option. (get_module_filename): Generalized wrapper function

Re: errno.h: ESTRPIPE

2009-03-14 Thread Corinna Vinschen
On Mar 13 17:47, Christopher Faylor wrote: On Fri, Mar 13, 2009 at 09:59:49PM +0100, Corinna Vinschen wrote: On Mar 13 10:50, Christopher Faylor wrote: Defining a unique value means that, if we do decide at some point to add functionality which utilizes that errno there will be no need to

Re: errno.h: ESTRPIPE

2009-03-14 Thread Christopher Faylor
On Sat, Mar 14, 2009 at 10:25:59AM +0100, Corinna Vinschen wrote: On Mar 13 17:47, Christopher Faylor wrote: On Fri, Mar 13, 2009 at 09:59:49PM +0100, Corinna Vinschen wrote: On Mar 13 10:50, Christopher Faylor wrote: Defining a unique value means that, if we do decide at some point to add

Re: [ANNOUNCEMENT] Updated: experimental package: gcc4-4.3.2-2

2009-03-14 Thread Marco Atzeri
--- Sab 14/3/09, Dave Korn ha scritto: Da: Dave Korn Oggetto: Re: [ANNOUNCEMENT] Updated: experimental package: gcc4-4.3.2-2 A: cygwin@cygwin.com Data: Sabato 14 marzo 2009, 04:04 Angelo Graziosi wrote: Still continuing to test... Marco Atzeri wrote: if I had ./test_program I see

Re: [ANNOUNCEMENT] Updated: experimental package: gcc4-4.3.2-2

2009-03-14 Thread Dave Korn
Marco Atzeri wrote: it seems a 1.7 specific fault. On cygwin 1.5 it works; I never checked before :-( Odd! It fails for me on both. (You did update gcc-4 on *both* your installations, right?) is it possible that Cygwin-1.7 is fooled by the not like-C standard output ?

Re: [ANNOUNCEMENT] Updated: experimental package: gcc4-4.3.2-2

2009-03-14 Thread Marco Atzeri
--- Sab 14/3/09, Dave Korn ha scritto: Da: Dave Korn Oggetto: Re: [ANNOUNCEMENT] Updated: experimental package: gcc4-4.3.2-2 A: Data: Sabato 14 marzo 2009, 07:56 Marco Atzeri wrote: it seems a 1.7 specific fault. On cygwin 1.5 it works; I never checked before :-(   Odd!  It

Re: [ANNOUNCEMENT] Updated: experimental package: gcc4-4.3.2-2

2009-03-14 Thread Angelo Graziosi
Dave Korn wrote: 1.5 or 1.7? I do not use 1.7. uname -a CYGWIN_NT-5.1 mypc 1.5.25(0.156/4/2) 2008-06-12 19:34 i686 Cygwin cygcheck ./test_program.exe .\test_program.exe C:\cygwin\bin\cygwin1.dll C:\WINDOWS\system32\ADVAPI32.DLL C:\WINDOWS\system32\KERNEL32.dll

Clearing the Cygwin console

2009-03-14 Thread Thomas Wiedmann
Hello, on Linux/UNIX systems with the command 'clear' the console content usually can be flushed, on Windows with 'cls'. None of these commands worked with Cygwin. If I enter 'clear', the message bash: clear: command not found is returned. How can a console used with Cygwin be cleared?

Re: Starting other Cygwin console from Cygwin console

2009-03-14 Thread Thomas Wiedmann
cygstart bash Thanks - worked. Thomas Wiedmann -- 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: Clearing the Cygwin console

2009-03-14 Thread Andy Koppe
on Linux/UNIX systems with the command 'clear' the console content usually can be flushed, on Windows with 'cls'. None of these commands worked with Cygwin. If I enter 'clear', the message  bash: clear: command not found is returned. How can a console used with Cygwin be cleared? Ctrl+L.

Re: Clearing the Cygwin console

2009-03-14 Thread Thomas Wiedmann
Ctrl+L. Works in all terminals. Great - thanks - worked. Thomas Wiedmann -- 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: under cygwin, zsh cannot run when built against ncurses9-5.7-13

2009-03-14 Thread Vin Shelton
René Berber wrote: Vin Shelton wrote: Charles Wilson wrote: Just for grins, could you rebuild zsh against libncurses9 -- but this time use gcc3? cygiconv-2 and cygncurses-9 use the static gcc-3.4.4 libgcc.a, but you are apparently using the gcc-4.3.2 shared libgcc. I just wonder if that

Re: Clearing the Cygwin console

2009-03-14 Thread Dave Korn
Andy Koppe wrote: on Linux/UNIX systems with the command 'clear' the console content usually can be flushed, on Windows with 'cls'. None of these commands worked with Cygwin. If I enter 'clear', the message bash: clear: command not found is returned. How can a console used with Cygwin be

Re: Clearing the Cygwin console

2009-03-14 Thread Charles Wilson
Dave Korn wrote: In a DOS console, it doesn't clear and reset the scrollback buffer, only the visible field. There's also 'clear.exe', although it also does not clear/reset the scrollback buffer. -- Chuck -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports:

Re: Clearing the Cygwin console

2009-03-14 Thread Thorsten Kampe
* Thomas Wiedmann (Sat, 14 Mar 2009 10:25:21 +0100) on Linux/UNIX systems with the command 'clear' the console content usually can be flushed, on Windows with 'cls'. None of these commands worked with Cygwin. If I enter 'clear', the message bash: clear: command not found is returned. How

Re: Problems installing Cygwin on Windows XP

2009-03-14 Thread Thorsten Kampe
* cwcarls...@cox.net (Fri, 13 Mar 2009 14:43:53 -0400) Today, I tried to install it on my Windows XP system at work. I downloaded the entire release (Download without Installing) and copied this to a CD. I got the release from kernel.org. I had to do this because we don't have full Internet

Re: Clearing the Cygwin console

2009-03-14 Thread Lee D. Rothstein
Andy Koppe wrote: on Linux/UNIX systems with the command 'clear' the console content usually can be flushed, on Windows with 'cls'. None of these commands worked with Cygwin. If I enter 'clear', the message bash: clear: command not found is returned. How can a console used with Cygwin be

Re: Clearing the Cygwin console

2009-03-14 Thread Dave Korn
Lee D. Rothstein wrote: Andy Koppe wrote: on Linux/UNIX systems with the command 'clear' the console content usually can be flushed, on Windows with 'cls'. None of these commands worked with Cygwin. If I enter 'clear', the message bash: clear: command not found is returned. How can a

Re: MinTTY 0.3.3

2009-03-14 Thread bjoe
On Sun, Mar 08, 2009 at 09:37:03PM +, Andy Koppe wrote: What I found missing in Mintty is putty feature to start duplicate session (more welcome with hot-keys) Since MinTTY doesn't have sessions like Putty, I didn't think there was much point in keeping this. It's because you remove

Mintty running program from shortcut problem

2009-03-14 Thread bjoe
Dear, When we running program with mintty from shortcut, mintty will running the program in non login shell without knowing cygwin PATH. This will make some kind of error When program try to running external program like info run gzip or using shell escape in vim. Is this expected behavior?

Re: MinTTY 0.3.3

2009-03-14 Thread Charles Wilson
bjoe wrote: It's because you remove networking function from putty, right. IMHO this feature will help many user (especially who come from Windows word) and will give sort of additional point for Mintty (regarding flame war between mintty and rxvt). What flame war? If you like mintty, use

Re: Mintty running program from shortcut problem

2009-03-14 Thread Andy Koppe
When we running program with mintty from shortcut, mintty will running the program in non login shell without knowing cygwin PATH. This will make some kind of error When program try to running external program like info run gzip or using shell escape in vim. Is this expected behavior? Yep.

setup.exe crashes when removing xorg-server

2009-03-14 Thread Mirko Vukovic
Hello, After (actually during) my last cygwin update, the installation procedure crashes when setup tries to uninstall xorg-server. I am running on windows XP I have updated to the latest setup.exe (2.573.2.3), and rebooted. I do not see any x-processes in either task manager or windows

Re: setup.exe crashes when removing xorg-server

2009-03-14 Thread tmcd
On Sat, 14 Mar 2009, Mirko Vukovic barely.remembered-in.t...@to.munge.this wrote: After (actually during) my last cygwin update, the installation procedure crashes when setup tries to uninstall xorg-server. I am running on windows XP Is the crash something like a window popping up saying that

clearing the scrollback buffer in mintty

2009-03-14 Thread Lee D. Rothstein
Dave Korn piped: For gui consoles, use alias cls='echo -e \033c' which does clear the scrollback buffer. Thanks Dave, this works on 'xterm' but not on 'mintty'. On 'mintty' it does a 'clear' (i.e., clears the screen), rather than a 'cls' (i.e., clears the screen and scrollback

Is there a problem with cygport?

2009-03-14 Thread Lee D.Rothstein
---BeginMessage--- A huge number (575) of 'man' pages, that reference other man pages using a '.so' (source include) reference, fail to work because the plain text files have the '.gz' extension appended without actually being gzipped. Could this be due to a mishap in or with the 'cygport'

[ANNOUNCEMENT] Update: mintty-0.3.6-1

2009-03-14 Thread Andy Koppe
MinTTY is a terminal emulator for Cygwin with a native Windows user interface and minimalist design. Its terminal emulation is largely compatible with xterm, but it does not require an X server to be running. It is based on code from PuTTY 0.60 by Simon Tatham and team. This is a routine update.

[ANNOUNCEMENT] Updated: [1.7] {libXpm-noX/libXpm-noX-devel/libXpm-noX_4}-3.5.7-11

2009-03-14 Thread Charles Wilson
The libXpm-noX packages provide a version of the X.Org XPM image format library that do NOT require the use of an X server. This library can be used to read, process, and save XPM images, but all display code has been removed, because that requires X. It is useful for applications that need to

[ANNOUNCEMENT] Updated: {libXpm-noX/libXpm-noX-devel/libXpm-noX_4}-3.5.7-2

2009-03-14 Thread Charles Wilson
The libXpm-noX packages provide a version of the X.Org XPM image format library that do NOT require the use of an X server. This library can be used to read, process, and save XPM images, but all display code has been removed, because that requires X. It is useful for applications that need to

Re: setup.exe crashes when removing xorg-server

2009-03-14 Thread Mirko Vukovic
On Sat, Mar 14, 2009 at 9:05 PM, t...@panix.com wrote: On Sat, 14 Mar 2009, Mirko Vukovic barely.remembered-in.t...@to.munge.this wrote: After (actually during) my last cygwin update, the installation procedure crashes when setup tries to uninstall xorg-server.  I am running on windows XP

Re: [ANNOUNCEMENT] [1.7] Updated: {libtool/libltdl7}-2.2.7a-10

2009-03-14 Thread Yaakov (Cygwin/X)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Charles Wilson wrote: GNU libtool is a generic library support script. Libtool hides the complexity of using shared libraries behind a consistent, portable interface. This is a bugfix and feature enhancement update. With this release I'm

Re: under cygwin, zsh cannot run when built against ncurses9-5.7-13

2009-03-14 Thread Peter A. Castro
On Sat, 14 Mar 2009, Dave Korn wrote: Vin Shelton wrote: How can I ascertain what entry point is not being found? You need depends.exe. http://www.dependencywalker.com/ Thanks, Dave! That's a kool tool! cheers, DaveK -- Peter A. Castro doc...@fruitbat.org or

long unsigned int vs. uint32_t again

2009-03-14 Thread Charles Wilson
Why does the following give me a warning (with -Wformat=2): uint32_t seconds = ... uint32_t minutes = ... uint32_t hours = ... snprintf(buf, sizeof(buf), % PRIu32 :%02 PRIu32 :%02 PRIu32, hours, minutes, seconds); warning: long unsigned int

Re: under cygwin, zsh cannot run when built against ncurses9-5.7-13

2009-03-14 Thread Peter A. Castro
On Sat, 14 Mar 2009, Vin Shelton wrote: Greetings, All, As the zsh maintainer I guess I get to try and figure out what's going on. :-) Using the Dependency Walker tool that Chuck pointed out (thanks Chuck!), I've found some rather interesting things. The offending symbol entries are the

Updated: {libXpm-noX/libXpm-noX-devel/libXpm-noX_4}-3.5.7-2

2009-03-14 Thread Charles Wilson
The libXpm-noX packages provide a version of the X.Org XPM image format library that do NOT require the use of an X server. This library can be used to read, process, and save XPM images, but all display code has been removed, because that requires X. It is useful for applications that need to