Re: bash text substitution in tmux

2012-08-13 Thread Stephen Thirlwall
On 14/08/12 10:41 AM, Stephen Thirlwall wrote: >[...] > I'd be happy to take a look at implementing this. (replying to myself...) How about implementing this as a command? choose-completion [-s source-window] [-t target-window] [template] -s is the window to scrape the search-string from -t i

Re: bash text substitution in tmux

2012-08-13 Thread Stephen Thirlwall
On 13/08/12 8:27 PM, Sinbad wrote: > s it possible to enter text into a command by matching > the partial text in the command with the shell output just > like the autocomplete in vim using ctrl-p and ctrl-n. > > example: > > $some_cmd > some output > words more words > $out > $output > > i am not

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

2012-08-13 Thread Romain Francoise
Nicholas Marriott writes: > The problem is that you need to turn ACS on and off, it's not as simple > as just using and so on. There is currently no way to tell the > window-choose code that a section of an entry should be displayed with > ACS on. Ah, ok. Yeah, that sounds harder to fix. I

bash text substitution in tmux

2012-08-13 Thread Sinbad
s it possible to enter text into a command by matching the partial text in the command with the shell output just like the autocomplete in vim using ctrl-p and ctrl-n. example: $some_cmd some output words more words $out $output i am not refferring to the command history, i want to be able to au

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

2012-08-13 Thread Nicholas Marriott
The problem is that you need to turn ACS on and off, it's not as simple as just using and so on. There is currently no way to tell the window-choose code that a section of an entry should be displayed with ACS on. On Mon, Aug 13, 2012 at 10:42:57AM +0200, Romain Francoise wrote: > Nicholas M

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

2012-08-13 Thread Romain Francoise
Nicholas Marriott writes: > 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 :-). Hmm. I didn't find the previous discussion between you and Thomas on this subje

Re: Please help building tmux on Solaris 10 and a suggestion

2012-08-13 Thread Nicholas Marriott
TERM=screen is normally correct but I suspect that since you are having to change it to xterm, the screen entry on Solaris doesn't include some stuff tmux needs. You could try installing GNU ncurses and linking tmux against that. On Mon, Aug 13, 2012 at 07:04:18AM +, John Long wrote: > On S

Re: Please help building tmux on Solaris 10 and a suggestion

2012-08-13 Thread John Long
On Sun, Aug 12, 2012 at 07:51:44PM +0100, Nicholas Marriott wrote: > Oh sorry I misread your mail. What does "echo $TERM" show inside tmux, > before you do the export command? screen This must mean something, but what?! Thanks again. -