[Solved] how can I change an arbitrary portion of my document to monospaced/typewriter font in xetex?

Jacob Wegelin Asks: how can I change an arbitrary portion of my document to monospaced/typewriter font in xetex?
I want to put arbitrary portions of my text into a font that looks like it came out of a 1960s manual typewriter. In particular, each character must occupy a column, identical in width to all other columns. By “arbitrary” I mean a portion that could contain paragraph breaks, not just single paragraphs as with texttt{something}.

This leads to several questions.

  1. What is the default font used by xelatex for textttt{something}?
  2. How can I use that same font for subsets of my text that include paragraph breaks?
  3. In the code below, texttt{iiiiiii} and texttt{mmmmmmm} give identical widths as desired. But the default, supposed “monospace font” of these letters gives emphatically different widths. Why in the world is the default “monospace font” in xetex not monospace?
  4. Why does the code below throw the following warning?

LaTeX Font Warning: Font shape `TU/monofont/m/n' undefined
(Font)              using `TU/lmr/m/n' instead on input line 15.

[1] (./b.aux)

LaTeX Font Warning: Some font shapes were not available, defaults substituted.

Here is my MWE:

setmainfont{Times New Roman}
hello world


This is a separate multi-paragraph block ...

iiiiiii : 7 characters
mmmmmmm : 7 characters

... inside curly brackets. I want it to 
look like it came out of
a 1960s manual typewriter.}

Now this should be back in main font.

My TeX installation is as follows:

This is XeTeX, Version 3.14159265-2.6-0.999991 (TeX Live 2019) (preloaded format=xelatex 2019.5.8)

What do I need to change?

Ten-tools.com may not be responsible for the answers or solutions given to any question asked by the users. All Answers or responses are user generated answers and we do not have proof of its validity or correctness. Please vote for the answer that helped you in order to help others find out which is the most helpful answer. Questions labeled as solved may be solved or may not be solved depending on the type of question and the date posted for some posts may be scheduled to be deleted periodically. Do not hesitate to share your response here to help other visitors like you. Thank you, Ten-tools.