Your message dated Tue, 19 Nov 2024 18:45:36 +0000
with message-id <[email protected]>
and subject line Bug#1087244: Removed package(s) from unstable
has caused the Debian Bug report #707779,
regarding python-blessings: doesn't handle $<...> correctly
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
707779: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=707779
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-blessings
Version: 1.5-1
Severity: minor

$ export TERM=vt100
$ python -c 'import blessings as b; print "e"+b.Terminal().bold("ggs")'
e$<2>ggs$<2>

This is incorrect. $<2> isn't supposed to be printed on the terminal. From terminfo(5) manpage:
A delay in milliseconds may appear anywhere in a string capability, enclosed in $<..> brackets, as in el=\EK$<5>, and padding characters are supplied by tputs to provide this delay. The delay must be a number with at most one decimal place of precision; it may be followed by suffixes ‘*’ or ’/’ or both. A ‘*’ indicates that the padding required is proportional to the number of lines affected by the operation, and the amount given is the per‐affected‐unit padding required. (In the case of insert character, the factor is still the number of lines affected.) Normally, padding is advisory if the device has the xon capability; it is used for cost computation but does not trigger delays. A ‘/’ suffix indicates that the padding is mandatory and forces a delay of the given number of milliseconds even on devices for which xon is present to indicate flow control.

Now, with the current API it's impractical to actually implement these delays, so I propose just to strip $<...> sequences. This is not 100% correct, but at least gets you correct output on modern emulators of those ancient terminals which require such delays.


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'experimental')
Architecture: i386 (x86_64)
Foreign Architectures: amd64

Kernel: Linux 3.8-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-blessings depends on:
ii  python  2.7.3-5

--
Jakub Wilk

--- End Message ---
--- Begin Message ---
Version: 1.7-2+rm

Dear submitter,

as the package blessings has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1087244

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].

Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)

--- End Message ---

Reply via email to