Introduction
Introduction Statistics Contact Development Disclaimer Help
up.sh - scroll - scrollbackbuffer program for st
git clone git://git.suckless.org/scroll
Log
Files
Refs
README
LICENSE
---
up.sh (229B)
---
1 #!/bin/sh
2
3 set -eu
4 export POSIXLY_CORRECT=1
5
6 i=1
7 while test "$i" -lt 50; do
8 echo "$i"
9 i=$((i + 1))
10 done > tmp.log
11
12 (sleep 1; printf '\033[5;2~'; sleep 1; ) \
13 | ./ptty ./scroll tail -fn 50 tmp.log > out.log
14
15 cmp out.log up.log
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.