aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-08-02 11:26:39 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-08-02 11:26:39 +1200
commitca632bed9240bce35c6acffceeec7c46a3d9b3f1 (patch)
tree8c17a2f236f7146b78157239e75cd4fb2d3784a5 /man
parentStrip trailing newline from clrd() (diff)
downloaddotfiles-ca632bed9240bce35c6acffceeec7c46a3d9b3f1.tar.gz
dotfiles-ca632bed9240bce35c6acffceeec7c46a3d9b3f1.zip
Move clrd()/clwr() to scripts
clrd(1) is POSIX sh, but clwr(1) ideally needs Readline, so I've left it as #!/bin/bash for now.
Diffstat (limited to 'man')
-rw-r--r--man/man1/clrd.116
-rw-r--r--man/man1/clwr.116
2 files changed, 32 insertions, 0 deletions
diff --git a/man/man1/clrd.1 b/man/man1/clrd.1
new file mode 100644
index 00000000..696b3303
--- /dev/null
+++ b/man/man1/clrd.1
@@ -0,0 +1,16 @@
+.TH CLRD 1 "August 2016" "Manual page for clrd"
+.SH NAME
+.B clrd
+\- clear the screen and run tail on the arguments
+.SH SYNOPSIS
+.B clrd
+file
+.SH DESCRIPTION
+.B clrd
+clears the screen and runs tail -f on the given file. It will not run if stdout
+is not a terminal. This is for use in minimal socket-network programs like
+ii(1), along with clwr(1).
+.SH SEE ALSO
+clwr(1), ii(1)
+.SH AUTHOR
+Tom Ryder <tom@sanctum.geek.nz>
diff --git a/man/man1/clwr.1 b/man/man1/clwr.1
new file mode 100644
index 00000000..5b5a1eee
--- /dev/null
+++ b/man/man1/clwr.1
@@ -0,0 +1,16 @@
+.TH CLWR 1 "August 2016" "Manual page for clwr"
+.SH NAME
+.B clwr
+\- clear screen, accept Readline line, write line
+.SH SYNOPSIS
+.B clwr
+file
+.SH DESCRIPTION
+.B clwr
+clears the screen, accepts a line of Readline input from stdin, writes it to
+the given file, and loops. This is for use in minimal socket-network programs
+like ii(1), along with clrd(1).
+.SH SEE ALSO
+clrd(1), ii(1)
+.SH AUTHOR
+Tom Ryder <tom@sanctum.geek.nz>