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  
[c8efff] (5.5 kB) by nicm nicm

Make -S- and -E- mean the start and end to capture-pane to avoid having
to faff around with huge numbers to get everything.

2014-06-20 10:46:59 View
Download
[3dbacb] (5.3 kB) by nicm nicm

Add support for named buffers. If you don't name a buffer, things work
much as before - buffers are automatically named "buffer0000",
"buffer0001" and so on and ordered as a stack. Buffers can be named
explicitly when creating ("loadb -b foo" etc) or renamed ("setb -b
buffer0000 -n foo"). If buffers are named explicitly, they are not
deleted when buffer-limit is reached. Diff from J Raynor.

2014-05-13 07:34:35 View
Download
[bec6c8] (5.5 kB) by nicm nicm

There is no longer a need for a paste_stack struct or for global_buffers
to be global. Move to paste.c.

2014-04-24 09:14:43 View
Download
[d45c12] (5.6 kB) by nicm nicm

Remove the barely-used and unnecessary command check() function.

2013-10-10 12:00:18 View
Download
[a36da3] (5.6 kB) by Nicholas Marriott Nicholas Marriott

Remove the barely-used and unnecessary command check() function.

2013-08-21 17:01:40 View
Download
[270d90] (5.6 kB) by Nicholas Marriott Nicholas Marriott

Handle empty pending output (not a failure) and add \n. From George
Nachman.

2013-03-25 11:42:19 View
Download
[e85f76] (4.2 kB) by Nicholas Marriott Nicholas Marriott

Preserve trailing spaces with capture-pane -J, from George Nachman.

2013-03-25 10:05:35 View
Download
[20636d] (3.8 kB) by Nicholas Marriott Nicholas Marriott

Add a command queue to standardize and simplify commands that call other
commands and allow a command to block execution of subsequent
commands. This allows run-shell and if-shell to be synchronous which has
been much requested.

Each client has a default command queue and commands are consumed one at
a time from it. A command may suspend execution from the queue by
returning CMD_RETURN_WAIT and then resume it by calling cmd_continue() -
for example run-shell does this from the callback that is fired after
the job is freed.

When the command queue becomes empty, command clients are automatically
exited (unless attaching). A callback is also fired - this is used for
nested commands in, for example, if-shell which can block execution of
the client's cmdq until a new cmdq becomes empty.

Also merge all the old error/info/print functions together and lose the
old curclient/cmdclient distinction - a cmdq is bound to one client (or
none if in the configuration file), this is a command client if
c->session is NULL otherwise an attached client.

2013-03-24 09:54:10 View
Download
[295d86] (3.8 kB) by Nicholas Marriott Nicholas Marriott

Add -C and -J to capture pane to escape control sequences and to join
wrapped line, based on a diff from George Nachman.

2013-03-22 15:56:11 View
Download
[8a6fbf] (3.5 kB) by Nicholas Marriott Nicholas Marriott

Don't use a target-client for stdout, just always cmdclient.

2013-03-22 15:51:15 View
Download
[78543c] (3.6 kB) by Nicholas Marriott Nicholas Marriott

Support capture-pane -p to send to stdout.

2013-03-21 18:43:34 View
Download
[69d97f] (5.6 kB) by Nicholas Marriott Nicholas Marriott

Handle empty pending output (not a failure) and add \n. From George Nachman.

2013-03-19 09:34:00 View
Download
[b55167] (5.5 kB) by Nicholas Marriott Nicholas Marriott

Clean up capture-pane and add -P option to dump pending output, based on code
from George Nachman.

2013-03-11 13:47:29 View
Download
[aaeee3] (4.2 kB) by Nicholas Marriott Nicholas Marriott

Preserve trailing spaces with capture-pane -J, from George Nachman.

2013-03-04 11:03:03 View
Download
[1cb1fb] (4.1 kB) by Nicholas Marriott Nicholas Marriott

Add -q flags to shut up errors to capture-pane and show-options, from George
Nachman.

2013-03-04 09:00:24 View
Download
[b2a613] (4.0 kB) by Nicholas Marriott Nicholas Marriott

Add -a to capture-pane to capture alternate screen, from George Nachman.

2013-02-24 07:52:03 View
Download
[396430] (3.8 kB) by Nicholas Marriott Nicholas Marriott

Add a command queue to standardize and simplify commands that call other
commands and allow a command to block execution of subsequent commands. This
allows run-shell and if-shell to be synchronous which has been much requested.

Each client has a default command queue and commands are consumed one at a time
from it. A command may suspend execution from the queue by returning
CMD_RETURN_WAIT and then resume it by calling cmd_continue() - for example
run-shell does this from the callback that is fired after the job is freed.

When the command queue becomes empty, command clients are automatically exited
(unless attaching). A callback is also fired - this is used for nested commands
in, for example, if-shell which can block execution of the client's cmdq until
a new cmdq becomes empty.

Also merge all the old error/info/print functions together and lose the old
curclient/cmdclient distinction - a cmdq is bound to one client (or none if in
the configuration file), this is a command client if c->session is NULL
otherwise an attached client.

2013-02-23 22:25:58 View
Download
[b8b563] (3.8 kB) by Nicholas Marriott Nicholas Marriott

Add -C and -J to capture pane to escape control sequences and to join wrapped
line, based on a diff from George Nachman.

2013-02-21 09:35:01 View
Download
[1e2015] (3.6 kB) by Nicholas Marriott Nicholas Marriott

Fix so capture-pane/save-buffer can work in control clients, from George
Nachman.

2013-02-20 09:32:52 View
Download
[4d1d4d] (3.5 kB) by Nicholas Marriott Nicholas Marriott

Add -e flag to capture-pane to include embedded ANSI SGR escape sequences, from
George Nachman.

2013-02-19 09:55:02 View
Download
[a96dd1] (3.5 kB) by Nicholas Marriott Nicholas Marriott

Don't use a target-client for stdout, just always cmdclient.

2013-02-19 09:51:04 View
Download
[1d591a] (3.6 kB) by Nicholas Marriott Nicholas Marriott

Support capture-pane -p to send to stdout.

2013-02-15 09:31:45 View
Download
[3a0016] (3.2 kB) by Nicholas Marriott Nicholas Marriott

Use the CMD_*_USAGE defines consistently, from Thomas Adam.

2012-12-09 23:17:35 View
Download
[b43388] (3.2 kB) 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
[1f5e6e] (3.2 kB) by Tiago Cunha Tiago Cunha

Sync OpenBSD patchset 1151:

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.

2012-07-11 19:37:32 View
Download
Older >