Package: fvwm
Version: 1:2.6.7-3
Severity: normal

In my X resources file, I specify

    FvwmConsole*VT100*geometry: 40x4

as suggested in the FvwmConsole(1) manpage, but this doesn't work; the console
comes up with a different geometry entirely.

I see that this is happening  because of fix-hardcoded-xterm.patch, which is
there to conform to Debian policy

    https://www.debian.org/doc/debian-policy/ch-customized-programs.html#s11.8.3

which implies that the -name option isn't required by x-terminal-emulator, and
so the patch removes its use.

Unfortunately, that's the way that xterm lets you change the name under which it
figures out which resources to use.  At least, I don't know of a better way.
And this has been working for decades under other operating systems.

It's not clear to me what the right answer is, or even a good answer.  It might
involve tweaking the policy a bit (which also seems to exclude gnome-terminal as
a possible alternative, since its -t option is supposedly deprecated and may be
removed).  It may involve rewriting the manpage to at least be correct with the
way the code actually works on Debian.

For now, my workaround is to simply run FvwmConsole with the -name option
explictly added to the commandline.

-- System Information:
Debian Release: 9.1
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-3-amd64 (SMP w/16 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages fvwm depends on:
ii  libc6                   2.24-11+deb9u1
ii  libcairo2               1.14.8-1
ii  libfontconfig1          2.11.0-6.7+b1
ii  libfreetype6            2.6.3-3.2
ii  libfribidi0             0.19.7-1+b1
ii  libgdk-pixbuf2.0-0      2.36.5-2+deb9u1
ii  libglib2.0-0            2.50.3-2
ii  libice6                 2:1.0.9-2
ii  libperl4-corelibs-perl  0.003-2
ii  libpng16-16             1.6.28-1
ii  libreadline7            7.0-3
ii  librplay3               3.3.2-16+b2
ii  librsvg2-2              2.40.16-1+b1
ii  libsm6                  2:1.2.2-1+b3
ii  libstroke0              0.5.1-8
ii  libtinfo5               6.0+20161126-1
ii  libx11-6                2:1.6.4-3
ii  libxcursor1             1:1.1.14-1+b4
ii  libxext6                2:1.3.3-1+b2
ii  libxft2                 2.3.2-1+b2
ii  libxinerama1            2:1.1.3-1+b3
ii  libxpm4                 1:3.5.12-1
ii  libxrender1             1:0.9.10-1
ii  perl                    5.24.1-3+deb9u2

Versions of packages fvwm recommends:
ii  lxmenu-data  0.1.5-2
ii  python       2.7.13-2
ii  python-xdg   0.25-4

Versions of packages fvwm suggests:
ii  cpp                   4:6.3.0-4
pn  libx11-protocol-perl  <none>
ii  m4                    1.4.18-1
pn  perl-tk               <none>
pn  stalonetray           <none>

-- no debconf information

Reply via email to