<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rtmux.git/cmd-send-prefix.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>Merge send-prefix into send-keys.</title>
<updated>2013-02-23T14:41:07+00:00</updated>
<author>
<name>Nicholas Marriott</name>
<email>nicholas.marriott@gmail.com</email>
</author>
<published>2013-02-23T14:41:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rtmux.git/commit/?id=357da035b9d052b4cba8db806c6237272ade6673'/>
<id>357da035b9d052b4cba8db806c6237272ade6673</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 1151:</title>
<updated>2012-07-11T19:37:32+00:00</updated>
<author>
<name>Tiago Cunha</name>
<email>tcunha@gmx.com</email>
</author>
<published>2012-07-11T19:37:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rtmux.git/commit/?id=1f5e6e35d5046693f0ef5ec76535f517757b7122'/>
<id>1f5e6e35d5046693f0ef5ec76535f517757b7122</id>
<content type='text'>
Make command exec functions return an enum rather than -1/0/1 values and
add a new value to mean "leave client running but don't attach" to fix
problems with using some commands in a command sequence. Most of the
work by Thomas Adam, problem reported by "jspenguin" on SF bug 3535531.

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make command exec functions return an enum rather than -1/0/1 values and
add a new value to mean "leave client running but don't attach" to fix
problems with using some commands in a command sequence. Most of the
work by Thomas Adam, problem reported by "jspenguin" on SF bug 3535531.

</pre>
</div>
</content>
</entry>
<entry>
<title>Sync OpenBSD patchset 1007:</title>
<updated>2012-01-21T19:36:40+00:00</updated>
<author>
<name>Tiago Cunha</name>
<email>tcunha@gmx.com</email>
</author>
<published>2012-01-21T19:36:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rtmux.git/commit/?id=a7b0b30bdd73f3a8d513fc69daf593174ee03145'/>
<id>a7b0b30bdd73f3a8d513fc69daf593174ee03145</id>
<content type='text'>
Drop the ability to have a list of keys in the prefix in favour of two
separate options, prefix and prefix2. This simplifies the code and gets
rid the data options type which was only used for this one option.

Also add a -2 flag to send-prefix to send the secondary prefix key,
fixing a cause of minor irritation.

People who want three prefix keys are out of luck :-).

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Drop the ability to have a list of keys in the prefix in favour of two
separate options, prefix and prefix2. This simplifies the code and gets
rid the data options type which was only used for this one option.

Also add a -2 flag to send-prefix to send the secondary prefix key,
fixing a cause of minor irritation.

People who want three prefix keys are out of luck :-).

</pre>
</div>
</content>
</entry>
<entry>
<title>Expand the Id keyword. </title>
<updated>2011-07-09T09:42:33+00:00</updated>
<author>
<name>Tiago Cunha</name>
<email>tcunha@gmx.com</email>
</author>
<published>2011-07-09T09:42:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rtmux.git/commit/?id=391f1f08c0b2bc82c3ac34d5a8708cf1f93c652c'/>
<id>391f1f08c0b2bc82c3ac34d5a8708cf1f93c652c</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>Pass in the session, rather than the client, to window modes' key() function.</title>
<updated>2010-05-22T21:56:04+00:00</updated>
<author>
<name>Micah Cowan</name>
<email>micah@micah.cowan.name</email>
</author>
<published>2010-05-22T21:56:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rtmux.git/commit/?id=f11f71752a17d0ddd1005911cb01d5900a2d7780'/>
<id>f11f71752a17d0ddd1005911cb01d5900a2d7780</id>
<content type='text'>
We were only ever using the client to find the session anyway.

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We were only ever using the client to find the session anyway.

</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 343:</title>
<updated>2009-09-22T14:22:21+00:00</updated>
<author>
<name>Tiago Cunha</name>
<email>tcunha@gmx.com</email>
</author>
<published>2009-09-22T14:22:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rtmux.git/commit/?id=df7b68480cf37f4039a5fd1809fd7c8dbf127277'/>
<id>df7b68480cf37f4039a5fd1809fd7c8dbf127277</id>
<content type='text'>
Permit multiple prefix keys to be defined, separated by commas, for example:

set -g prefix ^a,^b

Any key in the list acts as the prefix. The send-prefix command always sends
the first key in the list.

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Permit multiple prefix keys to be defined, separated by commas, for example:

set -g prefix ^a,^b

Any key in the list acts as the prefix. The send-prefix command always sends
the first key in the list.

</pre>
</div>
</content>
</entry>
<entry>
<title>Sync OpenBSD patchset 271:</title>
<updated>2009-08-20T11:37:46+00:00</updated>
<author>
<name>Tiago Cunha</name>
<email>tcunha@gmx.com</email>
</author>
<published>2009-08-20T11:37:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rtmux.git/commit/?id=36475f80e9885588ed6a67f762289f7e56add84f'/>
<id>36475f80e9885588ed6a67f762289f7e56add84f</id>
<content type='text'>
Now that pane targets (-t) are supported, switch some commands to use them
where it makes sense: clock-mode, copy-mode, scroll-mode, send-keys,
send-prefix.

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now that pane targets (-t) are supported, switch some commands to use them
where it makes sense: clock-mode, copy-mode, scroll-mode, send-keys,
send-prefix.

</pre>
</div>
</content>
</entry>
<entry>
<title>Sync OpenBSD patchset 181:</title>
<updated>2009-07-28T22:12:16+00:00</updated>
<author>
<name>Tiago Cunha</name>
<email>tcunha@gmx.com</email>
</author>
<published>2009-07-28T22:12:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rtmux.git/commit/?id=d637cb33da212a74636984be0ce9dfface6be6b4'/>
<id>d637cb33da212a74636984be0ce9dfface6be6b4</id>
<content type='text'>
Make all messages sent between the client and server fixed size.

This is the first of two changes to make the protocol more resilient and less
sensitive to other changes in the code, particularly with commands. The client
now packs argv into a buffer and sends it to the server for parsing, rather
than doing it itself and sending the parsed command data.

As a side-effect this also removes a lot of now-unused command marshalling
code.

Mixing a server without this change and a client with or vice versa will cause
tmux to hang or crash, please ensure that tmux is entirely killed before
upgrading.

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make all messages sent between the client and server fixed size.

This is the first of two changes to make the protocol more resilient and less
sensitive to other changes in the code, particularly with commands. The client
now packs argv into a buffer and sends it to the server for parsing, rather
than doing it itself and sending the parsed command data.

As a side-effect this also removes a lot of now-unused command marshalling
code.

Mixing a server without this change and a client with or vice versa will cause
tmux to hang or crash, please ensure that tmux is entirely killed before
upgrading.

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