From 67e7ca5e8fdb4ef20667a936e267956162ab2f1a 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 | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/remote-present.sh b/remote-present.sh index 6cbd9c5..035394d 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,17 @@ toilet -w 100 -f block --gay bunkchat | tr "_|" "~#" newslide echo "it's chat in a file" + proclaim 2>/dev/null || echo "where indeed?" +sigint 2 append heed 2>/dev/null || echo "okay i think i get it now" +sigint 2 append scry 2>/dev/null || echo "history too?? but..." - +sigint 2 +append +echo "maybe you could..." newslide h3 "multiplex?" @@ -71,7 +80,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