Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

10.0 times 0.1 is hardly ever 1.0.


computers / comp.os.vms / Bugs with SET TERM/INQ and xterm, GNOME terminal

SubjectAuthor
* Bugs with SET TERM/INQ and xterm, GNOME terminalJake Hamby (Solid State Jake)
+- Re: Bugs with SET TERM/INQ and xterm, GNOME terminalJake Hamby (Solid State Jake)
+* Re: Bugs with SET TERM/INQ and xterm, GNOME terminalMatthew R. Wilson
|`* Re: Bugs with SET TERM/INQ and xterm, GNOME terminalJohnny Billquist
| `* Re: Bugs with SET TERM/INQ and xterm, GNOME terminalJake Hamby (Solid State Jake)
|  `- Re: Bugs with SET TERM/INQ and xterm, GNOME terminalThomas Dickey
`* Re: Bugs with SET TERM/INQ and xterm, GNOME terminalThomas Dickey
 `- Re: Bugs with SET TERM/INQ and xterm, GNOME terminalJake Hamby (Solid State Jake)

1
Bugs with SET TERM/INQ and xterm, GNOME terminal

<c5a41261-0aac-4f96-9752-968d5cff5f27n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=30447&group=comp.os.vms#30447

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:620a:438c:b0:774:feb:2628 with SMTP id a12-20020a05620a438c00b007740feb2628mr277123qkp.13.1696970448442;
Tue, 10 Oct 2023 13:40:48 -0700 (PDT)
X-Received: by 2002:a05:6808:23c7:b0:3ab:c19f:bdf8 with SMTP id
bq7-20020a05680823c700b003abc19fbdf8mr10751498oib.11.1696970448263; Tue, 10
Oct 2023 13:40:48 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!1.us.feeder.erje.net!feeder.erje.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Tue, 10 Oct 2023 13:40:47 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=2600:1700:46b0:abc0:31aa:2f79:3e99:1405;
posting-account=OGFVHQoAAAASiNAamRQec8BtkuXxYFnQ
NNTP-Posting-Host: 2600:1700:46b0:abc0:31aa:2f79:3e99:1405
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <c5a41261-0aac-4f96-9752-968d5cff5f27n@googlegroups.com>
Subject: Bugs with SET TERM/INQ and xterm, GNOME terminal
From: jake.ha...@gmail.com (Jake Hamby (Solid State Jake))
Injection-Date: Tue, 10 Oct 2023 20:40:48 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3460
 by: Jake Hamby (Solid St - Tue, 10 Oct 2023 20:40 UTC

I've experienced a few terminal detection issues with SET TERM/INQ, so I decided to track them down and figure out what was going on.

First, xterm: it continues to be updated with new features and bug fixes, and the current version claims to be a VT420. When I run "set term/inq", it pauses for a few seconds, then is unable to get the terminal size.

Logging what VMS sends to a file, I see this sequence:

CSI c -> query primary device attributes
CSI " v -> DECRQDE (times out)
CSI 62"p -> set to VT200+, 8-bit controls
ESC <space> F -> select 7-bit controls (S7C1T)
ESC > -> keypad numeric mode (DECKPNM)

So the problem is that VT400 terminals should support DECRQDE (request displayed extent) to request the window width and height, as well as the column number of the leftmost column, line number of the top line, and the page number.

I don't think any Linux terminal emulator supports DECRQDE, especially since there's a different xterm escape sequence to get window size that UNIX normally uses and all the GUI terminal emulators support. "vttest" can test DECRQDE, although it's listed as a VT320 feature, not a VT420 one.

I have a different issue with Ubuntu's GNOME terminal. It claims to be a VT500 series, so SET TERM/INQ behaves a bit differently:

CSI c -> query primary device attributes
ESC 7 -> save cursor state
CSI 255;255H -> set cursor pos. to 255,255
CSI 6n -> ask for cursor pos. report
ESC 8 -> restore cursor state
CSI 62"p -> set to VT200+, 8-bit controls
ESC <space> F -> select 7-bit controls (S7C1T)
ESC > -> DECKPNM: keypad characters

With this sequence, OpenVMS does correctly get the window width and height from gnome-terminal, but then I run into a different bug. "show term" shows the terminal is in 8-bit mode, but the 8-bit controls don't work, so when I run "edit" or "monitor", I see visible ESC sequences that don't work. The workaround I found is to "set term/noeight" before or after the /inq.

I'll work on a patch for xterm to add support for DECRQDE, but it looks like these issues can be fixed entirely on the VMS side, by using the VT500 sequence to get the window size on VT400 series terminals, and by not selecting 7-bit C1 control chars immediately after setting 8-bit controls.

Best regards,
Jake Hamby

Re: Bugs with SET TERM/INQ and xterm, GNOME terminal

<87d2a1ef-f4ef-4fde-8c74-8436862a39e5n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=30449&group=comp.os.vms#30449

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:ad4:5a10:0:b0:66d:40:e7c5 with SMTP id ei16-20020ad45a10000000b0066d0040e7c5mr29488qvb.4.1696971833322;
Tue, 10 Oct 2023 14:03:53 -0700 (PDT)
X-Received: by 2002:a05:6808:181a:b0:3ad:f4b5:3ad with SMTP id
bh26-20020a056808181a00b003adf4b503admr9811661oib.8.1696971833142; Tue, 10
Oct 2023 14:03:53 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Tue, 10 Oct 2023 14:03:52 -0700 (PDT)
In-Reply-To: <c5a41261-0aac-4f96-9752-968d5cff5f27n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2600:1700:46b0:abc0:31aa:2f79:3e99:1405;
posting-account=OGFVHQoAAAASiNAamRQec8BtkuXxYFnQ
NNTP-Posting-Host: 2600:1700:46b0:abc0:31aa:2f79:3e99:1405
References: <c5a41261-0aac-4f96-9752-968d5cff5f27n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <87d2a1ef-f4ef-4fde-8c74-8436862a39e5n@googlegroups.com>
Subject: Re: Bugs with SET TERM/INQ and xterm, GNOME terminal
From: jake.ha...@gmail.com (Jake Hamby (Solid State Jake))
Injection-Date: Tue, 10 Oct 2023 21:03:53 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3485
 by: Jake Hamby (Solid St - Tue, 10 Oct 2023 21:03 UTC

On Tuesday, October 10, 2023 at 1:40:50 PM UTC-7, Jake Hamby wrote:
>
> With this sequence, OpenVMS does correctly get the window width and height from gnome-terminal, but then I run into a different bug. "show term" shows the terminal is in 8-bit mode, but the 8-bit controls don't work, so when I run "edit" or "monitor", I see visible ESC sequences that don't work. The workaround I found is to "set term/noeight" before or after the /inq.

Oops, the second bug was user error: I was running GNOME terminal in UTF-8 mode. After I changed the profile from "High Contrast (UTF-8)" to "High Contrast", everything worked properly in 8-bit mode. BTW, PuTTY defaults to UTF-8 and if you don't change it to ISO 8859-1, or check the box that says to draw DEC line graphics even in UTF-8 mode, the DEC box art in MONITOR renders as lowercase letters.

I also have a theory about why VMS is using a different sequence for xterm than for GNOME to get the window size. xterm returns more primary device attributes. From vttest:

xterm:

Test of Device Attributes report (what are you)

Report is: <27> [ ? 6 4 ; 1 ; 2 ; 6 ; 9 ; 1 5 ; 1 6 ; 1 7 ; 1 8 ; 2 1 ; 2 2 ; 2
8 c VT400 family
1 = 132 columns
2 = printer port
6 = selective erase
9 = national replacement character-sets
15 = DEC technical set
16 = locator device port (ReGIS)
17 = terminal state reports
18 = user windows
21 = horizontal scrolling
22 = color
28 = rectangular editing

GNOME terminal:

Test of Device Attributes report (what are you)

Report is: <27> [ ? 6 5 ; 1 ; 9 c VT500 family
1 = 132 columns
9 = national replacement character-sets

I suspect that the reported presence of "user windows" and/or "horizontal scrolling" features may be influencing VMS to use the unsupported-by-third-parties DECRQDE sequence instead of the more compatible sequence to get the screen width/height.

Now I'm wondering whether xterm actually supports all of the features that it claims to. UNIX doesn't exercise terminals like VMS does, or at least not in normal use.

Regards,
Jake Hamby

Re: Bugs with SET TERM/INQ and xterm, GNOME terminal

<slrnuiblsb.1qcjm.mwilson@daenerys.home.mattwilson.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=30454&group=comp.os.vms#30454

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: mwil...@mattwilson.org (Matthew R. Wilson)
Newsgroups: comp.os.vms
Subject: Re: Bugs with SET TERM/INQ and xterm, GNOME terminal
Date: Tue, 10 Oct 2023 23:00:27 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 35
Message-ID: <slrnuiblsb.1qcjm.mwilson@daenerys.home.mattwilson.org>
References: <c5a41261-0aac-4f96-9752-968d5cff5f27n@googlegroups.com>
Injection-Date: Tue, 10 Oct 2023 23:00:27 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="e5abc46196a34e6dd4e3df635139efae";
logging-data="1487837"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+8dmgpnQS8gRMyBZ6MrCruPoGYW8n8Sxw="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:kEX2Jt92GnHNQB2kR67G8KOnZj0=
 by: Matthew R. Wilson - Tue, 10 Oct 2023 23:00 UTC

On 2023-10-10, Jake Hamby (Solid State Jake) <jake.hamby@gmail.com> wrote:
> I've experienced a few terminal detection issues with SET TERM/INQ, so
> I decided to track them down and figure out what was going on.
>
> First, xterm: it continues to be updated with new features and bug
> fixes, and the current version claims to be a VT420. When I run "set
> term/inq", it pauses for a few seconds, then is unable to get the
> terminal size.
>
> Logging what VMS sends to a file, I see this sequence:
>
> CSI c -> query primary device attributes CSI " v -> DECRQDE (times
> out) CSI 62"p -> set to VT200+, 8-bit controls ESC <space> F -> select
> 7-bit controls (S7C1T) ESC > -> keypad numeric mode (DECKPNM)
>
> So the problem is that VT400 terminals should support DECRQDE (request
> displayed extent) to request the window width and height, as well as
> the column number of the leftmost column, line number of the top line,
> and the page number.

Ah, interesting. Thanks for tracking this down! I always use xterm and
have noticed that undesirable behavior when connecting to VMS, which
I've worked around by setting XTerm*VT100.decTerminalID: vt102 in my X
resources. However, that causes a different problem in another
application, so I've recently removed it and have to remember to start
up another dedicated xterm that I can set that option on for playing
with VMS. It's been an annoyance, so nice to know why it was happening.

> I'll work on a patch for xterm to add support for DECRQDE

If that makes it into xterm, that would be fantastic! Thank you!

Thanks,
Matthew

Re: Bugs with SET TERM/INQ and xterm, GNOME terminal

<ug5ore$ihh$1@news.misty.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=30463&group=comp.os.vms#30463

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!news.nntp4.net!weretis.net!feeder6.news.weretis.net!news.misty.com!.POSTED.80-218-16-84.dclient.hispeed.ch!not-for-mail
From: bqt...@softjar.se (Johnny Billquist)
Newsgroups: comp.os.vms
Subject: Re: Bugs with SET TERM/INQ and xterm, GNOME terminal
Date: Wed, 11 Oct 2023 11:11:10 +0200
Organization: MGT Consulting
Message-ID: <ug5ore$ihh$1@news.misty.com>
References: <c5a41261-0aac-4f96-9752-968d5cff5f27n@googlegroups.com>
<slrnuiblsb.1qcjm.mwilson@daenerys.home.mattwilson.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 11 Oct 2023 09:11:10 -0000 (UTC)
Injection-Info: news.misty.com; posting-host="80-218-16-84.dclient.hispeed.ch:80.218.16.84";
logging-data="18993"; mail-complaints-to="abuse@misty.com"
User-Agent: Mozilla Thunderbird
Content-Language: en-GB
In-Reply-To: <slrnuiblsb.1qcjm.mwilson@daenerys.home.mattwilson.org>
 by: Johnny Billquist - Wed, 11 Oct 2023 09:11 UTC

On 2023-10-11 01:00, Matthew R. Wilson wrote:
> On 2023-10-10, Jake Hamby (Solid State Jake) <jake.hamby@gmail.com> wrote:
>> I've experienced a few terminal detection issues with SET TERM/INQ, so
>> I decided to track them down and figure out what was going on.
>>
>> First, xterm: it continues to be updated with new features and bug
>> fixes, and the current version claims to be a VT420. When I run "set
>> term/inq", it pauses for a few seconds, then is unable to get the
>> terminal size.
>>
>> Logging what VMS sends to a file, I see this sequence:
>>
>> CSI c -> query primary device attributes CSI " v -> DECRQDE (times
>> out) CSI 62"p -> set to VT200+, 8-bit controls ESC <space> F -> select
>> 7-bit controls (S7C1T) ESC > -> keypad numeric mode (DECKPNM)
>>
>> So the problem is that VT400 terminals should support DECRQDE (request
>> displayed extent) to request the window width and height, as well as
>> the column number of the leftmost column, line number of the top line,
>> and the page number.
>
> Ah, interesting. Thanks for tracking this down! I always use xterm and
> have noticed that undesirable behavior when connecting to VMS, which
> I've worked around by setting XTerm*VT100.decTerminalID: vt102 in my X
> resources. However, that causes a different problem in another
> application, so I've recently removed it and have to remember to start
> up another dedicated xterm that I can set that option on for playing
> with VMS. It's been an annoyance, so nice to know why it was happening.

I would set it to answer as a VT220. Then you have most of the "modern"
capabilities, but not some of the more fancy stuff that came later. I
think the VT220 emulation is much more complete in xterm.
Main thing lacking is just soft fonts, as far as I can remember.

Johnny

Re: Bugs with SET TERM/INQ and xterm, GNOME terminal

<e34662df-36df-45a1-a90b-1a4cf6e8dd1cn@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=30472&group=comp.os.vms#30472

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:622a:1c6:b0:412:2493:d7fb with SMTP id t6-20020a05622a01c600b004122493d7fbmr336219qtw.0.1697045898513;
Wed, 11 Oct 2023 10:38:18 -0700 (PDT)
X-Received: by 2002:a9d:6357:0:b0:6bb:1c29:f0fa with SMTP id
y23-20020a9d6357000000b006bb1c29f0famr6941938otk.5.1697045898315; Wed, 11 Oct
2023 10:38:18 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Wed, 11 Oct 2023 10:38:17 -0700 (PDT)
In-Reply-To: <ug5ore$ihh$1@news.misty.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2600:1700:46b0:abc0:f949:36e8:d586:d4ac;
posting-account=OGFVHQoAAAASiNAamRQec8BtkuXxYFnQ
NNTP-Posting-Host: 2600:1700:46b0:abc0:f949:36e8:d586:d4ac
References: <c5a41261-0aac-4f96-9752-968d5cff5f27n@googlegroups.com>
<slrnuiblsb.1qcjm.mwilson@daenerys.home.mattwilson.org> <ug5ore$ihh$1@news.misty.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <e34662df-36df-45a1-a90b-1a4cf6e8dd1cn@googlegroups.com>
Subject: Re: Bugs with SET TERM/INQ and xterm, GNOME terminal
From: jake.ha...@gmail.com (Jake Hamby (Solid State Jake))
Injection-Date: Wed, 11 Oct 2023 17:38:18 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2320
 by: Jake Hamby (Solid St - Wed, 11 Oct 2023 17:38 UTC

On Wednesday, October 11, 2023 at 2:11:14 AM UTC-7, Johnny Billquist wrote:
>
> I would set it to answer as a VT220. Then you have most of the "modern"
> capabilities, but not some of the more fancy stuff that came later. I
> think the VT220 emulation is much more complete in xterm.
> Main thing lacking is just soft fonts, as far as I can remember.

I'll definitely need to do some exploration with VTTEST. The current xterm claims that it can emulate anything from a VT52 to a VT525, but it's missing features like soft fonts, as well as the VT400 request displayed extent (DECRQDE) command that led to my investigation.

If I run xterm with "-ti vt220" or "-ti vt320", then I don't have any problems. I'll try to find some time this week, when I'm not job hunting, to work on a patch for xterm to add the missing feature, and check to see if xterm really implements every feature that it claims to support in device attributes.

Cheers,
Jake

Re: Bugs with SET TERM/INQ and xterm, GNOME terminal

<cc16a323-bd00-4413-8de3-a46ffd652ddbn@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=30475&group=comp.os.vms#30475

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:ad4:558a:0:b0:66d:b84:4bff with SMTP id f10-20020ad4558a000000b0066d0b844bffmr44252qvx.11.1697060314829;
Wed, 11 Oct 2023 14:38:34 -0700 (PDT)
X-Received: by 2002:a05:6870:bf0b:b0:1e5:78de:89b4 with SMTP id
qh11-20020a056870bf0b00b001e578de89b4mr6729939oab.0.1697060314512; Wed, 11
Oct 2023 14:38:34 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Wed, 11 Oct 2023 14:38:33 -0700 (PDT)
In-Reply-To: <c5a41261-0aac-4f96-9752-968d5cff5f27n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=96.255.221.90; posting-account=F8dLjAoAAADVL00WpNgOxmsqcoBBAbOU
NNTP-Posting-Host: 96.255.221.90
References: <c5a41261-0aac-4f96-9752-968d5cff5f27n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <cc16a323-bd00-4413-8de3-a46ffd652ddbn@googlegroups.com>
Subject: Re: Bugs with SET TERM/INQ and xterm, GNOME terminal
From: thomasdi...@gmail.com (Thomas Dickey)
Injection-Date: Wed, 11 Oct 2023 21:38:34 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Thomas Dickey - Wed, 11 Oct 2023 21:38 UTC

On Tuesday, October 10, 2023 at 4:40:50 PM UTC-4, Jake Hamby (Solid State Jake) wrote:
> I've experienced a few terminal detection issues with SET TERM/INQ, so I decided to track them down and figure out what was going on.
>
> First, xterm: it continues to be updated with new features and bug fixes, and the current version claims to be a VT420. When I run "set term/inq", it pauses for a few seconds, then is unable to get the terminal size.
>
> Logging what VMS sends to a file, I see this sequence:
>
> CSI c -> query primary device attributes
> CSI " v -> DECRQDE (times out)
> CSI 62"p -> set to VT200+, 8-bit controls
> ESC <space> F -> select 7-bit controls (S7C1T)
> ESC > -> keypad numeric mode (DECKPNM)
>
> So the problem is that VT400 terminals should support DECRQDE (request displayed extent) to request the window width and height, as well as the column number of the leftmost column, line number of the top line, and the page number.
>
> I don't think any Linux terminal emulator supports DECRQDE, especially since there's a different xterm escape sequence to get window size that UNIX normally uses and all the GUI terminal emulators support. "vttest" can test DECRQDE, although it's listed as a VT320 feature, not a VT420 one.
>
> I have a different issue with Ubuntu's GNOME terminal. It claims to be a VT500 series, so SET TERM/INQ behaves a bit differently:
>
> CSI c -> query primary device attributes
> ESC 7 -> save cursor state
> CSI 255;255H -> set cursor pos. to 255,255
> CSI 6n -> ask for cursor pos. report
> ESC 8 -> restore cursor state
> CSI 62"p -> set to VT200+, 8-bit controls
> ESC <space> F -> select 7-bit controls (S7C1T)
> ESC > -> DECKPNM: keypad characters
>
> With this sequence, OpenVMS does correctly get the window width and height from gnome-terminal, but then I run into a different bug. "show term" shows the terminal is in 8-bit mode, but the 8-bit controls don't work, so when I run "edit" or "monitor", I see visible ESC sequences that don't work. The workaround I found is to "set term/noeight" before or after the /inq.
>
> I'll work on a patch for xterm to add support for DECRQDE, but it looks like these issues can be fixed entirely on the VMS side, by using the VT500 sequence to get the window size on VT400 series terminals, and by not selecting 7-bit C1 control chars immediately after setting 8-bit controls.
>
> Best regards,
> Jake Hamby
CSI 6n is a VT100 sequence (actually ECMA-48 CPR, not just DEC).
GNOME-Terminal's identifying itself as a VT520 should be taken with a grain of salt.
It doesn't support NRCS, for instance (seen in the DA response).
Nor does it implement DECSCL (used in your example).

I added the DECRQDE test in vttest in August 1996, but was not at that time interested in adding it to xterm.
But the reason for changing xterm to identify as VT420 is in the FAQ:

https://invisible-island.net/xterm/xterm.faq.html#why_vt420

Eleven years passed before anyone commented on this feature, since I changed the DA response in 2012:

https://invisible-island.net/xterm/xterm.log.html#xterm_279

XTerm Control Sequences

https://invisible-island.net/xterm/ctlseqs/ctlseqs.html

lists the sequences that xterm recognizes.

Re: Bugs with SET TERM/INQ and xterm, GNOME terminal

<d4fadf66-46e7-44b0-a405-88807aa270a0n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=30476&group=comp.os.vms#30476

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a37:e113:0:b0:768:421b:a142 with SMTP id c19-20020a37e113000000b00768421ba142mr318733qkm.4.1697061834202;
Wed, 11 Oct 2023 15:03:54 -0700 (PDT)
X-Received: by 2002:a05:6808:1815:b0:3ae:c95:ad2c with SMTP id
bh21-20020a056808181500b003ae0c95ad2cmr12345990oib.0.1697061833917; Wed, 11
Oct 2023 15:03:53 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Wed, 11 Oct 2023 15:03:53 -0700 (PDT)
In-Reply-To: <cc16a323-bd00-4413-8de3-a46ffd652ddbn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2600:1700:46b0:abc0:f949:36e8:d586:d4ac;
posting-account=OGFVHQoAAAASiNAamRQec8BtkuXxYFnQ
NNTP-Posting-Host: 2600:1700:46b0:abc0:f949:36e8:d586:d4ac
References: <c5a41261-0aac-4f96-9752-968d5cff5f27n@googlegroups.com> <cc16a323-bd00-4413-8de3-a46ffd652ddbn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <d4fadf66-46e7-44b0-a405-88807aa270a0n@googlegroups.com>
Subject: Re: Bugs with SET TERM/INQ and xterm, GNOME terminal
From: jake.ha...@gmail.com (Jake Hamby (Solid State Jake))
Injection-Date: Wed, 11 Oct 2023 22:03:54 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Jake Hamby (Solid St - Wed, 11 Oct 2023 22:03 UTC

On Wednesday, October 11, 2023 at 2:38:36 PM UTC-7, Thomas Dickey wrote:
>
> CSI 6n is a VT100 sequence (actually ECMA-48 CPR, not just DEC).
> GNOME-Terminal's identifying itself as a VT520 should be taken with a grain of salt.
> It doesn't support NRCS, for instance (seen in the DA response).
> Nor does it implement DECSCL (used in your example).
>
> I added the DECRQDE test in vttest in August 1996, but was not at that time interested in adding it to xterm.
> But the reason for changing xterm to identify as VT420 is in the FAQ:
>
> https://invisible-island.net/xterm/xterm.faq.html#why_vt420
>
> Eleven years passed before anyone commented on this feature, since I changed the DA response in 2012:
>
> https://invisible-island.net/xterm/xterm.log.html#xterm_279
>
> XTerm Control Sequences
>
> https://invisible-island.net/xterm/ctlseqs/ctlseqs.html
>
> lists the sequences that xterm recognizes.

Thank you so much for providing the links and the relevant history of xterm development!

Regards,
Jake Hamby

Re: Bugs with SET TERM/INQ and xterm, GNOME terminal

<f949abc1-8163-4ade-a41b-2b0feaec2967n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=30486&group=comp.os.vms#30486

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:620a:cf4:b0:76c:c5bf:6af5 with SMTP id c20-20020a05620a0cf400b0076cc5bf6af5mr328991qkj.14.1697095872321;
Thu, 12 Oct 2023 00:31:12 -0700 (PDT)
X-Received: by 2002:a05:6808:200c:b0:3a1:f2a4:3d7 with SMTP id
q12-20020a056808200c00b003a1f2a403d7mr12734833oiw.1.1697095872087; Thu, 12
Oct 2023 00:31:12 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Thu, 12 Oct 2023 00:31:11 -0700 (PDT)
In-Reply-To: <e34662df-36df-45a1-a90b-1a4cf6e8dd1cn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=96.255.221.90; posting-account=F8dLjAoAAADVL00WpNgOxmsqcoBBAbOU
NNTP-Posting-Host: 96.255.221.90
References: <c5a41261-0aac-4f96-9752-968d5cff5f27n@googlegroups.com>
<slrnuiblsb.1qcjm.mwilson@daenerys.home.mattwilson.org> <ug5ore$ihh$1@news.misty.com>
<e34662df-36df-45a1-a90b-1a4cf6e8dd1cn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <f949abc1-8163-4ade-a41b-2b0feaec2967n@googlegroups.com>
Subject: Re: Bugs with SET TERM/INQ and xterm, GNOME terminal
From: thomasdi...@gmail.com (Thomas Dickey)
Injection-Date: Thu, 12 Oct 2023 07:31:12 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Thomas Dickey - Thu, 12 Oct 2023 07:31 UTC

On Wednesday, October 11, 2023 at 1:38:20 PM UTC-4, Jake Hamby (Solid State Jake) wrote:
> On Wednesday, October 11, 2023 at 2:11:14 AM UTC-7, Johnny Billquist wrote:
> >
> > I would set it to answer as a VT220. Then you have most of the "modern"
> > capabilities, but not some of the more fancy stuff that came later. I
> > think the VT220 emulation is much more complete in xterm.
> > Main thing lacking is just soft fonts, as far as I can remember.
> I'll definitely need to do some exploration with VTTEST. The current xterm claims that it can emulate anything from a VT52 to a VT525, but it's missing features like soft fonts, as well as the VT400 request displayed extent (DECRQDE) command that led to my investigation.
>
> If I run xterm with "-ti vt220" or "-ti vt320", then I don't have any problems. I'll try to find some time this week, when I'm not job hunting, to work on a patch for xterm to add the missing feature, and check to see if xterm really implements every feature that it claims to support in device attributes.
>
> Cheers,
> Jake
I added a DECRQDE last night (xterm doesn't provide dual sessions, but screensize is simple).
That'll be in #387 in a few days, since I have a minor regression in a different feature.

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor