Keybinding for CTRL+Z
I am running a serial terminal written in Python. I am communicating with a GSM modem and am sending AT commands over the serial port. In one particular kind of an AT command, I need to terminate a string by pressing CTRL+Z. However, this is sending the process to the background in the terminal. How do I send CTRL+z?
Also, while writing code, what is the character code for ctrl+z?