[Bug 1297051] Re: gnome-terminal doesn't recognise C1 controls

Egmont Koblinger egmont at gmail.com
Wed May 14 21:05:02 UTC 2014


Could you provide concrete escape sequences (like an echo command, or a
short text file to cat)?

I can't figure out how to test this. CSI is traditionally ESC + [. This is used e.g. to change the foreground color:
echo -e '\x1B[31mred\x1B[0m'

The CSI you're referring to seems to be an alternate encoding of the same functionality, starting with 0x9B (whose UTF-8 encoding is 0xC2 0x9B) instead of ESC [. That is:
echo -e '\xC2\x9B31mred\xC2\x9B0m'

but this doesn't work for me, not even in Putty or xterm. What am I
doing wrong?

Note: gnome-terminal tries to emulate xterm. If you're asking for
something that is supported by xterm, you have reasonable chances. If
the feature is specific to putty, it's unlikely that your request will
get implemented.


** Package changed: gnome-terminal (Ubuntu) => vte3 (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to vte3 in Ubuntu.
https://bugs.launchpad.net/bugs/1297051

Title:
  gnome-terminal doesn't recognise C1 controls

Status in “vte3” package in Ubuntu:
  New

Bug description:
  gnome-terminal seems not to recognise the C1 control characters.

  The particular character that is a problem for me is CSI. However
  there may be a generic issue with non-support of this whole range of
  characters.

  This range of characters should only be recognised when the encoding
  is a character set that is defined to include the C1 control
  characters but, at a quick look, that is all of the ISO-8859-x
  character sets and Unicode. (C1 control characters require encoding as
  a 2 byte sequence when the encoding is UTF-8. As unlikely as this may
  be to occur in practice, UTF-8 is not inconsistent with C1 control
  characters.)

  Part of the motivation for raising this bug report is that PuTTY seems
  to have declined in reliability recently and so I looked at why I am
  using PuTTY as opposed to gnome-terminal. Correct support of C1
  control characters is one reason. This works in PuTTY. It does not
  appear to work in gnome-terminal. Perhaps resources would be better
  spent making gnome-terminal work as well as PuTTY does, rather than
  attempting to get PuTTY fixed.

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: gnome-terminal 3.6.1-0ubuntu6
  ProcVersionSignature: Ubuntu 3.11.0-18.32-generic 3.11.10.4
  Uname: Linux 3.11.0-18-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.12.5-0ubuntu2.2
  Architecture: amd64
  Date: Tue Mar 25 11:08:00 2014
  InstallationDate: Installed on 2011-10-25 (881 days ago)
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
  MarkForUpload: True
  SourcePackage: gnome-terminal
  UpgradeStatus: Upgraded to saucy on 2013-11-08 (136 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vte3/+bug/1297051/+subscriptions



More information about the foundations-bugs mailing list