]> Sergey Matveev's repositories - mmc.git/blobdiff - doc/arch.texi
Quick file display
[mmc.git] / doc / arch.texi
index 88fd2ad7b6d704bcfdc4aebba623b39448af9b48..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}
@@ -27,7 +31,7 @@ cmd/download
   R echo ... > file/get
   R tar xf < file/out
 
-cmd/scrollback > history.rec
+cmd/sb ... > history.rec
 @end verbatim
 
 @url{https://tools.suckless.org/ii/usage/, ii} IRC client's page has
@@ -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