Article View: gnu.emacs.bug
Article #87449Re: ^Y on hpux9 in no-window mode loses
From: Neal Becker
Date: Thu, 15 Sep 1994 20:31
Date: Thu, 15 Sep 1994 20:31
42 lines
2022 bytes
2022 bytes
I suggest this patch. dbrooks, can you please test it? I don't have
any convenient way to test it here. I compiles OK and is probably
correct.
--- 1.1 1994/09/15 18:57:03
+++ emacs-19.26/src/systty.h 1994/09/15 20:05:48
@@ -209,7 +209,9 @@
/* On TERMIOS systems, the tcmumbleattr calls take care of these
parameters, and it's a bad idea to use them (on AIX, it makes the
tty hang for a long time). */
-#if defined (TIOCGLTC) && !defined (HAVE_TERMIOS)
+/* On HPUX we can use POSIX junk, but VDSUSP is not there, so we still
+ need ltchars. Seems to be OK */
+#if defined (TIOCGLTC) && (defined (TERMIOS_VDSUSP_MISSING) || !defined (HAVE_TERMIOS))
#define HAVE_LTCHARS
#endif
@@ -367,7 +369,8 @@
/* If we have TERMIOS, we don't need to do this - they're taken care of
by the tc*attr calls. */
-#ifndef HAVE_TERMIOS
+/* HAVE_LTCHARS is not defined if we don't want it, so we don't need to
+ test for TERMIOS here neal@ctd.comsat.com */
#ifdef HAVE_LTCHARS
struct ltchars ltchars;
#endif
@@ -375,7 +378,6 @@
#ifdef HAVE_TCHARS
struct tchars tchars;
int lmode;
-#endif
#endif
};
--- 1.1 1994/09/15 19:51:52
+++ emacs-19.26/src/s/hpux9.h 1994/09/15 19:52:07
@@ -22,3 +22,4 @@
#undef HAVE_TERMIO
#define HAVE_TERMIOS
#define NO_TERMIO
+#define TERMIOS_VDSUSP_MISSING
Technical Details
Message-ID:
<m0qlNIu-0002fEC@neal.ctd.comsat.com>Path:
arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!math.ohio-state.edu!cis.ohio-state.edu!ctd.COMsat.COM!nealReferences:
<9409151938.AA18808@sunburn>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,473ca912e1dc099e X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1994-09-16 10:32:19 PST Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!math.ohio-state.edu!cis.ohio-state.edu!ctd.COMsat.COM!neal From: neal@ctd.COMsat.COM (Neal Becker) Newsgroups: gnu.emacs.bug Subject: Re: ^Y on hpux9 in no-window mode loses Date: 15 Sep 1994 16:31:57 -0400 Organization: GNUs Not Usenet Lines: 42 Sender: daemon@cis.ohio-state.edu Approved: bug-gnu-emacs@prep.ai.mit.edu Distribution: gnu Message-ID: <m0qlNIu-0002fEC@neal.ctd.comsat.com> References: <9409151938.AA18808@sunburn>