From 5146a749813a613bff9ceba4f6ea9007cd8d8574 Mon Sep 17 00:00:00 2001 From: oxaliq Date: Wed, 24 Apr 2024 20:57:52 -0400 Subject: [PATCH] trap sigint --- remote-present.sh | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/remote-present.sh b/remote-present.sh index 6cbd9c5..330e44c 100755 --- a/remote-present.sh +++ b/remote-present.sh @@ -25,6 +25,10 @@ h3() { echo $1 | toilet --gay -f mini } +sigint() { + echo +} + ## NOW WE"RE REMOTING h1 " we're on bunkchat now" @@ -50,12 +54,15 @@ toilet -w 100 -f block --gay bunkchat | tr "_|" "~#" newslide echo "it's chat in a file" +sigint 2 + proclaim 2>/dev/null || echo "where indeed?" append heed 2>/dev/null || echo "okay i think i get it now" append scry 2>/dev/null || echo "history too?? but..." - +append +echo "maybe you could..." newslide h3 "multiplex?" @@ -71,7 +78,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