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

boon derek at colourhorizons.com.au
Mon Aug 4 22:32:12 UTC 2014


On 05/08/14 05:31, Egmont Koblinger wrote:
> I've added a patch to the upstream bugreport.
>
> boon, could you please test that?
Please excuse my ignorance but I don't know how to do that. Can you tell 
me what commands to type?

Is it in a repository somewhere or do I have to build from source?
> Could you please also let us know what application(s) produce these kinds of escape sequences?
Pretty much any sensible application should do that (regarding CSI at 
least) because ... why transmit two characters (ESC [) instead of one 
character (0x9B)?

The only logical reason would be that the terminal or line does not 
support 8-bit characters but that distinction largely went away a long 
time ago. Since nearly all terminals today are emulated terminals and 
nearly all lines are somehow layered on IP (rather than being real 
serial lines like RS232) they should all allow 8-bit characters to be 
transmitted.

My memory could be faulty but it is my recollection that it was the 
VT200 series of terminals that introduced the C1 controls and that, 
according to WikiPedia, was in 1983(!), so any terminal emulator 
claiming to emulate a VT terminal has had 30 years to add support for C1 
controls. :-)

In my case the remote system is a mix of built-in programs (for example, 
the editor) and custom-written programs, most of which assume that a 
one-character CSI (0x9B) works.

Regards

Derek

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