aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2025-03-04 14:03:09 -0500
committerB. Watson <urchlay@slackware.uk>2025-03-04 14:03:09 -0500
commite9efd91c951265d3af351f8b1d749619cdbe6570 (patch)
treed419f8493de194391c46480cdc89f41290ba0fb0
parent84a7dd4319411fe567e67c3d0947fd5246ed7b13 (diff)
downloadbw-atari8-tools-e9efd91c951265d3af351f8b1d749619cdbe6570.tar.gz
listamsb: fix description of lock/un;ock.
-rw-r--r--listamsb.12
-rw-r--r--listamsb.c2
-rw-r--r--listamsb.rst2
3 files changed, 3 insertions, 3 deletions
diff --git a/listamsb.1 b/listamsb.1
index c30c65e..09d2012 100644
--- a/listamsb.1
+++ b/listamsb.1
@@ -77,7 +77,7 @@ number is omitted (e.g. \fB100,\fP), it means "list until the end of the program
.TP
.B \fB\-l\fP
"Lock" or "unlock" the program. Locked programs are created with
-\fISAVE "filename" LOCK\fP\&. The "encryption" is reversible: locking and
+\fISAVE "filename" LOCK\fP\&. The "encryption" is a reciprocal cipher: locking and
unlocking are the same operation (similar to ROT13). The output will
be the locked or unlocked tokenized program (rather than a listing),
and you must use redirection to save it to a file. Example:
diff --git a/listamsb.c b/listamsb.c
index 182f928..463e12d 100644
--- a/listamsb.c
+++ b/listamsb.c
@@ -199,7 +199,7 @@ unsigned char unlock_byte(unsigned char b) {
return ((UNLOCK_KEY - b) & 0xff);
}
-/* the "encryption" is the same (process is reversible) */
+/* the "encryption" is the same (process is reciprocal) */
#define lock_byte(x) unlock_byte(x)
/* read and (if needed) decrypt a byte from the program. */
diff --git a/listamsb.rst b/listamsb.rst
index 32d7f78..ca1bf72 100644
--- a/listamsb.rst
+++ b/listamsb.rst
@@ -59,7 +59,7 @@ OPTIONS
**-l**
"Lock" or "unlock" the program. Locked programs are created with
- *SAVE "filename" LOCK*. The "encryption" is reversible: locking and
+ *SAVE "filename" LOCK*. The "encryption" is a reciprocal cipher: locking and
unlocking are the same operation (similar to ROT13). The output will
be the locked or unlocked tokenized program (rather than a listing),
and you must use redirection to save it to a file. Example::