[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: As for vt525: vt220 emulation with ANSI colors for S390
From: |
Thomas Dickey |
Subject: |
Re: As for vt525: vt220 emulation with ANSI colors for S390 |
Date: |
Wed, 2 Apr 2025 15:10:52 -0400 |
On Wed, Apr 02, 2025 at 10:49:32AM +0200, Dr. Werner Fink wrote:
> Hi
>
> on S390 the line tysclp0 as well as the 3270 console mode (not 3250 mode
> which is described with TERM=dumb or TERM=ibm327x) use a vt220 emulation
> but with ANSI color extension. Why ibm327x is named ibm327x instead of
> ibm325x I do not know but the the ANSI coloring is a fact which can be
> tested very simple with e.g.
>
> echo -e '\e[31mred\e[m'
>
> showing a red red ;)
> Currently many users set TERM=xterm-vt220 as a workaround but this is
> not perfect.
>
> I'd like to ask to have something like vt220-ansi or vt220-color or
> vt225 or whatsoever a common accepted name for a vt220 emulation
> with ANSI colors?
Its name is "sclp":
https://www.ibm.com/docs/en/linux-on-systems?topic=drivers-building-kernel
...
which has support for ibm 3270 (full-screen), ibm 3215 (line-mode) and vt220
The 3270 is unlikely to be interesting, but the latter two may be.
To provide for both of those, you'd have sclp-3215 (or sclp-ibm3215)
and sclp-vt220
vt220's never did color.
http://www.bitsavers.org/pdf/dec/terminal/vt220/EK-VT220-TM-001_VT220_Technical_Manual_Nov84.pdf
vt240's had some color support, but was not ANSI (it's part of the ReGIS
feature).
http://www.bitsavers.org/pdf/dec/terminal/vt240/EK-VT240-RM-002_VT240_Programmer_Reference_Manual_Oct84.pdf
...so there's no reason to invent a "vt220-color" terminal.
If sclp's support for vt220 is limited to matching function-keys and
support for ECH, that makes it less likely to be referred to as
"vt220-compatible". You might want to locate some actual documentation
for it. The IBM webpage I pointed to doesn't count as documentation.
For further reading
https://invisible-island.net/ncurses/ncurses.faq.html#vt100_color
--
Thomas E. Dickey <dickey@invisible-island.net>
https://invisible-island.net
signature.asc
Description: PGP signature
- As for vt525: vt220 emulation with ANSI colors for S390, Dr. Werner Fink, 2025/04/02
- Re: As for vt525: vt220 emulation with ANSI colors for S390,
Thomas Dickey <=
- Re: As for vt525: vt220 emulation with ANSI colors for S390, Thomas Dickey, 2025/04/02
- Re: As for vt525: vt220 emulation with ANSI colors for S390, Dr. Werner Fink, 2025/04/03
- Re: As for vt525: vt220 emulation with ANSI colors for S390, Thomas Dickey, 2025/04/03
- Re: As for vt525: vt220 emulation with ANSI colors for S390, Dr. Werner Fink, 2025/04/03
- Re: As for vt525: vt220 emulation with ANSI colors for S390, Thomas Dickey, 2025/04/03
- Re: As for vt525: vt220 emulation with ANSI colors for S390, Dr. Werner Fink, 2025/04/04
- Re: As for vt525: vt220 emulation with ANSI colors for S390, Dr. Werner Fink, 2025/04/04
- Re: As for vt525: vt220 emulation with ANSI colors for S390, Thomas Dickey, 2025/04/04
- Re: As for vt525: vt220 emulation with ANSI colors for S390, Dr. Werner Fink, 2025/04/09
- Re: As for vt525: vt220 emulation with ANSI colors for S390, Thomas Dickey, 2025/04/09