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:

  1. the name of the port attached to a text terminal
  2. the name of the port attached to the associated graphics terminal
  3. the phosphor type of the graphics terminal's monitor
  4. 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 ๐ŸŽ€

  • Magic uses the displays file ~cad/lib/displays ๐Ÿ’พ
  • Gremlin looks 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