zsh-workers
 help / color / mirror / code / Atom feed
* ZSH and typeahead
@ 1998-01-27 14:42 Andrej Borsenkow
  1998-01-27 16:16 ` Peter Stephenson
  0 siblings, 1 reply; 3+ messages in thread
From: Andrej Borsenkow @ 1998-01-27 14:42 UTC (permalink / raw)
  To: Zsh workers mailing list

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.

Is it by design? I have a feeling, that it didn't happen before. this is
Zefram's version (including build patches).

-------------------------------------------------------------------------
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
-------------------------------------------------------------------------



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ZSH and typeahead
  1998-01-27 14:42 ZSH and typeahead Andrej Borsenkow
@ 1998-01-27 16:16 ` Peter Stephenson
  1998-01-27 17:44   ` PATCH: zsh-3.1.2-zefram3: CLOBBERS_TYPEAHEAD for SINIX Andrej Borsenkow
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Stephenson @ 1998-01-27 16:16 UTC (permalink / raw)
  To: Zsh hackers list

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.
> 
> Is it by design? I have a feeling, that it didn't happen before. this is
> Zefram's version (including build patches).

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.  It doesn't seem
to be happening here (IRIX).

-- 
Peter Stephenson <pws@ifh.de>       Tel: +39 50 911239
WWW:  http://www.ifh.de/~pws/
Gruppo Teorico, Dipartimento di Fisica
Piazza Torricelli 2, 56100 Pisa, Italy


^ permalink raw reply	[flat|nested] 3+ messages in thread

* PATCH: zsh-3.1.2-zefram3: CLOBBERS_TYPEAHEAD for SINIX
  1998-01-27 16:16 ` Peter Stephenson
@ 1998-01-27 17:44   ` Andrej Borsenkow
  0 siblings, 0 replies; 3+ messages in thread
From: Andrej Borsenkow @ 1998-01-27 17:44 UTC (permalink / raw)
  To: Zsh hackers list

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;;



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1998-01-27 18:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-01-27 14:42 ZSH and typeahead Andrej Borsenkow
1998-01-27 16:16 ` Peter Stephenson
1998-01-27 17:44   ` PATCH: zsh-3.1.2-zefram3: CLOBBERS_TYPEAHEAD for SINIX Andrej Borsenkow

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).