git: 9front

Download patch

ref: 3346ac34e4c448826d353633c56a4766e6ae3a53
parent: c8e6639f535ec4c0b38538f3a39a9df87dfafc77
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
--