Sync OpenBSD patchset 831:

Now that parsing is common, merge some of the small, related commands
together to use the same code.

Also add some arguments (such as -n and -p) to some commands to match
existing commands.

17 files changed
tree: 7280499432219903909d933b7dd2312b2e15846b
  1. CHANGES
  2. FAQ
  3. Makefile.am
  4. NOTES
  5. TODO
  6. arguments.c
  7. array.h
  8. attributes.c
  9. autogen.sh
  10. cfg.c
  11. client.c
  12. clock.c
  13. cmd-attach-session.c
  14. cmd-bind-key.c
  15. cmd-break-pane.c
  16. cmd-capture-pane.c
  17. cmd-choose-buffer.c
  18. cmd-choose-client.c
  19. cmd-choose-session.c
  20. cmd-choose-window.c
  21. cmd-clear-history.c
  22. cmd-clock-mode.c
  23. cmd-command-prompt.c
  24. cmd-confirm-before.c
  25. cmd-copy-mode.c
  26. cmd-delete-buffer.c
  27. cmd-detach-client.c
  28. cmd-display-message.c
  29. cmd-display-panes.c
  30. cmd-find-window.c
  31. cmd-has-session.c
  32. cmd-if-shell.c
  33. cmd-join-pane.c
  34. cmd-kill-pane.c
  35. cmd-kill-server.c
  36. cmd-kill-session.c
  37. cmd-kill-window.c
  38. cmd-link-window.c
  39. cmd-list-buffers.c
  40. cmd-list-clients.c
  41. cmd-list-commands.c
  42. cmd-list-keys.c
  43. cmd-list-panes.c
  44. cmd-list-sessions.c
  45. cmd-list-windows.c
  46. cmd-list.c
  47. cmd-load-buffer.c
  48. cmd-lock-server.c
  49. cmd-move-window.c
  50. cmd-new-session.c
  51. cmd-new-window.c
  52. cmd-paste-buffer.c
  53. cmd-pipe-pane.c
  54. cmd-refresh-client.c
  55. cmd-rename-session.c
  56. cmd-rename-window.c
  57. cmd-resize-pane.c
  58. cmd-respawn-window.c
  59. cmd-rotate-window.c
  60. cmd-run-shell.c
  61. cmd-save-buffer.c
  62. cmd-select-layout.c
  63. cmd-select-pane.c
  64. cmd-select-window.c
  65. cmd-send-keys.c
  66. cmd-send-prefix.c
  67. cmd-server-info.c
  68. cmd-set-buffer.c
  69. cmd-set-environment.c
  70. cmd-set-option.c
  71. cmd-show-buffer.c
  72. cmd-show-environment.c
  73. cmd-show-messages.c
  74. cmd-show-options.c
  75. cmd-source-file.c
  76. cmd-split-window.c
  77. cmd-start-server.c
  78. cmd-string.c
  79. cmd-suspend-client.c
  80. cmd-swap-pane.c
  81. cmd-swap-window.c
  82. cmd-switch-client.c
  83. cmd-unbind-key.c
  84. cmd-unlink-window.c
  85. cmd.c
  86. colour.c
  87. compat.h
  88. compat/
  89. configure.ac
  90. environ.c
  91. examples/
  92. grid-utf8.c
  93. grid-view.c
  94. grid.c
  95. input-keys.c
  96. input.c
  97. job.c
  98. key-bindings.c
  99. key-string.c
  100. layout-custom.c
  101. layout-set.c
  102. layout-string.c
  103. layout.c
  104. log.c
  105. mode-key.c
  106. names.c
  107. options-table.c
  108. options.c
  109. osdep-darwin.c
  110. osdep-freebsd.c
  111. osdep-linux.c
  112. osdep-netbsd.c
  113. osdep-openbsd.c
  114. osdep-sunos.c
  115. osdep-unknown.c
  116. paste.c
  117. resize.c
  118. screen-redraw.c
  119. screen-write.c
  120. screen.c
  121. server-client.c
  122. server-fn.c
  123. server-window.c
  124. server.c
  125. session.c
  126. signal.c
  127. status.c
  128. tmux.1
  129. tmux.c
  130. tmux.h
  131. tools/
  132. tty-acs.c
  133. tty-keys.c
  134. tty-term.c
  135. tty.c
  136. utf8.c
  137. window-choose.c
  138. window-clock.c
  139. window-copy.c
  140. window.c
  141. www/
  142. xmalloc.c
  143. xterm-keys.c