Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

The Mac OSX Terminal will re-wrap lines when the window is resized. Is this functionality available in any terminal emulator for Linux?

I'd prefer to do this with terminals like gnome-terminal that are included in the Ubuntu repositories.

share|improve this question

3 Answers 3

up vote 2 down vote accepted

rxvt-unicode-256color version 9.07-3 (as provided by arch Linux) is confirmed to do this. The version of urxvt on my debian stable system does not. It should be easy enough to figure out how the ubuntu version behaves.

Other than that, the terminals I know of that will re-wrap are 9term, M-x shell in emacs, and a weird old app called xmlterm, which is a terminal emulator made using mozilla xul. Sadly what these have in common is that they do not support curses terminal control (ie. no running vi or nano or top or emacs or nethack etc. in these terminals). And other than emacs M-x shell they appear to not be actively developed (or even all that easy to find any more).

share|improve this answer
rxvt-unicode v9.06 in Ubuntu 9.10 does this. v9.07 in Fedora 12 same as Arch (does). Very cool to know this. –  SuperMagic Feb 22 '10 at 20:51
Thanks for the pointer that rxvt-unicode-256color works, however on my system it re-wraps only when enlarging the window. If you shrink the window, text is lost, and then when you re-enlarge it, you don't get it back. –  ecloud Oct 25 '11 at 9:34
rxvt-unicode-256color on my Fedora 17 system rewraps correctly both when shrinking and enlarging the window. (Package I'm using is rxvt-unicode-256color-9.15-1.fc17.) –  Jeremy Visser Dec 25 '12 at 6:56

GNU screen does this, and supports curses properly. Run it in whatever terminal emulator you want: http://www.gnu.org/software/screen/

I would be surprised if tmux didn't automatically rewrap lines, too. tmux also supports curses; e.g., you can run vi in screen or tmux with no problems.

share|improve this answer

VTE (the engine of Gnome-terminal) supports this, starting with version 0.35.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.