WRAPMGT(6)

πŸ“¦ version 2.31, in debian bookworm, ubuntu jammy, ubuntu noble

πŸ’– WRAPMGT β€” the Games Manual glow-up πŸ’–

ok so bestie, we're in section 6 of the Games Manual today, and the star of the show is wrapmgt. she wraps long lines in Smart-Go files so they're safe to post or email. no more cursed broken formatting in the group chat, we love to see it πŸŽ€


✨ NAME ✨

wrapmgt β€” wraps long lines in Smart-Go files to make them safe to post or email πŸ’…


✨ SYNOPSIS ✨

wrapmgt [nn]

✨ DESCRIPTION ✨

okay so here's the tea β˜• wrapmgt formats Smart-Go files β€” the ones as generated by mgt β€” so that the lines end up shorter than nn, which is the number you hand it on the command line. iconic behaviour fr fr.

the default format width is 79 characters. yes, 79, not 80, she's specific like that ✨

wrapmgt reads its input from stdin and writes to stdout. which means β€” and this is the part that lowkey trips people up β€” you should invoke it using I/O redirection, which is done under unix and DOS like this:

wrapmgt < infile > outfile

the files get formatted in such a way that if you view them in mgt after being formatted, they will look the same as the original πŸ‘‘ like nothing ever happened. the new line breaks will be visible from within the editor, however. so the vibe is preserved, the line breaks are just... there. iykyk 🌸

ngl, the whole point is: your file stays pretty in mgt, and the raw lines stay short enough to survive being posted or emailed. both things at once. she's doing both. periodt πŸ’–

✨ AUTHOR ✨

Adrian Mariano (adrian@bsdserver.ucsf.edu) β€” the original icon, we thank her for her service 🫢


and that's the whole page bestie!! this one's from the Games Manual, dated 23 November 1992 πŸ¦‹ a true vintage moment. wrap responsibly, keep your lines under nn, and go slay πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from