Re: ekey issue with shifted fkeys and possibly others

Bernd Paysan <[email protected]> Sat, 25 Apr 2026 18:58:08 +0200
Newsgroups gmane.comp.lang.forth.gforth
Message-ID <2872301.vFx2qVVIhK@wukong>
--nextPart3313812.lGaqSPkdTl
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"; protected-headers="v1"
From: Bernd Paysan <[email protected]>
To: gforth-mXXj517/[email protected]
Cc: "Shawn K. Quinn" <skquinn-ka0BGeLORx5Wk0Htik3J/[email protected]>
Subject: Re: ekey issue with shifted fkeys and possibly others
Date: Sat, 25 Apr 2026 18:58:08 +0200
Message-ID: <2872301.vFx2qVVIhK@wukong>
In-Reply-To: <e5195a52-b459-42e5-b949-c73306673bbf-ka0BGeLORx5Wk0Htik3J/[email protected]>
References: <e5195a52-b459-42e5-b949-c73306673bbf-ka0BGeLORx5Wk0Htik3J/[email protected]>
MIME-Version: 1.0

Am Samstag, 25. April 2026, 17:53:49 Mitteleurop=C3=A4ische Sommerzeit schr=
ieb=20
Shawn K. Quinn:
> Hi,
>=20
> I press Shift-F3 after the ekey here. I deleted some ANSI code leftovers
> before typing out the rest of this.
>=20
> ekey  ok 1
> .s <1> 268435483  ok 1
> ekey>fkey  ok 2
> . 0  ok 1
> . 268435483  ok
>    ok
> k-f3 k-shift-mask or  ok 1
> . 2415919117  ok
>=20
> This is on 0.7.9_20260109. This worked fine in 0.7.3.

Interesting. Here on my terminal (konsole), 0.7.3 doesn't work at all with=
=20
Shift+F3, which is why we changed the code.

Try this code and press shift+f3:

[begin] key h. key? 0=3D [until]

konsole: $1B $4F $32 $52
Linux console (text-based): $1B $5B $32 $38 $7E
xterm/uxterm: $1B $5B $31 $3B $32 $52 (fails to be recognized by Gforth-
current, recognized by 0.7.3)
gnome-terminal: $1B $5B $31 $3B $32 $52 (same as xterm)

So indeed, we need to add the patterns that used to work on 0.7.3.

=2D-=20
Bernd Paysan
"If you want it done right, you have to do it yourself"
net2o id: kQusJzA;7*?t=3Duy@X}1GWr!+0qqp_Cn176t4(dQ*
https://net2o.de/

--nextPart3313812.lGaqSPkdTl
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part.
Content-Transfer-Encoding: 7Bit

-----BEGIN PGP SIGNATURE-----

iQJPBAABCAA5FiEERJ1NDqPQRwYnwBjr9y2Uk5MtoGcFAmns8qAbFIAAAAAABAAO
bWFudTIsMi41KzEuMTIsMiwyAAoJEPctlJOTLaBnXBIP/j1sPhcoEeyF2JvhrkHH
RyQgR0B1wH5NLfPOSKKhrkc3qvMjpWEoBe5eSF0OpDXhgWOLcg1Zckh7NIEW+d1N
ehlkyzakgf/VMt+8ZXBxStzQF7Ec6tMawYFOJ/ZZT9+qb2KveqK8xSPcL1rA2Gzm
EaLA/jz3hirdxHc2pe93cQROyBczUUMdorDjjlVdBvl9SBzNmJspzPWUlRxyxvWx
bjlbp8NW6HcOVsAM+9Fp9t0ZhNKNtL92gW/7p0q73se2tbf5kA54UtypN1WvVL8y
UJ6tgxcQQTrst+xvO0HBSiHt85flNjXQ+qiI+NDLBGbB8u/rPeql99aLucaAXWEX
okQ1yGxoTHmJRlI2pS9QUJwrjYQ7H6ycODSAkQOh4D7SlLe1bGd41UPnte9aO25d
AymjSf5B+0S2Su7wwTCetsWvplWYtHpykPJ4v29FtU6ZAFsKtWNB04vgpqKYNa05
6v2fKTSF4yzdbl5K6ipHwK2h3dFCF7DFPlwp8PfD5OFuLEF99lfJDTPW51i267Yn
D/Fue/T/f6GKf3ENoWfy7xEsFi4gaSMs2iKd6p/rHocZgDLN/aNRwbeAXe4nkQLz
Mhrcb7Vtb7FFLkdAa8wwAlxJI/nGqN/GyTdSeT5jQ6zQdwe92kYONxcuPGSHBaHF
h5o4K/a7T/ofAnmuqVks0udl
=oKBp
-----END PGP SIGNATURE-----

--nextPart3313812.lGaqSPkdTl--