[PLUG] Establishing Proper Line Wrapping In Virtual Terminal

Rich Shepard rshepard at appl-ecosys.com
Fri Oct 21 21:02:39 UTC 2011


   In an earlier thread on this mail list I figured out that the reason UTF-8
did not display properly in virtual terminals and alpine is that rxvt does
not support UTF-8. And xterm doesn't support some options I use, plus even
the developers wrote that it's rather bloated and ancient. So, I went
looking for a virtual terminal that supports UTF-8 to replace rxvt. Turns
out that aterm, eterm, st, and mrxvt don't. But, urxvt (or rxvt-unicode in
terminfo) does. But, there's one major problem that _I_ am experiencing with
urxvt that has so far escaped resolution.

   A couple of days ago I discovered that there's a urxvt mail list,
subscribed, and posted a request for help. That's the only message on that
list since I signed up. Apparently it's a ghost mail list, like the Flying
Dutchman.

   One person on the slackware mail list has tried helping, but so far it's
not resolved the problem. I've added 'urxvt*loginShell: true' to
~/.Xresources, created ~/.inputrc (including /etc/inputrc) with the line
'set horizontal-scroll-mode On' and exported that file. Logged out and back
in each time.

   urxvt works fine except for not properly wrapping long lines. The result
is quite distracting and annoying. I find nothing appropriate on the man
pages or the wiki.

   When I cd to a subdirectory several levels down, or try creating a very
long command line, it is improperly wrapped, and also truncated on the left
side. Example:

[rshepard at salmo ~]$ cd GIS/GRASS/grass-6.5svn/
</configure --with-postgres --
<s --with-sqlite --with-cairo --with-freetype --with-cxx \ 
> --with-geos=usr/bin/geos-config --with-gdal=/usr/bin/gdal-config \
<ython-config --with-wxwidgets=/usr/bin/wx-config \

   With vanilla rxvt I'd see the entire lines. With urxvt this occurs no
matter how wide I make the terminal window.

   I'm hoping the collective expertise here can guide me to a resolution of
this problem. I don't know what other virtual terminals for the bash shell
support UTF-8 and yet use few resources while being configurable.

Rich



More information about the PLUG mailing list