On 05/08/14 10:17, Egmont Koblinger wrote: > which goes something like this: OK, after a certain amount of guessing and over 1GB of download and install, yes, I managed to do that.
It does appear that it is now correctly recognising the CSI character. However that then reveals another problem. The remote host is assuming that the terminal emulator supports the RI (Reverse Index) character (code 0x8D). This is another of the C1 controls. http://en.wikipedia.org/wiki/C0_and_C1_control_codes The effect is then that, in the editor, the left, right and down arrow keys work but the up arrow key does not (because the host is sending an RI in response). > And these days when you watch videos of cats online, who cares about 1 > more byte? OK. Fair enough. The performance difference isn't all that significant. :-) The more fundamental issue is that if a terminal emulator asserts to the remote host that it emulates a VT200 series terminal then it needs to do so. Because gnome-terminal says that it is a VT200, the remote host is entitled to use all of the features of that terminal. In reality much of the C1 control set was not standardised or is not used. I would expect that 0x9D (OSC) and 0x9C (ST) are used and should be implemented. OSC, as a synonym for ESC+"]" can probably be done the way you have done CSI. Possibly 0x90 (DCS) would be used somewhere. > 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? The remote system runs the VMS operating system. As VMS was created by the same company that created the various VT terminal series, probably it is more rigorous in its demands that a VT terminal emulator really does emulate correctly. Almost any program under VMS that uses the built-in screen handling modules will malfunction if the emulation is not accurate. Regards Derek -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1297051 Title: gnome-terminal doesn't recognise C1 controls To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/vte3/+bug/1297051/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
