summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-01-12 22:57:55 -0500
committerJune McEnroe <june@causal.agency>2021-01-12 22:57:55 -0500
commit2f76383e32404c29b42345de5f7e2dc939f5e2ae (patch)
tree237effb8f54778562363e13632984c4f1ff9f752
parentUse hilex for bin HTML (diff)
downloadsrc-2f76383e32404c29b42345de5f7e2dc939f5e2ae.tar.gz
src-2f76383e32404c29b42345de5f7e2dc939f5e2ae.zip
Use hilex for up -h
-rw-r--r--bin/man1/up.16
-rw-r--r--bin/up.sh8
2 files changed, 7 insertions, 7 deletions
diff --git a/bin/man1/up.1 b/bin/man1/up.1
index 58b5359f..8b50c271 100644
--- a/bin/man1/up.1
+++ b/bin/man1/up.1
@@ -1,4 +1,4 @@
-.Dd July 15, 2019
+.Dd January 12, 2021
 .Dt UP 1
 .Os
 .
@@ -49,7 +49,7 @@ Run a command
 to produce a text file for upload.
 .It Fl h
 Use
-.Xr hi 1
+.Xr hilex 1
 to produce an HTML file for upload.
 .It Fl s
 Use
@@ -70,7 +70,7 @@ to produce an HTML file for upload.
 Any arguments after
 .Ql \-\-
 are passed to
-.Xr hi 1
+.Xr hilex 1
 and
 .Xr screencapture 1 ,
 respectively.
diff --git a/bin/up.sh b/bin/up.sh
index e65d4522..562ab489 100644
--- a/bin/up.sh
+++ b/bin/up.sh
@@ -32,10 +32,10 @@ uploadCommand() {
 	upload "${temp}/exec.txt"
 }
 
-uploadHi() {
+uploadHilex() {
 	temp
-	hi -f html -o document,anchor,tab=4 "$@" > "${temp}/hi.html"
-	upload "${temp}/hi.html"
+	hilex -f html -o document,tab=4 "$@" > "${temp}/hilex.html"
+	upload "${temp}/hilex.html"
 }
 
 uploadScreen() {
@@ -61,7 +61,7 @@ uploadTerminal() {
 while getopts 'chst' opt; do
 	case "$opt" in
 		(c) fn=uploadCommand;;
-		(h) fn=uploadHi;;
+		(h) fn=uploadHilex;;
 		(s) fn=uploadScreen;;
 		(t) fn=uploadTerminal;;
 		(?) exit 1;;
ver-highlight'> 2022-06-08Add Maiden, Mother, CroneJune McEnroe Mixed bag like most collections of short stories. Some of them are pretty good. The author of the worst written story also has the worst written bio. 2022-06-05FIRST SHOW IN 2.5 YEARS BABEY!!!June McEnroe 2022-06-03Set line number on File linesJune McEnroe 2022-06-03Stop polling stdin after EOFJune McEnroe 2022-06-02Set TABSIZE=4June McEnroe Absolutely indiscriminately. 2022-06-02Do basic match highlightingJune McEnroe 2022-06-02Clean up parsing a littleJune McEnroe 2022-06-02Don't duplicate path stringJune McEnroe 2022-06-02Use stderr instead of /dev/tty, realloc buffer if lines too longJune McEnroe For some reason I haven't been able to figure out, trying to poll /dev/tty returns POLLNVAL (and this was using 100% CPU looping), but using stderr instead works fine. 2022-06-02Add initial working version of qfJune McEnroe 2022-05-29Set prompt for okshJune McEnroe