shithub: riscv

Download patch

ref: 7682a24bc514a9348ec01b1a3d66f9c6568373c4
parent: e168ea045f7c29afd41aeb5daf865a772fef2c9e
author: Alex Musolino <alex@musolino.id.au>
date: Tue Oct 22 04:18:20 EDT 2019

/sys/lib/plumb/basic: open nedmail windows with -noscroll

This preserves the desired behaviour of *not* scrolling to the bottom
of plumbed messages even when rio(1) is invoked with the -s flag.

--- a/sys/lib/plumb/basic
+++ b/sys/lib/plumb/basic
@@ -99,7 +99,7 @@
 data	matches	'[a-zA-Z¡-￿0-9_\-./]+'
 data	matches	'/mail/fs/[a-zA-Z¡-￿0-9/]+/[0-9]+'
 plumb	to	showmail
-plumb	start	window -r 4 120 750 600 upas/nedmail -s $0
+plumb	start	window -noscroll -r 4 120 750 600 upas/nedmail -s $0
 
 # man index entries are synthesized
 type is text