summaryrefslogtreecommitdiff
path: root/rc/bin/newt
diff options
context:
space:
mode:
authorstanley lieber <stanley.lieber@gmail.com>2014-10-29 22:49:08 -0400
committerstanley lieber <stanley.lieber@gmail.com>2014-10-29 22:49:08 -0400
commite02e4045f2cbdf212fe47534a3302a76f976c322 (patch)
tree7e62c5055408e38edd11f64028b21e68490ceb96 /rc/bin/newt
parent392ca817baba3f2ee2cdb9170a755072136b9669 (diff)
downloadplan9front-e02e4045f2cbdf212fe47534a3302a76f976c322.tar.xz
newt: do not print first message twice when stepping through messages
Diffstat (limited to 'rc/bin/newt')
-rwxr-xr-xrc/bin/newt3
1 files changed, 3 insertions, 0 deletions
diff --git a/rc/bin/newt b/rc/bin/newt
index 9417e64d7..26f0f8e8c 100755
--- a/rc/bin/newt
+++ b/rc/bin/newt
@@ -131,6 +131,7 @@ fn p{
cat /tmp/p
}
echo
+ go=1
r=$1
post=$1
prompt=$group/$1
@@ -139,6 +140,7 @@ fn P{
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 @@ while(){
echo mnt: $mnt
echo group: $group
echo maxposts: $maxposts
+ echo '#go': $#go
echo rposts: $rposts
echo 'rposts(r):' $rposts($r)
echo posts: $posts