Re: Reverse-Engineering Layout Format

2014-11-29 Thread Felix Rosencrantz
al message > From: Steven Lu > Date:22/11/2014 10:20 (GMT+01:00) > To: Felix Rosencrantz > Cc: tmux-users ,Thomas Adam > Subject: Re: Reverse-Engineering Layout Format > > I have not had a chance to dig into this code yet but I do agree that > there is a large amount of u

Re: Reverse-Engineering Layout Format

2014-11-22 Thread Felix Rosencrantz
I've wondered why is the checksum needed? It seems like it would be easier for tmux users to write simple tools to tweak a custom layout without the checksum being there. As best I can tell from a comment in the code, it is a quick way to check if a layout is valid. I'm not familiar enough with t

Re: [PATCH] add -b flag to split-window

2014-11-21 Thread Felix Rosencrantz
would be one cell up, etc.** Maybe some sort of > syntax for > >the root cell, (or just a specify a very large number).** Would that > be > >reasonable? > >-FR. > >On Thu, Nov 13, 2014 at 10:23 AM, Felix Rosencrantz > ><[1]f.rosencra...@gmai

Re: [PATCH] add -b flag to split-window

2014-11-18 Thread Felix Rosencrantz
? -FR. On Thu, Nov 13, 2014 at 10:23 AM, Felix Rosencrantz wrote: > That's great. > > I noticed this when I was trying to figure out if I could do a drop-down > terminal like guake/tilda/etc. This patch was a simple way to do it if > there is only a single pane across the top, b

Re: [PATCH] add -b flag to split-window

2014-11-13 Thread Felix Rosencrantz
mail.com> wrote: > Like it. Applied - thanks > > On Wed, Nov 12, 2014 at 09:40:03AM -0800, Felix Rosencrantz wrote: > >This patch adds the -b flag to split-window, which is consistent with > the > >-b flag of the join-window command.** I like this when I want

[PATCH] add -b flag to split-window

2014-11-12 Thread Felix Rosencrantz
This patch adds the -b flag to split-window, which is consistent with the -b flag of the join-window command. I like this when I want to create a pane above the current pane. -FR. diff --git a/cmd-split-window.c b/cmd-split-window.c index f88b2f6..e09b5a3 100644 --- a/cmd-split-window.c +++ b/cmd

Re: [PATCH] Adding incremental search and search highlighting

2014-11-01 Thread Felix Rosencrantz
Was there any follow up to this thread? Incremental search would be a great feature to have and is on the TODO list. Thanks. -FR On Fri, Aug 8, 2014 at 11:21 AM, Nicholas Marriott < nicholas.marri...@gmail.com> wrote: > Hi > > Your mailer has mangled the diffs, if you can't fix it so it works >

Re: Bug in cmd-set-option.c

2014-02-17 Thread Felix Rosencrantz
That fixes the issue. -FR. On Sun, Feb 16, 2014 at 3:12 PM, Thomas Adam wrote: > On Sun, Feb 16, 2014 at 07:39:27AM -0800, Felix Rosencrantz wrote: > > I saw it when setting a colour option to a bogus value "none". > > So why not send a patch through? > > Nich

Re: Bug in cmd-set-option.c

2014-02-16 Thread Felix Rosencrantz
I saw it when setting a colour option to a bogus value "none". -FR. On Sun, Feb 16, 2014 at 3:04 AM, Nicholas Marriott < nicholas.marri...@gmail.com> wrote: > How do I reproduce the crash? > > > > Original message ---- > From: Felix Rosencrantz &

Bug in cmd-set-option.c

2014-02-16 Thread Felix Rosencrantz
In the latest version of http://sourceforge.net/p/tmux/tmux-code/ci /master/tree/cmd-set-option.c Around line 308, the code looks like: case OPTIONS_TABLE_COLOUR: o = cmd_set_option_colour(self, cmdq, oe, oo, value); style_update_new(oo, o->name, oe->style)

new-window -c documentation bug

2014-02-16 Thread Felix Rosencrantz
In October, a change made to how the new-window -c flag is handled. It takes a string containing formats, which is not documented in the man page. Also, the behavior changed, and that is not very clear in the man page what the current behavior is. I think the commit message had much more useful i

Re: Feature request from omnitty, keyhole view of latest output

2012-11-06 Thread Felix Rosencrantz
back buffer, and store it to a buffer or a file. It would be useful to be able to automatically grab screen contents, such as by screen coordinates. It would also be useful to be able to specify a range around the current cursor location. -FR. On Wed, Oct 17, 2012 at 10:05 AM, Felix Rosencrantz

Feature request from omnitty, keyhole view of latest output

2012-10-17 Thread Felix Rosencrantz
Omnitty has a nifty feature where it can show you a snippet view of the most recent output from each of it's windows. It would be useful if tmux could provide a similar feature, where there were ways it could show a small view of other ttys. I envision that these small slivers might be possible t

Re: Confusion about window names and pane titles

2011-12-30 Thread Felix Rosencrantz
The final draft seems correct to me and addresses the issues. -FR. On Sat, Dec 24, 2011 at 12:23 AM, Nicholas Marriott wrote: > On Mon, Dec 19, 2011 at 04:00:28PM -0800, Felix Rosencrantz wrote: >> Looks pretty good, I have four small issues: >> >> 1) automatic-rename

Re: Confusion about window names and pane titles

2011-12-19 Thread Felix Rosencrantz
Attached is a patch based on the last patch, that corrects issue 1&4. -FR On Mon, Dec 19, 2011 at 4:00 PM, Felix Rosencrantz wrote: > Looks pretty good, I have four small issues: > > 1) automatic-rename is also turned off by setting window name via > escape sequence, which is

Re: Confusion about window names and pane titles

2011-12-19 Thread Felix Rosencrantz
set via the OSC title setting sequence, for example: > +.Bd -literal -offset indent > +$ printf '\e033]2;My Title\e033\e\e' > +.Ed >  .Sh ENVIRONMENT >  When the server is started, >  .Nm > @@ -2717,8 +2766,8 @@ terminal. >  By default, the status line is enable

Re: Confusion about window names and pane titles

2011-12-09 Thread Felix Rosencrantz
I've attached a proposed patch to the man page, that updates the details described in this thread. Thanks. -FR. On Thu, Nov 3, 2011 at 5:19 PM, Nicholas Marriott wrote: > On Thu, Nov 03, 2011 at 02:57:40PM -0700, Felix Rosencrantz wrote: >> I was having a problem where my win

Confusion about window names and pane titles

2011-11-03 Thread Felix Rosencrantz
I was having a problem where my window names were disappearing when my shell started, at first I was thinking the problem was related to the automatic-renaming option. After some investigation, the problem was that my prompt was sending a code "\033k\033\\", which is used to clear screen's title,

Re: Feature request: make server-info easier to parse

2011-03-02 Thread Felix Rosencrantz
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

Re: Feature request: make server-info easier to parse

2011-02-21 Thread Felix Rosencrantz
t could be > expressed by a format string such as '#{index}: #{name} > [#{width}x#{height}] (layout=#{layout})' and it could be easy to > customise. Also it would allow easier filtering, sorting, etc. > > Could use the same for choose-* and as the backend for #W et

Feature request: make server-info easier to parse

2011-02-21 Thread Felix Rosencrantz
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

Problems building from CVS, undefined references to setproctitle closefrom

2010-10-24 Thread Felix Rosencrantz
I'm having problems building from the latest source code from tmux.cvs.sourceforge.net:/cvsroot/tmux on a linux (ubuntu lucid lynx) I'm getting undefined references to these functions: setproctitle closefrom There is a HAVE_SETPROCTITLE define that no longer appears to prevent setproctitle to

Re: Bug with exiting a window.

2010-08-12 Thread Felix Rosencrantz
Yes, I'm using Thomas Adam's repository, git://github.com/ThomasAdam/tmux.git And this matches the cvs repository at sourceforge "tmux.cvs.sourceforge.net:/cvsroot/tmux". And included in the build is OpenBSD patchset 745: Change the way backoff works. Instead of stopping reading from the pty

Bug with exiting a window.

2010-08-12 Thread Felix Rosencrantz
I see problems when I exit from a shell that causes a window to close, or a session end: 1) When I close a window by exiting it's shell, and tmux is forced to switch me to the next window in a session, it stops showing output from the terminal, and no longer echos the keys I type in the switched t