[Bug 1297051] Re: gnome-terminal doesn't recognise C1 controls
Egmont Koblinger
egmont at gmail.com
Tue Aug 5 00:17:25 UTC 2014
> 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?
You need to build from source, which goes something like this:
wget ftp://ftp.gnome.org/pub/GNOME/sources/vte/0.37/vte-0.37.2.tar.xz
tar xf vte-0.37.2.tar.xz
cd vte-0.37.2
patch -p1 < [the patch filename that fixes this bug]
./configure
[if there are any errors, install the missing packages and re-run]
make
./src/vte-2.91 --encoding=latin1 # or whichever other encoding you wish to use
[and then try your application in this new window
> Pretty much any sensible application should do that (regarding CSI at
> least) because ... why transmit two characters (ESC [) instead of one
> character (0x9B)?
Pretty much all sensible applications have been using UTF-8 for almost a
decade now, and in this encoding both of these escapes take up 2 bytes.
And these days when you watch videos of cats online, who cares about 1
more byte? :)
So far you're the only person who filed this bug against VTE, and it
doesn't even work in xterm with UTF-8, which implies that the usage of
C1 is extremely uncommon.
> 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.
Really out of curiosity, could you please name a few of these "built-in
programs (for example, the editor)" along with the system they're
running on? (I don't care about the custom-written programs that much,
but I do care about those that have a potential that other people also
use them.)
That being said, if the patch works for you, I'd be happy to apply it.
--
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