Package: mrxvt-full
Version: 0.5.2-2
Severity: minor

*** Please type your report below this line ***

The mrxvt manpage states

     -profileN.option value
[...]
           N can be any integer between 0 and the compiled in maximum
           (default 5). The profile number 0 is special, and  contains
           default  settings  which are  used  for  all profiles where
           this option is not set (e.g.  -profile0.tt mrxvt sets the tab
           title to mrxvt for all profiles where the tab title has not
           been  set).  In this case the -profile0. can be omitted
           entirely (i.e.  -profile0.tt is equivalent to -tt).

However, all over the code you can find logic such as:
xdefaults.c:
                    if( profileNum < 0 || profileNum >= MAX_PROFILES )
                    {
                        entry = optList_size();
                        break;  /* out of range, jump to bad option */
                    }

Where MAX_PROFILES is the "compiled in maximum".  This is confirmed
through user experience.  If the "maximum" is set to 5, only profiles up
to 4 may be used.  This might seem like five (0-4) but since 0 is not a
profile, but a special marker referring to default settings, this is
pretty clearly not what is intended by this text and value.

(As an aside it seems unfortunate that mrxvt -help does not disclosed
the number of profiles it was compiled with).

Since as any C programmer knows, indexes start with 0, and 0 is often a
special case, it is not clear if this is a coding or documentation
error.

I would personally argue for increasing the number of profiles available
in mrxvt-full to a larger number such as 8 or 10, since the cost is only
a very small amount of memory, and a number of useful mrxvt features are
strongly curtailed with the currently available 4 usable profiles.

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-jsr
Locale: LANG=en_US.iso88591, LC_CTYPE=en_US.iso88591 (charmap=ISO-8859-1)



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to