> it would be nice to map as many hg/git operations to file operations as > possible. for the rest providing special files (ctl, versions, etc) and > directives don't seem out of place. I've been thinking about combining synthetic file servers with shell functionality, where Plan 9's rc (but possibly other shells, if necessary) are initialised with a suite of commands, some of which, like functions, will come from the namespace, while others will be provided by a bind over /bin from the appropriate, fabricated namespace. I guess, in a way, this an extension of the concept used in busybox. The idea then would be to start up a shell environment (not unlike ape/psh) and navigate within it with conventional commands being mapped to the appropriate procedures automatically. I know this is a bit obscure, but I think a few examples attached to something like hgfs (which I have steered clear of because of my aversion to having Python in Plan 9 - I plead guilty to bigotism) would explain things somewhat. The nearest I've come to implementing some of these ideas, is an rc startup script I wrote to access the OpenLDAP client commands. I use it infrequently, but it does save me a lot of bother when I do. The script, attached, is in turn invoked in a smaller, private script (I call it $home/bin/rc/Ldap): #!/bin/rc window rc -m rcldap L += 1