On Mon, Feb 21, 2011 at 07:25:32PM -0800, Felix Rosencrantz wrote:
> > What would be really nice would be a way to represent their output in a
> > general internal form that could be output nicely, eg we translate a
> > window into a list of key,value pairs such as:
> >
> > [index=7, name=abc, widt
Yes we could use the pty to look up panes, it is in the tty member of
struct window_pane, they are completely unambiguous.
Think we could do PID too.
On Tue, Mar 01, 2011 at 05:05:02PM -0800, Felix Rosencrantz wrote:
> On Mon, Feb 28, 2011 at 1:11 PM, Nicholas Marriott
> wrote:
> >
> > On Mon,
On Mon, Feb 28, 2011 at 1:11 PM, Nicholas Marriott
wrote:
>
> On Mon, Feb 21, 2011 at 07:25:32PM -0800, Felix Rosencrantz wrote:
>> I thought I had missed the 'display-message -p' command. The
>> information it provides would work for my current usage, however, as
>> you point out, that only appl
On Mon, Feb 21, 2011 at 07:25:32PM -0800, Felix Rosencrantz wrote:
> I thought I had missed the 'display-message -p' command. The
> information it provides would work for my current usage, however, as
> you point out, that only applies to the active pane, it doesn't look
> at the current tty of t
I thought I had missed the 'display-message -p' command. The
information it provides would work for my current usage, however, as
you point out, that only applies to the active pane, it doesn't look
at the current tty of the tmux command. If I try running that in
several windows or panes at once,
Try this, although it still sucks that it always uses the active pane,
should be able to specify target to display-message.
Index: status.c
===
RCS file: /cvs/src/usr.bin/tmux/status.c,v
retrieving revision 1.71
diff -u -p -r1.71 stat
server-info is for debugging, don't rely on it for anything at all.
If there is something you need that isn't covered by list-sessions,
list-windows, list-panes, display-message then those are the place to
add it.
What would be really nice would be a way to represent their output in a
general int
Felix Rosencrantz writes:
> I use the "tmux server-info" command to extract details about windows
> and sessions from the "Sessions:", to put information in my prompt.
> But my parsing script is somewhat brittle since the format of the
> output is not standard.
>
> Tmux is changing so there will
I use the "tmux server-info" command to extract details about windows
and sessions from the "Sessions:", to put information in my prompt.
But my parsing script is somewhat brittle since the format of the
output is not standard.
Tmux is changing so there will be a need to change the output of the
s