shithub: riscv

Download patch

ref: 74f6b4e502fc2a43ec652596c36bb48422081775
parent: c5559504cd0b70d18b44c75b20912d4fea1f9511
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sat Jul 14 13:19:41 EDT 2018

screenrc: bind '#v' when not already done (for cpu servers)

--- a/rc/bin/screenrc
+++ b/rc/bin/screenrc
@@ -20,7 +20,7 @@
 	}
 }
 
-if(test -f /dev/vgactl){
+if(test -f /dev/vgactl || bind -a '#v' /dev >[2] /dev/null){
 	ask vgasize ' is (text, 640x480x8, 1024x768x16, ...)' 1024x768x16
 	if(! ~ $"vgasize '' text none){
 		ask monitor ' is (vesa, xga, lcd, ...)' vesa