FS#16539 - [xfce-utils] Lines wrapping in XFCE terminal

Attached to Project: Arch Linux
Opened by Daniele C. (legolas558) - Friday, 09 October 2009, 10:41 GMT
Last edited by Andreas Radke (AndyRTR) - Saturday, 13 February 2010, 14:41 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Aaron Griffin (phrakture)
Andreas Radke (AndyRTR)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Whenever a line is too long, its wrapping overwrites the current line instead of going into the next line. This makes the Terminal unusable; I couldn't find information upstream about this issue.

extra/xfce-utils 4.6.1-1 (xfce4)

This does not happen always and seems due to a combination of prompt/current path/readline input
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Saturday, 13 February 2010, 14:41 GMT
Reason for closing:  Fixed
Comment by Ionut Biru (wonder) - Friday, 09 October 2009, 11:46 GMT
add in .basrhrc
shopt -s checkwinsize


Comment by Daniele C. (legolas558) - Friday, 09 October 2009, 14:50 GMT
thank you! that seems to have fixed the issue

shouldn't this be installed in an /etc/profile.d/ script with xfce4-utils?

I wonder how a newbie can fix this issue
Comment by Andreas Radke (AndyRTR) - Friday, 16 October 2009, 19:18 GMT
can you please ask the Xfce devs on their lists if this is a known issue? I'm reading there.
Comment by Daniele C. (legolas558) - Friday, 23 October 2009, 08:24 GMT
my subscription request is pending, I will ask once they approve me to the list
Comment by Daniele C. (legolas558) - Friday, 23 October 2009, 10:43 GMT
The thread is here:

http://foo-projects.org/pipermail/xfce4-dev/2009-October/027770.html

I suspect there is some default setting disabling checkwinsize on Arch Linux...mumble mumble...any pointer?

Seems our fault, anyway
Comment by Andreas Radke (AndyRTR) - Sunday, 25 October 2009, 19:36 GMT
Added a few more developers. Any idea if our bash or initscripts do some weird settings?
Comment by Thomas Bächler (brain0) - Sunday, 25 October 2009, 19:41 GMT
We don't change anything related to checkwinsize. Removing myself, as I can't do anything about it.
Comment by Dan McGee (toofishes) - Monday, 26 October 2009, 02:37 GMT
Maybe look what the default is on other distros. Not sure what you want me to do here though; I don't know of anything special we do and I doubt this is XFCE-specific.
Comment by Daniele C. (legolas558) - Monday, 26 October 2009, 06:58 GMT
Interesting how Gentoo people coped with this issue (apparently a Bash bug):

http://bugs.gentoo.org/65623
Comment by Aaron Griffin (phrakture) - Friday, 30 October 2009, 04:48 GMT
I've had checkwinsize set for as long as I can remember. I don't think any harm could come from setting this in the global bashrc. It *does* have a small performance hit, but if you're looking for shell performance, you can edit the bashrc manually
Comment by Daniele C. (legolas558) - Friday, 30 October 2009, 06:45 GMT
It is also necessary for remote terminal sessions; I vote for adding this, and to remove it in future if somehow bash mantainers make it ON by default
Comment by Peter Kerwien (pkerwien) - Friday, 05 February 2010, 16:37 GMT
This seems to be solved in terminal-0.4.4. Line wrapping works for me on amd64 without shopt -s checkwinsize in ~/.bashrc
Comment by Peter Kerwien (pkerwien) - Friday, 05 February 2010, 18:25 GMT
This seems to be solved in terminal-0.4.4. Line wrapping works for me on amd64 without shopt -s checkwinsize in ~/.bashrc
Comment by Peter Wegas (ccc1) - Saturday, 06 February 2010, 12:58 GMT
checkwinsize should be enabled per default. it would have saved me from a lot headaches ;)
i'm using dwm and noticed that sometimes the lines in urxvt didn't break correctly. it took me ages to figure out under what circumstances this happens and how to fix it.
since enabling checkwinsize doesn't break anything, why not enabling it in bashrc per default?
Comment by Andreas Radke (AndyRTR) - Saturday, 13 February 2010, 14:41 GMT
See Thomas' comment. Closing this as Xfce terminal is fixed. File a new issue if you want something else to be fixed/changed.

Loading...