texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[6319] sync before sending a C-u


From: Gavin D. Smith
Subject: [6319] sync before sending a C-u
Date: Sun, 07 Jun 2015 15:25:26 +0000

Revision: 6319
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=6319
Author:   gavin
Date:     2015-06-07 15:25:25 +0000 (Sun, 07 Jun 2015)
Log Message:
-----------
sync before sending a C-u

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/info/t/c-u-m-x-scroll-forward.sh

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2015-06-07 15:14:42 UTC (rev 6318)
+++ trunk/ChangeLog     2015-06-07 15:25:25 UTC (rev 6319)
@@ -1,5 +1,11 @@
 2015-06-07  Gavin Smith  <address@hidden>
 
+       * info/t/c-u-m-x-scroll-forward: Synch with controlled program 
+       before sending in typed input.  (Attempt at fixing test failures 
+       under CentOS.)
+
+2015-06-07  Gavin Smith  <address@hidden>
+
        * info/t/index-apropos.sh: Don't send C-g to controlled program.
 
 2015-06-07  Gavin Smith  <address@hidden>

Modified: trunk/info/t/c-u-m-x-scroll-forward.sh
===================================================================
--- trunk/info/t/c-u-m-x-scroll-forward.sh      2015-06-07 15:14:42 UTC (rev 
6318)
+++ trunk/info/t/c-u-m-x-scroll-forward.sh      2015-06-07 15:25:25 UTC (rev 
6319)
@@ -28,6 +28,11 @@
 
 run_ginfo -f intera -n 'Scroll four lines'
 
+# Wait for the program to do its terminal initialization, so that C-u
+# will not be special.
+printf D >$PTY_TYPE
+while test ! -f $GINFO_OUTPUT ; do sleep 1 ; done
+
 # C-u M-x scroll-forward should scroll four lines, not four screens
 printf '\025\033xscroll-forward\r' >$PTY_TYPE
 printf '\rDq' >$PTY_TYPE




reply via email to

[Prev in Thread] Current Thread [Next in Thread]