trap sigint

This commit is contained in:
sorrel 2024-04-24 20:57:52 -04:00
parent 677833b45a
commit b53fc606f1

View file

@ -25,6 +25,12 @@ h3() {
echo $1 | toilet --gay -f mini
}
sigint() {
echo
}
trap sigint 2
## NOW WE"RE REMOTING
h1 " we're on bunkchat now"
@ -50,17 +56,31 @@ toilet -w 100 -f block --gay bunkchat | tr "_|" "~#"
newslide
echo "it's chat in a file"
proclaim 2>/dev/null || echo "where indeed?"
set -x
proclaim
{ set +x; } 2>/dev/null
append
heed 2>/dev/null || echo "okay i think i get it now"
echo "where indeed?"
append
scry 2>/dev/null || echo "history too?? but..."
set -x
heed
{ set +x; } 2>/dev/null
append
echo "okay i think i get it"
append
set -x
scry
{ set +x; } 2>/dev/null
append
echo "one command to proclaim and another to heed?"
echo "surely there's a better way!"
append
echo "maybe you could..."
newslide
h3 "multiplex?"
append
lynx https://i.pinimg.com/originals/99/7e/f8/997ef8aee6af0885257000a0ad3170ba.jpg
lynx https://i.pinimg.com/originals/99/7e/f8/997ef8aee6af0885257000a0ad3170ba.jpg 1>/dev/null
newslide
echo "but remember! some of us are new to the terminal!"
@ -71,7 +91,7 @@ bunkdeck
{ set +x; } 2>/dev/null
h1 enough!
h2 "yr 5 minutes is almost done"
h2 "yr 5 minutes is almost done!"
append
h3 "go back to rc!"
append