🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #87595

Re: ^Y on hpux9 in no-window mode loses

#87595
From: dbrooks
Date: Thu, 15 Sep 1994 19:47
63 lines
2318 bytes
Well, this does the trick.  However, I am concerned (a) that I am undoing
something that was obviously done on purpose and (b) about the AIX comment,
and I don't have a machine to test it on.  Maybe this hack should be a
HPUX-only thing.

I did finally notice this parenthetical comment in man termios:

  The process group control features described here (except for setting
  and getting the delayed stop process character) are easily implemented
  using the functions tcgetattr(), tcsetattr()...

so it shouldn't have been a surprise, but is that a Posix omission or an HP
one?

David Brooks
ICS

*** systty.h.orig	Wed May 11 18:15:06 1994
--- systty.h	Thu Sep 15 15:27:25 1994
***************
*** 206,215 ****
  #undef SIGIO
  #endif
  
! /* 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)
  #define HAVE_LTCHARS
  #endif
  
--- 206,214 ----
  #undef SIGIO
  #endif
  
! /* On TERMIOS systems, the tcmumbleattr calls don't take care of dsusp, so
!    these are needed irrespective of HAVE_TERMIOS. */
! #if defined (TIOCGLTC)
  #define HAVE_LTCHARS
  #endif
  
***************
*** 365,373 ****
  #endif
  #endif
  
- /* If we have TERMIOS, we don't need to do this - they're taken care of
-    by the tc*attr calls.  */
- #ifndef HAVE_TERMIOS
  #ifdef HAVE_LTCHARS
    struct ltchars ltchars;
  #endif
--- 364,369 ----
***************
*** 375,381 ****
  #ifdef HAVE_TCHARS
    struct tchars tchars;
    int lmode;
- #endif
  #endif
  };
  
--- 371,376 ----
Technical Details
Message-ID: <9409151938.AA18808@sunburn>
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!ics.com!dbrooks

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 08:20:37 PST
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!ics.com!dbrooks
From: dbrooks@ics.com
Newsgroups: gnu.emacs.bug
Subject: Re: ^Y on hpux9 in no-window mode loses
Date: 15 Sep 1994 15:47:08 -0400
Organization: GNUs Not Usenet
Lines: 63
Sender: daemon@cis.ohio-state.edu
Approved: bug-gnu-emacs@prep.ai.mit.edu
Distribution: gnu
Message-ID: <9409151938.AA18808@sunburn>