btw it turns out that the correct $TERM for the Mac OS Terminal app is not xterm...

@atax1a@infosec.exchange

btw it turns out that the correct $TERM for the Mac OS Terminal app is not xterm-256color but nsterm-256color