If it runs on DOS and is open source or public domain and someone wants to build an installation package for it, FreeDOS will bundle it. Plus it includes docs, localization for every language, and tons of other stuff that's useful if you have the space, but on an XT you don't.
use ted.com https://texteditors.org/cgi-bin/wiki.pl?TED
<3k. and will do all you want.
That is a lot of bits for an XT. What is being bundled in to use so much storage space? Asking for a friend.