Package: less Version: 481-2.1 Severity: normal Tags: l10n Dear Maintainer,
The -S option for less seems to be broken if text includes Chinese characters. `-S' option is used to chop lines instead of wraping lines. Lines should be chopped, and the chopped text can be seen using arrow keys. The following command can trigger the problem (in Debian testing). > echo "9月27 here is some very very long sentence in order to get chopped" | > less -S and the screen will look like this *************************** *9日月星辰27 00:43:18 arch* *-gl * *************************** instead of *************************** *9日月星辰27 00:43:18 arch* *************************** which is the correct form. The string needs to be long enough to be chopped, and contains at least one Chinese character. NOTE: this bug only affects Debian testing (and Arch Linux), but not Debian stable. A quick trial shows that this bug does not affects Debian jessie, RHEL 7.2, gentoo. I noticed that all the affected distribution have `less' 481, which is the most updated version. (jessie and RHEL have 458, and gentoo has 483) -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages less depends on: ii debianutils 4.8 ii libc6 2.23-5 ii libtinfo5 6.0+20160625-1 less recommends no packages. less suggests no packages. -- no debconf information