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

boon derek at colourhorizons.com.au
Tue Sep 9 05:35:03 UTC 2014


Here's an alternative suggestion for identifying the terminal
implementation: Implement the DA3 sequence and implement the extension
proposed below.

DA3 is supposed to elicit a globally unique, persistent terminal
identifier (its serial number if you like), as documented here:

http://www.vt100.net/docs/vt510-rm/DA3

However that makes little sense in a world where most(?) terminals are
emulated and does not apparently even work on a real VT5xx (just returns
00000000 as the id). So the following extension is proposed.

Respond to DA3 with DCS!|00000000;swidST where swid identifies the
software product name and version. The syntax of swid could be borrowed
from RFC 2616 (HTTP 1.1) Section 3.8. I would prefer that product names
are explicitly qualified by (preceded by) the Java-style label-reversed
domain name. Hence a company called PCsoft that registers pcsoft.com and
sells a product called SuperTerm might send a product name and version
of com.pcsoft.SuperTerm/1.0

(DA3 is seemingly not implemented at all in xterm so there is minimal
scope for breakage in that regard.)

Product names should be compared without regard to case.

-- 
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