Does it happen with xterm?

If you do C-b r in tmux after it happens does it fix it?


On Fri, Jun 10, 2011 at 05:12:41PM -0700, Randy Stauner wrote:
>    Xfce 4 Desktop Environment
>    version 4.6.1 (Xfce 4.6)
>    Window manager (xfwm4)
>    installed through**xubuntu 10.04
>    xfwm4 --version
>    ** ** ** ** This is xfwm4 version 4.6.1 (revision 29817) for Xfce 4.6.1
>    ** ** ** ** Released under the terms of the GNU General Public License.
>    ** ** ** ** Compiled against GTK+-2.19.6, using GTK+-2.20.1.
>    On Fri, Jun 10, 2011 at 3:54 PM, Nicholas Marriott
>    <[1]nicholas.marri...@gmail.com> wrote:
> 
>      this is a different issue, sounds like something isn't sending tmux
>      SIGWINCH
> 
>      what window manager?
> 
>      On Fri, Jun 10, 2011 at 08:19:22AM -0700, Randy Stauner wrote:
>      > ** **I don't know if you'd consider this related,
>      > ** **or a separate redrawing problem,
>      > ** **but I normally have my terminal (xfce4-terminal) fill about half
>      of my
>      > ** **screen...
>      > ** **if i maximize it for a bit, and then shrink it back to the
>      previous size,
>      > ** **the terminal ends up growing taller (which doesn't fit on my
>      screen),
>      > ** **perhaps because there are long lines that have to get re-wrapped
>      or
>      > ** **something,..
>      > ** **and my then my tmux status bar gets pushed below the bottom of
>      the screen
>      > ** **and i have to manually reshrink my terminal by 2 lines (and then
>      move it
>      > ** **back to the top).
>      > ** **trying it right now it's not *that* simple to reproduce,
>      > ** **but it does happen pretty frequently.
>      > ** **On Sat, Jun 4, 2011 at 2:30 AM, Nicholas Marriott
>      > ** **<[1][2]nicholas.marri...@gmail.com> wrote:
>      >
>      > ** ** **Not supported, no. If you want to do it go for it, IIRC tmux
>      does track
>      > ** ** **information on the "real" line end (grid_line flags member,
>      > ** ** **GRID_LINE_WRAPPED), it just doesn't use it on resize.
>      >
>      > ** ** **On Fri, Jun 03, 2011 at 11:35:15PM +0200, No?? Rubinstein
>      wrote:
>      > ** ** **> Hi,
>      > ** ** **>
>      > ** ** **> When a line's length exceeds the width of the terminal, tmux
>      wraps the
>      > ** ** **line so
>      > ** ** **> that it displays as two lines. However, if the window is
>      then resized,
>      > ** ** **the line
>      > ** ** **> remains cut at the same place.
>      > ** ** **>
>      > ** ** **> For example, if I print the alphabet in a 20-columns window,
>      I get
>      > ** ** **something
>      > ** ** **> like:
>      > ** ** **> +--------------------+
>      > ** ** **> |abcdefghijklmnopqrst|
>      > ** ** **> |uvwxyz ** ** ** ** ** ** **|
>      > ** ** **> | ** ** ** ** ** ** ** ** ** **|
>      > ** ** **> | ** ** ** ** ** ** ** ** ** **|
>      > ** ** **> +--------------------+
>      > ** ** **>
>      > ** ** **> If I resize the window to 15 columns, I get:
>      > ** ** **> +---------------+
>      > ** ** **> |abcdefghijklmno|
>      > ** ** **> |uvwxyz ** ** ** ** |
>      > ** ** **> | ** ** ** ** ** ** ** |
>      > ** ** **> | ** ** ** ** ** ** ** |
>      > ** ** **> +---------------+
>      > ** ** **>
>      > ** ** **> If I then resize it to 25 columns, I get:
>      > ** ** **> +-------------------------+
>      > ** ** **> |abcdefghijklmnopqrst ** ** |
>      > ** ** **> |uvwxyz ** ** ** ** ** ** ** ** ** |
>      > ** ** **> | ** ** ** ** ** ** ** ** ** ** ** ** |
>      > ** ** **> | ** ** ** ** ** ** ** ** ** ** ** ** |
>      > ** ** **> +-------------------------+
>      > ** ** **>
>      > ** ** **> I would like to know if it's possible, and how, to get tmux
>      to
>      > ** ** **automatically
>      > ** ** **> rewrap the lines to the width of the terminal, so that when
>      I resize
>      > ** ** **the window
>      > ** ** **> like above, I get things like:
>      > ** ** **>
>      > ** ** **> +---------------+
>      > ** ** **> |abcdefghijklmno|
>      > ** ** **> |pqrstuvwxyz ** **|
>      > ** ** **> | ** ** ** ** ** ** ** |
>      > ** ** **> | ** ** ** ** ** ** ** |
>      > ** ** **> +---------------+
>      > ** ** **>
>      > ** ** **> and
>      > ** ** **>
>      > ** ** **> +-------------------------+
>      > ** ** **> |abcdefghijklmnopqrstuvwxy|
>      > ** ** **> |z ** ** ** ** ** ** ** ** ** ** ** **|
>      > ** ** **> | ** ** ** ** ** ** ** ** ** ** ** ** |
>      > ** ** **> | ** ** ** ** ** ** ** ** ** ** ** ** |
>      > ** ** **> +-------------------------+
>      > ** ** **>
>      > ** ** **> After a quick look at the code, I think this is not
>      supported by tmux.
>      > ** ** **Am I
>      > ** ** **> right? If I am, do you have any idea of workaround, or know
>      how hard
>      > ** ** **it would
>      > ** ** **> be to implement in tmux?
>      > ** ** **>
>      > ** ** **> (As a side note, several common applications do this line
>      wrapping
>      > ** ** **themselve:
>      > ** ** **> for example visual applications like vim or irssi. However,
>      > ** ** **applications that
>      > ** ** **> do not handle wrapping the lines themselve become less
>      usable when I
>      > ** ** **have to
>      > ** ** **> use them in environments with different window sizes. It
>      also seems
>      > ** ** **that
>      > ** ** **> readline handles the wrapping, so just typing the alphabet
>      on the
>      > ** ** **command
>      > ** ** **> prompt won't be sufficient to reproduce)
>      > ** ** **>
>      > ** ** **> Thanks,
>      > ** ** **> --
>      > ** ** **> No?? Rubinstein
>      > ** ** **>
>      > ** ** **>
>      > ** **
>      
> **------------------------------------------------------------------------------
>      > ** ** **> Simplify data backup and recovery for your virtual
>      environment with
>      > ** ** **vRanger.
>      > ** ** **> Installation's a snap, and flexible recovery options mean
>      your data is
>      > ** ** **safe,
>      > ** ** **> secure and there when you need it. Discover what all the
>      cheering's
>      > ** ** **about.
>      > ** ** **> Get your free trial download today.
>      > ** ** **> [2][3]http://p.sf.net/sfu/quest-dev2dev2
>      > ** ** **> _______________________________________________
>      > ** ** **> tmux-users mailing list
>      > ** ** **> [3][4]tmux-users@lists.sourceforge.net
>      > ** ** **>
>      [4][5]https://lists.sourceforge.net/lists/listinfo/tmux-users
>      >
>      > ** **
>      
> **------------------------------------------------------------------------------
>      > ** ** **Simplify data backup and recovery for your virtual environment
>      with
>      > ** ** **vRanger.
>      > ** ** **Installation's a snap, and flexible recovery options mean your
>      data is
>      > ** ** **safe,
>      > ** ** **secure and there when you need it. Discover what all the
>      cheering's
>      > ** ** **about.
>      > ** ** **Get your free trial download today.
>      > ** ** **[5][6]http://p.sf.net/sfu/quest-dev2dev2
>      > ** ** **_______________________________________________
>      > ** ** **tmux-users mailing list
>      > ** ** **[6][7]tmux-users@lists.sourceforge.net
>      > ** ** **[7][8]https://lists.sourceforge.net/lists/listinfo/tmux-users
>      >
>      > References
>      >
>      > ** **Visible links
>      > ** **1. mailto:[9]nicholas.marri...@gmail.com
>      > ** **2. [10]http://p.sf.net/sfu/quest-dev2dev2
>      > ** **3. mailto:[11]tmux-users@lists.sourceforge.net
>      > ** **4. [12]https://lists.sourceforge.net/lists/listinfo/tmux-users
>      > ** **5. [13]http://p.sf.net/sfu/quest-dev2dev2
>      > ** **6. mailto:[14]tmux-users@lists.sourceforge.net
>      > ** **7. [15]https://lists.sourceforge.net/lists/listinfo/tmux-users
> 
> References
> 
>    Visible links
>    1. mailto:nicholas.marri...@gmail.com
>    2. mailto:nicholas.marri...@gmail.com
>    3. http://p.sf.net/sfu/quest-dev2dev2
>    4. mailto:tmux-users@lists.sourceforge.net
>    5. https://lists.sourceforge.net/lists/listinfo/tmux-users
>    6. http://p.sf.net/sfu/quest-dev2dev2
>    7. mailto:tmux-users@lists.sourceforge.net
>    8. https://lists.sourceforge.net/lists/listinfo/tmux-users
>    9. mailto:nicholas.marri...@gmail.com
>   10. http://p.sf.net/sfu/quest-dev2dev2
>   11. mailto:tmux-users@lists.sourceforge.net
>   12. https://lists.sourceforge.net/lists/listinfo/tmux-users
>   13. http://p.sf.net/sfu/quest-dev2dev2
>   14. mailto:tmux-users@lists.sourceforge.net
>   15. https://lists.sourceforge.net/lists/listinfo/tmux-users

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to