Discussion:
text wrapping issues 1.9a
Lawrence Jacob Siebert
2014-10-08 05:35:01 UTC
Permalink
I've noticed that tmux will wrap lines around, so that I'm typing over my
prompt, and it will wrap before the end of the X-window.

With small splits, I start overtyping my prompt immediately, even if there
is space left to type.

This happens regardless of terminal emulator, and doesn't happen with
regular bash, just with tmux.

I'd like tmux to type until the edge of the split, or the edge of the
terminal emulator if I don't have a split, and if I go past that, for it to
wrap under the prompt, not over it.

Thanks,
Lawrence Siebert

About Me: http://about.me/lawrencesiebert
Constantly Coding: http://constantcoding.blogspot.com
Nicholas Marriott
2014-10-08 07:16:17 UTC
Permalink
Hi

Does this always happen or only after splitting the window or only once in a while?

Does running

    eval `resize`

Or

   kill -WINCH $$

Fix it?

What is TERM inside and outside tmux?

What's in your .tmux.conf?

What platform? Linux?

What terminals did you try (so long as the list includes xterm it doesn't matter)?

-------- Original message --------
From: Lawrence Jacob Siebert <***@gmail.com>
Date: 08/10/2014 06:35 (GMT+00:00)
To: tmux-***@lists.sourceforge.net
Subject: text wrapping issues 1.9a


I've noticed that tmux will wrap lines around, so that I'm typing over my prompt, and it will wrap before the end of the X-window.  

With small splits, I start overtyping my prompt immediately, even if there is space left to type.

This happens regardless of terminal emulator, and doesn't happen with regular bash, just with tmux.

I'd like tmux to type until the edge of the split, or the edge of the terminal emulator if I don't have a split, and if I go past that, for it to wrap under the prompt, not over it.

Thanks,
Lawrence Siebert

About Me: http://about.me/lawrencesiebert
Constantly Coding: http://constantcoding.blogspot.com
Lawrence Jacob Siebert
2014-10-08 11:52:12 UTC
Permalink
Always happens, and occurs whether there are splits or not splits. I do
notice it more if there are splits.
Neither eval `resize` or kill -WINCH $$ fixes it.
TERM inside is screem-256color, outside is xterm-256color

I tried xfce terminal and roxterm.

pastebin of my /tmux.conf is http://pastebin.com/ZXyuA6EK however
temporarily changing it's name so I use the default .tmux.conf file doesn't
fix the issue, fwiw.

I'm on Linux Mint 17, it's an Ubuntu based distro.
uname -a gives me
Linux lawrence-ThinkPad-T530 3.13.0-24-generic #47-Ubuntu SMP Fri May 2
23:30:00 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux


Thanks,
Lawrence Siebert


About Me: http://about.me/lawrencesiebert
Constantly Coding: http://constantcoding.blogspot.com

On Wed, Oct 8, 2014 at 12:16 AM, Nicholas Marriott <
Post by Nicholas Marriott
Hi
Does this always happen or only after splitting the window or only once in a while?
Does running
eval `resize`
Or
kill -WINCH $$
Fix it?
What is TERM inside and outside tmux?
What's in your .tmux.conf?
What platform? Linux?
What terminals did you try (so long as the list includes xterm it doesn't matter)?
-------- Original message --------
Date: 08/10/2014 06:35 (GMT+00:00)
Subject: text wrapping issues 1.9a
I've noticed that tmux will wrap lines around, so that I'm typing over my
prompt, and it will wrap before the end of the X-window.
With small splits, I start overtyping my prompt immediately, even if there
is space left to type.
This happens regardless of terminal emulator, and doesn't happen with
regular bash, just with tmux.
I'd like tmux to type until the edge of the split, or the edge of the
terminal emulator if I don't have a split, and if I go past that, for it to
wrap under the prompt, not over it.
Thanks,
Lawrence Siebert
About Me: http://about.me/lawrencesiebert
Constantly Coding: http://constantcoding.blogspot.com
Lawrence Jacob Siebert
2014-10-08 11:53:14 UTC
Permalink
I just tried it in xterm as well, and the issue is there too.

Lawrence

About Me: http://about.me/lawrencesiebert
Constantly Coding: http://constantcoding.blogspot.com
Post by Lawrence Jacob Siebert
Always happens, and occurs whether there are splits or not splits. I do
notice it more if there are splits.
Neither eval `resize` or kill -WINCH $$ fixes it.
TERM inside is screem-256color, outside is xterm-256color
I tried xfce terminal and roxterm.
pastebin of my /tmux.conf is http://pastebin.com/ZXyuA6EK however
temporarily changing it's name so I use the default .tmux.conf file doesn't
fix the issue, fwiw.
I'm on Linux Mint 17, it's an Ubuntu based distro.
uname -a gives me
Linux lawrence-ThinkPad-T530 3.13.0-24-generic #47-Ubuntu SMP Fri May 2
23:30:00 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Thanks,
Lawrence Siebert
About Me: http://about.me/lawrencesiebert
Constantly Coding: http://constantcoding.blogspot.com
On Wed, Oct 8, 2014 at 12:16 AM, Nicholas Marriott <
Post by Nicholas Marriott
Hi
Does this always happen or only after splitting the window or only once in a while?
Does running
eval `resize`
Or
kill -WINCH $$
Fix it?
What is TERM inside and outside tmux?
What's in your .tmux.conf?
What platform? Linux?
What terminals did you try (so long as the list includes xterm it doesn't matter)?
-------- Original message --------
Date: 08/10/2014 06:35 (GMT+00:00)
Subject: text wrapping issues 1.9a
I've noticed that tmux will wrap lines around, so that I'm typing over my
prompt, and it will wrap before the end of the X-window.
With small splits, I start overtyping my prompt immediately, even if
there is space left to type.
This happens regardless of terminal emulator, and doesn't happen with
regular bash, just with tmux.
I'd like tmux to type until the edge of the split, or the edge of the
terminal emulator if I don't have a split, and if I go past that, for it to
wrap under the prompt, not over it.
Thanks,
Lawrence Siebert
About Me: http://about.me/lawrencesiebert
Constantly Coding: http://constantcoding.blogspot.com
Nicholas Marriott
2014-10-08 12:08:18 UTC
Permalink
Hmm. What is in your PS1?
Post by Lawrence Jacob Siebert
I just tried it in xterm as well, and the issue is there too.
Lawrence
About Me:**[1]http://about.me/lawrencesiebert
Constantly Coding:**[2]http://constantcoding.blogspot.com
On Wed, Oct 8, 2014 at 4:52 AM, Lawrence Jacob Siebert
Always happens, and occurs whether there are splits or not splits. I do
notice it more if there are splits.**
Neither eval `resize` or kill -WINCH $$ fixes it.**
TERM inside is screem-256color, outside is xterm-256color
I tried xfce terminal and roxterm.
pastebin of my /tmux.conf is**[4]http://pastebin.com/ZXyuA6EK **however
temporarily changing it's name so I use the default .tmux.conf file
doesn't fix the issue, fwiw.
I'm on Linux Mint 17, it's an Ubuntu based distro. **
uname -a **gives me
Linux lawrence-ThinkPad-T530 3.13.0-24-generic #47-Ubuntu SMP Fri May 2
23:30:00 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Thanks,
Lawrence Siebert
About Me:**[5]http://about.me/lawrencesiebert
Constantly Coding:**[6]http://constantcoding.blogspot.com
On Wed, Oct 8, 2014 at 12:16 AM, Nicholas Marriott
Hi
Does this always happen or only after splitting the window or only
once in a while?
Does running
** ** eval `resize`
Or
** **kill -WINCH $$
Fix it?
What is TERM inside and outside tmux?
What's in your .tmux.conf?
What platform? Linux?
What terminals did you try (so long as the list includes xterm it
doesn't matter)?
-------- Original message --------
Date: 08/10/2014 06:35 (GMT+00:00)
Subject: text wrapping issues 1.9a
I've noticed that tmux will wrap lines around, so that I'm typing over
my prompt, and it will wrap before the end of the X-window. **
With small splits, I start overtyping my prompt immediately, even if
there is space left to type.
This happens regardless of terminal emulator, and doesn't happen with
regular bash, just with tmux.
I'd like tmux to type until the edge of the split, or the edge of the
terminal emulator if I don't have a split, and if I go past that, for
it to wrap under the prompt, not over it.
Thanks,
Lawrence Siebert
About Me:**[10]http://about.me/lawrencesiebert
Constantly Coding:**[11]http://constantcoding.blogspot.com
References
Visible links
1. http://about.me/lawrencesiebert
2. http://constantcoding.blogspot.com/
4. http://pastebin.com/ZXyuA6EK
5. http://about.me/lawrencesiebert
6. http://constantcoding.blogspot.com/
10. http://about.me/lawrencesiebert
11. http://constantcoding.blogspot.com/
Lawrence Jacob Siebert
2014-10-08 12:19:00 UTC
Permalink
My PS1 is

\[\033[01;32m\]\u\[\033[01;34m\] \w \e[0;36m\! \e[1;34m$\[\033[00m\]


About Me: http://about.me/lawrencesiebert
Constantly Coding: http://constantcoding.blogspot.com

On Wed, Oct 8, 2014 at 5:08 AM, Nicholas Marriott <
Post by Nicholas Marriott
Hmm. What is in your PS1?
Post by Lawrence Jacob Siebert
I just tried it in xterm as well, and the issue is there too.
Lawrence
About Me:**[1]http://about.me/lawrencesiebert
Constantly Coding:**[2]http://constantcoding.blogspot.com
On Wed, Oct 8, 2014 at 4:52 AM, Lawrence Jacob Siebert
Always happens, and occurs whether there are splits or not splits.
I do
Post by Lawrence Jacob Siebert
notice it more if there are splits.**
Neither eval `resize` or kill -WINCH $$ fixes it.**
TERM inside is screem-256color, outside is xterm-256color
I tried xfce terminal and roxterm.
pastebin of my /tmux.conf is**[4]http://pastebin.com/ZXyuA6EK
**however
Post by Lawrence Jacob Siebert
temporarily changing it's name so I use the default .tmux.conf file
doesn't fix the issue, fwiw.
I'm on Linux Mint 17, it's an Ubuntu based distro. **
uname -a **gives me
Linux lawrence-ThinkPad-T530 3.13.0-24-generic #47-Ubuntu SMP Fri
May 2
Post by Lawrence Jacob Siebert
23:30:00 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Thanks,
Lawrence Siebert
About Me:**[5]http://about.me/lawrencesiebert
Constantly Coding:**[6]http://constantcoding.blogspot.com
On Wed, Oct 8, 2014 at 12:16 AM, Nicholas Marriott
Hi
Does this always happen or only after splitting the window or only
once in a while?
Does running
** ** eval `resize`
Or
** **kill -WINCH $$
Fix it?
What is TERM inside and outside tmux?
What's in your .tmux.conf?
What platform? Linux?
What terminals did you try (so long as the list includes xterm it
doesn't matter)?
-------- Original message --------
Date: 08/10/2014 06:35 (GMT+00:00)
Subject: text wrapping issues 1.9a
I've noticed that tmux will wrap lines around, so that I'm typing
over
Post by Lawrence Jacob Siebert
my prompt, and it will wrap before the end of the X-window. **
With small splits, I start overtyping my prompt immediately, even
if
Post by Lawrence Jacob Siebert
there is space left to type.
This happens regardless of terminal emulator, and doesn't happen
with
Post by Lawrence Jacob Siebert
regular bash, just with tmux.
I'd like tmux to type until the edge of the split, or the edge of
the
Post by Lawrence Jacob Siebert
terminal emulator if I don't have a split, and if I go past that,
for
Post by Lawrence Jacob Siebert
it to wrap under the prompt, not over it.
Thanks,
Lawrence Siebert
About Me:**[10]http://about.me/lawrencesiebert
Constantly Coding:**[11]http://constantcoding.blogspot.com
References
Visible links
1. http://about.me/lawrencesiebert
2. http://constantcoding.blogspot.com/
4. http://pastebin.com/ZXyuA6EK
5. http://about.me/lawrencesiebert
6. http://constantcoding.blogspot.com/
10. http://about.me/lawrencesiebert
11. http://constantcoding.blogspot.com/
Nicholas Marriott
2014-10-08 12:25:15 UTC
Permalink
You do not have enough \[ in there, you need them around the \e[0;36m
and \e[1;34m as well.
Post by Lawrence Jacob Siebert
My PS1 is
\[\033[01;32m\]\u\[\033[01;34m\] \w \e[0;36m\! \e[1;34m$\[\033[00m\]
About Me:**[1]http://about.me/lawrencesiebert
Constantly Coding:**[2]http://constantcoding.blogspot.com
On Wed, Oct 8, 2014 at 5:08 AM, Nicholas Marriott
Hmm. What is in your PS1?
** ** I just tried it in xterm as well, and the issue is there too.
** ** Lawrence
** ** About Me:**[1][4]http://about.me/lawrencesiebert
** ** Constantly Coding:**[2][5]http://constantcoding.blogspot.com
** ** On Wed, Oct 8, 2014 at 4:52 AM, Lawrence Jacob Siebert
** ** ** Always happens, and occurs whether there are splits or not
splits. I do
** ** ** notice it more if there are splits.**
** ** ** Neither eval `resize` or kill -WINCH $$ fixes it.**
** ** ** TERM inside is screem-256color, outside is xterm-256color
** ** ** I tried xfce terminal and roxterm.
** ** ** pastebin of my /tmux.conf
is**[4][7]http://pastebin.com/ZXyuA6EK **however
** ** ** temporarily changing it's name so I use the default .tmux.conf
file
** ** ** doesn't fix the issue, fwiw.
** ** ** I'm on Linux Mint 17, it's an Ubuntu based distro. **
** ** ** uname -a **gives me
** ** ** Linux lawrence-ThinkPad-T530 3.13.0-24-generic #47-Ubuntu SMP
Fri May 2
** ** ** 23:30:00 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
** ** ** Thanks,
** ** ** Lawrence Siebert
** ** ** About Me:**[5][8]http://about.me/lawrencesiebert
** ** ** Constantly Coding:**[6][9]http://constantcoding.blogspot.com
** ** ** On Wed, Oct 8, 2014 at 12:16 AM, Nicholas Marriott
** ** ** ** Hi
** ** ** ** Does this always happen or only after splitting the window
or only
** ** ** ** once in a while?
** ** ** ** Does running
** ** ** ** ** ** eval `resize`
** ** ** ** Or
** ** ** ** ** **kill -WINCH $$
** ** ** ** Fix it?
** ** ** ** What is TERM inside and outside tmux?
** ** ** ** What's in your .tmux.conf?
** ** ** ** What platform? Linux?
** ** ** ** What terminals did you try (so long as the list includes
xterm it
** ** ** ** doesn't matter)?
** ** ** ** -------- Original message --------
** ** ** ** Date: 08/10/2014 06:35 (GMT+00:00)
** ** ** ** Subject: text wrapping issues 1.9a
** ** ** ** I've noticed that tmux will wrap lines around, so that I'm
typing over
** ** ** ** my prompt, and it will wrap before the end of the X-window.
**
** ** ** ** With small splits, I start overtyping my prompt
immediately, even if
** ** ** ** there is space left to type.
** ** ** ** This happens regardless of terminal emulator, and doesn't
happen with
** ** ** ** regular bash, just with tmux.
** ** ** ** I'd like tmux to type until the edge of the split, or the
edge of the
** ** ** ** terminal emulator if I don't have a split, and if I go past
that, for
** ** ** ** it to wrap under the prompt, not over it.
** ** ** ** Thanks,
** ** ** ** Lawrence Siebert
** ** ** ** About Me:**[10][13]http://about.me/lawrencesiebert
** ** ** ** Constantly
Coding:**[11][14]http://constantcoding.blogspot.com
References
** ** Visible links
** ** 1. [15]http://about.me/lawrencesiebert
** ** 2. [16]http://constantcoding.blogspot.com/
** ** 4. [18]http://pastebin.com/ZXyuA6EK
** ** 5. [19]http://about.me/lawrencesiebert
** ** 6. [20]http://constantcoding.blogspot.com/
** **10. [24]http://about.me/lawrencesiebert
** **11. [25]http://constantcoding.blogspot.com/
References
Visible links
1. http://about.me/lawrencesiebert
2. http://constantcoding.blogspot.com/
4. http://about.me/lawrencesiebert
5. http://constantcoding.blogspot.com/
7. http://pastebin.com/ZXyuA6EK
8. http://about.me/lawrencesiebert
9. http://constantcoding.blogspot.com/
13. http://about.me/lawrencesiebert
14. http://constantcoding.blogspot.com/
15. http://about.me/lawrencesiebert
16. http://constantcoding.blogspot.com/
18. http://pastebin.com/ZXyuA6EK
19. http://about.me/lawrencesiebert
20. http://constantcoding.blogspot.com/
24. http://about.me/lawrencesiebert
25. http://constantcoding.blogspot.com/
Lawrence Jacob Siebert
2014-10-08 12:35:19 UTC
Permalink
Yeah, resetting to my original PS1 seems to fix it, I obviously made a
mistake when I edited it. Thank you.

Lawrence
On Wed, Oct 8, 2014 at 5:25 AM, Nicholas Marriott <
\[
About Me: http://about.me/lawrencesiebert
Constantly Coding: http://constantcoding.blogspot.com

Nicholas Marriott
2014-10-08 12:07:43 UTC
Permalink
Does it happen in xterm?

roxterm and xfce-terminal are both based on VTE.
Post by Lawrence Jacob Siebert
Always happens, and occurs whether there are splits or not splits. I do
notice it more if there are splits.**
Neither eval `resize` or kill -WINCH $$ fixes it.**
TERM inside is screem-256color, outside is xterm-256color
I tried xfce terminal and roxterm.
pastebin of my /tmux.conf is**[1]http://pastebin.com/ZXyuA6EK **however
temporarily changing it's name so I use the default .tmux.conf file
doesn't fix the issue, fwiw.
I'm on Linux Mint 17, it's an Ubuntu based distro. **
uname -a **gives me
Linux lawrence-ThinkPad-T530 3.13.0-24-generic #47-Ubuntu SMP Fri May 2
23:30:00 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Thanks,
Lawrence Siebert
About Me:**[2]http://about.me/lawrencesiebert
Constantly Coding:**[3]http://constantcoding.blogspot.com
On Wed, Oct 8, 2014 at 12:16 AM, Nicholas Marriott
Hi
Does this always happen or only after splitting the window or only once
in a while?
Does running
** ** eval `resize`
Or
** **kill -WINCH $$
Fix it?
What is TERM inside and outside tmux?
What's in your .tmux.conf?
What platform? Linux?
What terminals did you try (so long as the list includes xterm it
doesn't matter)?
-------- Original message --------
Date: 08/10/2014 06:35 (GMT+00:00)
Subject: text wrapping issues 1.9a
I've noticed that tmux will wrap lines around, so that I'm typing over
my prompt, and it will wrap before the end of the X-window. **
With small splits, I start overtyping my prompt immediately, even if
there is space left to type.
This happens regardless of terminal emulator, and doesn't happen with
regular bash, just with tmux.
I'd like tmux to type until the edge of the split, or the edge of the
terminal emulator if I don't have a split, and if I go past that, for it
to wrap under the prompt, not over it.
Thanks,
Lawrence Siebert
About Me:**[7]http://about.me/lawrencesiebert
Constantly Coding:**[8]http://constantcoding.blogspot.com
References
Visible links
1. http://pastebin.com/ZXyuA6EK
2. http://about.me/lawrencesiebert
3. http://constantcoding.blogspot.com/
7. http://about.me/lawrencesiebert
8. http://constantcoding.blogspot.com/
Loading...