Bug 31098 - ANSI rendering buglet
Summary: ANSI rendering buglet
Status: ASSIGNED
Alias: None
Product: Sisyphus
Classification: Development
Component: xterm (show other bugs)
Version: unstable
Hardware: all Linux
: P3 minor
Assignee: Fr. Br. George
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-24 20:38 MSK by Michael Shigorin
Modified: 2016-03-09 11:57 MSK (History)
2 users (show)

See Also:


Attachments
the output with ANSI sequences (131 bytes, text/plain)
2015-06-24 20:38 MSK, Michael Shigorin
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Shigorin 2015-06-24 20:38:33 MSK
Created attachment 6309 [details]
the output with ANSI sequences

$ fgrep test *
apt.conf.p7.i586+test:Dir::Etc::sourcelist "/home/mike/apt/sources.list.p7.i586test";
$ tail -1 apt.conf.p7.i586+test
Dir::Etc::sourcelist "/home/mike/apt/sources.list.p7.i586+test";
$ set | grep -a ^GREP
GREP_COLOR='1;32'
GREP_OPTIONS='--color=auto'
$ _

The "+" between "i586" and "test" disappears exactly when the line is wrapped around 80th column where the first "t" of "test" sits (with "est" on the next line):

apt.conf.p7.i586+test:Dir::Etc::sourcelist "/home/mike/apt/sources.list.p7.i586t
est";

If this very terminal window is resized by e.g. one column wider/narrower then the bug is not observed; cat(1)ting the attached example might help see this.
Comment 1 Fr. Br. George 2016-03-09 11:57:53 MSK
В самом деле. Получается, что при выводе ESC-последовательности в последней позиции autowrap отключается, или какой-то off by one. Жалко, ошибка не приоритетная, интересно было бы поразбираться.