If I understand you correctly, most importantly, you would like <tab> to work as <escape> in various "evil states". With emacs, the way I see it, you are offered with more freedom than merely "switching" these two key strokes.
To rebind <tab> for common evil states, you can first checkout with C-h k <escape> while ...
Emacs supports binding the Mac modifier keys to different internal keys depending on what kind of key event they’re used to trigger:
The value of each variable is either a symbol, describing the key for any purpose, or a list of the form (:ordinary symbol :function symbol :mouse symbol), which describes the modifier when used with ordinary keys, function ...
If those keys were defined in Emacs' global keymap then you would be unsetting them correctly, but the end result would be the same -- Emacs is receiving events it interprets as (say) M-+ and it would tell you that nothing is bound to that key.
I.e. you're trying to unbind keys which aren't bound to start with, so the result doesn't change.
It's your OS ...
C-h f start-process
start-process is a compiled Lisp function in `subr.el'.
(start-process NAME BUFFER PROGRAM &rest PROGRAM-ARGS)
Probably introduced at or before Emacs version 17.
Start a program in a subprocess. Return the process object for it.
NAME is name for process. It is modified if necessary to make it unique.
BUFFER is the buffer (or ...
The input of an application running in a terminal consists of characters, not keys. So Minicom doesn't directly see a key F12. What it sees is an escape sequence (which is a string starting with the escape character ?\e), which it knows represents F12. See How do keyboard input and text output work? for more information.
Therefore you need to instruct Emacs ...
I had similar issue with macOS Catalina (10.15.7) & Emacs from https://emacsformacosx.com/
ESC <left> was backward-word
ESC <right> was org-metaright while I wanted it to be forward-word.
I was able to fix this with the following (inspired by How to override a keybinding in Emacs org-mode):
I suspect this may not be an Emacs issue. I'd check in the keyboard control panel on both the Mac and the 'Doze box: what is the delay before sending repeat keystrokes? Try increasing it, particularly on the Mac side.