X11::P...ANDARD(3pm)
π X11::Protocol::Ext::MIT_SUNDRY_NONSTANDARD π
okay bestie, gather round, because we're talking about X11::Protocol::Ext::MIT_SUNDRY_NONSTANDARD β it's a Perl module, it lives in the User Contributed Perl Documentation corner of your 3pm pages, and it's literally the X11R2/R3 compatibility mode plug-in. vintage. iconic. slightly cursed. let's go π«Ά
β¨ NAME β¨
X11::Protocol::Ext::MIT_SUNDRY_NONSTANDARD β X11R2/R3 compatibility mode π°οΈ
πΈ SYNOPSIS πΈ
use X11::Protocol;
my $X = X11::Protocol->new;
$X->init_extension('MIT-SUNDRY-NONSTANDARD')
or print "MIT-SUNDRY-NONSTANDARD extension not available";
that's it, that's the whole vibe. load it up, init it, and if it doesn't init, print the sad little message. π
π¦ DESCRIPTION π¦
so the MIT-SUNDRY-NONSTANDARD extension flips a "bug mode" setting in the server. and no, bestie, that's not a typo β it genuinely is called bug mode, and it's there to help out some ancient X11R2 and X11R3 client programs, including the xterm from those releases. like, the vintage vintage ones. π
and what does bug mode actually mean, you ask? let me break it down:
- it relaxes event mask checking in grab pointer and button requests, and in window do-not-propagate attributes β basically so it ignores mask bits that aren't applicable to the situation π
- it does something for non-overlapping sibling window stacking order π
- and it keeps the maximum keycode below 255, which dodges an Xt toolkit segfault π
ngl, unless you're out here working with old client programs, these things are unlikely to be of interest to you. like, at all. it's giving museum piece.
π₯ REQUESTS π₯
these get made available to you with an init_extension() call, per EXTENSIONS in X11::Protocol β¨
my $bool = $X->init_extension('MIT-SUNDRY-NONSTANDARD');
$X->MitSundryNonstandardSetBugMode ($flag)$flag = $X->MitSundryNonstandardGetBugMode ()
get or set the bug mode flag, bestie. 1 means compatibility mode is on, 0 means off. that's the whole toggle. no cap. π
π SEE ALSO π
X11::Protocolβ the main character, obviously πxset(1)β itsbcoption controls the bug flag from the command line π₯οΈXserver(1)β itsbccommand-line option sets the flag at server startup π
π HOME PAGE π
<http://user42.tuxfamily.org/x11-protocol-other/index.html>
go peek, it's cute π§
π LICENSE π
Copyright 2011, 2012, 2013, 2014, 2017 Kevin Ryde
X11-Protocol-Other is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version.
X11-Protocol-Other is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. (yes bestie, that's the legal all-caps moment, we respect it π«‘)
You should have received a copy of the GNU General Public License along with X11-Protocol-Other. If not, see <http://www.gnu.org/licenses/>.
and that's the whole page, babes π this was perl v5.28.1, dated 2019-08-26, and it's out β mwah, slay, stay compatible β¨π
π¦ where this page comes from
- debian bookworm: libx11-protocol-other-perl 31-1 Β· GPL-3.0-or-later
- debian trixie: libx11-protocol-other-perl 31-1 Β· GPL-3.0-or-later
- ubuntu jammy: libx11-protocol-other-perl 31-1 Β· GPL-3.0-or-later
- ubuntu noble: libx11-protocol-other-perl 31-1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms