python -c 'import pty; pty.spawn("/bin/bash")' # spawn a proper bash
^Z # background from the reverse shell
stty raw -echo # update local tty line settings  
fg # bring back the reverse shell
		reset # make the revshell respect the local tty line settings/reinitialize the revshell
		# or `export TERM=xterm`