aboutsummaryrefslogtreecommitdiff
path: root/cmd-paste-buffer.c
Commit message (Collapse)AuthorAge
* Sync OpenBSD patchset 181:Tiago Cunha2009-07-28
| | | | | | | | | | | | | | | | | Make all messages sent between the client and server fixed size. This is the first of two changes to make the protocol more resilient and less sensitive to other changes in the code, particularly with commands. The client now packs argv into a buffer and sends it to the server for parsing, rather than doing it itself and sending the parsed command data. As a side-effect this also removes a lot of now-unused command marshalling code. Mixing a server without this change and a client with or vice versa will cause tmux to hang or crash, please ensure that tmux is entirely killed before upgrading.
* Having fixed flags for single-character getopt options is a bit hard toNicholas Marriott2009-07-14
| | | | | | | | | | maintain and is only going to get worse as more are used. So instead, add a new uint64_t member to cmd_entry which is a bitmask of upper and lowercase options accepted by the command. This means new single character options can be used without the need to add it explicitly to the list.
* When pasting, translate \n into \r. This matches xterm and putty's behaviour,Nicholas Marriott2009-07-12
| | | | | | | | and makes emacs happy when pasting into some modes. A new -r (raw) flag to paste-buffer pastes without the translation. From Kalle Olavi Niemitalo, thanks!
* Fix two copy/paste bugs: forbid zero-length buffers to prevent a fatal errorNicholas Marriott2009-07-02
| | | | | | when trying to paste them, found by me, and miscalculation of the start/end causing random fatal errors when copying in copy-mode, reported by sthen.
* Pass return code from _exec; allow command sequences to work from the ↵Nicholas Marriott2009-01-19
| | | | command line.
* Window splitting. Two vertical panes fixed 50% each. This is a huge diff, ↵Nicholas Marriott2009-01-11
| | | | still a couple of bugs (notably heap corruption somewhere causing segfault on exit).
* Server locking. set-password and lock-server commands, plus automatic locking.Nicholas Marriott2009-01-11
|
* Buffers should be numbered from zero, from Tiago Cunha. Also fix paste -b.Nicholas Marriott2009-01-07
|
* Trim.Nicholas Marriott2008-06-20
|
* Use the right flags argument for -d.Nicholas Marriott2008-06-20
|
* Swap in new paste buffer code and add a couple more commands.Nicholas Marriott2008-06-20
|
* Big reorganisation of command-line syntax.Nicholas Marriott2008-06-05
|
* Easy bits of arg printing for list-keys.Nicholas Marriott2008-06-05
|
* If no command is specified, assume new-session.Nicholas Marriott2008-06-03
|
* Add a windowonly generic command and use it where appropriate. Also trim ↵Nicholas Marriott2008-06-02
| | | | includes and unused.
* Quick man page update, also fix some usages and get rid of some CMD_KEY checks.Nicholas Marriott2008-06-02
|
* Move -s and -c down a level so handling them is the responsibility of the ↵Nicholas Marriott2008-06-02
| | | | command (with some helper functions), rather than the top-level. This changes the action command syntax so that -s and -c must be after the command rather than before.
* Major reorganisation of screen handling.Nicholas Marriott2007-12-06
|
* Mostly-complete copy and paste.Nicholas Marriott2007-11-23