CVSROOT: /cvs Module name: src Changes by: n...@cvs.openbsd.org 2019/12/12 04:39:56
Modified files: usr.bin/tmux : Makefile client.c cmd-capture-pane.c cmd-load-buffer.c cmd-queue.c cmd-save-buffer.c control-notify.c control.c server-client.c server-fn.c tmux.h window.c Added files: usr.bin/tmux : file.c Log message: Rewrite the code for reading and writing files. Now, if the client is not attached, the server process asks it to open the file, similar to how works for stdin, stdout, stderr. This makes special files like /dev/fd/X work (used by some shells). stdin, stdout and stderr and control mode are now just special cases of the same mechanism. This will also make it easier to use for other commands that read files such as source-file.