From xemacs-m  Fri May 23 03:09:27 1997
Received: from jagor.srce.hr (hniksic@jagor.srce.hr [161.53.2.130])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id DAA09719
	for <xemacs-beta@xemacs.org>; Fri, 23 May 1997 03:09:24 -0500 (CDT)
Received: (from hniksic@localhost)
          by jagor.srce.hr (8.8.5/8.8.4)
	  id KAA16100; Fri, 23 May 1997 10:09:18 +0200 (MET DST)
Content-Type: text/plain; charset=iso-8859-2
Content-Transfer-Encoding: 8bit
To: XEmacs Developers <xemacs-beta@xemacs.org>
Subject: [patch] Compiling with `--with-tty=no'
X-Save-Project-Gutenberg: <URL:http://www.promo.net/pg/nl/pgny_nov96.html>
X-Attribution: Hrv
X-Face: Mie8:rOV<\c/~z{s.X4A{!?vY7{drJ([U]0O=W/<W*SMo/Mv:58:*_y~ki>xDi&N7XG
        KV^$k0m3Oe/)'e%3=$PCR&3ITUXH,cK>]bci&<qQ>Ff%x_>1`T(+M2Gg/fgndU%k*ft
        [(7._6e0n-V%|%'[c|q:;}td$#INd+;?!-V=c8Pqf}3J
X-NSA-Fodder: [Hello to all my fans in domestic surveillance] South Africa
From: Hrvoje Niksic <hniksic@srce.hr>
Date: 23 May 1997 10:09:17 +0200
Message-ID: <kig3eretxsi.fsf@jagor.srce.hr>
Lines: 35
X-Mailer: Gnus v5.4.52/XEmacs 20.2

There's a Croatian proverb that says "dokoni pop i jarie krsti",
which translates to something like "an idle priest will baptize
lambs", only juicier.  XEmacs development shows how one can spend idle 
time with more interesting work than baptizing lambs.

In the moments, of idleness, I tried to compile XEmacs without the TTY 
support.  Here is a patch required to compile it.

--- src/sysdep.c.orig	Fri May 23 08:51:13 1997
+++ src/sysdep.c	Fri May 23 08:52:16 1997
@@ -1322,7 +1322,8 @@
 /*        Getting and setting emacs_tty structures        */
 /* ------------------------------------------------------ */
 
-#ifdef HAVE_TTY
+/* It's wrong to encase these into #ifdef HAVE_TTY because we need
+   them for child TTY processes.  */
 
 /* Set *TC to the parameters associated with the terminal FD.
    Return zero if all's well, or -1 if we ran into an error we
@@ -1462,8 +1463,6 @@
   /* We have survived the tempest.  */
   return 0;
 }
-
-#endif
 
 
 /* ------------------------------------------------------ */


-- 
Hrvoje Niksic <hniksic@srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
Good pings come in small packets.

