summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/cmd-save-buffer.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* O_TRUNC is needed in case file exists.nicm2021-02-111-2/+2
* Fix show-buffer when run from inside tmux, GitHub issue 2314.nicm2020-07-211-4/+12
* Make client -c and -t handling common in cmd-queue.c and try to benicm2020-04-131-3/+2
* Also move cmdq_item and cmdq_list into cmd-queue.c (this is to make itsnicm2020-04-131-6/+3
* Make struct cmd local to cmd.c and move it out of tmux.h.nicm2020-04-131-4/+4
* Rewrite the code for reading and writing files. Now, if the client isnicm2019-12-121-74/+26
* Use the right client when working out where to save or load the buffer,nicm2019-06-131-2/+2
* Do not leak path or use it after free.nicm2018-07-311-2/+3
* Expand formats in load-buffer and save-buffer.nicm2018-07-111-7/+12
* Memory leaks, from David CARLIER.nicm2017-04-221-1/+2
* Make source-file look for files relative to the client working directorynicm2017-02-141-24/+10
* Nits found with clang.nicm2017-01-061-2/+2
* Mass rename struct cmd_q to struct cmdq_item and related.nicm2016-10-161-12/+12
* Add CMD_AFTERHOOK flag to the easy commands that don't need any special handling.nicm2016-10-141-3/+3
* Add static in cmd-* and fix a few other nits.nicm2016-10-101-3/+3
* Do not use c->cwd or s->cwd if it is NULL, found by Ben Boeckel.nicm2016-03-051-3/+3
* Use member names in cmd_entry definitions so I stop getting confusednicm2015-12-131-11/+17
* Instead of every command resolving the target (-t or -s) itself, preparenicm2015-12-131-2/+2
* Push stdout and stderr to clients more aggressively, and add an event tonicm2015-11-141-2/+2
* If realpath() fails just try the original path.nicm2015-11-101-3/+4
* Handle absolute paths properly, and don't use resolved path innicm2015-11-101-5/+9
* Because pledge(2) does not allow us to pass directory file descriptorsnicm2015-10-311-19/+18
* paste_send_pane can be merged into cmd-paste-buffer.c now.nicm2015-08-291-3/+3
* Move struct paste_buffer out of tmux.h.nicm2015-08-291-11/+12
* Rewrite of the target resolution internals to be simpler and morenicm2015-04-271-2/+2
* Instead of setting up the default keys by building the key structnicm2014-10-201-3/+1
* Add xreallocarray and remove nmemb argument from xrealloc.nicm2014-10-081-2/+2
* Add support for named buffers. If you don't name a buffer, things worknicm2014-05-131-13/+7
* There is no longer a need for a paste_stack struct or for global_buffersnicm2014-04-241-3/+3
* Memory leak in error path and unnecessary assignment, from clang.nicm2014-04-161-2/+1
* save-buffer needs to use O_TRUNC.nicm2014-04-071-2/+2
* Alter how tmux handles the working directory to internally use filenicm2013-10-101-30/+26
* Remove the barely-used and unnecessary command check() function.nicm2013-10-101-3/+1
* Add a command queue to standardize and simplify commands that call othernicm2013-03-241-21/+19
* Merge show-buffer into save-buffer.nicm2013-03-241-40/+92
* Fix so capture-pane/save-buffer can work in control clients, from Georgenicm2013-03-221-3/+7
* Make command exec functions return an enum rather than -1/0/1 values andnicm2012-07-111-10/+10
* xfree is not particularly helpful, remove it. From Thomas Adam.nicm2012-07-101-2/+3
* Instead of passing stdin/stdout/stderr file descriptors over imsg andnicm2012-05-211-2/+3
* Fix save-buffer usage, from Kazuhiko Sakaguchi.nicm2012-03-211-2/+2
* Try to resolve relative paths for loadb and saveb (first using clientnicm2011-10-231-2/+17
* Plug a memory leak and update some comments, from Tiago Cunha.nicm2011-10-231-2/+2
* Clean up and simplify tmux command argument parsing.nicm2011-01-041-22/+32
* Change from a per-session stack of buffers to one global stack which isnicm2010-12-301-8/+5
* When changing so that the client passes its stdout and stderr as well asnicm2010-07-241-15/+11
* Send all three of stdin, stdout, stderr from the client to the server, so thatnicm2010-06-281-12/+23
* Get rid of the ugly CMD_CHFLAG macro and use a const string (eg "dDU") in thenicm2009-11-131-3/+3
* Reset the umask right after fopen to avoid leaving it changed on error, noticednicm2009-10-261-2/+2
* Give each paste buffer a size member instead of requiring them to benicm2009-09-071-2/+2
* Make all messages sent between the client and server fixed size.nicm2009-07-261-3/+1