shithub: riscv

Download patch

ref: e02e4045f2cbdf212fe47534a3302a76f976c322
parent: 392ca817baba3f2ee2cdb9170a755072136b9669
author: stanley lieber <stanley.lieber@gmail.com>
date: Wed Oct 29 18:49:08 EDT 2014

newt: do not print first message twice when stepping through messages

--- a/rc/bin/newt
+++ b/rc/bin/newt
@@ -131,6 +131,7 @@
 		cat /tmp/p
 	}
 	echo
+	go=1
 	r=$1
 	post=$1
 	prompt=$group/$1
@@ -139,6 +140,7 @@
 	if(test $1 -le $#rposts && test -f $mnt/$group/$rposts($1)^/article)
 		cat $rposts($1)^/article
 	echo
+	go=1
 	r=$1
 	post=$1
 	prompt=$group/$1
@@ -292,6 +294,7 @@
 		echo mnt: $mnt
 		echo group: $group
 		echo maxposts: $maxposts
+		echo '#go': $#go
 		echo rposts: $rposts
 		echo 'rposts(r):' $rposts($r)
 		echo posts: $posts