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.
13 files changed
tree: 52fa29b04da1e5468bdce23cce61bf0370923c2e
  1. Makefile
  2. alerts.c
  3. arguments.c
  4. attributes.c
  5. cfg.c
  6. client.c
  7. cmd-attach-session.c
  8. cmd-bind-key.c
  9. cmd-break-pane.c
  10. cmd-capture-pane.c
  11. cmd-choose-tree.c
  12. cmd-command-prompt.c
  13. cmd-confirm-before.c
  14. cmd-copy-mode.c
  15. cmd-detach-client.c
  16. cmd-display-menu.c
  17. cmd-display-message.c
  18. cmd-display-panes.c
  19. cmd-find-window.c
  20. cmd-find.c
  21. cmd-has-session.c
  22. cmd-if-shell.c
  23. cmd-join-pane.c
  24. cmd-kill-pane.c
  25. cmd-kill-server.c
  26. cmd-kill-session.c
  27. cmd-kill-window.c
  28. cmd-list-buffers.c
  29. cmd-list-clients.c
  30. cmd-list-keys.c
  31. cmd-list-panes.c
  32. cmd-list-sessions.c
  33. cmd-list-windows.c
  34. cmd-list.c
  35. cmd-load-buffer.c
  36. cmd-lock-server.c
  37. cmd-move-window.c
  38. cmd-new-session.c
  39. cmd-new-window.c
  40. cmd-parse.y
  41. cmd-paste-buffer.c
  42. cmd-pipe-pane.c
  43. cmd-queue.c
  44. cmd-refresh-client.c
  45. cmd-rename-session.c
  46. cmd-rename-window.c
  47. cmd-resize-pane.c
  48. cmd-resize-window.c
  49. cmd-respawn-pane.c
  50. cmd-respawn-window.c
  51. cmd-rotate-window.c
  52. cmd-run-shell.c
  53. cmd-save-buffer.c
  54. cmd-select-layout.c
  55. cmd-select-pane.c
  56. cmd-select-window.c
  57. cmd-send-keys.c
  58. cmd-send-prefix.c
  59. cmd-set-buffer.c
  60. cmd-set-environment.c
  61. cmd-set-option.c
  62. cmd-show-buffer.c
  63. cmd-show-environment.c
  64. cmd-show-messages.c
  65. cmd-show-options.c
  66. cmd-source-file.c
  67. cmd-split-window.c
  68. cmd-swap-pane.c
  69. cmd-swap-window.c
  70. cmd-switch-client.c
  71. cmd-unbind-key.c
  72. cmd-wait-for.c
  73. cmd.c
  74. colour.c
  75. control-notify.c
  76. control.c
  77. environ.c
  78. file.c
  79. format-draw.c
  80. format.c
  81. grid-view.c
  82. grid.c
  83. input-keys.c
  84. input.c
  85. job.c
  86. key-bindings.c
  87. key-string.c
  88. layout-custom.c
  89. layout-set.c
  90. layout.c
  91. log.c
  92. menu.c
  93. mode-key.c
  94. mode-tree.c
  95. names.c
  96. notify.c
  97. options-table.c
  98. options.c
  99. paste.c
  100. proc.c
  101. procname.c
  102. regsub.c
  103. resize.c
  104. screen-redraw.c
  105. screen-write.c
  106. screen.c
  107. server-client.c
  108. server-fn.c
  109. server.c
  110. session.c
  111. spawn.c
  112. status.c
  113. style.c
  114. tmux.1
  115. tmux.c
  116. tmux.h
  117. tty-acs.c
  118. tty-keys.c
  119. tty-term.c
  120. tty.c
  121. utf8.c
  122. window-buffer.c
  123. window-client.c
  124. window-clock.c
  125. window-copy.c
  126. window-tree.c
  127. window.c
  128. xmalloc.c
  129. xmalloc.h
  130. xterm-keys.c