Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Confirming X02zlevi test failures



On Nov 26,  3:45pm, Peter Stephenson wrote:
} Subject: Re: Confirming X02zlevi test failures
}
} On Wed, 26 Nov 2014 15:51:19 +0100
} Oliver Kiddle <okiddle@xxxxxxxxxxx> wrote:
} > The delayzsetterm stuff is not related. Digging through the history
} > shows that the "some systems" on which the workaround was needed are
} > DG/UX and Ultrix. Any objections to just ripping this out as per the
} > patch below?
} 
} Sounds sensible to me, unless someone can dredge up a modern system like
} this.

It shouldn't be hard to write a test case though it requires a person to
drive it.  Open /dev/tty, set icanon, sleep while the user enters some
typeahead, set -icanon and then see if you can read the typeahead.  Then
try the icanon flop in the opposite order.  It might even be possible to
do it with a script and stty rather than a C program, although it might
also require that all the frobbing and reading use the same (not a dup of
the same) file descriptor.



Messages sorted by: Reverse Date, Date, Thread, Author