X11::P...ANDARD(3pm)

πŸ“¦
version 31 Β· 7 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble

πŸ’– 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) β€” its bc option controls the bug flag from the command line πŸ–₯️
  • Xserver(1) β€” its bc command-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