]> Sergey Matveev's repositories - mmc.git/blobdiff - doc/arch.texi
Quick file display
[mmc.git] / doc / arch.texi
index ba2fe4f291d060ff9b13117c72ce0ddd614eeeca..15f5cd48ef36c4ea766d7c4f1aa3f9a96252ee7b 100644 (file)
@@ -10,8 +10,12 @@ cmd/start
   F tmux.conf
   R tmux -f tmux.conf
     R tail -f debug | tai64n
+    R for { cat users/status ; sleep 5 }
     R fzf **(/) | cmd/newwin
+    R cmd/catfile
+      R fzf **(.) | fmt
     R cmd/mmc | tai64n
+     F users/status
      F users/.../{id,email,name,|in,out.rec,|status,last}
      F chans/.../{id,info,out.rec,|users,last}
      F file/{|get,|out}
@@ -87,11 +91,12 @@ So how all that decisions are composed together?
 
 @itemize
 
-@item @command{cmd/start} creates @file{debug} FIFO, prepares
-configuration file for @command{tmux} (actually there is just single
-path to the command replaced with the real one) and runs it with single
-window split on two halves: one just shows debug messages (all raw MM
-messages for debugging), another one runs @command{cmd/mmc} itself.
+@item @command{cmd/start} creates @file{debug} and @file{users/status}
+FIFOs, prepares configuration file for @command{tmux} (actually there is
+just single path to the command replaced with the real one) and runs it
+with single window split on two three parts: one just shows debug
+messages (all raw MM messages), other shows colourized list of
+non-offline users, another one runs @command{cmd/mmc} itself.
 
 @item @command{cmd/mmc} logs in to the server, fetches a list of all
 known users and channels I am subscribed to. Then it creates necessary