Discussion:
Bug#913815: xterm: does not correctly document saveLines default
G. Branden Robinson
2018-11-15 15:42:35 UTC
Permalink
Package: xterm
Version: 337-1
Severity: normal
Tags: upstream

The man page says *saveLines defaults to 64. But it really defaults to
1024.

Patch attached. It also synchronizes xterm.dat, whatever that is, with
the application defaults file.

-- System Information:
Debian Release: buster/sid
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.18.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages xterm depends on:
ii libc6 2.27-8
ii libfontconfig1 2.13.1-2
ii libfreetype6 2.8.1-2
ii libice6 2:1.0.9-2
ii libtinfo6 6.1+20181013-1
ii libutempter0 1.1.6-3
ii libx11-6 2:1.6.7-1
ii libxaw7 2:1.0.13-1+b2
ii libxft2 2.3.2-2
ii libxinerama1 2:1.1.4-1
ii libxmu6 2:1.1.2-2
ii libxpm4 1:3.5.12-1
ii libxt6 1:1.1.5-1
ii xbitmaps 1.1.1-2

Versions of packages xterm recommends:
ii x11-utils 7.7+4

Versions of packages xterm suggests:
pn xfonts-cyrillic <none>

-- no debconf information
Sven Joachim
2018-11-15 18:01:34 UTC
Permalink
Post by G. Branden Robinson
Package: xterm
Version: 337-1
Severity: normal
Tags: upstream
The man page says *saveLines defaults to 64. But it really defaults to
1024.
Well, 64 is still the compile-time baked in default in ptyx.h, it's just
that the XTerm.ad file has been changed "recently" in xterm 192 to
override that[1]. Probably it would make some sense to adjust ptyx.h as
well, after all computers have a bit more memory these days.
Post by G. Branden Robinson
Patch attached. It also synchronizes xterm.dat, whatever that is, with
the application defaults file.
According to the MANIFEST file, xterm.dat contains the application
defaults for the VMS port. I have no idea if xterm still builds on VMS.

Cheers,
Sven


1. https://bugzilla.redhat.com/show_bug.cgi?id=127132

Loading...