I don't know of an existing port, but here's something that could do the job. The paid service is more reliable, but the free one running on one's own system might be sufficient. I gather it knows many of the email gateways and has some way of determining for most numbers which to use. It won't work with every carrier on the planet, but it might be good enough for certain purposes.
https://github.com/typpo/textbelt/blob/master/README.md > On Dec 17, 2018, at 22:40, Ryan Schmidt <ryandes...@macports.org> wrote: > > > > On Dec 13, 2018, at 10:55, dan d. wrote: >> >> Is there a port which allows texting from terminal? >> >> Alternatively, is there one to know the carrier of a cell number? > > Not that I'm aware of. > >