Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Code Log


Commit Date  
[d51b4f] (3.7 kB) by Nicholas Marriott Nicholas Marriott

Use open(".")/fchdir() to save and restore current directory rather than
getcwd()/chdir().

2013-10-05 08:14:11 View
Download
[5d60bc] (3.7 kB) by Nicholas Marriott Nicholas Marriott

Use pgrp of pty fd not pid of immediate child when recovering current working
directory (like current process). From Marcel Partap.

2012-09-24 13:05:38 View
Download
[b43388] (None) by Nicholas Marriott Nicholas Marriott

We can't tell what the terminal has done with a DCS string, so reset the
cursor and attributes afterwards.

2012-09-05 09:59:41 View
Download
[c1b994] (3.6 kB) by Nicholas Marriott Nicholas Marriott

Change the way the working directory for new processes is discovered. If
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.

2011-12-09 16:37:29 View
Download
[391f1f] (3.4 kB) by Tiago Cunha Tiago Cunha

Expand the Id keyword.

2011-07-09 09:42:33 View
Download
[a6456f] (3.4 kB) by Nicholas Marriott Nicholas Marriott

PatchSet 887
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

2011-04-18 21:03:42 View
Download
[e0ad1e] (3.4 kB) by Nicholas Marriott Nicholas Marriott

Stray blank line.

2010-12-30 20:42:39 View
Download
[436f3b] (3.4 kB) by Nicholas Marriott Nicholas Marriott

epoll on Linux is broken with /dev/null so it needs to be disabled.

Instead of adding another BROKEN_* define, move event_init into
osdep-*.c.

2010-12-30 20:41:08 View
Download
[3cc7f2] (3.3 kB) by Tiago Cunha Tiago Cunha

Sync OpenBSD patchset 592:

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@

2009-12-26 23:48:37 View
Download
[2c863b] (3.4 kB) by Tiago Cunha Tiago Cunha

Sync OpenBSD patchset 235:

Nuke a dead variable found with clang and an unused declaration with lint.

2009-08-09 17:57:39 View
Download
[1127a2] (3.4 kB) by Tiago Cunha Tiago Cunha

Sync OpenBSD patchset 214:

Split the comparison into a function to make this code smaller and more
understandable.

2009-08-09 16:08:12 View
Download
[6043d9] (3.4 kB) by Tiago Cunha Tiago Cunha

Sync OpenBSD patchset 182:

Go to the next if the current best process is replaced, don't keep comparing
it with itself. Also fix process name comparison.

2009-07-28 22:26:13 View
Download
[81b4ac] (3.3 kB) by Nicholas Marriott Nicholas Marriott

#ifndef nitems.

2009-06-26 15:31:15 View
Download
[91241f] (3.3 kB) by Nicholas Marriott Nicholas Marriott

Apply the make magic wand to pick an osdep-*.c file rather than using ifdefs.

2009-04-29 23:07:35 View
Download
[6d8ff8] (3.3 kB) by Nicholas Marriott Nicholas Marriott

-err.h.

2009-02-17 18:54:14 View
Download
[cce03e] (3.3 kB) by Nicholas Marriott Nicholas Marriott

Looking up argv[0] is expensive, so just use p_comm for the window name which is good enough. Also increase name update time to 500 ms.

2009-02-13 00:43:04 View
Download
[c9cfc9] (4.1 kB) by Nicholas Marriott Nicholas Marriott

Don't try to change the window name unless the pid of the process chosen has
changed. Reduces CPU use.

osdep-* stuff is a bit horrible now but there we go :-/.

2009-02-09 18:08:01 View
Download
[505b07] (4.0 kB) by Nicholas Marriott Nicholas Marriott

More tweakery.

2009-02-08 12:31:02 View
Download
[028419] (3.4 kB) by Nicholas Marriott Nicholas Marriott

Comment. Missing OS X headers. +TODO.

2009-02-07 19:41:35 View
Download
[f53bcc] (3.4 kB) by Nicholas Marriott Nicholas Marriott

Even better.

2009-02-07 19:24:50 View
Download
[1d3fba] (3.4 kB) by Nicholas Marriott Nicholas Marriott

Make process name guessing pick up SSTOP.

2009-02-07 19:16:25 View
Download
[43c936] (3.1 kB) by Nicholas Marriott Nicholas Marriott

Bye bye debugging.

2009-01-30 21:18:26 View
Download
[167178] (3.2 kB) by Nicholas Marriott Nicholas Marriott

Tweak selection slightly.

2009-01-27 23:10:18 View
Download
[eafc16] (2.9 kB) by Nicholas Marriott Nicholas Marriott

Don't use NULL argv.

2009-01-27 21:01:26 View
Download
[d69709] (2.9 kB) by Nicholas Marriott Nicholas Marriott

+nitems.

2009-01-27 19:44:10 View
Download
Older >