fakepty Run a command in a fake pty. fakepty provides a pty whose size can be customized by environment variables COLUMNS and LINES. $ fakepty docker run --help $ COLUMNS=200 fakepty docker run --help