Re: Weird behavior with SIGWINCH

2010-09-12 Thread Raghavendra Prabhu
@Micah, I am not seeing this behavior in xterm(I mean without tmux, but similar behavior in gnu screen). Also the steps you have mentioned doesn't clear the screen(although you may be doing it there). Yes, I understand that clear(nor would tput clear) as is won't work, but I thought there may be w

Re: RFC: Session Manager script

2010-09-12 Thread Joshua Isom
On 9/12/2010 5:07 PM, Nicholas Marriott wrote: > On Sun, Sep 12, 2010 at 02:58:01PM -0500, Joshua Isom wrote: >> sessions= >> # Check to see if tmux is running, or else sed might stall >> tmux has-session 1>&2 2>/dev/null > > Are you sure this pair of redirections does what you think it does? :-)

Re: RFC: Session Manager script

2010-09-12 Thread Nicholas Marriott
On Sun, Sep 12, 2010 at 02:58:01PM -0500, Joshua Isom wrote: > I wrote up a script to handle sessions for me. I typically use ssh > and a laptop so a multiplexer helps a lot, especially when updating > software, encoding videos, or anything else that takes a lot of > time. I haven't used tmux fo

Re: Weird behavior with SIGWINCH

2010-09-12 Thread Nicholas Marriott
i suspect this is because when you resize panes tmux pulls lines out of the history to fill in the space, this is normally a good thing does it happen if you set history-limit to 0? On Sun, Sep 12, 2010 at 10:17:33PM +0530, Raghavendra D Prabhu wrote: > Hi, > > I am seeing an issue when resizin

RFC: Session Manager script

2010-09-12 Thread Joshua Isom
I wrote up a script to handle sessions for me. I typically use ssh and a laptop so a multiplexer helps a lot, especially when updating software, encoding videos, or anything else that takes a lot of time. I haven't used tmux for very long, I just recently found it, so I don't know if there's

Re: Weird behavior with SIGWINCH

2010-09-12 Thread Micah Cowan
Hi. The behavior you've described below doesn't strke me as odd. I get the same results in a naked xterm, without tmux. 1. command to produce output (I used "man man | cat") 2. shrink the window so it is smaller, vertically 3. Resize it to its original form 4. The output reappears with prompt afte

Weird behavior with SIGWINCH

2010-09-12 Thread Raghavendra D Prabhu
Hi, I am seeing an issue when resizing the client(urxvt). Text cleared reappears. Steps to reproduce: 1. ls (or any command to produce output) 2. clear the screen with clear 3. Now tile the window horizontally by opening any other applications 4. Now close the newly opened application so that ur