This commit is contained in:
T. Joseph Carter 2018-06-24 23:29:15 -07:00
commit 7ee6c4bad6
23 changed files with 175 additions and 16 deletions

View File

@ -56,9 +56,10 @@ it no longer does.
more user-friendly.
- Ivan Drucker has agreed to allow his scripts and future work to be
released under this more mainstream alternative to the "WTFPL". Less
"expressive", but more legally correct in countries without explicit
support for public domain or a sense of humor. ;)
released under the CC0 Public Domain release. Previously his scripts were
under the "WTFPL". Creative Commons is less "expressive", but more legally
correct in countries without explicit support for public domain or a sense
of humor. ;)
- On desktop Debian systems, we now use default-jre instead of Oracle.
For now we're still using Oracle on RPi, but that may soon change.

View File

@ -1,13 +1,18 @@
License for A2CLOUD
===================
A2CLOUD
Copyright (C) 2013-2015 Ivan Drucker <ivan@ivanx.com>
The A2CLOUD scripts themselves are written primarily by Ivan Drucker and
released under the WTFPL version 2, which you may download from its web page
at <http://www.wtfpl.net/txt/copying/>. This is essentially a public domain
release, which doesn't extend to the other programs used by A2CLOUD such as
ADTPro or the various Linux tools it installs. These have their own license
terms and Copyrights.
License for A2CLOUD
===================
a2cloud was written by:
- [Ivan Drucker (2013-2017)][ivanx]
- [T. Joseph Carter (2015-2018)][iKarith]
To the extent possible under law, the person who associated CC0 with
a2cloud has waived all copyright and related or neighboring rights
to a2cloud.
You should have received a copy of the CC0 legalcode along with this
work in the file named COPYING_CC0.txt. If not, see
<http://creativecommons.org/publicdomain/zero/1.0/>.
[ivanx]: http://ivanx.com/
[iKarith]: https://blocksfree.com/

View File

@ -1,6 +1,13 @@
#! /bin/bash
# vim: set tabstop=4 shiftwidth=4 noexpandtab filetype=sh:
# a2chat - a2cloud irc client wrapper
#
# To the extent possible under law, T. Joseph Carter and Ivan Drucker have
# waived all copyright and related or neighboring rights to the a2cloud
# scripts themselves. Software used or installed by these scripts is subject
# to other licenses. This work is published from the United States.
if [[ ! $(dpkg -l irssi 2> /dev/null | grep '^ii') ]]; then
echo "Installing irssi..."
sudo apt-get -y update

View File

@ -1,5 +1,13 @@
#! /bin/bash
# vim: set tabstop=4 shiftwidth=4 noexpandtab filetype=sh:
# a2cloud-alieases - User-installed command aliases for bash
#
# To the extent possible under law, T. Joseph Carter and Ivan Drucker have
# waived all copyright and related or neighboring rights to the a2cloud
# scripts themselves. Software used or installed by these scripts is subject
# to other licenses. This work is published from the United States.
alias a2cloud-setup='wget -qO /tmp/a2cloud-setup ivanx.com/a2cloud/setup/; source /tmp/a2cloud-setup'
alias a2cloud-help='(IFS=""; while read thisLine; do [[ ${#thisLine} -eq 0 ]] && echo || echo "$(tput bold)${thisLine%% *}$(tput sgr0) ${thisLine#* }"; done < /usr/local/etc/a2cloud-help.txt | more)'
alias a2cloud-version='cat /usr/local/etc/A2CLOUD-version'

View File

@ -1,6 +1,13 @@
#! /bin/bash
# vim: set tabstop=4 shiftwidth=4 noexpandtab filetype=sh:
# a2cloudrc - a2cloud user environment script for bash
#
# To the extent possible under law, T. Joseph Carter and Ivan Drucker have
# waived all copyright and related or neighboring rights to the a2cloud
# scripts themselves. Software used or installed by these scripts is subject
# to other licenses. This work is published from the United States.
source /usr/local/etc/a2cloud-aliases
if [[ -f /usr/local/java/bin/java ]]; then

View File

@ -1,6 +1,13 @@
#! /bin/bash
# vim: set tabstop=4 shiftwidth=4 noexpandtab filetype=sh:
# a2news - a2cloud nntp client wrapper
#
# To the extent possible under law, T. Joseph Carter and Ivan Drucker have
# waived all copyright and related or neighboring rights to the a2cloud
# scripts themselves. Software used or installed by these scripts is subject
# to other licenses. This work is published from the United States.
defaultNNTP="news.aioe.org"
defaultGroups="comp.emulators.apple2:\ncomp.sys.apple2:\ncomp.sys.apple2.comm:\ncomp.sys.apple2.marketplace:\ncomp.sys.apple2.programmer:\ncomp.sys.apple2.usergroups:"

View File

@ -1,6 +1,13 @@
#! /bin/bash
# vim: set tabstop=4 shiftwidth=4 noexpandtab filetype=sh:
# acmd - a2cloud command-line wrapper for Apple II file utilities
#
# To the extent possible under law, T. Joseph Carter and Ivan Drucker have
# waived all copyright and related or neighboring rights to the a2cloud
# scripts themselves. Software used or installed by these scripts is subject
# to other licenses. This work is published from the United States.
# set default AppleCommander location if ADTPro is not installed
defaultAcPath=$(echo -n /usr/local/bin/AppleCommander-*-ac.jar)

View File

@ -1,6 +1,13 @@
#! /bin/bash
# vim: set tabstop=4 shiftwidth=4 noexpandtab filetype=sh:
# adtpro-start - script to start ADTPro "as a headless daemon", ish
#
# To the extent possible under law, T. Joseph Carter and Ivan Drucker have
# waived all copyright and related or neighboring rights to the a2cloud
# scripts themselves. Software used or installed by these scripts is subject
# to other licenses. This work is published from the United States.
# don't do anything if ADTPro is already running
if [[ $(ps aux | grep [A]DTPro) ]]; then

View File

@ -1,6 +1,17 @@
#! /bin/bash
# vim: set tabstop=4 shiftwidth=4 noexpandtab filetype=sh:
# adtpro.sh - a2cloud wrapper for adtpro
#
# To the extent possible under law, T. Joseph Carter and Ivan Drucker have
# waived all copyright and related or neighboring rights to the a2cloud
# scripts themselves. Software used or installed by these scripts is subject
# to other licenses. This work is published from the United States.
# This script may have some common history with the similar script found in
# ADTPro's source tree. The original may have been written by David Schmidt,
# and we should check on that.
# ADTPro - *nix startup shell script
#
# Note:

View File

@ -1,6 +1,13 @@
#! /bin/bash
# vim: set tabstop=4 shiftwidth=4 noexpandtab filetype=sh:
# baud - user command to change baudrate of current terminal
#
# To the extent possible under law, T. Joseph Carter and Ivan Drucker have
# waived all copyright and related or neighboring rights to the a2cloud
# scripts themselves. Software used or installed by these scripts is subject
# to other licenses. This work is published from the United States.
isSystemd=
isSysVInit=
# If you really want something else, *you* maintain it!

View File

@ -1,6 +1,14 @@
#!/usr/bin/env python
# vim: set tabstop=4 shiftwidth=4 noexpandtab filetype=python:
# cppu - a simple tool to list/extract Apple II archives and disk images
#
# To the extent possible under law, T. Joseph Carter and Ivan Drucker have
# waived all copyright and related or neighboring rights to the a2cloud
# scripts themselves. Software used or installed by these scripts is subject
# to other licenses. This work is published from the United States.
"""cppo: Copy/catalog files from a ProDOS/DOS 3.3/ShrinkIt image/archive.
copy all files: cppo [options] imagefile target_directory

View File

@ -1,6 +1,13 @@
#! /bin/bash
# vim: set tabstop=4 shiftwidth=4 noexpandtab filetype=sh:
# dopo - Swap sectors on Apple II disk image between DOS and ProDOS ordering
#
# To the extent possible under law, T. Joseph Carter and Ivan Drucker have
# waived all copyright and related or neighboring rights to the a2cloud
# scripts themselves. Software used or installed by these scripts is subject
# to other licenses. This work is published from the United States.
# follows gzip syntax -- acts in place if filename provided, outputs to
# stdout with -c, accepts stdin and outputs to stdout if filename is - or absent

View File

@ -1,6 +1,13 @@
#! /bin/bash
# vim: set tabstop=4 shiftwidth=4 noexpandtab filetype=sh:
# dos2pro - extract files from DOS 3.3 image and convert to ProDOS
#
# To the extent possible under law, T. Joseph Carter and Ivan Drucker have
# waived all copyright and related or neighboring rights to the a2cloud
# scripts themselves. Software used or installed by these scripts is subject
# to other licenses. This work is published from the United States.
readcharDec () {
# read one character from file & convert to equivalent decimal value
# arg1: filename

View File

@ -1,6 +1,13 @@
#! /bin/bash
# vim: set tabstop=4 shiftwidth=4 noexpandtab filetype=sh:
# gsport - a2cloud wrapper for the GSPort emulator
#
# To the extent possible under law, T. Joseph Carter and Ivan Drucker have
# waived all copyright and related or neighboring rights to the a2cloud
# scripts themselves. Software used or installed by these scripts is subject
# to other licenses. This work is published from the United States.
if [[ -f /tmp/no-gsport ]]; then
echo
echo "Your system needs to be rebooted before you can use GSport."

View File

@ -1,6 +1,13 @@
#! /bin/bash
# vim: set tabstop=4 shiftwidth=4 noexpandtab filetype=sh:
# gsport-setup - a2cloud script to download/configure assets for GSPort
#
# To the extent possible under law, T. Joseph Carter and Ivan Drucker have
# waived all copyright and related or neighboring rights to the a2cloud
# scripts themselves. Software used or installed by these scripts is subject
# to other licenses. This work is published from the United States.
# to do: replace Spectrum Deluxe (2.5.3) with Spectrum Gold (2.5.4)
# from system_ident

View File

@ -1,6 +1,13 @@
#! /bin/bash
# vim: set tabstop=4 shiftwidth=4 noexpandtab filetype=sh:
# ivan.sh - a2cloud legacy installation script (to be removed)
#
# To the extent possible under law, T. Joseph Carter and Ivan Drucker have
# waived all copyright and related or neighboring rights to the a2cloud
# scripts themselves. Software used or installed by these scripts is subject
# to other licenses. This work is published from the United States.
# FIXME: Remove this when convenient.
version="2.9.0"

View File

@ -1,6 +1,13 @@
#! /bin/bash
# vim: set tabstop=4 shiftwidth=4 noexpandtab filetype=sh:
# linapple - a2cloud wrapper script for LinApple (to be removed)
#
# To the extent possible under law, T. Joseph Carter and Ivan Drucker have
# waived all copyright and related or neighboring rights to the a2cloud
# scripts themselves. Software used or installed by these scripts is subject
# to other licenses. This work is published from the United States.
if [[ ( $(grep USB <<< $myTTY) || $(grep AMA <<< $myTTY) || $SSH_CLIENT || $REMOTEHOST ) && ! $DISPLAY ]]; then
echo "Please run LinApple on the console, or in an X Window."
else

View File

@ -1,6 +1,13 @@
#! /bin/bash
# vim: set tabstop=4 shiftwidth=4 noexpandtab filetype=sh:
# mkpo - create ProDOS disk image
#
# To the extent possible under law, T. Joseph Carter and Ivan Drucker have
# waived all copyright and related or neighboring rights to the a2cloud
# scripts themselves. Software used or installed by these scripts is subject
# to other licenses. This work is published from the United States.
# ID-bashByter routines
function binToDec ()

View File

@ -1,6 +1,13 @@
#! /bin/bash
# vim: set tabstop=4 shiftwidth=4 noexpandtab filetype=sh:
# shk2image - Extract .shk files to Apple II disk images
#
# To the extent possible under law, T. Joseph Carter and Ivan Drucker have
# waived all copyright and related or neighboring rights to the a2cloud
# scripts themselves. Software used or installed by these scripts is subject
# to other licenses. This work is published from the United States.
origDir="$PWD"
[[ ! -n $1 || ! -n $2 ]] && { echo "Usage: shk2image archiveFileName imageFileName [PRODOS.DIR.NAME]"; exit 1; };
imageFileName="$2";

View File

@ -1,6 +1,13 @@
#! /bin/bash
# vim: set tabstop=4 shiftwidth=4 noexpandtab filetype=sh:
# term - a2cloud user command to set TERM variable (to be replaced.)
#
# To the extent possible under law, T. Joseph Carter and Ivan Drucker have
# waived all copyright and related or neighboring rights to the a2cloud
# scripts themselves. Software used or installed by these scripts is subject
# to other licenses. This work is published from the United States.
if [[ $1 == "-d" ]]; then
shift
setgetty=1

View File

@ -1,6 +1,13 @@
#! /bin/bash
# vim: set tabstop=4 shiftwidth=4 noexpandtab filetype=sh:
# ttyusbhandler.sh - a2cloud udev handler for USB serial devices (to be replaced)
#
# To the extent possible under law, T. Joseph Carter and Ivan Drucker have
# waived all copyright and related or neighboring rights to the a2cloud
# scripts themselves. Software used or installed by these scripts is subject
# to other licenses. This work is published from the United States.
# called by udev as:
# ttyusbhandler [add|remove] ttyUSBname

View File

@ -1,6 +1,13 @@
#! /bin/bash
# vim: set tabstop=4 shiftwidth=4 noexpandtab filetype=sh:
# usbgetty.sh - a2cloud script to start a getty on a USB serial devie (to be replaced.)
#
# To the extent possible under law, T. Joseph Carter and Ivan Drucker have
# waived all copyright and related or neighboring rights to the a2cloud
# scripts themselves. Software used or installed by these scripts is subject
# to other licenses. This work is published from the United States.
ttyUSB=
pkill -f "sleep 86399"

View File

@ -1,6 +1,13 @@
#! /bin/bash
# vim: set tabstop=4 shiftwidth=4 noexpandtab filetype=sh:
# vsd - a2cloud script to change ADTPro virtual disk image symlinks
#
# To the extent possible under law, T. Joseph Carter and Ivan Drucker have
# waived all copyright and related or neighboring rights to the a2cloud
# scripts themselves. Software used or installed by these scripts is subject
# to other licenses. This work is published from the United States.
skipWarning=
drive=
if [[ $1 == "-1" || $1 == "-d1" ]]; then