From 91daf552917f4729bd1a165a512fc61fd7a2fefd Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 18 Nov 1997 22:33:17 +0000 Subject: New file. --- c/src/tests/libtests/termios/README | 45 +++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 c/src/tests/libtests/termios/README (limited to 'c/src/tests/libtests/termios/README') diff --git a/c/src/tests/libtests/termios/README b/c/src/tests/libtests/termios/README new file mode 100644 index 0000000000..6991d80309 --- /dev/null +++ b/c/src/tests/libtests/termios/README @@ -0,0 +1,45 @@ +# +# $Id$ +# + +These tests are brought to you by the letter `q'. + +VMIN=0, VTIME=0 + Each letter you type should produce a line of output. + The `count' should be quite large, since (as you correctly + pointed out) the read is non-blocking. The time should be + the interval between typing characters. + Type a `q' to finish the test. +VMIN=0, VTIME=20 + Again, each letter should produce a line of output. The + `count' should be much smaller -- the read is non-blocking + but has a timeout of 2 seconds, so the count should be about + half the `interval'. + Type a `q' to finish the test. +VMIN=5, VTIME=0 + A line should be produced for every 5 characters typed. The + count should be 1. This is a blocking read. + Type a `q' as the first character of a group of 5 to finish + the test. +VMIN=5, VTIME=20 + Type a character. Two seconds later a line should be printed. + Count should be 1. Type a character, and another within 2 +seconds. + Two seconds after last character (or right after the 5th +character) + a line should be printed. + Type a `q' as the first character of a group to finish the test. + +Clear??? + +Also, when testing the cooked mode input, try typing some tabs +and/or control characters and make sure that you can backspace over +them properly. + +--- +Eric Norum +eric@skatter.usask.ca +Saskatchewan Accelerator Laboratory +University of Saskatchewan +Saskatoon, Canada. + -- cgit v1.2.3