git: 9front

Download patch

ref: 4835a6619142f8d00061884f77aad6fb5b8a0f06
parent: a0d33d3975a037abb56f2da0558dcd2b2ffd95a6
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
--