all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Angelo Graziosi <angelo.graziosi@alice.it>
To: emacs-devel@gnu.org
Cc: dann@ics.uci.edu
Subject: Re: Failure bootstrapping Emacs (Cygwin)
Date: Thu, 31 Jul 2008 18:57:31 +0200	[thread overview]
Message-ID: <4891EEFB.4070900@alice.it> (raw)
In-Reply-To: <4891E7E8.1000503@alice.it>

Angelo Graziosi ha scritto:

> ...
> This is the cause:
> 
> 2008-07-30  Dan Nicolaescu  <xxxx@xxxx>
> 
>         * systty.h (sensemode): Remove empty #if.  Remove reference to
>         BSD_TERMIOS, unused.
> 
> Restoring to systty.h:
> 
> #if defined (HAVE_TERMIOS) && ! defined (BSD_TERMIOS)    
>          
> #define EMACS_GET_TTY_PGRP(fd, pgid) (*(pgid) = tcgetpgrp ((fd)))    
> #define EMACS_SET_TTY_PGRP(fd, pgid) (tcsetpgrp ((fd), *(pgid)))    
>          
> #else
> ...
> 
> #endif /*BSD_TERMIOS*/
> 
> works! i.e. applying:
> 
> $ cat /tmp/systty.h.diff
> --- systty.h.orig       2008-07-31 18:07:05.000000000 +0200
> +++ systty.h    2008-07-31 18:16:28.109375000 +0200
> @@ -188,12 +188,20 @@
> 
>  #ifdef EMACS_HAVE_TTY_PGRP
> 
> +#if defined (HAVE_TERMIOS) && ! defined (BSD_TERMIOS)
> +
> +#define EMACS_GET_TTY_PGRP(fd, pgid) (*(pgid) = tcgetpgrp ((fd)))
> +#define EMACS_SET_TTY_PGRP(fd, pgid) (tcsetpgrp ((fd), *(pgid)))
> +
> +#else
> +
>  #ifdef TIOCSPGRP
> 
>  #define EMACS_GET_TTY_PGRP(fd, pgid) (ioctl ((fd), TIOCGPGRP, (pgid)))
>  #define EMACS_SET_TTY_PGRP(fd, pgid) (ioctl ((fd), TIOCSPGRP, (pgid)))
> 
>  #endif /* TIOCSPGRP */
> +#endif /*BSD_TERMIOS*/
> 
>  #else /* not EMACS_SET_TTY_PGRP */
> 

or:

$ cat /work/systty.h.diff
--- systty.h.orig       2008-07-31 16:13:42.000000000 +0200
+++ systty.h    2008-07-31 18:43:08.625000000 +0200
@@ -151,12 +151,20 @@

  #ifdef EMACS_HAVE_TTY_PGRP

+#if defined (HAVE_TERMIOS)
+
+#define EMACS_GET_TTY_PGRP(fd, pgid) (*(pgid) = tcgetpgrp ((fd)))
+#define EMACS_SET_TTY_PGRP(fd, pgid) (tcsetpgrp ((fd), *(pgid)))
+
+#else
+
  #ifdef TIOCSPGRP

  #define EMACS_GET_TTY_PGRP(fd, pgid) (ioctl ((fd), TIOCGPGRP, (pgid)))
  #define EMACS_SET_TTY_PGRP(fd, pgid) (ioctl ((fd), TIOCSPGRP, (pgid)))

  #endif /* TIOCSPGRP */
+#endif /* HAVE_TERMIOS */

  #else /* not EMACS_SET_TTY_PGRP */


>> Cheers,
>>    Angelo.
>>
> 
> 





  reply	other threads:[~2008-07-31 16:57 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-31 14:45 Failure bootstrapping Emacs (Cygwin) Angelo Graziosi
2008-07-31 16:27 ` Angelo Graziosi
2008-07-31 16:57   ` Angelo Graziosi [this message]
2008-07-31 17:00   ` Dan Nicolaescu
2008-08-01 10:38     ` Warning starting Emacs (was Re: Failure bootstrapping Emacs (Cygwin)) Angelo Graziosi
2008-08-01 12:51       ` Warning starting Emacs (Cygwin) Angelo Graziosi
2008-08-01 13:08         ` Dan Nicolaescu
2008-08-01 14:13           ` Angelo Graziosi
2008-08-01 14:36             ` Dan Nicolaescu
2008-08-01 20:47               ` Angelo Graziosi
2008-08-02  4:06                 ` Dan Nicolaescu
2008-08-02 14:29                   ` Angelo Graziosi
2008-08-02 15:02                     ` Angelo Graziosi
2008-08-02 18:59                     ` Dan Nicolaescu
2008-08-02 19:14                       ` Chong Yidong
2008-08-02 19:30                         ` Dan Nicolaescu
2008-08-02 19:54                           ` Eli Zaretskii
2008-08-02 20:19                           ` Chong Yidong
2008-08-02 20:24                             ` Chong Yidong
2008-08-03  3:26                               ` Eli Zaretskii
2008-08-03  6:20                         ` Andreas Vögele
2008-08-03 14:10                           ` Chong Yidong
2008-08-03 22:35                             ` Angelo Graziosi
2008-08-04  6:25                               ` Andreas Vögele

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

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

  git send-email \
    --in-reply-to=4891EEFB.4070900@alice.it \
    --to=angelo.graziosi@alice.it \
    --cc=dann@ics.uci.edu \
    --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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.