Created
January 7, 2018 15:36
-
-
Save tankmek/e24c7079d1baef8b17fe16d4488f9dd4 to your computer and use it in GitHub Desktop.
allows you to use history and tab completion.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
python -c 'import pty; pty.spawn("/bin/bash")' | |
CTRL-Z | |
$ stty -a (grab rows/columns) | |
$ fg | |
$ stty raw -echo | |
$ reset | |
$ export SHELL=bash | |
$ export TERM=xterm-256color | |
$ stty rows 94 columns 189 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment