diff options
-rw-r--r-- | pexpect/pty_spawn.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pexpect/pty_spawn.py b/pexpect/pty_spawn.py index 16ce4b2..5fbe204 100644 --- a/pexpect/pty_spawn.py +++ b/pexpect/pty_spawn.py @@ -476,11 +476,11 @@ class spawn(SpawnBase): On such a system, only 256 bytes may be received per line. Any subsequent bytes received will be discarded. BEL (``'\a'``) is then sent to output if IMAXBEL (termios.h) is set by the tty driver. - This is usually enabled by default. Linux does not implement honor - this as an option -- it behaves as though it is always set on. + This is usually enabled by default. Linux does not honor this as + an option -- it behaves as though it is always set on. Canonical input processing may be disabled all together by executing - a shell, then executing stty(1) before executing the final program:: + a shell, then stty(1), before executing the final program:: >>> bash = pexpect.spawn('/bin/bash', echo=False) >>> bash.sendline('stty -icanon') |