Skip to content

Commit

Permalink
Added manpages
Browse files Browse the repository at this point in the history
  • Loading branch information
susnux committed Feb 17, 2017
1 parent 8dfd02c commit cc5d71f
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
36 changes: 36 additions & 0 deletions nms.6
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
.\" Manpage for nms.
.\" Author of this manpage is Ferdinand Thiessen <rpm@fthiessen>, 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 <COLOR>
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.
20 changes: 20 additions & 0 deletions sneakers.6
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
.\" Manpage for sneakers.
.\" Author of this manpage is Ferdinand Thiessen <rpm@fthiessen>, 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.

0 comments on commit cc5d71f

Please sign in to comment.