bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: As for vt525: vt220 emulation with ANSI colors for S390


From: Dr. Werner Fink
Subject: Re: As for vt525: vt220 emulation with ANSI colors for S390
Date: Fri, 4 Apr 2025 09:54:01 +0200

On 2025/04/04 08:43:00 +0200, Dr. Werner Fink wrote:
> On 2025/04/03 14:59:57 -0400, Thomas Dickey wrote:
> > > 
> > > the attached png shows a x3270 session ... here you have to connect to
> > > the firmware host z/VM (the `S390`) ... login with user ID (which is the
> > > ID of the VM linux systems) with password.  Then login on the linux 3270
> > > system console (the linux VM) ... the command are still local that is
> > > the bash prompt is used *after* you have send the *final* command.
> > 
> > That seems to be digressing from the terminal description.
> > 
> > Looking at the source code, sclp's not a good match for vt220.
> > I spent 15 minutes reading the source and starting with "vt220",
> > discarded half of it, because the features are not in the source.
> > 
> > See
> > 
> > https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/drivers/s390/char
> > 
> > in particular defkeymap.map and con3270.c -- the latter contains all of the
> > escape-sequence processing, though I find it unlikely that an IBM 3270
> > actually did _that_, because the 3270 was introduced long before any of
> > this stuff was in practice.
> 
> We are facing three things here .. the old 3215 line printer terminal,
> the 3270 line printer terminal (which can handle ANSI coloring), both
> use the tele printer like UAPI.  And the we have sclp which is more like
> a vt220 with ANSI coloring.
> 
> Currently there is only
> 
>  ibm327x|line mode IBM 3270 style,
>       gn,
>       clear=\r\n, el=\r, home=\r,
> 
> means works for 3215 ... but misses 3270 ANSI coloring ... beside this
> it misses IMHO cr=\r, cud1=\n, and ind=\n which leads to the solution
> that customers/users use TERM=dumb in the kernel command line ...
> nevertheless it totally miss the (tty)sclp tty terminals.  Here the
> customers/users use TERM=xterm-vt220 ... which seems to work as shown
> in the attachments.

Found this https://x3270.miraheze.org/wiki/ and here e.g.
https://x3270.miraheze.org/wiki/Terminal_Emulation

Werner

-- 
  "Having a smoking section in a restaurant is like having
          a peeing section in a swimming pool." -- Edward Burr

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]