git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] fmt-merge-msg: avoid open "-|" list form for Perl 5.6

From
Alex Riesen <raa.lkml@gmail.com>
Date
Mar 2, 2006, 16:10 UTC
Message-ID
<81b0412b0603020810l57f9ee5p270f9c288770d1a7@mail.gmail.com>
In-Reply-To
<20060302150016.GC2781@trixie.casa.cgf.cx>
On 3/2/06, Christopher Faylor <me@cgf.cx> wrote:
> >That's not enough.
> >Try interrupting busy processes. Like "git pull", "git clone" or make.
>
> Are you saying that typing CTRL-C doesn't work when you use "git pull"?

It does. Almost always. It's the seldom cases when this does not really work which annoy me that much.

Show 5 quoted lines
> If so, give me a real bug report that I can look into.  I interrupt
> "busy" processes on cygwin all of the time so I'm not going to spend a
> few hours typing "git pull" on my system only to find out that you are
> talking about an environment that uses ActiveState perl on Windows 95
> using Netware.
well, it is almost exactly the case: WinNT 2K. And I cannot change this.
> If you are reporting a problem you need to provide details.

I am NOT reporting a problem. Everyone knows there are these problems, it's just almost no one (including me) cares enough about getting anything to work sanely on windows.

Please, stop assuming that every my complaint is a bug report about cygwin. It is not. You can use my mails as you please, even as bug reports. If you ask nicely, I can provide more details maybe. But I am not asking YOU for anything, and not complaining to YOU about anything.

I _do_not_ like how Cygwin workarounds windows, but I respect the effort and understand why it happens. Still, I'd prefer it die. I'll try to keep it moving, but no farther than needed and only when I really have to.

> There are also other mechanisms for a native windows
> program to deal with CTRL-C so this really shouldn't be an issue for
> any well-written program.

In windows you have to do hell of a lot useless typing to write what you consider a "well-written program".

Show 10 quoted lines
> >I wont be pressing anyone to implement them in windows, having the
> >knowledge.  What I'd actually suggest is to drop their implementation
> >entierly, returning ENOSYS,
>
> You're not being clear again, but if you are actually promoting the
> notion of cygwin not implementing signals then that is a really daft
> idea.  Really.  Go to the Cygwin web site and look at all of the
> packages which have been ported.  Now think about how they would work if
> Cygwin didn't support signals.  bash wouldn't work, openssh, X wouldn't
> work.

That's right. They are not _ported_. I'm not interested in xterm which prints page in a minute.

Show 6 quoted lines
> >so that programs are not fooled into believing that the system will
> >work as expected.  It never will.  "Ctrl-C" in windows console is just
> >a shortcut to TerminateProcess, live with that.
>
> Let me say it again since it isn't clear that you are getting it.  If
> signals in a pure cygwin environment don't work then that is *a bug*.
Whatever you say. I never expected them to, personally.
> If you are running pure windows programs in the mix with cygwin programs
> then if *they* don't stop when you hit CTRL-C, that is undoubtedly a bug
> in that pure windows program.

Maybe. I wouldn't blame that poor windows programmer though: it's hard, boring and in 99.9999% of starts of that program - dead code.

> If you find that a pure windows program terminates when run from a
> windows command prompt but keeps running when run by a cygwin program
> then that is likely a cygwin problem that can be reported to the cygwin
> mailing list.

gui applications detach from cmd (not from cygwin console), so that kind of pointless exercise.

> I'd suggest that using git with native windows programs should probably
> be considered "unsupported" since you seem to be having so much trouble
> with it.
I'd suggest calling cygwin ports unsupported.
Show 6 quoted lines
> >I cannot use umask, because I have to use stupid windows programs, and
> >they always create "executable" *.c and *.h, and I cannot blindly
> >remove it with something like "chmod -R -x", because it'd remove it
> >also from executables.
>
>   find . -name '*.[ch]' | xargs chmod a-x

find . -name '*.[ch]' -o -name '*.[ch]pp' -o -name Makefile -o -name '*.txt' -o ...ooh! damn it^C -print0| xargs -0 chmod -x You oversimplifying.

Previous: Christopher FaylorNext: Andreas Ericsson
Message 59 of 68 in “Should we support Perl 5.6?”
  1. Johannes SchindelinFeb 20, 2006
  2. Eric WongFeb 20, 2006
  3. Andreas EricssonFeb 20, 2006
  4. Junio C HamanoFeb 20, 2006
  5. fmt-merge-msg: avoid open "-|" list form for Perl 5.6Junio C Hamano, Feb 20, 2006
  6. rerere: avoid open "-|" list form for Perl 5.6Junio C Hamano, Feb 20, 2006
  7. send-email: avoid open "-|" list form for Perl 5.6Junio C Hamano, Feb 20, 2006
  8. svmimport: avoid open "-|" list form for Perl 5.6Junio C Hamano, Feb 20, 2006
  9. cvsimport: avoid open "-|" list form for Perl 5.6Junio C Hamano, Feb 20, 2006
  10. Alex RiesenFeb 21, 2006
  11. Sam VilainFeb 21, 2006
  12. Alex RiesenFeb 21, 2006
  13. Johannes SchindelinFeb 21, 2006
  14. Eric WongFeb 21, 2006
  15. Shawn PearceFeb 21, 2006
  16. Martin LanghoffFeb 21, 2006
  17. Sam VilainFeb 21, 2006
  18. Alex RiesenFeb 22, 2006
  19. Johannes SchindelinFeb 22, 2006
  20. Sam VilainFeb 22, 2006
  21. Junio C HamanoFeb 22, 2006
  22. Johannes SchindelinFeb 22, 2006
  23. Junio C HamanoFeb 22, 2006
  24. Alex RiesenFeb 23, 2006
  25. Junio C HamanoFeb 23, 2006
  26. Alex RiesenFeb 23, 2006
  27. Alex RiesenFeb 23, 2006
  28. Andreas EricssonFeb 23, 2006
  29. Alex RiesenFeb 23, 2006
  30. Andreas EricssonFeb 23, 2006
  31. Alex RiesenFeb 23, 2006
  32. Andreas EricssonFeb 23, 2006
  33. Linus TorvaldsFeb 23, 2006
  34. Junio C HamanoFeb 23, 2006
  35. Johannes SchindelinFeb 23, 2006
  36. Linus TorvaldsFeb 23, 2006
  37. Johannes SchindelinFeb 23, 2006
  38. Linus TorvaldsFeb 23, 2006
  39. Sam VilainFeb 23, 2006
  40. Linus TorvaldsFeb 24, 2006
  41. Alex RiesenFeb 23, 2006
  42. Christopher FaylorFeb 26, 2006
  43. Linus TorvaldsFeb 26, 2006
  44. Christopher FaylorFeb 26, 2006
  45. Alex RiesenMar 2, 2006
  46. Mark WoodingMar 2, 2006
  47. Alex RiesenMar 2, 2006
  48. Christopher FaylorMar 2, 2006
  49. Alex RiesenMar 2, 2006
  50. NT directory traversal speed on 25K files on CygwinRutger Nijlunsing, Feb 26, 2006
  51. Christopher FaylorFeb 27, 2006
  52. Rutger NijlunsingFeb 27, 2006
  53. Christopher FaylorFeb 27, 2006
  54. Andreas EricssonFeb 27, 2006
  55. Rutger NijlunsingFeb 27, 2006
  56. Alex RiesenMar 2, 2006
  57. Alex RiesenMar 2, 2006
  58. Christopher FaylorMar 2, 2006
  59. Alex RiesenMar 2, 2006
  60. Andreas EricssonMar 2, 2006
  61. Alex RiesenMar 2, 2006
  62. Christopher FaylorFeb 26, 2006
  63. Eric WongFeb 24, 2006
  64. Johannes SchindelinFeb 24, 2006
  65. Linus TorvaldsFeb 24, 2006
  66. Eric WongFeb 21, 2006
  67. Alex RiesenFeb 21, 2006
  68. Ron ParkerFeb 21, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.