summaryrefslogtreecommitdiffstats
path: root/cmd-pipe-pane.c
AgeCommit message (Collapse)Author
2010-08-29Sync OpenBSD patchset 751:Tiago Cunha
Do not call event_del() for signals after fork(), just use sigaction() directly instead - calling libevent functions after fork() w/o event_reinit() is a bad idea, even if in this case it was harmless.
2010-06-15Sync OpenBSD patchset 720:Tiago Cunha
Last change erroneously used the target argument for looking up the client which caused pipe-pane to fail when used from the command line. Instead pass NULL which should use the current client. Spotted by Tiago Cunha.
2010-06-06Sync OpenBSD patchset 715:Tiago Cunha
Support the status_replace # replacement sequences in the pipe-pane command, thanks to Andrea Barisani.
2010-05-14Sync OpenBSD patchset 696:Tiago Cunha
Make signal handler setup/teardown two common functions instead of six, and reset SIGCHLD after fork to fix problems with some shells. From Romain Francoise.
2009-12-04Sync OpenBSD patchset 581:Tiago Cunha
Massive spaces->tabs and trailing whitespace cleanup, hopefully for the last time now I've configured emacs to make them displayed in really annoying colours...
2009-11-28Sync OpenBSD patchset 567:Tiago Cunha
Remove a couple of unused arguments where possible, and add /* ARGSUSED */ to the rest to reduce lint output.
2009-11-14Sync OpenBSD patchset 539:Tiago Cunha
Get rid of the ugly CMD_CHFLAG macro and use a const string (eg "dDU") in the command entry structs and a couple of functions to check/set the flags.
2009-11-14Sync OpenBSD patchset 538:Tiago Cunha
Unreachable statement, found by lint.
2009-11-08Sync OpenBSD patchset 498:Tiago Cunha
Convert the window pane (pty master side) fd over to use a bufferevent. The evbuffer API is very similar to the existing tmux buffer API so this was remarkably painless. Not many possible ways to do it, I suppose.
2009-11-08Sync OpenBSD patchset 496:Tiago Cunha
Switch window pane pipe redirect fd over to a bufferevent.
2009-11-08Sync OpenBSD patchset 491:Tiago Cunha
Initial changes to move tmux to libevent. This moves the client-side loops are pretty much fully over to event-based only (tmux.c and client.c) but server-side (server.c and friends) treats libevent as a sort of clever poll, waking up after every event to run various things. Moving the server stuff over to bufferevents and timers and so on will come later.
2009-10-23Sync OpenBSD patchset 430:Tiago Cunha
Nuke dead store.
2009-10-12No paths.h in here, as well.Tiago Cunha
2009-10-12Sync OpenBSD patchset 387:Tiago Cunha
Add a pipe-pane command to allow a pane to be piped to a shell command, for example: pipe-pane 'cat >~/out' No arguments stops outputing and closes the pipe; the -o flag toggles a pipe and on and off (useful for key bindings). Suggested by espie@.