Re: setup.exe crashes when downgrading gcc4

2010-08-30 Thread Andy Koppe
On 30 August 2010 13:43, Peter Münster wrote: >> - it seems, that it crashes now, whatever I do... > > Hello, > > I've found "the solution": instead of using mirror rz.ruhr-uni-bochum.de I > switched to mirror tu-dresden.de. Now there is no more crash! Good. The Bochum http mirror works fine for

Re: Support for the TIOCINQ ioctl

2010-08-27 Thread Andy Koppe
On 27 August 2010 23:31, Brennan Peter Sellner wrote: > By any chance, has support for the TIOCINQ ioctl on file descriptors (used > to check how many bytes of data are in the input buffer) been added to > Cygwin?  It hadn't as of 2004: > >  http://sourceware.org/ml/cygwin/2004-07/msg00910.html It

Re: gitk unusable in cygwin-1.7.6-1 because tcltk-20080420-1 is native win32 app.

2010-08-27 Thread Andy Koppe
On 27 August 2010 19:22, neomjp wrote: > 1. I see a long discussion about cygwin vs. win32 CWD is taking place in > cygwin-developer. What is win32 CWD going to be in cygwin in the future? It will be synced with the POSIX working directory again, except when the path is too long or it's a "virtual

Re: Upgrading to cygwin 1.7.6 vs gcc 4.5

2010-08-27 Thread Andy Koppe
On 18 August 2010 21:19, Andy Koppe wrote: > On 18 August 2010 06:25, Andy Koppe wrote: >> On 18 August 2010 00:09, Eric Blake wrote: >>> On 08/17/2010 04:54 PM, Ross Smith wrote: >>>> I've installed the experimental gcc 4.5 packages (because that's th

Re: setup.exe crashes when downgrading gcc4

2010-08-27 Thread Andy Koppe
On 27 August 2010 11:56, Peter Münster wrote: > I've installed version 4.5.0 of gcc4-core, gcc4-g++ and libgcc1. Now I would > like to uninstall these packages or go back to version 4.3.4. > > There is no possibility to uninstall these packages, when cycling in > setup.exe, there are these possibil

Re: How/Where do I get an older version of Cygwin?

2010-08-26 Thread Andy Koppe
On 26 August 2010 20:24, Larry Hall (Cygwin) wrote: > On 8/26/2010 3:03 PM, Blaine Miller wrote: >> PS... I read in the archives the following quote... >> >> Rerun 'setup.exe' and pick "Prev". >> >> There is no such option that I can find... > > Look at the page where you select packages, just abov

Re: mintty start menu icon

2010-08-26 Thread Andy Koppe
On 26 August 2010 18:13, Charles Wilson wrote: > On 8/26/2010 1:07 PM, Andy Koppe wrote: >> >> 2010/8/26 Vincent Rivière: >>> >>> It would be nice if the mintty package could honor the unchecking of "Add >>> icon to Start Menu" >> >&g

Re: mintty start menu icon

2010-08-26 Thread Andy Koppe
On 26 August 2010 17:02, Rance Hall wrote: > Wouldn't it better if the mintty installer asked on its own if this > shortcut were needed on new installs? I guess it would be possible for postinstall scripts to somehow throw up a message box before creating shortcuts, but I suspect that would cause

Re: mintty start menu icon

2010-08-26 Thread Andy Koppe
2010/8/26 Vincent Rivière: > I do not want a Cygwin folder in my start menu. When I run the Cygwin setup, > I always uncheck "Add icon to Start Menu" on the last page. Despite of that, > every time the mintty package is updated, its icon appears again in the > start menu. > > It would be nice if th

Re: lighttpd, nano, tidy: update (ping?)

2010-08-25 Thread Andy Koppe
On 25 August 2010 10:50, Yaakov (Cygwin/X) wrote: > Lapo, > > Ping on updates for lighttpd, nano and tidy? > > http://cygwin-ports.git.sourceforge.net/git/gitweb.cgi?p=cygwin-ports/ports;a=tree;f=apps/nano Yeah, an update for nano would be really nice. Is the 2.2.4-wchar.patch still needed? 2.2.5

Re: Cygwin setup not saving "Create icon on Desktop" setting?

2010-08-24 Thread Andy Koppe
On 24 August 2010 19:16, Jim Reisert AD1C wrote: > So, are the two check-box settings saved somewhere, and if so, where? No. It will helpfully untick the checkboxes if the shortcuts are already there. PTC, I presume. Andy -- Problem reports: http://cygwin.com/problems.html FAQ:

Re: Wrong/ inconsistent responses from diff

2010-08-23 Thread Andy Koppe
On 23 August 2010 14:57, Fergus wrote: > (Very sorry if this arrives twice: one sent 3H ago seems not to have made it > and I think maybe a AV induced signature was the cause: not provided with > this despatch.) > > Ouch, this is weird and inexplicable. > > Somehow diff identifies differences in tw

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

Re: Bash login slow after upgrade to cygwin 1.7

2010-08-20 Thread Andy Koppe
On 20 August 2010 18:20, Nahor wrote: >  On 2010-08-20 7:50, Jeremy Ramer wrote: >> >> After upgrading from cygwin 1.5 to cygwin 1.7 starting a bash shell is >> much slower.  It usually takes around 4 seconds before I get a prompt. >>  On cygwin 1.5 it was only around 1 second.  I captured some log

Re: All scripts in /etc/postinstall have wrong filetype

2010-08-18 Thread Andy Koppe
On 19 August 2010 04:50, Phil Goetz wrote: > After running Cygwin setup to update my Cygwin install, I got a popup error, > so I looked in /var/log/setup.log.  (BTW, it would be very helpful for the > popup to say "Check /var/log/setup.log" instead of "Check setup.log".) Yep. That's already fixe

Re: ImageMagick: More insufficient package dependencies

2010-08-18 Thread Andy Koppe
On 18 August 2010 21:50, Corinna Vinschen wrote: > On Aug 18 21:32, William Blunn wrote: >> On 18/08/2010 19:26, Christopher Faylor wrote: >> >On Wed, Aug 18, 2010 at 06:40:17PM +0100, William Blunn wrote: >> >>My apologies to all the folks NOT involved in maintaining the ImageMagick >> >>package,

Re: Upgrading to cygwin 1.7.6 vs gcc 4.5

2010-08-18 Thread Andy Koppe
On 18 August 2010 06:25, Andy Koppe wrote: > On 18 August 2010 00:09, Eric Blake wrote: >> On 08/17/2010 04:54 PM, Ross Smith wrote: >>> I've installed the experimental gcc 4.5 packages (because that's the >>> version I'm using in all my other developm

Re: "run" changes behavior with cygwin-17.6

2010-08-18 Thread Andy Koppe
On 18 August 2010 20:39, Christopher Faylor wrote: > On Wed, Aug 18, 2010 at 09:34:46PM +0200, Corinna Vinschen wrote: >>On Aug 18 15:22, Christopher Faylor wrote: >>> On Wed, Aug 18, 2010 at 03:19:06PM -0400, Christopher Faylor wrote: >>> >>already does for the environment.  Dropping the environme

Re: "run" changes behavior with cygwin-17.6

2010-08-18 Thread Andy Koppe
On 18 August 2010 19:24, Christopher Faylor wrote: >>I noticed a similar change in cygstart, too. I used to have a script >>that would cd to a directory and then run cygstart. After the upgrade to >>1.7.6, this stopped working. I had to use the --directory switch to >>cygstart to get the right beha

Re: "run" changes behavior with cygwin-17.6

2010-08-18 Thread Andy Koppe
On 18 August 2010 18:16, David Rothenberger wrote: > On 8/18/2010 10:12 AM, Charles Wilson wrote: >> On 8/18/2010 11:09 AM, Corinna Vinschen wrote: >>> Looks like the "run" tool now needs a call to >>> >>>    CYGWIN_CONV_TO_POSIX_PATH ((get_cwd (), win32_cwd)); >>> >>> and then use win32_cwd in the

Re: "run" changes behavior with cygwin-17.6

2010-08-18 Thread Andy Koppe
On 18 August 2010 15:51, Rodrigo Medina wrote: > After upgrading to cygwin17.6 the program run changes behavior. > For example: > If I start mintty with the followin .bat > >       �...@echo off >        C: >        chdir \cygwin\bin >        run mintty -e '/bin/bash' --login -i >        exit > > I

Re: Postinstall for mintty fails when installing "just for me"

2010-08-18 Thread Andy Koppe
On 18 August 2010 09:43, Corinna Vinschen wrote: > On Aug 17 15:12, Buchbinder, Barry (NIH/NIAID) [E] wrote: >> Corinna Vinschen sent the following at Tuesday, August 17, 2010 4:49 AM >> >> On 17 August 2010 02:26, Buchbinder, Barry wrote: >> >> > $ bash --norc --noprofile /etc/postinstall/mintty.s

Re: mintty hangs after SSH disconnect

2010-08-18 Thread Andy Koppe
On 18 August 2010 09:51, Csaba Raduly wrote: > The following scenario keeps happening more often than I like: > > I open a mintty console with a ssh: > C:\cygwin17\bin\mintty.exe /bin/bash --login -c "/usr/bin/ssh -Y lablinux1" > > (time passes) > I set the computer to sleep (the power button is re

Re: Postinstall for mintty fails when installing "just for me"

2010-08-17 Thread Andy Koppe
On 17 August 2010 20:12, Buchbinder, Barry (NIH/NIAID) [E] wrote: > Corinna Vinschen sent the following at Tuesday, August 17, 2010 4:49 AM >>On Aug 17 06:52, Andy Koppe wrote: >>> On 17 August 2010 02:26, Buchbinder, Barry wrote: >>> > $ bash --norc --noprof

Re: Upgrading to cygwin 1.7.6 vs gcc 4.5

2010-08-17 Thread Andy Koppe
On 18 August 2010 00:09, Eric Blake wrote: > On 08/17/2010 04:54 PM, Ross Smith wrote: >> I've installed the experimental gcc 4.5 packages (because that's the >> version I'm using in all my other development environments, and it's >> nice not to have to target multiple compiler versions any more),

Re: Existence check fails on Cygwin Perl

2010-08-17 Thread Andy Koppe
On 17 August 2010 10:06, Corinna Vinschen wrote: > On Aug 17 10:54, Lemke, Michael  SZ/HZA-ZSB2 wrote: >> On 17 Aug 2010 10:20:41 +0200, Corinna Vinschen wrote: >> >On Aug 16 18:13, Andrew DeFaria wrote: >> >> $ cat test.pl' >> >> use warnings; >> >> use strict; >> >> >> >> # Obviously non-existant

Re: Postinstall for mintty fails when installing "just for me"

2010-08-16 Thread Andy Koppe
On 17 August 2010 02:26, Buchbinder, Barry wrote: > $ bash --norc --noprofile /etc/postinstall/mintty.sh > /bin/mkdir: cannot create directory `/c/Documents and Settings/All > Users/Start Menu/Programs/Cygwin': Permission denied > mkshortcut: Saving "C:\Documents and Settings\All Users\Start > Me

Re: [ANNOUNCEMENT] Updated: experimental package: gcc4-4.5.0-1

2010-08-14 Thread Andy Koppe
On 14 August 2010 16:47, Angelo Graziosi wrote: > Dave, > >> A >> full release of GCC-4.5.1 will follow shortly. > > just for completeness, now that you are working on GCC-4.5.1, perhaps you > have some comments on this: > > http://cygwin.com/ml/cygwin-xfree/2010-08/msg5.html Oi, no thread hij

Re: Mode dependent cursor shape lost in cygwin Vim in a Windows console

2010-08-14 Thread Andy Koppe
On 13 August 2010 22:30, JOHNER Jean 066030 wrote: >> No, but I'm sure a patch implementing the DECSCUSR control sequence >> using SetConsoleCursorInfo() would be welcome. (Copyright assignment >> required.) > > I guess this patch is not in Vim code (which is able to do the job in a > normal cmd co

Re: Mode dependent cursor shape lost in cygwin Vim in a Windows console

2010-08-13 Thread Andy Koppe
On 13 August 2010 14:22, JOHNER Jean 066030 wrote: > Hello, > > Please do the following: > 1/ Start a standard cmd console >   Launch Windows Vim (C:\Program Files\vim\vim72\vim.exe) with >   vim -u NONE file1 > >  Result: file1 opens with a block cursor. If insert mode is activated, > the cursor c

Re: Cygwin 1.7.5-1: backspace does not work correctly...

2010-08-13 Thread Andy Koppe
On 13 August 2010 10:20, Nuzhna Pomoshch wrote: > On Tue, 20 Apr 2010 00:12:29 +0100, Andy Koppe wrote: > >> From the cygwin-1.7.5 release announcement: >> >> - Support DEC Backarrow Key Mode escape sequences >> (ESC [ ? 67 h, ESC [ ? 67 l) in Windows console. >&

Re: Mintty versus xterm colors in Vim

2010-08-12 Thread Andy Koppe
On 12 August 2010 18:30, JOHNER Jean 066030 wrote: > Hello, > Consider a .vimrc containing only the following line: > syntax on > Consider the following "test.f" fortran file: > __ > c Version 1.0 > *deck main > c Following comment

Re: 1.7.5: Occasional failure of CreatePipe or signal handing due to thread-unsafe code in cwdstuff::set

2010-08-11 Thread Andy Koppe
On 11 August 2010 20:55, John Carey wrote: > On Aug 11 01:49 Corinna Vinschen wrote: >> there's no Win32-safe way to set a new >> directory handle as cwd in Vista and later anymore.  Since there's no >> official API to set the cwd using a directory handle, there's no way to >> set the Win32 cwd to

Re: Incomplete installation of subversion

2010-08-11 Thread Andy Koppe
On 10 August 2010 12:59, Andy Koppe wrote: > On 10 August 2010 12:41, David Balažic wrote: >> I have a reasonably up to date cygwin installation (did an update a >> week ago or so). >> Today I run the latest setup (v2.708). In Pending I saw a few libX >> packages and

Re: Incomplete installation of subversion

2010-08-10 Thread Andy Koppe
On 10 August 2010 12:41, David Balažic wrote: > I have a reasonably up to date cygwin installation (did an update a > week ago or so). > Today I run the latest setup (v2.708). In Pending I saw a few libX > packages and minttty 0.8.1. > > Then I selected subversion for install. > On "Next" I got a d

Re: Opening .n extensions

2010-08-08 Thread Andy Koppe
On 8 August 2010 08:23, Luetta wrote: > First of all I would like to Thank You! in advance for answering this > question. > I read the 'stupid question' warnings, read through the forum topics, searched > dogpile, google, and yahoo search engines and could not find the answer.  I > admit ahead of

Re: Setup.exe update confusion

2010-08-06 Thread Andy Koppe
On 6 August 2010 19:38, Marco Moreno wrote: >> "Pending" is the old "Partial" view.  It's been renamed. > > Note that the tooltip still shows "Partial" instead of "Pending" when mousing > over the View button. Thanks for the report. Andy -- Problem reports: http://cygwin.com/problems.html

Re: How to launch an rxvt terminal window with Monospace font

2010-08-06 Thread Andy Koppe
On 29 July 2010 08:24, JOHNER Jean 066030 wrote: > - It seems that Monospace font is not available with non-X11 applications. I'd suspect that 'Monospace' isn't an actual font, but some sort of alias for the default monospace font, and it looks like it's either 'Bitstream Vera Sans Mono' or 'DejaV

[ANNOUNCEMENT] Updated: mintty-0.8.1-1

2010-08-06 Thread Andy Koppe
mintty 0.8.1-1 is on its way to the Cygwin mirrors. This is a feature release with a few enhancements and fixes also some fairly big behind-the-scenes changes. DESCRIPTION === Mintty is a terminal emulator for Cygwin with a native Windows user interface and minimalist design. Among its fea

Re: How to pass parameters to a windows application

2010-08-04 Thread Andy Koppe
On 4 August 2010 12:26, Corinna Vinschen wrote: > It's a shame that not even the official Win32 APIs are always clean > in terms of the long path name definition. Yep, and MSDN doesn't even seem to mention it. >> Therefore I'm wondering whether it wouldn't be better to address this >> once and fo

Re: Some key binding in Emacs not properly work in mintty.

2010-08-04 Thread Andy Koppe
On 2 August 2010 15:09, Ken Brown wrote: > On 8/2/2010 7:37 AM, Andy Koppe wrote: >> On 1 August 2010 16:17, Ken Brown wrote: >>> On 8/1/2010 10:18 AM, Oleksandr Gavenko wrote: >>>> >>>> Selection by Ctrl-Left/Right/Down work properly. >>>> Bu

Re: incompatible environment variable names

2010-08-04 Thread Andy Koppe
On 4 August 2010 19:59, Nellis, Kenneth wrote: >> > Cygwin> export QNX_VISUAL_C++_PATH="$(cygpath "$(printenv >> QNX_VISUAL_C++_PATH)")" >> > -bash: export: `QNX_VISUAL_C++_PATH=/cygdrive/c/Program Files/Orbital >> Qnx VisualC++ IDE': not a valid identifier >> > Cygwin> >> > >> > I probably need to

Re: About mouse selection in a cmd console

2010-08-04 Thread Andy Koppe
On 2 August 2010 12:05, JOHNER Jean 066030 wrote: > Note that, when 'Quick Edit' is not checked, right > click to access to "Mark" is not enabled when you launch Cygwin.bat > (why?). Because Cygwin's console driver sets the ENABLE_MOUSE_INPUT flag on the console (using SetConsoleMode(), see also h

Re: How to pass parameters to a windows application

2010-08-03 Thread Andy Koppe
On 3 August 2010 00:17, Dave Hylands wrote: >> [cygstart] does not play nice with unc paths. >> Starting by cmd.exe /c start path does. >> Suggestions? > > My open utility plays nice with UNC paths... ... because it uses cygwin_posix_to_win32_path_list(), which doesn't produce paths starting with

Re: How to pass parameters to a windows application

2010-08-03 Thread Andy Koppe
On 2 August 2010 12:56, Jason Pyeron wrote: >> 'cygstart'. > > It does not play nice with unc paths. Starting by cmd.exe /c start path does. > Suggestions? > > > jpye...@phoenix /projects/cdnetdb/private/fxiao/cdnet > $ cygstart . > > jpye...@phoenix /projects/cdnetdb/private/fxiao/cdnet > $ cygsta

Re: Request for a thicker line cursor in Mintty

2010-08-02 Thread Andy Koppe
On 1 August 2010 15:03, JOHNER Jean 066030 wrote: > On 1 August 2010 09:43, Andy Koppe wrote: >> >> Turns out there's a global Windows setting for the cursor width, at >> Control Panel -> Accessibility Options -> Display (that's where it is >> in XP any

Re: Window shortcut to launch a Mintty login bash on a given directory

2010-08-02 Thread Andy Koppe
On 1 August 2010 15:16, JOHNER Jean 066030 wrote: > On 31 July 2010 15:00, Andy Koppe wrote: > >> The window title is changed to the working directory as part of the >> shell prompt, i.e. the PS1 variable, which is set in /etc/profile. >> It's the initial part of it t

Re: Some key binding in Emacs not properly work in mintty.

2010-08-02 Thread Andy Koppe
On 1 August 2010 16:17, Ken Brown wrote: > On 8/1/2010 10:18 AM, Oleksandr Gavenko wrote: >> >> Selection by Ctrl-Left/Right/Down work properly. >> But for Ctrl-Up Emacs say: >> >>      is undefined > > I can't reproduce this.  If it still happens after you update your Cygwin > installation (see be

Re: How to pass parameters to a windows application

2010-08-02 Thread Andy Koppe
On 2 August 2010 07:49, Dave Hylands wrote: > > On Sun, Aug 1, 2010 at 5:43 PM, Jason Pyeron wrote: >> I am at my wits end trying to figure out how to execute this in bash >> >> C:\WINDOWS>cmd /c "start "" "C:\Documents and Settings\All >> Users\Desktop\projects\crisfield\trunk\etc"" > > Based on y

Re: Request for a thicker line cursor in Mintty

2010-08-01 Thread Andy Koppe
On 31 July 2010 16:11, Andy Koppe wrote: > On 31 July 2010 15:24, JOHNER Jean 066030 wrote: >>>> I use Mintty with the following options: >>>> Background: white, Foreground: black, Text: Fixedsys 9 pts, Cursor: >>>> line. >>>> >>>> Wit

Re: Request for a thicker line cursor in Mintty

2010-07-31 Thread Andy Koppe
On 31 July 2010 15:24, JOHNER Jean 066030 wrote: >>> I use Mintty with the following options: >>> Background: white, Foreground: black, Text: Fixedsys 9 pts, Cursor: >>> line. >>> >>> With such options, vim with default unix .vimrc colors looks great in >>> insert mode. However the cursor appears t

Re: Window shortcut to launch a Mintty login bash on a given directory

2010-07-31 Thread Andy Koppe
On 31 July 2010 14:45, JOHNER Jean 066030 wrote: > The last problem is that the window title, for the "My documents/foobar" > directory becomes: > /cygdrive/d/Documents and settings/User_name/My documents/foobar > which iconifies to "/cygdrive/d/Docu...", the latter indication being > the same for

Re: Should mintty's copy-on-select option be on by default?

2010-07-30 Thread Andy Koppe
On 29 July 2010 13:02, Andy Koppe wrote: > This is a difference in approach between Windows and X11: in X, the > selection is automatically made available for pasting, whereas in > Windows you need to explicitly copy it to the clipboard using the Copy > menu command or one of

Re: Window shortcut to launch a Mintty login bash on a given directory

2010-07-29 Thread Andy Koppe
On 29 July 2010 08:49, JOHNER Jean 066030 wrote: > Putting the following command line in a Windows shortcut opens a login > bash in the /home/User_name directory (~): > > C:\cygwin\bin\mintty.exe -e bash --login > > Now I would like to do the same in the /home/User_name/foobar directory. I assume

Re: Request for a thicker line cursor in Mintty

2010-07-29 Thread Andy Koppe
On 29 July 2010 21:33, JOHNER Jean 066030 wrote: > I use Mintty with the following options: > Background: white, Foreground: black, Text: Fixedsys 9 pts, Cursor: > line. > > With such options, vim with default unix .vimrc colors looks great in > insert mode. However the cursor appears to be a littl

Re: How to launch an rxvt terminal window with Monospace font

2010-07-29 Thread Andy Koppe
On 29 July 2010 08:24, JOHNER Jean 066030 wrote: > Mouse selection works (it does not with DOS) Actually mouse selection does work in the console, but it is somewhat, erm, challenging ... . Try 'Mark' from the context menu. Enable 'Quick Edit' in the console properties to make it almost bearable.

Should mintty's copy-on-select option be on by default?

2010-07-29 Thread Andy Koppe
On 29 July 2010 08:24, JOHNER Jean 066030 wrote: > Thank you for all the answers to my original request below. This was very > instructive. > In conclusion: > - to get middle-mouse paste of the selection with Mintty, Options/Mouse/copy > on select had to be checked, which is not the default. Mid

Re: Request for feature: more flexible setup routine

2010-07-27 Thread Andy Koppe
On 26 July 2010 18:09, Christopher Faylor wrote: >>> If we wanted to do something like this I think it would have to be a >>> separate dialog where the user makes a decision about what they want. >>> Either that or a list of packages to update would always be presented >>> so that people wouldn't b

Re: Cygwin command line takes a long time to start

2010-07-27 Thread Andy Koppe
On 26 July 2010 00:26, David Antliff wrote: > Thanks everyone - using these tips I was able to determine that > bash_completion was actually running twice - once by > /etc/profile.d/bash_completion.sh, and again by my own .bash_profile, > which was modifying the path prior to invoking it so that ap

Re: How to launch an rxvt terminal window with Monospace font

2010-07-27 Thread Andy Koppe
On 27 July 2010 16:24, Marco Atzeri wrote: >> Thank you, Jeremy, for your >> suggestion. >> I tried the Mintty font chooser. Unfortunately, the >> Monospace font is not proposed. >> However, the Fixedsys font is proposed, which is OK for me >> (my feeling is that the Lucida Console is too thin and

Re: Request for feature: more flexible setup routine

2010-07-26 Thread Andy Koppe
On 26 July 2010 15:29, Christopher Faylor wrote: > On Mon, Jul 26, 2010 at 12:52:48PM +0100, Andy Koppe wrote: >>#On 26 July 2010 10:32, Andrey Repin wrote: >>>> This makes me wonder whether Keep shouldn't be the default, on the >>>> principle that programs

Re: Request for feature: more flexible setup routine

2010-07-26 Thread Andy Koppe
#On 26 July 2010 10:32, Andrey Repin wrote: > Greetings, Andy Koppe! Здравствуйте! >> This makes me wonder whether Keep shouldn't be the default, on the >> principle that programs shouldn't do anything unless the user asks for >> it. > > Strange principle.

Re: Request for feature: more flexible setup routine

2010-07-25 Thread Andy Koppe
On 25 July 2010 03:54, Christopher Faylor wrote: > On Sat, Jul 24, 2010 at 07:10:08PM -0500, Marshall Abrams wrote: >>One of the beautiful things about Cygwin's setup.exe is that when--perhaps >>in the middle of trying to get something done before a deadline--I realize >>that a Cygwin package I did

Re: When will the next gcc come out

2010-07-23 Thread Andy Koppe
On 23 July 2010 09:24, Huang Bambo wrote: > The current gcc( 4.3.4 ) has some bug with O3 option. it will > optimized out some needed code in some case. > I meet this bug when I compile ACE library. > If I use O2 option, everything goes fine. Have you got any actual evidence for this being a bug i

Re: Cygwin command line takes a long time to start

2010-07-22 Thread Andy Koppe
On 23 July 2010 02:53, David Antliff wrote: >> OK then the easiest thing to do is add "set -x" to your ~/.bash_profile >> and watch where the delay happens as the statements scroll by. > > Ah, that's useful - I also have a 10-second-or-so delay when mintty > starts. By using a bunch of 'echo' comma

Re: Need to uninstall many packages, how?

2010-07-21 Thread Andy Koppe
On 22 July 2010 05:55, Christopher Faylor wrote: >>On Wed, Jul 21, 2010 at 5:18 PM, Brad De Vries wrote: >>> >>> After several minutes of downloading, verifying, installing, >>> configuring, post-installing, etc. I realized that it installed a lot >>> of X and Gnome related packages. ?Now I want to

Re: Need to uninstall many packages, how?

2010-07-21 Thread Andy Koppe
On 21 July 2010 22:18, Brad De Vries wrote: > Hello everyone.  Today I accidentally installed many new packages into > my cygwin setup, namely X and Gnome, and I didn't want them.  How do I > uninstall them? > > How this happened: > 1) I noticed that I had not installed vim, I know I was shocked to

Re: Problem with select() on console

2010-07-15 Thread Andy Koppe
On 15 July 2010 12:57, Cliff Hones wrote: >> On Thu, Jul 15, 2010 at 01:44:19AM +0100, Cliff Hones wrote: >>> When select() is used to test for input availability on the standard >>> cygwin console in normal (cooked) mode, it indicates input is available >>> as soon as any key is pressed.  However,

Re: {lp,cb}Reserved2 under Windows 7 and file descriptors

2010-07-15 Thread Andy Koppe
On 15 July 2010 09:19, Corinna Vinschen wrote: >> Furthermore, there is a very long-standing issue with Cygwin pty devices: >> while Cygwin programs report true from isatty() when called on a Cygwin PTY, >> MSVCRT applications do *not*. > > Right. > >> [...] >> However, due to the way the CRT works

Re: pthread_mutex_lock doesn't interrupt

2010-07-13 Thread Andy Koppe
On 13 July 2010 08:07, Corvus Corax wrote: >> Have you got chapter and verse from the POSIX standard on that? By >> 'interrupt' do you mean SIGINT or any signal? Is it possible that the >> signal is just being deferred and then subsumed by later signals? >> >> Andy > > PTHREAD_MUTEX_LOCK() has been

Re: Sending SIGUSR1 to thread in nanosleep causes segfault

2010-07-12 Thread Andy Koppe
On 12 July 2010 22:05, Corvus Corax wrote: > Just to update some details. > > I am working with James Cotton on the OpenPilot project. > We are trying to port the POSIX simulation port of FreeRTOS to cygwin. > > We run into issues with signal handling in cygwin 1.7.5 that are > currently blocking o

Re: pthread_mutex_lock doesn't interrupt

2010-07-12 Thread Andy Koppe
On 13 July 2010 01:08, James Cotton wrote: > Sorry, I don't have access to the actual POSIX standard It's at http://www.opengroup.org/onlinepubs/9699919799. > but my > interpretation is based on man pages: > > https://computing.llnl.gov/tutorials/pthreads/man/pthread_mutex_lock.txt > > And certai

Re: Cygwin extremely slow after updating from 1.5.1 to 1.7.5

2010-07-12 Thread Andy Koppe
On 12 July 2010 23:48, Jet Thompson wrote: >> Running a cucumber test takes 5-6 minutes. >> >> Any idea what could be causing this? > > I have installed spork. > > Time is now 45.2 seconds running Cucumber from > within e text editor. > > Time is 32 seconds running Cucumber from the command > line

Re: pthread_mutex_lock doesn't interrupt

2010-07-12 Thread Andy Koppe
On 12 July 2010 17:56, James Cotton wrote: > Hello, I've been trying to get the FreeRTOS Posix simulator to run on > Cygwin and have run into a few bugs in the signal handling/pthread > libraries and have isolated test cases > > I believe when pthread_mutex_lock receives an interrupt it should run

Re: Cygwin / Windows 7 Heap Problems

2010-07-12 Thread Andy Koppe
On 12 July 2010 22:40, m2c wrote: > > Hey, I'm wondering if there are any cygwin gurus who can shed some light on > crashes that look to be Windows7 64bit compatibility-related.  When running > a perl script through cygwin/bash on a fresh windows 7 64-bit install, I > encounter errors similar to wh

Re: 1.7.5 cannot bg mintty

2010-07-12 Thread Andy Koppe
On 30 May 2010 07:00, Christopher Faylor wrote: > On Sat, May 29, 2010 at 11:32:23PM +0100, Andy Koppe wrote: >>There's also another issue with the ^Z not taking effect immediately >>due to signal handling being disabled while mintty waits for Windows >>events, but that

Re: configure rxvt on cygwin 1.7.5

2010-07-09 Thread Andy Koppe
On 9 July 2010 08:51, philippe wrote: >>> For your -e option, simply run mintty with a single "-" as the only >>> option, i.e. "mintty -".  That will tell mintty to run an interactive >>> login shell for your user as specified in /etc/passwd. > > if i add in the Cygwin.bat the line > > mintty -t my

Re: configure rxvt on cygwin 1.7.5

2010-07-08 Thread Andy Koppe
On 8 July 2010 23:41, Jeremy Bopp wrote: > As Jason already informed you, mintty has an options dialog you can use > to configure it.  The equivalents of your rxvt options, except for the > -e option, can be configured there and saved automatically to > ~/.minttyrc so that future runs of mintty aut

Re: configure rxvt on cygwin 1.7.5

2010-07-08 Thread Andy Koppe
On 9 July 2010 00:01 lemkemch wrote: > If you want to continue with rxvt and want to keep it as close > as possible to the old behavior set > > export LANG=C.ISO-8859-1 > export LC_TIME=C > > in .profile Setting LANG in .profile is too late for bash itself, because that will continue to operate in

Re: configure rxvt on cygwin 1.7.5

2010-07-07 Thread Andy Koppe
On 6 July 2010 22:22, philippe wrote: > -  /cygwin.bat to replace basic console by rxvt with the line > > rxvt -fn "-*-Courier-medium-r-*-18-*-*-*-*-iso8859-1" -geometry 80x30 > -sr -bg "#d5" -fg "black" -sl 2000 -termName xterm -e /usr/bin/bash > --login -i Setting termName to "xterm" in rxvt

Re: Interference with Windows keyboard language

2010-06-29 Thread Andy Koppe
On 29 June 2010 16:01, DEWI - N. Zacharias wrote: > I had to setup an cygwin environment for a colleague which uses a laptop with > Portuguese Keyboard under a English version of Windows and sometimes he also > has to use german. > Under windows the language bar makes it easy to switch between th

Re: LANG=ru_RU.cp1251, but binutils use UTF-8.

2010-06-29 Thread Andy Koppe
2010/6/29 Csaba Raduly: > On Tue, Jun 29, 2010 at 10:32 AM, Oleksandr Gavenko wrote: >>  $ objdump --help | head -n 2 | hexl >> : d098 d181 d0bf d0be d0bb d18c d0b7 d0be   > (snipped) > > These bytes sure look like UTF-8. According to > http://software.hixie.ch/utilities/cgi

Re: rebaseall [1.7]: cyggcc_s-1.dll error

2010-06-29 Thread Andy Koppe
On 29 June 2010 14:58, Eric Blake wrote: > On 06/29/2010 06:44 AM, Jason Tishler wrote: >> Fergus, >> >> On Tue, Jun 29, 2010 at 06:34:02AM +0100, Fergus wrote: >>> rebaseall usually runs error-free but today I get >>> >>> M:\>bin\dash >>> $ /bin/rebaseall >>> ReBaseImage (/usr/bin/cyggcc_s-1.dll)

Re: 1.7.6 snapshot: intermittent "CreateProcessW failed"

2010-06-29 Thread Andy Koppe
On 29 June 2010 11:33, Corinna Vinschen wrote: > On Jun 29 10:48, Andy Koppe wrote: >> C:/bin on /usr/bin type ntfs (binary,auto) >> C:/lib on /usr/lib type ntfs (binary,auto) >> C: on / type ntfs (binary,auto) > > Urgh.  I hope you know what you're doing... Yea

Re: 1.7.6 snapshot: intermittent "CreateProcessW failed"

2010-06-29 Thread Andy Koppe
On 29 June 2010 09:30, Corinna Vinschen wrote: > On Jun 29 09:16, Andy Koppe wrote: >> On 28 June 2010 19:34, Christopher Faylor wrote: >> > On Mon, Jun 28, 2010 at 05:36:04PM +0100, Andy Koppe wrote: >> >>When running a couple of lengthy make-based builds in paralle

Re: 1.7.6 snapshot: intermittent "CreateProcessW failed"

2010-06-29 Thread Andy Koppe
On 28 June 2010 19:34, Christopher Faylor wrote: > On Mon, Jun 28, 2010 at 05:36:04PM +0100, Andy Koppe wrote: >>When running a couple of lengthy make-based builds in parallel, I >>eventually get error messages such as this: >> >>      3 [main] sh 4368 fork: child -1 - C

1.7.6 snapshot: intermittent "CreateProcessW failed"

2010-06-28 Thread Andy Koppe
When running a couple of lengthy make-based builds in parallel, I eventually get error messages such as this: 3 [main] sh 4368 fork: child -1 - CreateProcessW failed, errno 2 /bin/sh: fork: No such file or directory 5 [main] make 5736 fork: child -1 - CreateProcessW failed, errno 2 ma

Re: Updated: wdiff 0.6.3-1 -- Compare two files word by word

2010-06-28 Thread Andy Koppe
On 28 June 2010 13:20, Nellis, Kenneth wrote: >> From: cygwin-announce-owner On Behalf Of Jari Aalto >> >> PACKAGE DESCRIPTION >> === >> >> Homepage: http://www.gnu.org/software/wdiff >> License : GPL >> >> Find word deleted or added from the first file to make the second. A >> word

Re: Incomplete downloads reported across several mirrors

2010-06-26 Thread Andy Koppe
On 26 June 2010 13:43, Brian Wilson wrote: > By any chance, when you start a Cygwin shell do you occasionally get errors > like "4 [main] bash 15592 C:\cygwin\bin\bash.exe: *** fatal error - couldn't > allocate heap, Win32 error 487, base 0x6D, top 0x74, reserve_size > 454656, allocsize 458

Re: Mirror Problems

2010-06-25 Thread Andy Koppe
On 25 June 2010 08:50, DEWI wrote: > > Hi all, > Setup.exe reports that the mirror > > ftp://ftp.gwdg.de/pub/linux/sources.redhat.com/cygwin/ > > is no longer on the official Cygwin mirror list. > > That seems a bit  strange to me because this was a mirror for years and > worked exceptional fast a

Re: LANG=ru_RU.cp1251, but binutils use UTF-8.

2010-06-22 Thread Andy Koppe
On 21 June 2010 09:14, Oleksandr Gavenko wrote: > I globally set LANG=ru_RU.cp1251 for Russian Windows. > All command work as expected (from coreutils, svn, etc.). > > But objdump, nm, objcopy use UTF-8 instead recode to cp1251: > >  $  objdump --help | head -n 2 > Рспользование: objdum

Re: Problems with bzr-2.1.2-1

2010-06-19 Thread Andy Koppe
On 19 June 2010 21:51, Angelo Graziosi wrote: > After an update, BZR does not work any more: > > $ bzr up > bzr: ERROR: Couldn't import bzrlib and dependencies. > Please check the directory containing bzrlib is on your PYTHONPATH. > > Traceback (most recent call last): >  File "/usr/bin/bzr", line

[ANNOUNCEMENT] Updated: mintty-0.7.1-1

2010-06-18 Thread Andy Koppe
mintty 0.7.1-1 is on its way to the Cygwin mirrors. This is a feature release with quite a few enhancements, fixes and optimisations. DESCRIPTION === Mintty is a terminal emulator for Cygwin with a native Windows user interface and minimalist design. Among its features are Unicode support

Re: setting CYGWIN=nodosfilewarning not working.

2010-06-10 Thread Andy Koppe
On 10 June 2010 12:55, prakash babu wrote: > I have a web application which runs as SYSTEM user in windows. > It executes the following command using Java Runtime.exec api's > C:/cygwin/bin/sh.exe -c C:/cygwin/bin/mkdir.exe -p 'C:/cygwin/tmpdir' > > The command executes fine but I get the following

Re: mintty screen size problem

2010-06-09 Thread Andy Koppe
On 10 June 2010 06:07, Steven Woody wrote: > I found some windows native command-line programs can not run in > mintty, while they can in the old cygwin shell window. > > For example, there is a windows command line application, slrn,  (a > nntp news reader), when it is started from mintty, it will

Re: 'cp' utility bug when .exe file exist.

2010-06-09 Thread Andy Koppe
On 9 June 2010 14:50, Julio Costa wrote: [Running in cmd.exe] >>> The point is, that *is not* a reason, because it is easily fixed by >>> "set PATHEXE=%PATHEXE%:.". >> >> That's a nice one. I certainly didn't know about that. >> >> Explorer still needs the .exe though. > > Nope also. > Try thi

Re: 'cp' utility bug when .exe file exist.

2010-06-09 Thread Andy Koppe
On 9 June 2010 10:48, Julio Costa wrote: >>>And this is where my head got reeeally spinning... can anyone, please, >>>explain the reason to why this .exe magic exists, anyway? As far as I understand it, the original reason for it was that Windows 9x always required it. Of course Cygwin 1.7 no long

Re: Unicode/UTF-8 support (MinTTY) - ncursesw - Mutt, Vim

2010-06-07 Thread Andy Koppe
On 7 June 2010 13:44, Michael Ludwig wrote: > Andy Koppe schrieb am 07.06.2010 um 12:14:20 (+0100): >> On 7 June 2010 11:40, Corinna Vinschen wrote: > >> > I'll build the next release of vim (there's a 7.3 release coming >> > soon) against ncursesw. >>

Re: Unicode/UTF-8 support (MinTTY) - ncursesw - Mutt, Vim

2010-06-07 Thread Andy Koppe
On 7 June 2010 11:40, Corinna Vinschen wrote: > On Jun  7 11:23, Michael Ludwig wrote: >> The wide-character ncursesw was announced in January: >> >>   This is the first official release of ncurses compiled to support wide >>   characters, and can be installed simultaineously with the "narrow" >>  

getline and getdelim

2010-06-06 Thread Andy Koppe
The getline() and getdelim() functions have become part of the standard with POSIX.1-2008. Time to drop the _GNU_SOURCE guard from their declarations in ? http://www.opengroup.org/onlinepubs/9699919799/functions/getline.html Andy -- Problem reports: http://cygwin.com/problems.html FAQ:

<    1   2   3   4   5   6   7   8   9   10   >