[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Escape sequence to pass $TERM
From: |
Andrey Butirsky |
Subject: |
Re: Escape sequence to pass $TERM |
Date: |
Wed, 2 Apr 2025 23:28:19 +0300 |
User-agent: |
Mozilla Thunderbird Beta |
On 4/1/25 17:30, Andrey Butirsky wrote:
I read you mentioned VT500s series terminals had ability to report
it's capabilities to the host.
Could you expand on this?
I come to the conclusion we need to implement this or some similar
escape sequence to pass $TERM variable.
So I checked the VT520/VT525 manual and what I found is that neither
DECID—Identify Device, nor DA1/2/3—Device Attributes requests can be
used for this purpose, as they both return series of numbers
(Attributes) delimited by ";", e.g. for VT525 the DA1 Response would be:
CSI ? 65;1;2;7;9;12;18;19;21;22;23;24;42;44;45;46 c
That doesn't suit our need to transfer a string.
That means we probably need to incorporate a new Escape Sequence for
this (only if other terminal vendors didn't provide some suitable one).