summaryrefslogtreecommitdiffstats
path: root/c/src/tests/libtests
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1997-11-18 22:33:17 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1997-11-18 22:33:17 +0000
commit91daf552917f4729bd1a165a512fc61fd7a2fefd (patch)
treeacaf3ff101ef49cca466dcf68f51109ea02861d8 /c/src/tests/libtests
parentc7ca28cf379b4e46c277a59e23154cc36a9c5770 (diff)
downloadrtems-91daf552917f4729bd1a165a512fc61fd7a2fefd.tar.bz2
New file.
Diffstat (limited to 'c/src/tests/libtests')
-rw-r--r--c/src/tests/libtests/termios/README45
1 files changed, 45 insertions, 0 deletions
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.
+