zsh-workers
 help / color / mirror / code / Atom feed
From: Andrej Borsenkow <borsenkow.msk@sni.de>
To: Zsh hackers list <zsh-workers@math.gatech.edu>
Subject: PATCH: zsh-3.1.2-zefram3: CLOBBERS_TYPEAHEAD for SINIX
Date: Tue, 27 Jan 1998 20:44:37 +0300 (MSK)	[thread overview]
Message-ID: <Pine.SV4.3.95.980127203844.11165C-100000@itsrm1> (raw)
In-Reply-To: <199801271616.RAA19759@hydra.ifh.de>

On Tue, 27 Jan 1998, Peter Stephenson wrote:

> Andrej Borsenkow wrote:
> > It is not a big deal, but I just discovered, that typeahead is lost. ZSH
> > sees only the first line; all others are just vanished.
> > 
> 
> It may be system dependent; there used to be a problem with Ultrix that
> you had to read the data already present before changing the terminal
> settings, else suchlike weird things would happen.
> 

Yep. Here is patch to configure which detects it for SINIX (and
RelianUNIX). I cannot test it for all versions, but it is needed for two
of them I currently have.

-------------------------------------------------------------------------
Andrej Borsenkow 		Fax:   +7 (095) 252 01 05
SNI ITS Moscow			Tel:   +7 (095) 252 13 88

NERV:  borsenkow.msk		E-Mail: borsenkow.msk@sni.de
-------------------------------------------------------------------------
--- configure.in.org	Fri Jan 16 16:19:12 1998
+++ configure.in	Tue Jan 27 20:30:20 1998
@@ -741,8 +741,8 @@
 dnl system names directly.
 dnl The doubled square brackets are necessary because autoconf uses m4.
 AC_CACHE_CHECK(if typeahead needs FIONREAD, zsh_cv_sys_clobbers_typeahead,
-[case x-$host_os in
-    x-ultrix* | x-dgux*)
+[case x-$host_vendor-$host_os in
+    x-*-ultrix* | x-*-dgux* | x-sni-sysv4*)
 	zsh_cv_sys_clobbers_typeahead=yes;;
     *)
 	zsh_cv_sys_clobbers_typeahead=no;;
--- configure.org	Fri Jan 16 16:52:35 1998
+++ configure	Tue Jan 27 20:30:20 1998
@@ -3696,8 +3696,8 @@
 if eval "test \"`echo '$''{'zsh_cv_sys_clobbers_typeahead'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
-  case x-$host_os in
-    x-ultrix* | x-dgux*)
+  case x-$host_vendor-$host_os in
+    x-*-ultrix* | x-*-dgux* | x-sni-sysv4*)
 	zsh_cv_sys_clobbers_typeahead=yes;;
     *)
 	zsh_cv_sys_clobbers_typeahead=no;;



      reply	other threads:[~1998-01-27 18:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-01-27 14:42 ZSH and typeahead Andrej Borsenkow
1998-01-27 16:16 ` Peter Stephenson
1998-01-27 17:44   ` Andrej Borsenkow [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.SV4.3.95.980127203844.11165C-100000@itsrm1 \
    --to=borsenkow.msk@sni.de \
    --cc=zsh-workers@math.gatech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).