unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Angelo Graziosi <Angelo.Graziosi@roma1.infn.it>
To: "d.henman" <dhenman@gmail.com>
Cc: Eli Zaretskii <eliz@gnu.org>, Dan Nicolaescu <dann@ics.uci.edu>,
	emacs-devel@gnu.org
Subject: Re: Failure in building Emacs 23.0.50 on Cygwin (fwd)
Date: Mon, 3 Sep 2007 01:40:56 +0200	[thread overview]
Message-ID: <Pine.CYG.4.58.0709030135240.3876@homepc> (raw)
In-Reply-To: <20070903075037.2652@blackhawk>


What do you think about this patch ?

------------------------------------------------------------------------
--- term.c.orig	2007-08-29 23:46:50.000000000 +0200
+++ term.c	2007-09-03 00:38:43.538785600 +0200
@@ -3127,8 +3127,12 @@
   EMACS_GET_TTY_PGRP (fd, &pgid); /* If tcgetpgrp succeeds, fd is the
ctty. */
   if (pgid != -1)
     {
-#if defined (USG) && !defined (BSD_PGRPS)
+#if (defined (USG) && !defined (BSD_PGRPS)) || (defined (CYGWIN))
+#ifdef CYGWIN
+      setsid ();
+#else
       setpgrp ();
+#endif  /* ! CYGWIN */
       no_controlling_tty = 1;
 #else
 #ifdef TIOCNOTTY                /* Try BSD ioctls. */
------------------------------------------------------------------------

With it I have build Emacs and it seems to work (usually I use it from X
shell). But, perhaps, you can suggest some more specific test.


Cheers,

  Angelo.


On Mon, 3 Sep 2007, d.henman wrote:

>
> Looks like a good find Angelo.
> I have just sent mail to the cygwin developers list to confirm, if this is
> still the preferred method of if anything newer exists.
>
> Regards,
>   Darel Henman
>
> Angelo Graziosi <Angelo.Graziosi@roma1.infn.it> wrote:
> >
> > Searching Cygwin lists archives, I have found this 'laconic' suggestion,
> >
> >    http://sourceware.org/ml/cygwin/2001-08/msg00753.html
> >
> >
> > Could it help in solving our problem?
> >
> >
> > Cheers,
> >
> >    Angelo.
> >
>
>

  reply	other threads:[~2007-09-02 23:40 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-02 22:10 Failure in building Emacs 23.0.50 on Cygwin (fwd) Angelo Graziosi
2007-09-02 22:50 ` d.henman
2007-09-02 23:40   ` Angelo Graziosi [this message]
2007-09-03  0:23     ` d.henman
2007-09-04 16:20       ` Dan Nicolaescu
2007-09-04 20:41         ` Angelo Graziosi
2007-09-04 20:53         ` Angelo Graziosi
2007-09-04 21:36           ` Dan Nicolaescu
2007-09-05  8:53             ` Angelo Graziosi
2007-09-05 17:38               ` Dan Nicolaescu
2007-09-05 19:58                 ` Angelo Graziosi
2007-09-05 20:22                   ` Dan Nicolaescu
2007-09-05 20:40                     ` Angelo Graziosi
2007-09-05 20:54                       ` Dan Nicolaescu
2007-09-06 10:09                         ` Angelo Graziosi
2007-09-06 16:26                           ` Dan Nicolaescu
2007-09-06 23:26                             ` d.henman
2007-09-07  4:06                               ` Jashy
2007-09-08  7:05                               ` d.henman
     [not found]                                 ` <E1IUCJM-0000k5-N0@fencepost.gnu.org>
2007-09-09  8:17                                   ` David Kastrup
2007-09-09 20:06                                     ` Richard Stallman
2007-09-09 21:31                                       ` Angelo Graziosi
2007-09-10 16:52                                         ` Richard Stallman
2007-09-09 22:27                                   ` d.henman
2007-09-10  1:13                                     ` Richard Stallman
2007-09-08  7:21                               ` d.henman
2007-09-07  3:58                           ` Dan Nicolaescu
2007-09-07  8:04                             ` NEW failure in building Emacs 23.0.50 on Cygwin Angelo Graziosi
2007-09-07 20:05                               ` Stefan Monnier
2007-09-07 23:38                                 ` Angelo Graziosi
2007-09-05  9:32           ` Failure in building Emacs 23.0.50 on Cygwin (fwd) Andreas Schwab
2007-09-05  9:44             ` d.henman
  -- strict thread matches above, loose matches on Subject: below --
2007-09-05 20:11 Angelo Graziosi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.CYG.4.58.0709030135240.3876@homepc \
    --to=angelo.graziosi@roma1.infn.it \
    --cc=dann@ics.uci.edu \
    --cc=dhenman@gmail.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).