shithub: svcfs

ref: 3d0b6a15a45a2ec0afca34ce8d9041735be42513
dir: /TODO/

View raw version
## Client

### Brief overview

```
#!/bin/rc

# Example /bin/rc/service/tcp18111
mount '#s/libera' /mnt/irc
exec /bin/exportfs -r /mnt/irc
```

Connects with aname = desired buffer, or gets just whichever is first (usually a `server`, but just in added-order)
 - if no buffers exist, exit error. We don't support hung states!

### TODO: 

- Add in command to toggle markup 

## Service

### Brief overview 

- service reads from /mnt/alt/clone to get n
- service will write the service name to `/mnt/alt/n/ctl`
	- If a service exists in /srv by that name, an error will be returned. rm the service first!
	- If the name is not valid filechars, an error will be returned (this is used in /srv, after all)
	- the service reads and writes to the returned fd until it closes, signalling completion

### TODO

- handle `input` and `ctl` callbacks!
- Add a stats/info file to root of /mnt/alt

## Notifications:

- Create and update them, integrate with tabs
- Install fmt for printing

## Tabs:

- Track unread from clients
- Install fmt for printing