It’s a classic Lazy Reading this week – some deep dives, some history, some stuff that will take a while to explore. Enjoy!
- CGSociety, computer rendering showplace. Makes me think of the old Bud Plant Catalog. (via)
- Underrated websites. You may come back to this. (via)
- The recent ACM/IEEE Super Computing conference reassembled a Cray 1, serial number 1.
- Right to Repair takes a step forward. (via)
- The Twenty-Five-Year Journey of Magic: The Gathering. (via, via)
- Tiling Window Managers, a video. (via)
- What’s hiding in your PDF? A PDF used to just be encapsulated PostScript, really. It’s been stretched much, much farther. (also via)
- Sourdough culture components worldwide, mapped. (via)
- peek-for-tmux – the most smallest useful tmux trick you’ll use. Peek into a text file at the command line, but keep the prompt accessible. (via)
- eDEX-UI, futuristic interface. (via)
- Lessons on exec from 4:40PM on a Friday.
- Lisp Machine Inc. K-machine. Sort of an alien architecture to me at this point, years later. (via)
- The story of the ZX81, in tweets. (via I lost it, sorry)
- The special effects for the computer display in “Escape From New York”. (via)
- Why Chips Die. Proportionally related to user need, of course. (via)
I’m actually surprised this wasn’t already there: Aaron Li added terminfo entries for tmux and tmux-256color into DragonFly’s terminfo(5) file. I’ve been using tmux without issue for some time on DragonFly… but I may not be exercising it as hard as I could.
Still lots of BSD stuff happening.
For better or worse, there’s different browser options out there, especially for non-mainstream platforms. You know what I mean. DragonFly developer tuxillo has put together a helpful page listing options and how to get them to build.
For future edification: If you have HAMMER2 installed, the bulkfree operation will create console/dmesg activity even when nothing is wrong, to show operations are happening.
If you happen to be using DragonFly from a network location that only allows http/https as outbound traffic, you won’t be able to update /usr/src using defaults. /usr/Makefile pulls DragonFly source using a git:// URL.
The fix is to use the read-only Github mirror. You can set origin manually or just change GITHOST in /usr/Makefile (or GITURL_SRC if you are on DragonFly-master) to “https://github.com/DragonFlyBSD/DragonFlyBSD”.
(Guess what I did today? Updated to note it’s different on -master. Thanks tuxillo for reminding me of this whole thing.)
DragonFly has an automated installer, called PFI, for “pre-flight installer”. It’s not well-known, and there isn’t a man page to link to for it that I can find. Because of that, I jump at any chance I can get to link documentation or example configs.
I like to repeat this from time to time: loading the appropriate sound driver on DragonFly consists of loading all the sound kernel modules and seeing which one sticks, in dmesg . Chances are good it’s snd_hda anyway.
This week’s BSDNow has a lot of “You will not regret knowing this” material – ZFS performance measurement, 2FA SSH, and using Netcat in various ways.
A good, oddball week.
Your unrelated comics link of the week: Draculagate, a book funded by Kickstarter. Watch the video.
To add to my ongoing slow fiddle with DragonFly: I’ve noted how to install in Hyper-V, and how to use Cygwin to connect to run X. Here’s another step: if you are using PuTTY/Pageant, as I am, and want to connect, Cygwin/X needs to be told to listen on TCP. Find your /usr/bin/startxwin file in Cygwin and change serverargs to:
And then in PuTTY, under Connection -> Session -> X11, check “Enable X11 forwarding”, set X display location to “:0.0”, and locate your .Xauthority file. It will be in your user’s Cygwin home directory. (tips found here)
plink can be used to create shortcuts – open an xterm directly into your DragonFly VM from your Windows desktop, for instance, with a shortcut that runs ‘plink <sessionname> xterm’.
If you are running a slightly newer version of Windows and aren’t trying to accommodate a ‘legacy’ PuTTY install, using Windows Subsystem for Linux may work better; I have not yet tried.
For the future edification of others: I mentioned I installed DragonFly under Hyper-V on a Windows 10 laptop. I wanted to be able to open a terminal on DragonFly while in my Windows environment. I have that now; here’s what I did:
- Installed DragonFly in Hyper-V (see my prior install notes)
- Installed xorg on DragonFly. (pkg install xorg)
- Installed Cygwin/X on Windows 10 – specifically, the xauth, xorg, xterm, xclock, cygutils-x11, and openssh packages.
- In DragonFly, set these items in /etc/ssh/sshd_config :
- X11Forwarding Yes
- X11DisplayOffset 0
- XAuthLocation /usr/local/bin/xauth
- Run XWin Server on Windows 10.
- Run CygWin64 Terminal on Windows 10
- export DISPLAY=:0.0
- ssh -Y (address of DragonFly host)
- Once logged in, type ‘xterm’.
At this point, a terminal window should pop up on your Windows machine, showing your DragonFly username@hostname as the prompt. You are set!
Next steps – getting this working with PuTTY, Pageant, and Plink.
BSDNow 265 has a con report – the just-finished EuroBSDCon 2018 in Romania, plus the usual roundup of news items. One news item that will be useful someday: how to perform a BIOS update on a non-Windows computer.
I tried Hyper-V, and of course, I had to install a virtual DragonFly system. Sascha Wildner very helpfully pointed out that DragonFly on Hyper-V requires a legacy network adapter and a gen-1 image type; both changes you can make during initial setup. I’m noting it here for the benefit of future people walking down the same path.
Note: pick ‘legacy BIOS’ during the actual DragonFly install, too.
DragonFly’s root account defaults to tcsh, and that now defaults to autorehash being set on. Useful to remember if you reflexively type ‘rehash’ like I do, and also useful if you come from a shell where ‘rehash’ isn’t needed.
I’ve been linking to other parts of this, but now it’s on one page: “Zenripper“, talking about how to overclock/underclock a Threadripper system on DragonFly.
It turns out Threadripper (well, a Ryzen CPU) delivers good performance at relatively low power usage. As I sit in a room made too warm by a single desktop machine running, this lower wattage sounds pretty good to me.
tuning(7) had some updates from Matthew Dillon. It’s minor, as he says, but it’s such a useful man page I want to make sure people are reading it.
If you haven’t done it before, you can use ‘make rescue’ to build a tiny base system on DragonFly, for use when /usr goes missing, for when your disk is encrypted, and other rather catastrophic problems. It should be in sync with the rest of the system, which is why ‘make rescue’ can be part of a buildworld process. I’m mentioning this because currently, ‘make upgrade’ should be done first.
Sascha Wildner has brought in the NetBSD version of mtree(8), as groundwork for some other changes. There’s little user effect at this point, but it’s worth being familiar with mtree as a tool. Take a look at the man page, especially the section on trojan horse detection under EXAMPLES.