A lot of changes

This commit is contained in:
2022-12-09 20:24:54 -05:00
parent 56f232f3b2
commit 6dbf5bf61d
6 changed files with 1 additions and 3 deletions

5
server/attach-irc.ksh Executable file
View File

@@ -0,0 +1,5 @@
#!/bin/ksh
screen epic5 irc.libera.chat
exit 0

5
server/detach.ksh Normal file
View File

@@ -0,0 +1,5 @@
#!/bin/ksh
screen -d
exit 0

27
server/irc.ksh Executable file
View File

@@ -0,0 +1,27 @@
#!/bin/ksh
# irc.ksh
# This script starts a remote shell on the SDF cluster show that an IRC session
# can be resumed
# 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 <https://www.gnu.org/licenses/>.
host=tty.sdf.org
user=scm
mosh scm@$host
exit 0

5
server/reattach.ksh Executable file
View File

@@ -0,0 +1,5 @@
#!/bin/ksh
screen -r
exit 0

26
server/start-irc.ksh Normal file
View File

@@ -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 <https://www.gnu.org/licenses/>.
host=sdf.org
user=scm
mosh scm@$host /sdf/arpa/ns/s/scm/irc.ksh
exit 0