On Wed, Apr 30, 2025 at 12:38:26PM +0200, Dr. Werner Fink wrote: > On 2025/04/10 11:02:15 +0200, Dr. Werner Fink wrote: > > On 2025/04/09 16:23:52 -0400, Thomas Dickey wrote: > > > > > > if available, I'd use "cat -v" (which lets you see this without control/V) > > > > > > thanks - I suppose that's done outside the kernel, > > > to imitate xterm. > > > > > > The kernel source only shows the default keymap. > > > > Here is what the integrated ASCII console of HMC the > > IBM Hardware Management Console shows: > > > > sles15sp6-minimal-xfs-devnet login: root > > Password: > > Last login: Wed Apr 9 11:30:41 on 3270/tty1 > > sles15sp6-minimal-xfs-devnet:~ # > > sles15sp6-minimal-xfs-devnet:~ # > > sles15sp6-minimal-xfs-devnet:~ # > > sles15sp6-minimal-xfs-devnet:~ # tty > > /dev/ttysclp0 > > sles15sp6-minimal-xfs-devnet:~ # cat -v > > ^[OP^[OQ^[OR^[OS^[[15~ > > > > means I've no idea why and where linux/drivers/s390/char/defkeymap.map > > is ignored or better overwritten for F1 upto F5 ... only clear seems to > > be that this is likely not QEMU > > One more ... to get vim working a cup/cm is required as well as
I already had cup and home ansi+cup is too small for my script's threshold - I've been looking only at chunks bigger than 2 - in a quick check I see lots of places to use that :-) > the emulated ASCII console on /dec/ttysclp0 supports vt220+pcedit > keys (whereas the qemu uses ^[[2~^[[3~^[[H^[[F^[[5~^[[6~). > > For my patch I've choosen vt220+pcedit as real s390 with ASCII console > are more common :) ok > ------------------------------------------------------------------------ > --- misc/terminfo.src > +++ misc/terminfo.src 2025-04-28 07:30:59.775683818 +0000 > @@ -1261,7 +1261,7 @@ sclp|IBM s390 driver for Linux, > sgr0=\E[m\E(B, smacs=\E(0$<2>, smso=\E[7m, smul=\E[4m, > use=klone+color, use=ansi+cpr, use=ansi+erase, > use=ansi+local, use=linux+sfkeys, use=vt100+pf1-pf4, > - use=vt220+ufkeys, > + use=vt220+ufkeys, use=ansi+cup, use=vt220+pcedit, > > #### Mach > # > ------------------------------------------------------------------------ > > Werner > > -- > "Having a smoking section in a restaurant is like having > a peeing section in a swimming pool." -- Edward Burr -- Thomas E. Dickey <[email protected]> https://invisible-island.net
signature.asc
Description: PGP signature
