Take a screenshot in Plan9

note, May 10, 2023, on Mitja Felicijan's blog

Take a screenshot in Plan9. This applies to Plan9 and 9front. This will take a screenshot of the screen and output it to /dev/screen. You can then use topng to convert it to a png image.

# Instant screenshot.
cat /dev/screen | topng > screen.png

# Delayed screenshot (5 seconds).
sleep 5; cat /dev/screen | topng > screen.png

Other notes

DateTitle
Write ISO to USB Key
Push to multiple origins at once in Git
Run 9front in Qemuplan9
Online radio streaming with MPV from terminal
Cache busting in Hugo
AWS EB PyYAML fix
Currated list of Vim ALE linters
Alacritty open links with modifier
Drawing Pixels in Plan9plan9
Mount Plan9 over networkplan9
Personal sane Vim defaultsvim
Take a screenshot in Plan9plan9
Previews how man page written in Troff will look like
Bulk thumbnails
Sending signals to C programsc