<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rtmux.git/server-msg.c, branch master</title>
<subtitle>Tmux with Rahm's extra hacks.</subtitle>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rtmux.git/'/>
<entry>
<title>Sync OpenBSD patchset 438:</title>
<updated>2009-10-23T17:49:47+00:00</updated>
<author>
<name>Tiago Cunha</name>
<email>tcunha@gmx.com</email>
</author>
<published>2009-10-23T17:49:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rtmux.git/commit/?id=cc9ef11985305b29988ba34022d662f85771c765'/>
<id>cc9ef11985305b29988ba34022d662f85771c765</id>
<content type='text'>
Split the server code handling clients, jobs and windows off into separate
files from server.c (merging server-msg.c into the client file) and rather than
iterating over each set after poll(), allow a callback to be specified when the
fd is added and just walk once over the returned pollfds calling each callback
where needed.

More to come, getting this in so it is tested.

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Split the server code handling clients, jobs and windows off into separate
files from server.c (merging server-msg.c into the client file) and rather than
iterating over each set after poll(), allow a callback to be specified when the
fd is added and just walk once over the returned pollfds calling each callback
where needed.

More to come, getting this in so it is tested.

</pre>
</div>
</content>
</entry>
<entry>
<title>Sync OpenBSD patchset 434:</title>
<updated>2009-10-23T17:33:26+00:00</updated>
<author>
<name>Tiago Cunha</name>
<email>tcunha@gmx.com</email>
</author>
<published>2009-10-23T17:33:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rtmux.git/commit/?id=dc8b7d6b031a91721f17b04a82105578ed2585db'/>
<id>dc8b7d6b031a91721f17b04a82105578ed2585db</id>
<content type='text'>
Don't try to unsuspend a client if it isn't suspended.

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Don't try to unsuspend a client if it isn't suspended.

</pre>
</div>
</content>
</entry>
<entry>
<title>Sync OpenBSD patchset 370:</title>
<updated>2009-10-11T23:30:28+00:00</updated>
<author>
<name>Tiago Cunha</name>
<email>tcunha@gmx.com</email>
</author>
<published>2009-10-11T23:30:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rtmux.git/commit/?id=91e4dc83fcfa8c2d4a318d5f23dcebbaeeea2096'/>
<id>91e4dc83fcfa8c2d4a318d5f23dcebbaeeea2096</id>
<content type='text'>
Support for individual session idle time locking. May be enabled by turning off
the lock-server option (it is on by default). When this is off, each session
locks when it has been idle for the lock-after-time setting. When on, the
entire server locks when ALL sessions have been idle for their individual
lock-after-time settings.

This replaces one global-only option (lock-after-time) with another
(lock-server), but the default behaviour is usually preferable so there don't
seem to be many alternatives.

Diff/idea largely from Thomas Adam, tweaked by me.

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Support for individual session idle time locking. May be enabled by turning off
the lock-server option (it is on by default). When this is off, each session
locks when it has been idle for the lock-after-time setting. When on, the
entire server locks when ALL sessions have been idle for their individual
lock-after-time settings.

This replaces one global-only option (lock-after-time) with another
(lock-server), but the default behaviour is usually preferable so there don't
seem to be many alternatives.

Diff/idea largely from Thomas Adam, tweaked by me.

</pre>
</div>
</content>
</entry>
<entry>
<title>Sync OpenBSD patchset 352:</title>
<updated>2009-09-25T17:47:42+00:00</updated>
<author>
<name>Tiago Cunha</name>
<email>tcunha@gmx.com</email>
</author>
<published>2009-09-25T17:47:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rtmux.git/commit/?id=804b8696a47b37076f8ae0e0b04dcba3e2d1fb7c'/>
<id>804b8696a47b37076f8ae0e0b04dcba3e2d1fb7c</id>
<content type='text'>
Don't allow locked or suspended clients to limit the size of active clients.

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Don't allow locked or suspended clients to limit the size of active clients.

</pre>
</div>
</content>
</entry>
<entry>
<title>Adjust OpenBSD patchset 350 to the portable version.</title>
<updated>2009-09-23T15:20:16+00:00</updated>
<author>
<name>Tiago Cunha</name>
<email>tcunha@gmx.com</email>
</author>
<published>2009-09-23T15:20:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rtmux.git/commit/?id=ac95da3afc0aef9fbb2a1f587c1b65dfbbe195da'/>
<id>ac95da3afc0aef9fbb2a1f587c1b65dfbbe195da</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Sync OpenBSD patchset 350:</title>
<updated>2009-09-23T15:18:56+00:00</updated>
<author>
<name>Tiago Cunha</name>
<email>tcunha@gmx.com</email>
</author>
<published>2009-09-23T15:18:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rtmux.git/commit/?id=5be3fb86b9225842515f79a611a44d587814bd4c'/>
<id>5be3fb86b9225842515f79a611a44d587814bd4c</id>
<content type='text'>
Support -c like sh(1) to execute a command, useful when tmux is a login
shell. Suggested by halex@.

This includes another protocol version increase (the last for now) so again
restart the tmux server before upgrading.

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Support -c like sh(1) to execute a command, useful when tmux is a login
shell. Suggested by halex@.

This includes another protocol version increase (the last for now) so again
restart the tmux server before upgrading.

</pre>
</div>
</content>
</entry>
<entry>
<title>Sync OpenBSD patchset 347:</title>
<updated>2009-09-23T15:00:09+00:00</updated>
<author>
<name>Tiago Cunha</name>
<email>tcunha@gmx.com</email>
</author>
<published>2009-09-23T15:00:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rtmux.git/commit/?id=1310ea2729c4f51b9de29c10fb7ea176345cfd44'/>
<id>1310ea2729c4f51b9de29c10fb7ea176345cfd44</id>
<content type='text'>
Remove the internal tmux locking and instead detach each client and run the
command specified by a new option "lock-command" (by default "lock -np") in
each client.

This means each terminal has to be unlocked individually but simplifies the
code and allows the system password to be used to unlock.

Note that the set-password command is gone, so it will need to be removed from
configuration files, and the -U command line flag has been removed.

This is the third protocol version change so again it is best to stop the tmux
server before upgrading.

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove the internal tmux locking and instead detach each client and run the
command specified by a new option "lock-command" (by default "lock -np") in
each client.

This means each terminal has to be unlocked individually but simplifies the
code and allows the system password to be used to unlock.

Note that the set-password command is gone, so it will need to be removed from
configuration files, and the -U command line flag has been removed.

This is the third protocol version change so again it is best to stop the tmux
server before upgrading.

</pre>
</div>
</content>
</entry>
<entry>
<title>Sync OpenBSD patchset 346:</title>
<updated>2009-09-23T14:44:02+00:00</updated>
<author>
<name>Tiago Cunha</name>
<email>tcunha@gmx.com</email>
</author>
<published>2009-09-23T14:44:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rtmux.git/commit/?id=2acf349d4e855eeb8b5d8303cc89aec016210e30'/>
<id>2acf349d4e855eeb8b5d8303cc89aec016210e30</id>
<content type='text'>
Trim some code by moving the ioctl(TIOCGWINSZ) after SIGWINCH from the client
into the server.

This is another (the second of four) protocol version changes coming this
morning, so again the server should be killed before upgrading.

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Trim some code by moving the ioctl(TIOCGWINSZ) after SIGWINCH from the client
into the server.

This is another (the second of four) protocol version changes coming this
morning, so again the server should be killed before upgrading.

</pre>
</div>
</content>
</entry>
<entry>
<title>Sync OpenBSD patchset 345:</title>
<updated>2009-09-23T14:39:30+00:00</updated>
<author>
<name>Tiago Cunha</name>
<email>tcunha@gmx.com</email>
</author>
<published>2009-09-23T14:39:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rtmux.git/commit/?id=acedc2dcf2673cf199ba1ba08705dc8fd270c0c7'/>
<id>acedc2dcf2673cf199ba1ba08705dc8fd270c0c7</id>
<content type='text'>
Don't attempt to open() the tty path, rely on the client sending its stdin fd
with imsg and fatal if it doesn't, then set the FD_CLOEXEC flag in tty_init
instead of tty_open to prevent them leaking into child processes if any are
created between the two calls.

This bumps the protocol version, so the tmux server should be killed before
upgrading.

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Don't attempt to open() the tty path, rely on the client sending its stdin fd
with imsg and fatal if it doesn't, then set the FD_CLOEXEC flag in tty_init
instead of tty_open to prevent them leaking into child processes if any are
created between the two calls.

This bumps the protocol version, so the tmux server should be killed before
upgrading.

</pre>
</div>
</content>
</entry>
<entry>
<title>Sync OpenBSD patchset 327:</title>
<updated>2009-09-15T23:52:30+00:00</updated>
<author>
<name>Tiago Cunha</name>
<email>tcunha@gmx.com</email>
</author>
<published>2009-09-15T23:52:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rtmux.git/commit/?id=dbaa28492ec22f1e961a2612ebb6e4acf9ad9a8b'/>
<id>dbaa28492ec22f1e961a2612ebb6e4acf9ad9a8b</id>
<content type='text'>
The default terminal size should be 80x24, not 80x25.

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The default terminal size should be 80x24, not 80x25.

</pre>
</div>
</content>
</entry>
</feed>
