DISPLAYS(5)
๐ DISPLAYS(5) โ bestie edition ๐
okay so this is the manual page for displays, aka the Display Configuration File, from the File Formats Manual. sit down, grab a boba, we're gonna vibe through it ๐งโจ
๐ธ NAME ๐ธ
displays โ the Display Configuration File, fr fr. it's giving "matchmaker for your terminals" ๐
๐ฆ DESCRIPTION ๐ฆ
so like. the interactive graphics programs Caesar, Magic, and Gremlin are lowkey extra and use two separate terminals at once:
- a text terminal where you type commands ๐
- a color graphics terminal where the pretty pictures show up ๐
and to make these two besties find each other, the programs use a displays file to associate each text terminal with its corresponding display device. no cap. ๐ซถ
the displays file is an ASCII text file with one line for each text terminal/graphics terminal pair. every single line has 4 items separated by spaces:
- the name of the port attached to a text terminal
- the name of the port attached to the associated graphics terminal
- the phosphor type of the graphics terminal's monitor
- the type of graphics terminal
an applications program may use the phosphor type to select a color map tuned to the monitor's characteristics ๐ โ but heads up, only the std phosphor type is supported at UC Berkeley. that's the only one, periodt.
the graphics terminal type specifies the device driver a program should use when communicating with its graphics terminal. Magic supports types UCB512, AED1024, and SUN120. other programs may recognize different display types โ so like, check the manual entry for your specific application for more info, iykyk ๐
a sample displays file is:
/dev/ttyi1 /dev/ttyi0 std UCB512
/dev/ttyj0 /dev/ttyj1 std UCB512
/dev/ttyjf /dev/ttyhf std UCB512
/dev/ttyhb /dev/ttyhc std UCB512
/dev/ttyhc /dev/ttyhb std UCB512 ยฎ.in -0.5i
so in this example: /dev/ttyi1 connects to a text terminal, and an associated UCB512 graphics terminal with standard phosphor is connected to /dev/ttyi0. iconic. they found each other. ๐ญ๐
๐ FILES ๐
Magicuses the displays file~cad/lib/displays๐พGremlinlooks in/usr/local/displays๐
โจ SEE ALSO โจ
magic(1)โ go read that one too bestie, it's the whole point ๐
and that's the whole page!! this one came from the 3rd Berkeley Distribution, dated 2/19/85 (yes, 1985, we're reading vintage lore ๐), and it lives at DISPLAYS(5). mwah, love u, go configure ur terminals responsibly ๐๐ฆโจ
๐ฆ where this page comes from
- debian bookworm: magic 8.3.105+ds.1-1.1 ยท BSD-style
- fedora 43: magic 8.3.552-1.fc43 ยท HPND-UC-export-US AND TCL AND HPND
- fedora 43: magic 8.3.651-1.fc43 ยท HPND-UC-export-US AND TCL AND HPND
- fedora 44: magic 8.3.623-1.fc44 ยท HPND-UC-export-US AND TCL AND HPND
- fedora 44: magic 8.3.684-1.fc44
- fedora 44: magic 8.3.685-1.fc44 ยท HPND-UC-export-US AND TCL AND HPND
- nixos 26.05: magic-vlsi 8.3.629
- nixpkgs unstable: magic-vlsi 8.3.689
- ubuntu jammy: magic 8.3.105+ds.1-1.1 ยท BSD-style
- ubuntu noble: magic 8.3.105+ds.1-1.1 ยท BSD-style
- ubuntu resolute: magic 8.3.105+ds.1-1.1 ยท BSD-style
- ubuntu stonking: magic 8.3.105+ds.1-1.1 ยท BSD-style
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms