setup_test
+if test ! -t 0 || test ! -t 1 || test ! -t 2; then
+ test_skip 'must be connected to terminal'
+fi
+
require_prog script
#### Use minimal arguments to script(1), i.e., just the file in
#### which to save the output. We do pipe input to script, which is