D10064: Support ECMA-48 REP

Brad Town noreply at phabricator.kde.org
Wed Jan 24 00:27:05 UTC 2018


btown created this revision.
btown added a reviewer: konsole-devel.
btown added a project: Konsole.
Restricted Application added a subscriber: Konsole.
btown requested review of this revision.

REVISION SUMMARY
  From lxde/qtermwidget at 60221da <https://github.com/lxde/qtermwidget/commit/60221da> by @yan12125 <https://github.com/yan12125>: Support ECMA-48 REP. I tried to make the changes follow existing styles and conventions.
  
  ECMA-48 <http://www.ecma-international.org/publications/files/ECMA-ST/Ecma-048.pdf> 8.3.103 describes the sequence **CSI Pₙ b** for repeating the previous character in the data stream. This sequence has been present in XTerm <http://invisible-island.net/xterm/ctlseqs/ctlseqs.pdf> since January 1997 <https://invisible-mirror.net/ncurses/ncurses.faq.html#xterm_generic-id> and has been added to the latest `terminfo` entry <https://invisible-mirror.net/ncurses/terminfo.src.html#t20170729> for `xterm-new` and derived entries such as `xterm-256color`.

TEST PLAN
  Tested manually with sequences such as:
  
    x\e[by  <- default is repeat once
    x\e[0by  <- 0 means "default", which is repeat once
    x\e[4by
     \e[4by  <- space
    a™\e[4bz  <- U+2122 TRADE MARK SIGN

REPOSITORY
  R319 Konsole

REVISION DETAIL
  https://phabricator.kde.org/D10064

AFFECTED FILES
  src/Screen.cpp
  src/Screen.h
  src/Vt102Emulation.cpp

To: btown, konsole-devel
Cc: #konsole, ngraham, hindenburg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/konsole-devel/attachments/20180124/7d8845a6/attachment.html>


More information about the konsole-devel mailing list