From 6dbf5bf61df98b93a37e9ef7a5434bc477132fdf Mon Sep 17 00:00:00 2001 From: "Scott C. MacCallum" Date: Fri, 9 Dec 2022 20:24:54 -0500 Subject: [PATCH 1/2] A lot of changes --- change-tutorial.sh | 2 -- attach-irc.ksh => server/attach-irc.ksh | 0 detach.ksh => server/detach.ksh | 0 irc.ksh => server/irc.ksh | 2 +- reattach.ksh => server/reattach.ksh | 0 start-irc.ksh => server/start-irc.ksh | 0 6 files changed, 1 insertion(+), 3 deletions(-) delete mode 100644 change-tutorial.sh rename attach-irc.ksh => server/attach-irc.ksh (100%) rename detach.ksh => server/detach.ksh (100%) rename irc.ksh => server/irc.ksh (98%) rename reattach.ksh => server/reattach.ksh (100%) rename start-irc.ksh => server/start-irc.ksh (100%) diff --git a/change-tutorial.sh b/change-tutorial.sh deleted file mode 100644 index 05a7907..0000000 --- a/change-tutorial.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/bash - diff --git a/attach-irc.ksh b/server/attach-irc.ksh similarity index 100% rename from attach-irc.ksh rename to server/attach-irc.ksh diff --git a/detach.ksh b/server/detach.ksh similarity index 100% rename from detach.ksh rename to server/detach.ksh diff --git a/irc.ksh b/server/irc.ksh similarity index 98% rename from irc.ksh rename to server/irc.ksh index d704606..bf39002 100755 --- a/irc.ksh +++ b/server/irc.ksh @@ -19,7 +19,7 @@ # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . -host=sdf.org +host=tty.sdf.org user=scm mosh scm@$host diff --git a/reattach.ksh b/server/reattach.ksh similarity index 100% rename from reattach.ksh rename to server/reattach.ksh diff --git a/start-irc.ksh b/server/start-irc.ksh similarity index 100% rename from start-irc.ksh rename to server/start-irc.ksh From bd414c880f48fb27af9296bc35e88649c55f9cc9 Mon Sep 17 00:00:00 2001 From: "Scott C. MacCallum" Date: Sun, 11 Dec 2022 14:30:51 -0500 Subject: [PATCH 2/2] Changed two files --- com.ksh | 2 +- irc.ksh | 26 ++++++++++++++++++++++++++ 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100755 irc.ksh diff --git a/com.ksh b/com.ksh index d5a3003..7989464 100755 --- a/com.ksh +++ b/com.ksh @@ -21,6 +21,6 @@ host=tty.sdf.org user=scm -mosh scm@$host com +mosh scm@$host exit 0 diff --git a/irc.ksh b/irc.ksh new file mode 100755 index 0000000..4a7a303 --- /dev/null +++ b/irc.ksh @@ -0,0 +1,26 @@ +#!/bin/ksh + +# irc.ksh +# This script recovers a screen IRC session on the cluster at SDF +# Copyright (C) 2022 Scott C. MacCallum +# scm@sdf.org + +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. + +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + +host=tty.sdf.org +user=scm + +mosh scm@$host + +exit 0