The feature (or features) I really want added to
I recently mentioned that there were
only a few features that could attract me away from
xterm. Since a
commentator asked about them, today I'm going to try to talk about them.
The big feature that I would like is for widening and narrowing the terminal window to properly reflow text. In other words, if I have lines that wrapped around and I widen the terminal window I want the lines to no longer wrap around. Today if you do that you just get a big blank space on the right. Similarly if I narrow a window I don't want the lines truncated, I want them re-wrapped.
(Mac OS X terminal windows do this. I have envied them that ever since I saw it in action many years ago.)
There are technical limitations and caveats about this but it's perfectly possible to do it in many common situations (ones where the output has been simply printed to the screen instead of placed with cursor addressing). Xterm actually goes part of the way to this today in that its line selection for copy-and-paste sometimes recognizes that a logical line spans more than the physical on-screen line.
The other interesting feature is signposted by gnome-terminal doing a much more restricted version of it: g-t will recognize URLs, underline them if you hover the mouse over them, and then give you a context sensitive popup menu that lets you do things with them. I would like a generalized version of this where you can provide something like regular expressions to match and context menu entries to add for each match.
There are probably more exotic things you could add to a terminal emulator if you wanted to; for instance, there's no reason why a terminal emulator couldn't directly render pictures if asked to. I can't say I actively want such features, though, partly because I'm not sure that we have a good idea of how to use them in a Unix command line environment.
(Also, I'm not interested in giving up what I consider xterm's core features for me. Trying to list those is something for another entry.)
PS: it's likely that there are other features that would pull me away
xterm that I just haven't had the vision to imagine. I try to
always remember that the really great features tend to be the ones that
you didn't even realize that you wanted before you heard about them.