Package: w3m
Version: 0.5.3+git20230121-2+b3
Severity: normal

With -dump and large -cols, w3m inserts line breaks to make lines
no longer than 1024 characters.

Testcase:

$ { echo "<html>" ; seq 2000 ; } > a.html
$ w3m -dump -cols 999999 a.html

w3m inserts a line break after 283, 539, 795, 1040, 1244, 1448, 1652
and 1856 instead of outputting a single line.

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 
'stable-security'), (500, 'stable-debug'), (500, 'proposed-updates-debug'), 
(500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.9.10-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages w3m depends on:
ii  libc6       2.39-6
ii  libgc1      1:8.2.6-2
ii  libgpm2     1.20.7-11
ii  libssl3t64  3.2.2-1
ii  libtinfo6   6.5-2
ii  zlib1g      1:1.3.dfsg+really1.3.1-1

Versions of packages w3m recommends:
ii  ca-certificates  20240203

Versions of packages w3m suggests:
pn  brotli          <none>
ii  bzip2           1.0.8-5.1
pn  cmigemo         <none>
pn  compface        <none>
ii  curl            8.8.0-4
ii  dict            1.13.1+dfsg-1
ii  dict-wn         1:3.0-37
ii  dictd           1.13.1+dfsg-1
pn  libsixel-bin    <none>
hi  mailcap         3.70+nmu1
ii  man-db          2.12.1-2
ii  media-types     10.1.0
ii  sensible-utils  0.0.24
ii  w3m-el          1.4.632+0.20210201.2305.54c3ccd-3
ii  w3m-img         0.5.3+git20230121-2+b3
ii  wget            1.24.5-1
ii  xdg-utils       1.1.3-4.1
pn  xsel            <none>

-- no debconf information

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

Reply via email to