|
|
|
|
|
by shakna
3 days ago
|
|
I'm pretty sure all the references to X11 systems, aren't supported by the VT, that ain't X. ESC [ ? 1000 h
X11 Mouse Reporting (default off): Set reporting mode to 2
(or reset to 0) —see below—.
And as I _can_ see a DECSET section, the manpage is referencing it. DEC Private Mode (DECSET/DECRST) sequences
These are not described in ECMA-48. We list the Set Mode
sequences; the Reset Mode sequences are obtained by replacing the
final 'h' by 'l'.
And as there's whole sections about sequences _not_ implemented by the Linux console, it does not only contain what the Linux VT console support. Which is the opposite of your first statement. Escape sequences
VT100 console sequences not implemented on the Linux console:
ESC N SS2 Single shift 2. (Select G2 character set for
the next character only.)
Which means either we're looking at a different version of the manpage, you haven't looked before throwing things, or you just really like to argue. |
|
This isn't true. The Linux VT console supports both X10 and X11 mouse reporting–except the Linux kernel source code calls X11 mouse reporting "VT200" instead, but it is the same thing. It relies on a user space component (traditionally the gpm daemon) to talk to the mouse driver to get the actual mouse position, and then feed that into the VT device using the TIOCLINUX ioctl (subcode TIOCL_SETSEL, mode TIOCL_SELMOUSEREPORT)
> And as I _can_ see a DECSET section, the manpage is referencing it.
Yes, it describes DECSET. But it doesn't describe many of the DECSET codes, including 1049 and 2004 which the Linux VT console supports – see https://github.com/torvalds/linux/blob/master/drivers/tty/vt... – and the many more which xterm supports – https://invisible-island.net/xterm/ctlseqs/ctlseqs.html – other terminal emulators frequently implement many (but not necessarily all) of the DECSET codes xterm does.
> And as there's whole sections about sequences _not_ implemented by the Linux console, it does not only contain what the Linux VT console support. Which is the opposite of your first statement.
It briefly mentions a few features which xterm provide that Linux VT console doesn't. It makes no attempt to provide an exhaustive summary of all the features xterm has which are lacking in the Linux VT console, since that's the job of the xterm documentation