aboutsummaryrefslogtreecommitdiff
path: root/osdep-openbsd.c
Commit message (Collapse)AuthorAge
* Look for libevent2 differently from libevent for platforms with both.Nicholas Marriott2021-01-17
|
* Merge branch 'obsd-master'Thomas Adam2016-10-12
| | | | | | Conflicts: format.c osdep-openbsd.c
* Merge branch 'obsd-master'Thomas Adam2016-01-19
|
* Merge branch 'obsd-master'Thomas Adam2015-01-16
|
* No need for $Id$ now.Nicholas Marriott2014-11-08
|
* Merge branch 'obsd-master'Thomas Adam2014-08-09
| | | | | Conflicts: client.c
* Merge branch 'obsd-master'Thomas Adam2014-04-23
| | | | | | | Conflicts: Makefile tmux.1 window.c
* Use open(".")/fchdir() to save and restore current directory rather thanNicholas Marriott2013-10-05
| | | | getcwd()/chdir().
* Merge branch 'obsd-master'Thomas Adam2012-12-31
| | | | Sync from OpenBSD.
* Use pgrp of pty fd not pid of immediate child when recovering current workingNicholas Marriott2012-09-24
| | | | directory (like current process). From Marcel Partap.
* Change the way the working directory for new processes is discovered. IfNicholas Marriott2011-12-09
| | | | | | | | | | | | | | | | | default-path isn't empty, it is used. Otherwise: 1) If tmux neww is run from the command line, the working directory of the client is used. 2) Otherwise use some platform specific code to retrieve the current working directory of the process in the active pane. 3) If that fails, the directory where the session was created is used. Idea and support code, Linux, Solaris, FreeBSD bits by Romain Francoise, OpenBSD bits by me.
* Expand the Id keyword. Tiago Cunha2011-07-09
|
* PatchSet 887Nicholas Marriott2011-04-18
| | | | | | | | | | | Date: 2011/04/10 04:20:59 Author: guenther Branch: HEAD Tag: (none) Log: Switch back from KERN_PROC2/kinfo_proc2 to KERN_PROC/kinfo_proc now that we've got name we want for the API we want
* Stray blank line.Nicholas Marriott2010-12-30
|
* epoll on Linux is broken with /dev/null so it needs to be disabled.Nicholas Marriott2010-12-30
| | | | | | Instead of adding another BROKEN_* define, move event_init into osdep-*.c.
* Sync OpenBSD patchset 592:Tiago Cunha2009-12-26
| | | | | | | | Use sysctl() KERN_PROC2 instead of KERN_PROC, as the latter's ABI is sensitive to changes in struct proc. fixes for warnings and ok nicm@
* Sync OpenBSD patchset 235:Tiago Cunha2009-08-09
| | | | | Nuke a dead variable found with clang and an unused declaration with lint.
* Sync OpenBSD patchset 214:Tiago Cunha2009-08-09
| | | | | | Split the comparison into a function to make this code smaller and more understandable.
* Sync OpenBSD patchset 182:Tiago Cunha2009-07-28
| | | | | | Go to the next if the current best process is replaced, don't keep comparing it with itself. Also fix process name comparison.
* #ifndef nitems.Nicholas Marriott2009-06-26
|
* Apply the make magic wand to pick an osdep-*.c file rather than using ifdefs.Nicholas Marriott2009-04-29
|
* -err.h.Nicholas Marriott2009-02-17
|
* Looking up argv[0] is expensive, so just use p_comm for the window name ↵Nicholas Marriott2009-02-13
| | | | which is good enough. Also increase name update time to 500 ms.
* Don't try to change the window name unless the pid of the process chosen hasNicholas Marriott2009-02-09
| | | | | | | changed. Reduces CPU use. osdep-* stuff is a bit horrible now but there we go :-/.
* More tweakery.Nicholas Marriott2009-02-08
|
* Comment. Missing OS X headers. +TODO.Nicholas Marriott2009-02-07
|
* Even better.Nicholas Marriott2009-02-07
|
* Make process name guessing pick up SSTOP.Nicholas Marriott2009-02-07
|
* Bye bye debugging.Nicholas Marriott2009-01-30
|
* Tweak selection slightly.Nicholas Marriott2009-01-27
|
* Don't use NULL argv.Nicholas Marriott2009-01-27
|
* +nitems.Nicholas Marriott2009-01-27
|
* Be more clever about picking window name.Nicholas Marriott2009-01-26
|
* Darwin support for automatic-rename, from joshe.Nicholas Marriott2009-01-20
|
* Try to change the window title to match the command running it in. This is doneNicholas Marriott2009-01-20
by reading argv[0] from the process group leader of the group that owns the tty (tcgetpgrp()). This can't be done portably so some OS-dependent code is introduced (ugh); OpenBSD, FreeBSD and Linux are supported at the moment. A new window flag, automatic-rename, is available: if this is set to off, the window name is not changed. Specifying a name with the new-window, new-session or rename-window commands will automatically set this flag to off for the window in question. To disable it entirely set the option to off globally (setw -g automatic-rename off).