dbe6e50fcc0dc8942e25f20aec933f317874fdce — glenda 23 days ago 9a1d5b7
added ants stuff
2 files changed, 41 insertions(+), 4 deletions(-)

M sites/fulton.software/plan9/projects.md
M sites/fulton.software/plan9/tips.md
M sites/fulton.software/plan9/projects.md => sites/fulton.software/plan9/projects.md +3 -3
@@ 1,6 1,6 @@
# Plan9 projects

Here is alist of some plan9 projects - contact me if you would like your project on this list.
Here is a list of some plan9 projects. Please contact me if you would like your project listed here.

# Forks and distros

@@ 10,7 10,7 @@ Here is alist of some plan9 projects - contact me if you would like your project

# Rio

- Grio (Can be found on the 9front contrib)
- Grio (Can be found on the 9front contrib or on the griddisk)
- [rio theming by Sigrid](https://ftrv.se/14)
- [rio theming by sl](http://plan9.stanleylieber.com/rio/)

@@ 28,5 28,5 @@ Here is alist of some plan9 projects - contact me if you would like your project

# Acme

- [Nail](http://orib.dev/git9.html)
- [Nail](http://orib.dev/git/Nail/HEAD/info.html)

M sites/fulton.software/plan9/tips.md => sites/fulton.software/plan9/tips.md +38 -1
@@ 1,6 1,6 @@
# Plan9 tips

## Rio short cuts
## Rio shortcuts

- ctrl f Fills in a file name - similar to tab in bash or ksh

@@ 58,4 58,41 @@ And then mounting the new /srv entry to /net

See rcpu(1)

## ANTS 

mycroftiv has built a wonderful set of tools for plan9 namespacing called ANTS (Advanced Namesspace ToolS). The full install reqires you to apply patches and reinstall the kernel but many of the tools only reqire a plan9/9front system.

One of these tools is hubfs. 

	Hubfs is a 9p server which creates buffered multiplexing
	pipelike files with several applications.  One use is a
 	plan9 equivalent of programs such as screen/tmux for detach-
 	able persistent shells.  Another is as the server-side of an
 	irc-like application.  Another is as the "broadcast station"
	for streaming audio.  It can be thought of as a lightweight
	"pub-sub" service with a filesystem interface.  Hub invokes
 	hubfs to create a 9p filesystem of pipe-like Hubs available
	as a /srv and starts an rc(1) shell with its file descrip-
 	tors redirected to these hubs, then uses hubshell as a
	client for these connections. The overall usage model is
	somewhat similar to screen/tmux but without the additional
	complexities of TTY management.


Hubfs is a core component of the ants system.

One of the main tools in the ants suit is rerootwin. It allows you to change to root of a name space while preserving the /dev, /net, /srv, /mnt, /n, and /shr file systems. This allows you to use diffrent roots over a single cpu or terminal instance. Paired with hubfs you can commumicate between the roots using a shell or pipe. A simple example with the public, read only gridroot.

	; gridstart -m
	old grid connections found in /srv, remove? (y/n)
	grid services mounted
	; rerootwin -f gridroot
	binding /mnt/wsys /mnt/term/dev
	; # you have been rerooted
	; service=con
	; . $home/lib/profile
	cpu% grio # start up a graphical session