Another copy of my dotfiles. Because I don't completely trust GitHub.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
229 B

  1. #!/bin/sh
  2. set -eu
  3. export POSIXLY_CORRECT=1
  4. i=1
  5. while test "$i" -lt 50; do
  6. echo "$i"
  7. i=$((i + 1))
  8. done > tmp.log
  9. (sleep 1; printf '\033[5;2~'; sleep 1; ) \
  10. | ./ptty ./scroll tail -fn 50 tmp.log > out.log
  11. cmp out.log up.log