Discussion:
[PATCH] abbreviated group names are sometimes cut off
Dennis Preiser
2011-10-08 10:41:43 UTC
Permalink
If abbreviate_groupname=ON and show_description=ON group names of groups
with no description could be cut off.

Example (Selection Level)

show_description=OFF:

u 40 K vmsnet.networks.tcp-ip.misc
u 40 K vmsnet.networks.tcp-ip.ucx
u 40 K vmware.for-linux.configuration
u 40 K vmware.for-linux.experimental

show_description=ON:

u 40 K v.n.tcp-ip.misc Other TCP/IP solutions for VMS.
u 40 K v.n.tcp-ip.ucx DEC's VMS/Ultrix Connection (TCP/IP
u 40 K vmware.for-linux.con
u 40 K vmware.for-linux.exp

This was caused by an incorrect length argument that was passed to
abbr_[wcs]groupname(). With the attached patch the screen
(show_description=ON) looks like this:

u 40 K v.n.tcp-ip.misc Other TCP/IP solutions for VMS.
u 40 K v.n.tcp-ip.ucx DEC's VMS/Ultrix Connection (TCP/IP
u 40 K v.f.configuration
u 40 K v.f.experimental

Dennis

Loading...