From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.bugs Subject: bug#6811: [PATCH] emacs-23.2 on hpux Date: Mon, 09 Aug 2010 16:42:01 -0400 Message-ID: References: <20100806161627.GM7715@tw.local> <4C5FE0E5.6070007@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1281388484 4761 80.91.229.12 (9 Aug 2010 21:14:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 9 Aug 2010 21:14:44 +0000 (UTC) Cc: 6811@debbugs.gnu.org, Peter O'Gorman To: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Aug 09 23:14:41 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OiZde-0001iJ-Jb for geb-bug-gnu-emacs@m.gmane.org; Mon, 09 Aug 2010 23:14:41 +0200 Original-Received: from localhost ([127.0.0.1]:46349 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OiZdG-0003Rv-0x for geb-bug-gnu-emacs@m.gmane.org; Mon, 09 Aug 2010 17:11:42 -0400 Original-Received: from [140.186.70.92] (port=48093 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OiZbA-00028d-4B for bug-gnu-emacs@gnu.org; Mon, 09 Aug 2010 17:11:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OiZa5-0002ZT-Cf for bug-gnu-emacs@gnu.org; Mon, 09 Aug 2010 17:08:26 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47078) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OiZa5-0002ZO-BN for bug-gnu-emacs@gnu.org; Mon, 09 Aug 2010 17:08:25 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OiZAX-0001zn-QP; Mon, 09 Aug 2010 16:42:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dan Nicolaescu Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 09 Aug 2010 20:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6811 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 6811-submit@debbugs.gnu.org id=B6811.12813864847640 (code B ref 6811); Mon, 09 Aug 2010 20:42:01 +0000 Original-Received: (at 6811) by debbugs.gnu.org; 9 Aug 2010 20:41:24 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OiZ9v-0001zB-I3 for submit@debbugs.gnu.org; Mon, 09 Aug 2010 16:41:24 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OiZ9s-0001z0-5g for 6811@debbugs.gnu.org; Mon, 09 Aug 2010 16:41:20 -0400 Original-Received: from dann by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1OiZAX-0006FZ-K8; Mon, 09 Aug 2010 16:42:01 -0400 In-Reply-To: <4C5FE0E5.6070007@swipnet.se> ("Jan =?UTF-8?Q?Dj=C3=A4rv"'s?= message of "Mon\, 09 Aug 2010 13\:05\:09 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 09 Aug 2010 16:42:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:39380 Archived-At: Jan Dj=E4rv writes: > Dan Nicolaescu skrev 2010-08-09 11.47: >> "Peter O'Gorman" writes: >>> >>> -#define HAVE_TERMIO >>> +#define NO_TERMIO >>> +#define HAVE_TERMIOS >> >> I'll check these in. The last hunk is especially interesting, as hpux >> was the last platform to use HAVE_TERMIO, so that will allow for a lot >> of simplifications in the code... >> > > This must have been a leftover from a very old HP-UX. AFAIK, HP-UX > has had termios since HP-UX 7 or 8. How about this code from systty.h: /* EMACS_HAVE_TTY_PGRP is true if we can get and set the tty's current controlling process group. EMACS_GET_TTY_PGRP(int FD, int *PGID) sets *PGID the terminal FD's current process group. Return -1 if there is an error. EMACS_SET_TTY_PGRP(int FD, int *PGID) sets the terminal FD's current process group to *PGID. Return -1 if there is an error. */ /* HPUX tty process group stuff doesn't work, says the anonymous voice from the past. */ #ifndef HPUX #ifdef TIOCGPGRP #define EMACS_HAVE_TTY_PGRP #else #ifdef HAVE_TERMIOS #define EMACS_HAVE_TTY_PGRP #endif /* HAVE_TERMIOS */ #endif /* TIOCGPGRP */ #endif /* not HPUX */ can the HPUX special case be removed now?=20