From cc5d71fd22f2c072428455eb547ad9e88ae6ba46 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Fri, 17 Feb 2017 19:36:13 +0100 Subject: [PATCH] Added manpages --- Makefile | 4 ++++ nms.6 | 36 ++++++++++++++++++++++++++++++++++++ sneakers.6 | 20 ++++++++++++++++++++ 3 files changed, 60 insertions(+) create mode 100644 nms.6 create mode 100644 sneakers.6 diff --git a/Makefile b/Makefile index 1605d6f..2ca1cf5 100644 --- a/Makefile +++ b/Makefile @@ -47,9 +47,13 @@ clean: rm -rf $(OBJ) install: + install -d $(DESTDIR)$(mandir)/man6 + install -m644 -t $(DESTDIR)$(mandir)/man6 nms.6 sneakers.6 install -d $(DESTDIR)$(bindir) cd $(BIN) && install * $(DESTDIR)$(bindir) uninstall: rm -f $(DESTDIR)$(bindir)/nms; rm -f $(DESTDIR)$(bindir)/sneakers; + rm -f $(DESTDIR)$(mandir)/man6/nms.6 + rm -f $(DESTDIR)$(mandir)/man6/sneakers.6 diff --git a/nms.6 b/nms.6 new file mode 100644 index 0000000..2d41775 --- /dev/null +++ b/nms.6 @@ -0,0 +1,36 @@ +.\" Manpage for nms. +.\" Author of this manpage is Ferdinand Thiessen , contact him to correct errors or typos. +.\" This man page is released into the public domain, see also https://creativecommons.org/publicdomain/zero/1.0/ +.TH nms 6 "17 February 2017" "1.0" "nms User Manual" +.SH NAME +nms \- No More Secrets +.SH SYNOPSIS +nms [options] +.SH OPTIONS +.TP +.B -a +sets the auto-decrypt flag, decryption sequence starts without requiring a key press. +.TP +.B -c +clear the screen prior to printing any output +.TP +.B -v +display version info +.TP +.BI -f +set the foreground color of the decrypted text to the color specified. +Valid options are white, yellow, black, magenta, blue (default), green, or red. +.SH DESCRIPTION +This command works on piped data. Pipe any ASCII or UTF-8 text to nms, +and it will apply the hollywood effect, seen on screen in the 1992 hacker movie Sneakers. +.PP +Initially showing encrypted data, then starting a decryption sequence to reveal the original plaintext characters. +.SH "SEE ALSO" +sneakers(6) +.SH AUTHOR +Brian Barto ( https://github.com/bartobri ) +.SH COPYRIGHT +nms is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. diff --git a/sneakers.6 b/sneakers.6 new file mode 100644 index 0000000..2b55322 --- /dev/null +++ b/sneakers.6 @@ -0,0 +1,20 @@ +.\" Manpage for sneakers. +.\" Author of this manpage is Ferdinand Thiessen , contact him to correct errors or typos. +.\" This man page is released into the public domain, see also https://creativecommons.org/publicdomain/zero/1.0/ +.TH sneakers 6 "17 February 2017" "1.0" "sneakers User Manual" +.SH NAME +sneakers +.SH SYNOPSIS +sneakers +.SH DESCRIPTION +sneakers recreates the famous data decryption effect with +the same content seen on screen in the 1992 hacker movie Sneakers. +.SH "SEE ALSO" +nms(6) +.SH AUTHOR +Brian Barto ( https://github.com/bartobri ) +.SH COPYRIGHT +sneakers is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version.