From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: Updated multi-tty support for Emacs Date: 03 Jan 2004 13:52:46 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1073135902 19578 80.91.224.253 (3 Jan 2004 13:18:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 3 Jan 2004 13:18:22 +0000 (UTC) Cc: Andreas Schwab , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sat Jan 03 14:18:18 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AclfW-0002Qo-00 for ; Sat, 03 Jan 2004 14:18:18 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AclfW-0000l0-00 for ; Sat, 03 Jan 2004 14:18:18 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AcmR6-0007Cu-T2 for emacs-devel@quimby.gnus.org; Sat, 03 Jan 2004 09:07:28 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AcmR2-0007Cl-24 for emacs-devel@gnu.org; Sat, 03 Jan 2004 09:07:24 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AcmQU-00079t-UO for emacs-devel@gnu.org; Sat, 03 Jan 2004 09:07:22 -0500 Original-Received: from [199.232.41.8] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1AcmH2-0005Qm-U7 for emacs-devel@gnu.org; Sat, 03 Jan 2004 08:57:04 -0500 Original-Received: from [62.226.11.147] (helo=localhost.localdomain) by mx20.gnu.org with esmtp (Exim 4.24) id 1AclGu-0000Mq-QN for emacs-devel@gnu.org; Sat, 03 Jan 2004 07:52:53 -0500 Original-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by localhost.localdomain (8.12.8/8.12.8) with ESMTP id i03CqmwC015192 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 3 Jan 2004 13:52:48 +0100 Original-Received: (from dak@localhost) by localhost.localdomain (8.12.8/8.12.8/Submit) id i03CqlgT015188; Sat, 3 Jan 2004 13:52:47 +0100 Original-To: lorentey@elte.hu (=?utf-8?b?TMWRcmVudGV5IEvDoXJvbHk=?=) In-Reply-To: Original-Lines: 37 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:18971 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:18971 lorentey@elte.hu (L=C5=91rentey K=C3=A1roly) writes: > Andreas Schwab writes: > > lorentey@elte.hu (K=C3=A1roly L=C5=91rentey) writes: > > > >> Please let me know what you think about this project. I badly need > >> testers, so if you think this would be useful for you, please give it > >> a try and tell me your results. (Note that Mac, MSDOS and Windows > >> support is broken at the moment, and I will probably need some help > >> with these ports later.) > > > > Also it won't build on any non-glibc system, due the unconditional use > > of getpt() in emacsclient. >=20 > I fixed this by eliminating the pty-proxy kludge from emacsclient. > patch-35 compiles and runs fine on Solaris with GCC. (I suspect I > may have inadvertently used some GCC extensions (conditional > lvalues) -- tell me if you succeed to compile the branch with > another compiler.) Conditional lvalues _are_ a GNU extension. You can work around by saying something like *(condition ? &a : &b) =3D ... but it will in general be better just to write if (condition) a =3D ...; else b =3D ...; Even if a stupid compiler does not catch the code duplication, only one branch gets executed, anyway. --=20 David Kastrup, Kriemhildstr. 15, 44793 Bochum