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
Aerial photography of algae spotted on river Sava
Push to multiple origins at once in Git
Cache busting in Hugo
Change Alt key to Win key under Xfce4
Simple presentations with Markdown
Sending signals to C programsc
Male and female body proportion reference images3d
Extend Lua with custom C functions using Clangc
Calling assembly functions from Cc
#cat-v on weechat configuration
Lua performance in different environments
Sane default for Dungeon Crawl Stone Soup Online editiondcss
Alacritty open links with modifier
Embedding resources into binary with Cc
10/GUI 10 Finger Multitouch User Interface