Re: Patch to implement reflowing

2013-01-29 Thread Richard Woodbury
On Tue, Jan 29, 2013 at 6:10 PM, Thomas Adam wrote: > > Your patch segfaults tmux when I do this: > > tmux -Stemp -Ltemp -f/dev/null > ^b:setw reflow > ^b" > > (That is, start tmux on a new server with your patch compiled; > immediately set the 'reflow' option on the window; then call 'splitw' > o

Re: Patch to implement reflowing

2013-01-29 Thread Thomas Adam
Hi, I'm sorry that I don't have time to debug this right now... On 29 January 2013 18:27, Richard Woodbury wrote: > On Tue, Jan 29, 2013 at 7:15 AM, Nicholas Marriott > wrote: >> >> Can you send a unified diff to the mailing list please? > > Sure thing. See below. Your patch segfaults tmux wh

Re: Patch to implement reflowing

2013-01-29 Thread Richard Woodbury
On Tue, Jan 29, 2013 at 7:15 AM, Nicholas Marriott wrote: > > Can you send a unified diff to the mailing list please? Sure thing. See below. >From df6f6960cb469bf5a5f6332697186afd1d568ab5 Mon Sep 17 00:00:00 2001 From: Richard Woodbury Date: Sun, 27 Jan 2013 16:44:49 -0500 Subject: [PATCH] Imp

Re: Patch to implement reflowing

2013-01-29 Thread Nicholas Marriott
Can you send a unified diff to the mailing list please? Thanks On Mon, Jan 28, 2013 at 01:34:07AM -0500, Richard Woodbury wrote: >I have written code that can reflow text in a pane to suit a new width. >*It can be induced manually via the "reflow-pane" command, or >automatically on r

Re: Patch to implement reflowing

2013-01-29 Thread Thomas Adam
Hi, On 28 January 2013 06:34, Richard Woodbury wrote: > I have written code that can reflow text in a pane to suit a new width. It > can be induced manually via the "reflow-pane" command, or automatically on > resize by setting the "reflow" window option. Of course, automatic > reflowing is dis

Re: Any advice on how to achieve this?

2013-01-29 Thread Thiago Padilha
That completely solves my problem. Thanks for the idea! On Tue, Jan 29, 2013 at 9:05 AM, Nicholas Marriott < nicholas.marri...@gmail.com> wrote: > Detaching would not be easy to achieve. Why don't you just turn the > status line off and change the prefix? So a script aliased to ssh, > something

Patch to implement reflowing

2013-01-29 Thread Richard Woodbury
I have written code that can reflow text in a pane to suit a new width. It can be induced manually via the "reflow-pane" command, or automatically on resize by setting the "reflow" window option. Of course, automatic reflowing is disabled by default. See below for a pull request. The following

Re: Any advice on how to achieve this?

2013-01-29 Thread Nicholas Marriott
Detaching would not be easy to achieve. Why don't you just turn the status line off and change the prefix? So a script aliased to ssh, something like: #!/bin/sh tmux set status off tmux set prefix ^P ssh "$@" tmux set -u prefix tmux set -u status On Tue, Jan 29, 2013 at 08:21:13AM -0300, Thiag

Re: tmux scrolling weirdness with irssi and rtorrent

2013-01-29 Thread iMil
> Now that the default-terminal is set to screen-256color, vim won't > use 256 colors, while I have: Turns out this behaviour is caused by a bug in NetBSD 6.0.1 libterminfo: http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=47490 Temporary fix: set -g default-terminal "screen" set -g t

Re: Any advice on how to achieve this?

2013-01-29 Thread Thomas Adam
On 29 January 2013 11:21, Thiago Padilha wrote: > Hello > > > I'm using tmux both locally and on my remote server, but I would prefer not > to use the server session nested inside my local tmux session. > > I would like to automatically detach my local tmux session whenever I enter > the ssh comma

Any advice on how to achieve this?

2013-01-29 Thread Thiago Padilha
Hello I'm using tmux both locally and on my remote server, but I would prefer not to use the server session nested inside my local tmux session. I would like to automatically detach my local tmux session whenever I enter the ssh command, and reattach to it when I disconnect from the server. Ano

Re: Configurable format for monitor-activity

2013-01-29 Thread Hari Krishna Dara
Thank you very much, that serves my immediate need :) On Tue, Jan 29, 2013 at 3:38 PM, Thomas Adam wrote: > On 29 January 2013 07:26, Hari Krishna Dara wrote: > > I find the default highlighting of window titles when monitor-activity is > > turned on to be extremely distracting. I would like t

Re: Configurable format for monitor-activity

2013-01-29 Thread Thomas Adam
On 29 January 2013 07:26, Hari Krishna Dara wrote: > I find the default highlighting of window titles when monitor-activity is > turned on to be extremely distracting. I would like to request an option to > either specify a different format when an activity occurs (something like > "window-status-

Re: Can tmux sessions be persistent to disk?

2013-01-29 Thread Thomas Adam
On 29 January 2013 02:51, Thiago Padilha wrote: > Is it possible to achieve a similar effect using tmux sessions? In other > words, can I resume a tmux session that hosts vim with open files after > reboot? No. -- Thomas Adam -