aboutsummaryrefslogtreecommitdiff
path: root/man/man1/clwr.1
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/man1/clwr.1
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/man1/clwr.1')
-rw-r--r--man/man1/clwr.116
1 files changed, 16 insertions, 0 deletions
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>