Browse Source

Restore some plumbing capabilities.

"plumber" wasn't built by default, "plumb" now gets a build file,
added plumber to the harvey profile invocation, and restored the
overzealously-removed /rc/bin/B

Signed-off-by: John Floren <john@jfloren.net>
John Floren 7 years ago
parent
commit
6fa1b6b043
3 changed files with 16 additions and 1 deletions
  1. 2 0
      sys/src/cmd/build.json
  2. 12 0
      sys/src/cmd/plumb/plumb.json
  3. 2 1
      usr/glenda/lib/profile

+ 2 - 0
sys/src/cmd/build.json

@@ -164,6 +164,8 @@
 			"hoc/hoc.json",
 			"grep/grep.json",
 			"ndb/ndb.json",
+			"plumb/plumb.json",
+			"plumb/plumber.json",
 			"rc/rc.json",
 			"rio/rio.json",
 			"sam/build.json",

+ 12 - 0
sys/src/cmd/plumb/plumb.json

@@ -0,0 +1,12 @@
+{
+	"plumb": {
+		"Include": [
+			"../cmd.json"
+		],
+		"Install": "/$ARCH/bin/",
+		"Program": "plumb",
+		"SourceFiles": [
+                        "plumb.c"
+		]
+	}
+}

+ 2 - 1
usr/glenda/lib/profile

@@ -8,7 +8,7 @@ fn cd { builtin cd $* && awd }  # for acme
 
 switch($service){
 case terminal
-	# plumber
+	plumber
 	echo -n accelerated > '#m/mousectl'
 	echo -n 'res 3' > '#m/mousectl'
 	prompt=('term% ' '	')
@@ -26,6 +26,7 @@ case cpu
 	prompt=('cpu% ' '	')
 	fn cpu%{ $* }
 	if (! test -e /mnt/term/mnt/wsys) {	# cpu call from drawterm
+		plumber
 		font=/lib/font/bit/pelm/latin1.8.font
 		exec rio
 	}