Re: realpath prevents nested check from working

2012-08-11 Thread Nicholas Marriott
Hi Ok so it looks like POSIX is stupid here and allows realpath to fail if the target file doesn't exist. Is this enough to fix it? Index: tmux.c === RCS file: /cvs/src/usr.bin/tmux/tmux.c,v retrieving revision 1.112 diff -u -p -r1.

Re: [PATCH] choose-tree: use line-drawing characters if possible

2012-08-11 Thread Nicholas Marriott
I don't like using "`" at all, it tends to be very different between different fonts and look weird in them all. I'd rather have a solution that always worked not just with UTF-8 :-). On Mon, Jul 30, 2012 at 02:54:17PM +0200, Romain Francoise wrote: > This is loosely based on a previous patch by

Re: [PATCH] add missing entries in the manual

2012-08-11 Thread Nicholas Marriott
applied, thanks history_size is bytes used by history On Tue, Jul 24, 2012 at 05:15:35PM +0200, samlt wrote: > On Tue, Jul 24, 2012 at 10:02:35AM +0100, Thomas Adam wrote: > > Hi, > > > > On 23 July 2012 08:13, KOIE Hidetaka wrote: > +--- 14 lines: > > some FORMAT variables are not listed in

Re: Proposition: launch commands using positional arguments command)

2012-08-11 Thread Nicholas Marriott
Possible and probably not too hard. IIRC I started doing it a good while ago but didn't get it finished. I would make it so that you can either do this: $ tmux neww "my command" Or $ tmux neww -- my command Which means you don't have any ambiguity. I think you could either try to make it be d

Re: how to change the inverting of the colours when I start tmux

2012-08-11 Thread Nicholas Marriott
Did you get this sorted out? On Fri, Aug 03, 2012 at 01:47:57PM -0700, Richard Corbett wrote: > Same result. No change. Keep the suggestions coming... > > thanks, > RIchard > > > On 08/03/2012 01:35 PM, Nicholas Marriott wrote: > >try "tput smcup" > > > > > >On Fri, Aug 03, 2012 at 01:15:50

Re: Display of $PWD and current command in status line

2012-08-11 Thread Nicholas Marriott
You can probably make your first solution more reliable by using pane ids. Store the output of "tmux display -p '#{window_id}'" in an environment variable when doing the renamew and then use it as the target when restoring, so that the right window gets renamed back. There is not actually much tmu

Re: Welcome to the "tmux-users" mailing list

2012-08-11 Thread Nicholas Marriott
Hi Does using TERM=vt220 help? On Tue, Aug 07, 2012 at 10:27:23AM +, John Long wrote: > Hi. I first learned about tmux from OpenBSD. It is really great, thank you! > > I am trying to get it working on Solaris 10 Intel and SPARC. I have the same > problem both places. I get a warning during

Re: [PATCH 0/6] Basic local printing support

2012-08-11 Thread Nicholas Marriott
Hi Thanks for your work but can you explain why you want/need this? Does anything actually use it? On Mon, Jul 23, 2012 at 05:59:41PM -0700, Sean Estabrooks wrote: > Pass data bracketed by printer start-stop codes through > to the client terminal or emulator. Am using this here > for "printing"

Re: [PATCH 2/6] Render winlink alerts in choose-mode

2012-08-11 Thread Thomas Adam
On Sat, Aug 11, 2012 at 07:12:40AM +0100, Nicholas Marriott wrote: > Hi > > This is a nice idea but by default the alert colour is inverted and it > looks very odd and confusing in the menu. > > Perhaps we should just make entries with an alert bold and not use the > config options for the menu?

Re: [PATCH V2 0/7] Choose-mode: winlinks colours, numeric-key prefixes

2012-08-11 Thread Thomas Adam
Hi, On Sat, Aug 11, 2012 at 07:49:48AM +0100, Nicholas Marriott wrote: > Sorry thought this was a separate change not a new version - DOH. Can > you redo this so it is on top of V1 now? Slightly tricky, because you've now made item->pos integral to how the information about each choose item is re

[PATCH]: Fix width handling of choose-tree items

2012-08-11 Thread Thomas Adam
Nicholas, Your recent commit to OpenBSD to add the computed line number to the item in choose-mode, uses a width calculation which wasn't being initialised correctly. This patch should fix that. Apply against OpenBSD. -- Thomas Adam -- "It was the cruelest game I've ever played and it's playe

Re: Default window/session templates

2012-08-11 Thread Thomas Adam
Hi, On Sat, Aug 11, 2012 at 07:50:08AM +0100, Nicholas Marriott wrote: > Yes I would like less information mostly I think. Sure -- any ideas how we might elide some of that information? :) -- Thomas Adam -- "It was the cruelest game I've ever played and it's played inside my head." -- "Hush T

Re: [PATCH]: Fix width handling of choose-tree items

2012-08-11 Thread Nicholas Marriott
whoops, applied, thanks. On Sat, Aug 11, 2012 at 10:38:02PM +0100, Thomas Adam wrote: > Nicholas, > > Your recent commit to OpenBSD to add the computed line number to the item in > choose-mode, uses a width calculation which wasn't being initialised > correctly. > > This patch should fix that.