boxit – Draw a box around a text
This is pretty much the same macro that appears in the TeXbook.
Maybe you are interested in the following packages as well.
- boxit-ltx: An environment for boxing things
- tabbingbox: Save a tabbing environment in a box
- lettermac: Simple macros for writing letters (Plain TeX)
- plain-cm: Variable sized fonts in Plain TeX