From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 9568 invoked from network); 25 Jan 2023 01:48:22 -0000 Received: from minnie.tuhs.org (50.116.15.146) by inbox.vuxu.org with ESMTPUTF8; 25 Jan 2023 01:48:22 -0000 Received: from minnie.tuhs.org (localhost [IPv6:::1]) by minnie.tuhs.org (Postfix) with ESMTP id 6D402423DC; Wed, 25 Jan 2023 11:48:01 +1000 (AEST) Received: from mail-il1-f177.google.com (mail-il1-f177.google.com [209.85.166.177]) by minnie.tuhs.org (Postfix) with ESMTPS id 14F27423D8 for ; Wed, 25 Jan 2023 11:47:57 +1000 (AEST) Received: by mail-il1-f177.google.com with SMTP id i17so8243009ila.9 for ; Tue, 24 Jan 2023 17:47:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-language:to:subject:from:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=WUxbO++CLvxAaO3ntVAB9H7Krc51sbCKPt2k/sxipN8=; b=exLOmcGcdiL5oOXym2xvOu8mh6qrvdO/zTvVQrUZ6JZcmXE02vHVfhtT3T0Fgevh5a lSqd3OejNUigcuno3y9to9AgTdOiB5U0zUXUNa1qbzfgMcmiM+voA9z4+lAlwepX6rSz R6BWCZiheDqHxmXt8SansDSfQ7rsYPqUIW7Z4+uQa5kcFDQEEBWE+Ujm6bBq3MYG3Bm9 1pzrJeDSvn3TZitXFUVhzY9ka+2Z4+/spj8ndHtSMfCVN3vpmLm7Zn7Yn1tqz2bJLIAC m5YTFjuPxAhHU/hYiNyM1iFwjmhKSWmHJPmC5r/UVKqu3l0dZ0l5sIXZtrd2ycsxVPWc V5XQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-language:to:subject:from:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=WUxbO++CLvxAaO3ntVAB9H7Krc51sbCKPt2k/sxipN8=; b=v55JBV3aUCqNbxdJClm+E7oqU8pDk4ZXGDP+6sJ86gUyg2u3FUbGE6Kig/X7pnR3lK KR+LyY5fU8AYe5UtYYP9xgl30OCBhAOj7YOIbXFEv12ZRQLoX/oKG0Ox7Qz2JpF65k2Q hTLNhYOgOXFDh4zjnDCIY5e9mDgzXtJo7WN0Nw2hw3MDC4DgFVpkWnVti2i7pvKsYd1F CuLGXlXgeOVqGinU83s1vpJEKxZ4X8HZ+ak1Ksd2F+aW+CCHkZll6VkwyPYW0dbL5Qv+ P1Au2l2IBb3alxCiaV5c2nIBHhbIxgqysRP7U6m2VFN5tNSfOs0lzQ5vgp1m+dlqGc6u gzSQ== X-Gm-Message-State: AO0yUKXXJDZv7/X2UEblRL884Ss8X/bYsq75TFxXCJ7L/ktlsbOQJAm5 sgAs6gpIO2rwaGaU7GatjcGljQvI0tk= X-Google-Smtp-Source: AK7set/ZDsY27aohZ4gb80n77GlbER4kHeZuKHMCLXWJ/FpOm6fBK3i8fxM7JCpLA/4K22U7HMltqg== X-Received: by 2002:a05:6e02:170d:b0:310:a0e0:c8bf with SMTP id u13-20020a056e02170d00b00310a0e0c8bfmr1051195ill.8.1674611215682; Tue, 24 Jan 2023 17:46:55 -0800 (PST) Received: from [10.5.0.2] ([194.156.136.100]) by smtp.gmail.com with ESMTPSA id l14-20020a056e021aae00b00302bb083c2bsm1144851ilv.21.2023.01.24.17.46.54 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 24 Jan 2023 17:46:55 -0800 (PST) Content-Type: multipart/alternative; boundary="------------EwbanrtKuxE0xgMjkRrL22wv" Message-ID: <3e272d72-b77a-d347-b5c3-7ed19482e5af@gmail.com> Date: Tue, 24 Jan 2023 19:46:54 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 From: Will Senn To: TUHS main list Content-Language: en-US Message-ID-Hash: 3TYD6Y57ROXDKSL5BTURCHJRGMEOK2TV X-Message-ID-Hash: 3TYD6Y57ROXDKSL5BTURCHJRGMEOK2TV X-MailFrom: will.senn@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-tuhs.tuhs.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.6b1 Precedence: list Subject: [TUHS] Setting up an X Development Environment for Mac OS List-Id: The Unix Heritage Society mailing list Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: This is a multi-part message in MIME format. --------------EwbanrtKuxE0xgMjkRrL22wv Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit All, If you think unix ends without x, just move along, nothing to see here. Otherwise, I thought I would share the subject of my latest post and a link with those of you interested in such things. Recently, I've been tooling around trying to wrap my head around x windows and wanted to give programming it a shot at the xlib level... on my mac, if possible. So, I bought a copy of Adrian Nye's Xlib Programming Manual for Version 11 R4/R5, aka Volume One of The Definitive Guides to the X Window System, published, get this... 30+ years ago, in 1992 :) and started reading like a madman. As usual, this was an example of great technical writing from the prior millenium, something rarely found today. Anyway, I hunted up the source code examples as published, unpacked them, did a few environmental things to my mac, and built my first xlib application from that source. A few tweaks to my XQuartz configuration and I was running the application in twm on my mac, with a root window. To read about it and see it in all of its glory, check it out here: https://decuser.github.io/operating-systems/mojave/x-windows/2023/01/24/x-windows-dev-on-mac.html The same sort of setup works with Linux, FreeBSD, or my latest environment DragonFly BSD. It's not the environment that I find interesting, but rather the X Window System itself, but this is my way of entering into that world. If you are interested in running X Windows, not as an integrated system on your mac (where x apps run in aqua windows), but with a 'regular' window manager, and you haven't figured out how, this is one way. On the provocateur front - is X part of unix? I mean this in oh so many nuanced ways, so read into it as you will. I would contend, torpedoes be damned, that it is :). Will --------------EwbanrtKuxE0xgMjkRrL22wv Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit All,

If you think unix ends without x, just move along, nothing to see here. Otherwise, I thought I would share the subject of my latest post and a link with those of you interested in such things.

Recently, I've been tooling around trying to wrap my head around x windows and wanted to give programming it a shot at the xlib level... on my mac, if possible. So, I bought a copy of Adrian Nye's Xlib Programming Manual for Version 11 R4/R5, aka Volume One of The Definitive Guides to the X Window System, published, get this... 30+ years ago, in 1992 :) and started reading like a madman. As usual, this was an example of great technical writing from the prior millenium, something rarely found today.

Anyway, I hunted up the source code examples as published, unpacked them, did a few environmental things to my mac, and built my first xlib application from that source. A few tweaks to my XQuartz configuration and I was running the application in twm on my mac, with a root window.

To read about it and see it in all of its glory, check it out here:

https://decuser.github.io/operating-systems/mojave/x-windows/2023/01/24/x-windows-dev-on-mac.html

The same sort of setup works with Linux, FreeBSD, or my latest environment DragonFly BSD. It's not the environment that I find interesting, but rather the X Window System itself, but this is my way of entering into that world. If you are interested in running X Windows, not as an integrated system on your mac (where x apps run in aqua windows), but with a 'regular' window manager, and you haven't figured out how, this is one way.

On the provocateur front - is X part of unix? I mean this in oh so many nuanced ways, so read into it as you will. I would contend, torpedoes be damned, that it is :).

Will
--------------EwbanrtKuxE0xgMjkRrL22wv--