shithub: riscv

Download patch

ref: 84d8e75a589868e060b2d418eae38caaad91ad5a
parent: 94e26e7576fabcaacd8fa8f75c4f87f9eb6e56f3
author: stanley lieber <stanley.lieber@gmail.com>
date: Sun Jun 4 14:02:05 EDT 2017

newt: pipe output of h comnmand through $pager

--- a/rc/bin/newt
+++ b/rc/bin/newt
@@ -254,8 +254,10 @@
 		if not
 			echo !$ngroup does not exist
 	case h
-		for(i in $r)
-			h $i
+		{
+			for(i in $r)
+				h $i
+		} | eval $pager
 		post=$r($#r)
 		prompt=$post
 	case help