<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rtmux.git/cmd-generic.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>cmd-generic.c isn't needed anymore due to OpenBSD patchset 829.</title>
<updated>2011-01-07T14:50:54+00:00</updated>
<author>
<name>Tiago Cunha</name>
<email>tcunha@gmx.com</email>
</author>
<published>2011-01-07T14:50:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rtmux.git/commit/?id=ecec113b63c4bb05cc1de0549753c0c3adb5bb1d'/>
<id>ecec113b63c4bb05cc1de0549753c0c3adb5bb1d</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 829:</title>
<updated>2011-01-07T14:45:34+00:00</updated>
<author>
<name>Tiago Cunha</name>
<email>tcunha@gmx.com</email>
</author>
<published>2011-01-07T14:45:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rtmux.git/commit/?id=1df427bc7b1a458f4d3fe6f9255010708a8d8634'/>
<id>1df427bc7b1a458f4d3fe6f9255010708a8d8634</id>
<content type='text'>
Clean up and simplify tmux command argument parsing.

Originally, tmux commands were parsed in the client process into a
struct with the command data which was then serialised and sent to the
server to be executed. The parsing was later moved into the server (an
argv was sent from the client), but the parse step and intermediate
struct was kept.

This change removes that struct and the separate parse step. Argument
parsing and printing is now common to all commands (in arguments.c) with
each command left with just an optional check function (to validate the
arguments at parse time), the exec function and a function to set up any
key bindings (renamed from the old init function).

This is overall more simple and consistent.

There should be no changes to any commands behaviour or syntax although
as this touches every command please watch for any unexpected changes.

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Clean up and simplify tmux command argument parsing.

Originally, tmux commands were parsed in the client process into a
struct with the command data which was then serialised and sent to the
server to be executed. The parsing was later moved into the server (an
argv was sent from the client), but the parse step and intermediate
struct was kept.

This change removes that struct and the separate parse step. Argument
parsing and printing is now common to all commands (in arguments.c) with
each command left with just an optional check function (to validate the
arguments at parse time), the exec function and a function to set up any
key bindings (renamed from the old init function).

This is overall more simple and consistent.

There should be no changes to any commands behaviour or syntax although
as this touches every command please watch for any unexpected changes.

</pre>
</div>
</content>
</entry>
<entry>
<title>Global paste buffers instead of per-session which renders copy-buffer useless.</title>
<updated>2010-12-30T22:39:49+00:00</updated>
<author>
<name>Tiago Cunha</name>
<email>tcunha@gmx.com</email>
</author>
<published>2010-12-30T22:39:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rtmux.git/commit/?id=9ebee6aef8aab237314e167f0d0412ddc5ebf513'/>
<id>9ebee6aef8aab237314e167f0d0412ddc5ebf513</id>
<content type='text'>
As a consequence buffer-limit is now a server option.

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As a consequence buffer-limit is now a server option.

</pre>
</div>
</content>
</entry>
<entry>
<title>Sync OpenBSD patchset 581:</title>
<updated>2009-12-04T22:14:47+00:00</updated>
<author>
<name>Tiago Cunha</name>
<email>tcunha@gmx.com</email>
</author>
<published>2009-12-04T22:14:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rtmux.git/commit/?id=cc094fdfe6276b93683113f395edbc004837d362'/>
<id>cc094fdfe6276b93683113f395edbc004837d362</id>
<content type='text'>
Massive spaces-&gt;tabs and trailing whitespace cleanup, hopefully for the last
time now I've configured emacs to make them displayed in really annoying
colours...

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Massive spaces-&gt;tabs and trailing whitespace cleanup, hopefully for the last
time now I've configured emacs to make them displayed in really annoying
colours...

</pre>
</div>
</content>
</entry>
<entry>
<title>Sync OpenBSD patchset 567:</title>
<updated>2009-11-28T14:50:37+00:00</updated>
<author>
<name>Tiago Cunha</name>
<email>tcunha@gmx.com</email>
</author>
<published>2009-11-28T14:50:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rtmux.git/commit/?id=c12e0b0708ee1aa16608eff9d0ad3f0628cbac0f'/>
<id>c12e0b0708ee1aa16608eff9d0ad3f0628cbac0f</id>
<content type='text'>
Remove a couple of unused arguments where possible, and add /* ARGSUSED */ to
the rest to reduce lint output.

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove a couple of unused arguments where possible, and add /* ARGSUSED */ to
the rest to reduce lint output.

</pre>
</div>
</content>
</entry>
<entry>
<title>Sync OpenBSD patchset 540:</title>
<updated>2009-11-14T17:57:41+00:00</updated>
<author>
<name>Tiago Cunha</name>
<email>tcunha@gmx.com</email>
</author>
<published>2009-11-14T17:57:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rtmux.git/commit/?id=a7158784f2233b9f285615272bc6e8a066083424'/>
<id>a7158784f2233b9f285615272bc6e8a066083424</id>
<content type='text'>
Tweak a comment and add some spacing.

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Tweak a comment and add some spacing.

</pre>
</div>
</content>
</entry>
<entry>
<title>Sync OpenBSD patchset 539:</title>
<updated>2009-11-14T17:56:39+00:00</updated>
<author>
<name>Tiago Cunha</name>
<email>tcunha@gmx.com</email>
</author>
<published>2009-11-14T17:56:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rtmux.git/commit/?id=e35f5b35bd9a6a85eb314bfb642998267b2d475d'/>
<id>e35f5b35bd9a6a85eb314bfb642998267b2d475d</id>
<content type='text'>
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.

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.

</pre>
</div>
</content>
</entry>
<entry>
<title>Sync OpenBSD patchset 299:</title>
<updated>2009-08-26T22:13:52+00:00</updated>
<author>
<name>Tiago Cunha</name>
<email>tcunha@gmx.com</email>
</author>
<published>2009-08-26T22:13:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rtmux.git/commit/?id=d15e88cb688fa1d799920e35f0676fdcb3995a79'/>
<id>d15e88cb688fa1d799920e35f0676fdcb3995a79</id>
<content type='text'>
Initialise the arg2 pointer properly (also free it when freeing the
others). Fixes crashes with J in malloc_options reported by oga.

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Initialise the arg2 pointer properly (also free it when freeing the
others). Fixes crashes with J in malloc_options reported by oga.

</pre>
</div>
</content>
</entry>
<entry>
<title>Sync from OpenBSD:</title>
<updated>2009-08-11T14:42:59+00:00</updated>
<author>
<name>Nicholas Marriott</name>
<email>nicholas.marriott@gmail.com</email>
</author>
<published>2009-08-11T14:42:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rtmux.git/commit/?id=304296972b40951061a5dc53a106a68e8e77659c'/>
<id>304296972b40951061a5dc53a106a68e8e77659c</id>
<content type='text'>
Add flags for 1+2 and 2 arguments to the generic target code, use it for
cmd-set-environment/option/window-option and remove the generic options
parsing.

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add flags for 1+2 and 2 arguments to the generic target code, use it for
cmd-set-environment/option/window-option and remove the generic options
parsing.

</pre>
</div>
</content>
</entry>
<entry>
<title>Sync OpenBSD patchset 200:</title>
<updated>2009-07-30T20:45:20+00:00</updated>
<author>
<name>Tiago Cunha</name>
<email>tcunha@gmx.com</email>
</author>
<published>2009-07-30T20:45:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rtmux.git/commit/?id=1650b8552ff0eec77dde62066312bea60c1200ae'/>
<id>1650b8552ff0eec77dde62066312bea60c1200ae</id>
<content type='text'>
Merge pane number into the target specification for pane commands. Instead of
using -p index, a target pane is now addressed with the normal -t window form
but suffixed with a period and a pane index, for example :0.2 or
mysess:mywin.1. An unadorned number such as -t 1 is tried as a pane index in
the current window, if that fails the same rules are followed as for a target
window and the current pane in that window used.

As a side-effect this now means that swap-pane can swap panes between
different windows.

Note that this changes the syntax of the break-pane, clear-history, kill-pane,
resize-pane, select-pane and swap-pane commands.

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Merge pane number into the target specification for pane commands. Instead of
using -p index, a target pane is now addressed with the normal -t window form
but suffixed with a period and a pane index, for example :0.2 or
mysess:mywin.1. An unadorned number such as -t 1 is tried as a pane index in
the current window, if that fails the same rules are followed as for a target
window and the current pane in that window used.

As a side-effect this now means that swap-pane can swap panes between
different windows.

Note that this changes the syntax of the break-pane, clear-history, kill-pane,
resize-pane, select-pane and swap-pane commands.

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