diff options
author | B. Watson <urchlay@slackware.uk> | 2025-03-04 14:03:09 -0500 |
---|---|---|
committer | B. Watson <urchlay@slackware.uk> | 2025-03-04 14:03:09 -0500 |
commit | e9efd91c951265d3af351f8b1d749619cdbe6570 (patch) | |
tree | d419f8493de194391c46480cdc89f41290ba0fb0 | |
parent | 84a7dd4319411fe567e67c3d0947fd5246ed7b13 (diff) | |
download | bw-atari8-tools-e9efd91c951265d3af351f8b1d749619cdbe6570.tar.gz |
listamsb: fix description of lock/un;ock.
-rw-r--r-- | listamsb.1 | 2 | ||||
-rw-r--r-- | listamsb.c | 2 | ||||
-rw-r--r-- | listamsb.rst | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -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: @@ -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:: |