RSPORTS(5)

πŸ’– RSPORTS(5) πŸ’–

okay bestie, so this is rsports(5), straight out of the Linux Programmer's Manual β€” yes the manual, section 5, the file-formats girlies. pull up a chair, grab a boba, we're doing config files today πŸ§‹βœ¨


🌸 NAME 🌸

rsports β€” the Rose port configuration file. that's it, that's the whole thing. she's a config file, she's iconic, she holds port lore πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

so like. rsports is an ASCII file (plain text, no drama, no weird binary nonsense) and it holds all the info about every single Rose port you're gonna be using. all of them. the whole roster πŸ‘‘

here's the tea: when you run a Rose utility β€” think call and friends β€” it takes an optional argument that's the port name. and that port name? it's literally a pointer. a reference. it says "hey, go find the line inside rsports that has this exact same name." matching names, matching energies, it's giving soulmates fr fr 🫢

and the info on that line? it's enough to bind the command to a particular Rose interface. how does the binding happen, you ask? not me about to explain β€” by matching the address on the line in rsports with the address of the port set by ifconfig or rsattach. so those two addresses gotta line up. no match, no bind, no cap 😀

πŸ’¬ comments, bestie πŸ’¬

the rsports file can have comments! and a comment starts with a # β€” but only in the first column. first column only. don't be putting your # in the middle of nowhere and expecting it to work, she's picky like that πŸ™ˆ

other than comments, you get port descriptions, and the format is this, with every field separated by white space:

name address description

πŸŽ€ the fields, explained πŸŽ€

  • name β€” this is the unique Rose port identifier. unique, okay?? she does not share her name with anyone else, that's the whole point πŸ’–
  • address β€” the address of the Rose interface you're binding to. this is the one that has to match up with what ifconfig or rsattach set. the moment of truth ✨
  • description β€” a free format description of this interface. and the way that this field just extends all the way to the end of the line?? obsessed. it may contain spaces. go off, write a whole paragraph, she doesn't care 🌈
fr fr reminder: name and address are white-space-delimited, but description eats the rest of the line. so don't be surprised when your third field swallows everything after it 🫠

πŸ“ FILES πŸ“

  • /etc/ax25/rsports

that's where she lives. that's her address (ironic, given the whole file is about addresses, iykyk) πŸ πŸ’œ


πŸ‘€ SEE ALSO πŸ‘€

go read those too, they're all part of the same friend group 🫢


and that's the whole vibe check, bestie πŸ’€βœ¨ this page is from the Linux manual, dated 27 August 1996 (yes, 1996, she's a vintage queen and she ATE), and you just read RSPORTS(5). go configure your ports, you absolute main character πŸ‘‘πŸ’–πŸŽ€πŸ¦‹πŸŒΈ