I have been working on a project and have gotten it to the point where I need to be able to send hot key macros to the terminal in order to invoke or stop a process. I have been using python up until now but I don't want to have to install additional modules as most of them are third party and don't come with the python standard library. I know in bash scripts there are ways that you could issue commands such as ls/cd/pwd, but I was wondering if there would be a way of issuing a command like "shift" + O, or "ctl" + C for example. It was also be of tremendous help to know if there were any similar functionalities in windows.
Please note that this question is not asking for help with Python but asking for help with creating a bash script that would include macros if possible.
Thanks so much,