Search.setIndex({"alltitles": {"API Overview": [[12, null]], "API documentation": [[2, null]], "Beware of + and * at the end of patterns": [[12, "beware-of-and-at-the-end-of-patterns"]], "Common problems": [[8, null]], "Controlling SSH on Solaris": [[8, "controlling-ssh-on-solaris"]], "Controlling the child process": [[3, "controlling-the-child-process"]], "Core pexpect components": [[3, null]], "Debugging": [[12, "debugging"]], "Examples": [[9, null]], "Exceptions": [[3, "exceptions"], [12, "exceptions"]], "FAQ": [[0, null]], "Find the end of line \u2013 CR/LF conventions": [[12, "find-the-end-of-line-cr-lf-conventions"]], "Handling unicode": [[3, "handling-unicode"]], "Indices and tables": [[10, "indices-and-tables"]], "Installation": [[11, null]], "Pexpect on Windows": [[12, "pexpect-on-windows"]], "Pexpect version 4.9": [[10, null]], "PopenSpawn class": [[4, "popenspawn-class"]], "Requirements": [[11, "requirements"]], "SocketSpawn class": [[7, "socketspawn-class"]], "Special EOF and TIMEOUT patterns": [[12, "special-eof-and-timeout-patterns"]], "Threads": [[8, "threads"]], "Timing issue with send() and sendline()": [[8, "timing-issue-with-send-and-sendline"]], "Truncated output just before child exits": [[8, "truncated-output-just-before-child-exits"]], "Utility functions": [[3, "utility-functions"]], "child does not receive full input, emits BEL": [[8, "child-does-not-receive-full-input-emits-bel"]], "fdpexpect - use pexpect with a file descriptor": [[1, null]], "fdspawn class": [[1, "fdspawn-class"]], "popen_spawn - use pexpect with a piped subprocess": [[4, null]], "pxssh - control an SSH session": [[5, null]], "pxssh class": [[5, "pxssh-class"]], "replwrap - Control read-eval-print-loops": [[6, null]], "run function": [[3, "run-function"]], "socket_pexpect - use pexpect with a socket": [[7, null]], "spawn class": [[3, "spawn-class"]]}, "docnames": ["FAQ", "api/fdpexpect", "api/index", "api/pexpect", "api/popen_spawn", "api/pxssh", "api/replwrap", "api/socket_pexpect", "commonissues", "examples", "index", "install", "overview"], "envversion": {"sphinx": 62, "sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx.ext.intersphinx": 1, "sphinx.ext.viewcode": 1}, "filenames": ["FAQ.rst", "api/fdpexpect.rst", "api/index.rst", "api/pexpect.rst", "api/popen_spawn.rst", "api/pxssh.rst", "api/replwrap.rst", "api/socket_pexpect.rst", "commonissues.rst", "examples.rst", "index.rst", "install.rst", "overview.rst"], "indexentries": {"__init__() (pexpect.fdpexpect.fdspawn method)": [[1, "pexpect.fdpexpect.fdspawn.__init__", false]], "__init__() (pexpect.popen_spawn.popenspawn method)": [[4, "pexpect.popen_spawn.PopenSpawn.__init__", false]], "__init__() (pexpect.pxssh.pxssh method)": [[5, "pexpect.pxssh.pxssh.__init__", false]], "__init__() (pexpect.socket_pexpect.socketspawn method)": [[7, "pexpect.socket_pexpect.SocketSpawn.__init__", false]], "__init__() (pexpect.spawn method)": [[3, "pexpect.spawn.__init__", false]], "bash() (in module pexpect.replwrap)": [[6, "pexpect.replwrap.bash", false]], "child_fd (pexpect.spawn attribute)": [[3, "pexpect.spawn.child_fd", false]], "close() (pexpect.fdpexpect.fdspawn method)": [[1, "pexpect.fdpexpect.fdspawn.close", false]], "close() (pexpect.socket_pexpect.socketspawn method)": [[7, "pexpect.socket_pexpect.SocketSpawn.close", false]], "close() (pexpect.spawn method)": [[3, "pexpect.spawn.close", false]], "compile_pattern_list() (pexpect.spawn method)": [[3, "pexpect.spawn.compile_pattern_list", false]], "eof (class in pexpect)": [[3, "pexpect.EOF", false]], "eof() (pexpect.spawn method)": [[3, "pexpect.spawn.eof", false]], "exceptionpexpect (class in pexpect)": [[3, "pexpect.ExceptionPexpect", false]], "exceptionpxssh (class in pexpect.pxssh)": [[5, "pexpect.pxssh.ExceptionPxssh", false]], "expect() (pexpect.fdpexpect.fdspawn method)": [[1, "pexpect.fdpexpect.fdspawn.expect", false]], "expect() (pexpect.popen_spawn.popenspawn method)": [[4, "pexpect.popen_spawn.PopenSpawn.expect", false]], "expect() (pexpect.socket_pexpect.socketspawn method)": [[7, "pexpect.socket_pexpect.SocketSpawn.expect", false]], "expect() (pexpect.spawn method)": [[3, "pexpect.spawn.expect", false]], "expect_exact() (pexpect.fdpexpect.fdspawn method)": [[1, "pexpect.fdpexpect.fdspawn.expect_exact", false]], "expect_exact() (pexpect.popen_spawn.popenspawn method)": [[4, "pexpect.popen_spawn.PopenSpawn.expect_exact", false]], "expect_exact() (pexpect.socket_pexpect.socketspawn method)": [[7, "pexpect.socket_pexpect.SocketSpawn.expect_exact", false]], "expect_exact() (pexpect.spawn method)": [[3, "pexpect.spawn.expect_exact", false]], "expect_list() (pexpect.fdpexpect.fdspawn method)": [[1, "pexpect.fdpexpect.fdspawn.expect_list", false]], "expect_list() (pexpect.popen_spawn.popenspawn method)": [[4, "pexpect.popen_spawn.PopenSpawn.expect_list", false]], "expect_list() (pexpect.socket_pexpect.socketspawn method)": [[7, "pexpect.socket_pexpect.SocketSpawn.expect_list", false]], "expect_list() (pexpect.spawn method)": [[3, "pexpect.spawn.expect_list", false]], "fdspawn (class in pexpect.fdpexpect)": [[1, "pexpect.fdpexpect.fdspawn", false]], "force_password (pexpect.pxssh.pxssh attribute)": [[5, "pexpect.pxssh.pxssh.force_password", false]], "getecho() (pexpect.spawn method)": [[3, "pexpect.spawn.getecho", false]], "getwinsize() (pexpect.spawn method)": [[3, "pexpect.spawn.getwinsize", false]], "interact() (pexpect.spawn method)": [[3, "pexpect.spawn.interact", false]], "isalive() (pexpect.fdpexpect.fdspawn method)": [[1, "pexpect.fdpexpect.fdspawn.isalive", false]], "isalive() (pexpect.socket_pexpect.socketspawn method)": [[7, "pexpect.socket_pexpect.SocketSpawn.isalive", false]], "isalive() (pexpect.spawn method)": [[3, "pexpect.spawn.isalive", false]], "kill() (pexpect.popen_spawn.popenspawn method)": [[4, "pexpect.popen_spawn.PopenSpawn.kill", false]], "kill() (pexpect.spawn method)": [[3, "pexpect.spawn.kill", false]], "logfile (pexpect.spawn attribute)": [[3, "pexpect.spawn.logfile", false]], "logfile_read (pexpect.spawn attribute)": [[3, "pexpect.spawn.logfile_read", false]], "logfile_send (pexpect.spawn attribute)": [[3, "pexpect.spawn.logfile_send", false]], "login() (pexpect.pxssh.pxssh method)": [[5, "pexpect.pxssh.pxssh.login", false]], "logout() (pexpect.pxssh.pxssh method)": [[5, "pexpect.pxssh.pxssh.logout", false]], "module": [[1, "module-pexpect.fdpexpect", false], [3, "module-pexpect", false], [4, "module-pexpect.popen_spawn", false], [5, "module-pexpect.pxssh", false], [6, "module-pexpect.replwrap", false], [7, "module-pexpect.socket_pexpect", false]], "options (pexpect.pxssh.pxssh attribute)": [[5, "pexpect.pxssh.pxssh.options", false]], "pexpect": [[3, "module-pexpect", false]], "pexpect.fdpexpect": [[1, "module-pexpect.fdpexpect", false]], "pexpect.popen_spawn": [[4, "module-pexpect.popen_spawn", false]], "pexpect.pxssh": [[5, "module-pexpect.pxssh", false]], "pexpect.replwrap": [[6, "module-pexpect.replwrap", false]], "pexpect.socket_pexpect": [[7, "module-pexpect.socket_pexpect", false]], "pexpect_prompt (in module pexpect.replwrap)": [[6, "pexpect.replwrap.PEXPECT_PROMPT", false]], "pid (pexpect.spawn attribute)": [[3, "pexpect.spawn.pid", false]], "popenspawn (class in pexpect.popen_spawn)": [[4, "pexpect.popen_spawn.PopenSpawn", false]], "prompt (pexpect.pxssh.pxssh attribute)": [[5, "pexpect.pxssh.pxssh.PROMPT", false]], "prompt() (pexpect.pxssh.pxssh method)": [[5, "pexpect.pxssh.pxssh.prompt", false]], "pxssh (class in pexpect.pxssh)": [[5, "pexpect.pxssh.pxssh", false]], "python() (in module pexpect.replwrap)": [[6, "pexpect.replwrap.python", false]], "read() (pexpect.spawn method)": [[3, "pexpect.spawn.read", false]], "read_nonblocking() (pexpect.spawn method)": [[3, "pexpect.spawn.read_nonblocking", false]], "readline() (pexpect.spawn method)": [[3, "pexpect.spawn.readline", false]], "replwrapper (class in pexpect.replwrap)": [[6, "pexpect.replwrap.REPLWrapper", false]], "run() (in module pexpect)": [[3, "pexpect.run", false]], "run_command() (pexpect.replwrap.replwrapper method)": [[6, "pexpect.replwrap.REPLWrapper.run_command", false]], "send() (pexpect.popen_spawn.popenspawn method)": [[4, "pexpect.popen_spawn.PopenSpawn.send", false]], "send() (pexpect.spawn method)": [[3, "pexpect.spawn.send", false]], "sendcontrol() (pexpect.spawn method)": [[3, "pexpect.spawn.sendcontrol", false]], "sendeof() (pexpect.popen_spawn.popenspawn method)": [[4, "pexpect.popen_spawn.PopenSpawn.sendeof", false]], "sendeof() (pexpect.spawn method)": [[3, "pexpect.spawn.sendeof", false]], "sendintr() (pexpect.spawn method)": [[3, "pexpect.spawn.sendintr", false]], "sendline() (pexpect.popen_spawn.popenspawn method)": [[4, "pexpect.popen_spawn.PopenSpawn.sendline", false]], "sendline() (pexpect.spawn method)": [[3, "pexpect.spawn.sendline", false]], "set_unique_prompt() (pexpect.pxssh.pxssh method)": [[5, "pexpect.pxssh.pxssh.set_unique_prompt", false]], "setecho() (pexpect.spawn method)": [[3, "pexpect.spawn.setecho", false]], "setwinsize() (pexpect.spawn method)": [[3, "pexpect.spawn.setwinsize", false]], "socketspawn (class in pexpect.socket_pexpect)": [[7, "pexpect.socket_pexpect.SocketSpawn", false]], "spawn (class in pexpect)": [[3, "pexpect.spawn", false]], "split_command_line() (in module pexpect)": [[3, "pexpect.split_command_line", false]], "sync_original_prompt() (pexpect.pxssh.pxssh method)": [[5, "pexpect.pxssh.pxssh.sync_original_prompt", false]], "terminate() (pexpect.spawn method)": [[3, "pexpect.spawn.terminate", false]], "timeout (class in pexpect)": [[3, "pexpect.TIMEOUT", false]], "wait() (pexpect.popen_spawn.popenspawn method)": [[4, "pexpect.popen_spawn.PopenSpawn.wait", false]], "wait() (pexpect.spawn method)": [[3, "pexpect.spawn.wait", false]], "waitnoecho() (pexpect.spawn method)": [[3, "pexpect.spawn.waitnoecho", false]], "which() (in module pexpect)": [[3, "pexpect.which", false]], "write() (pexpect.popen_spawn.popenspawn method)": [[4, "pexpect.popen_spawn.PopenSpawn.write", false]], "write() (pexpect.spawn method)": [[3, "pexpect.spawn.write", false]], "writelines() (pexpect.popen_spawn.popenspawn method)": [[4, "pexpect.popen_spawn.PopenSpawn.writelines", false]], "writelines() (pexpect.spawn method)": [[3, "pexpect.spawn.writelines", false]]}, "objects": {"": [[3, 0, 0, "-", "pexpect"]], "pexpect": [[3, 1, 1, "", "EOF"], [3, 1, 1, "", "ExceptionPexpect"], [3, 1, 1, "", "TIMEOUT"], [1, 0, 0, "-", "fdpexpect"], [4, 0, 0, "-", "popen_spawn"], [5, 0, 0, "-", "pxssh"], [6, 0, 0, "-", "replwrap"], [3, 5, 1, "", "run"], [7, 0, 0, "-", "socket_pexpect"], [3, 1, 1, "", "spawn"], [3, 5, 1, "", "split_command_line"], [3, 5, 1, "", "which"]], "pexpect.fdpexpect": [[1, 1, 1, "", "fdspawn"]], "pexpect.fdpexpect.fdspawn": [[1, 2, 1, "", "__init__"], [1, 2, 1, "", "close"], [1, 2, 1, "", "expect"], [1, 2, 1, "", "expect_exact"], [1, 2, 1, "", "expect_list"], [1, 2, 1, "", "isalive"]], "pexpect.popen_spawn": [[4, 1, 1, "", "PopenSpawn"]], "pexpect.popen_spawn.PopenSpawn": [[4, 2, 1, "", "__init__"], [4, 2, 1, "", "expect"], [4, 2, 1, "", "expect_exact"], [4, 2, 1, "", "expect_list"], [4, 2, 1, "", "kill"], [4, 2, 1, "", "send"], [4, 2, 1, "", "sendeof"], [4, 2, 1, "", "sendline"], [4, 2, 1, "", "wait"], [4, 2, 1, "", "write"], [4, 2, 1, "", "writelines"]], "pexpect.pxssh": [[5, 1, 1, "", "ExceptionPxssh"], [5, 1, 1, "", "pxssh"]], "pexpect.pxssh.pxssh": [[5, 3, 1, "", "PROMPT"], [5, 2, 1, "", "__init__"], [5, 3, 1, "", "force_password"], [5, 2, 1, "", "login"], [5, 2, 1, "", "logout"], [5, 3, 1, "", "options"], [5, 2, 1, "", "prompt"], [5, 2, 1, "", "set_unique_prompt"], [5, 2, 1, "", "sync_original_prompt"]], "pexpect.replwrap": [[6, 4, 1, "", "PEXPECT_PROMPT"], [6, 1, 1, "", "REPLWrapper"], [6, 5, 1, "", "bash"], [6, 5, 1, "", "python"]], "pexpect.replwrap.REPLWrapper": [[6, 2, 1, "", "run_command"]], "pexpect.socket_pexpect": [[7, 1, 1, "", "SocketSpawn"]], "pexpect.socket_pexpect.SocketSpawn": [[7, 2, 1, "", "__init__"], [7, 2, 1, "", "close"], [7, 2, 1, "", "expect"], [7, 2, 1, "", "expect_exact"], [7, 2, 1, "", "expect_list"], [7, 2, 1, "", "isalive"]], "pexpect.spawn": [[3, 2, 1, "", "__init__"], [3, 3, 1, "", "child_fd"], [3, 2, 1, "", "close"], [3, 2, 1, "", "compile_pattern_list"], [3, 2, 1, "", "eof"], [3, 2, 1, "", "expect"], [3, 2, 1, "", "expect_exact"], [3, 2, 1, "", "expect_list"], [3, 2, 1, "", "getecho"], [3, 2, 1, "", "getwinsize"], [3, 2, 1, "", "interact"], [3, 2, 1, "", "isalive"], [3, 2, 1, "", "kill"], [3, 3, 1, "", "logfile"], [3, 3, 1, "", "logfile_read"], [3, 3, 1, "", "logfile_send"], [3, 3, 1, "", "pid"], [3, 2, 1, "", "read"], [3, 2, 1, "", "read_nonblocking"], [3, 2, 1, "", "readline"], [3, 2, 1, "", "send"], [3, 2, 1, "", "sendcontrol"], [3, 2, 1, "", "sendeof"], [3, 2, 1, "", "sendintr"], [3, 2, 1, "", "sendline"], [3, 2, 1, "", "setecho"], [3, 2, 1, "", "setwinsize"], [3, 2, 1, "", "terminate"], [3, 2, 1, "", "wait"], [3, 2, 1, "", "waitnoecho"], [3, 2, 1, "", "write"], [3, 2, 1, "", "writelines"]]}, "objnames": {"0": ["py", "module", "Python module"], "1": ["py", "class", "Python class"], "2": ["py", "method", "Python method"], "3": ["py", "attribute", "Python attribute"], "4": ["py", "data", "Python data"], "5": ["py", "function", "Python function"]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:attribute", "4": "py:data", "5": "py:function"}, "terms": {"": [0, 3, 4, 5, 8, 9, 12], "0": [3, 5, 11, 12], "0a": 12, "0d": 12, "1": [3, 5, 6, 8, 12], "10": [0, 5, 9], "100": [3, 9], "1024": [3, 5], "12": 5, "120": 12, "1234": 3, "1920": 3, "2": [0, 3, 5, 8, 11, 12], "2000": [1, 3, 4, 5, 7], "2012": [1, 3, 5, 7], "20th": [3, 5], "256": 3, "3": [3, 5, 6, 11, 12], "30": [1, 3, 4, 5, 6, 7, 12], "4": [2, 3, 5, 6, 11, 12], "4096": 3, "5": 3, "50": [3, 5], "500": 5, "5000": 3, "7": [3, 6, 11], "8": [3, 5, 8], "90": 0, "99": 3, "A": [0, 3, 6, 9, 12], "AND": [1, 3, 5, 7], "AS": [1, 3, 5, 7], "And": 12, "As": [1, 3, 4, 5, 7, 11], "BE": [1, 3, 5, 7], "But": [8, 12], "By": [3, 8], "FOR": [1, 3, 5, 7], "For": [0, 1, 3, 5, 6, 8, 9, 12], "IN": [1, 3, 5, 7], "If": [0, 1, 3, 5, 6, 8, 12], "In": [0, 3, 5, 8, 9, 12], "It": [0, 3, 5, 8, 9, 10, 12], "NO": [1, 3, 5, 7], "NOT": [0, 3, 5], "Not": 3, "OF": [1, 3, 5, 7, 12], "OR": [1, 3, 5, 7], "Of": [5, 12], "On": [3, 5, 6, 8], "One": [0, 8, 12], "Or": 11, "THAT": [1, 3, 5, 7], "THE": [1, 3, 5, 7], "TO": [1, 3, 5, 7], "That": [0, 3], "The": [0, 2, 3, 4, 5, 6, 8, 9, 10, 12], "Then": [5, 9], "There": [0, 3, 4, 12], "These": [0, 2, 3, 12], "To": [3, 5], "WILL": 3, "WITH": [1, 3, 5, 7], "With": [3, 12], "__init__": [1, 3, 4, 5, 7], "_iofbf": 0, "_iolbf": 0, "_ionbf": 0, "abcd": 3, "abnorm": [3, 5], "about": [0, 3, 5, 12], "abov": [1, 3, 5, 6, 7, 11], "accept": [3, 5], "access": [3, 8], "act": 3, "action": [1, 3, 5, 7, 12], "activ": 5, "actual": [0, 12], "ad": [6, 12], "adam": 8, "add": [3, 4, 5, 8], "addition": 5, "address": [0, 8, 9], "advis": 2, "affect": [3, 8], "after": [0, 3, 5, 6, 12], "again": [3, 5], "agent": 5, "ahead": 12, "alert": 9, "alexand": 3, "aliv": [1, 3, 7], "all": [0, 1, 3, 5, 7, 8, 9, 12], "allow": [0, 1, 3, 5, 8, 10, 12], "almost": 0, "alon": [9, 12], "alreadi": [3, 5, 6], "also": [0, 3, 5, 9, 12], "alter": [0, 5], "altern": [5, 12], "altogeth": 3, "alwai": [3, 12], "ambigu": 12, "amount": [3, 5, 12], "an": [0, 1, 2, 3, 4, 6, 7, 8, 9, 10, 12], "andrew": 3, "ani": [0, 1, 3, 4, 5, 7, 10, 12], "anonym": 12, "anoth": [0, 3, 5], "ansi": [0, 2, 5, 12], "answer": 0, "anyon": 3, "anyth": [0, 3, 5], "apach": 3, "apachectl": 3, "api": [5, 7, 10], "app": [8, 12], "appear": [1, 3, 5, 7, 12], "append": [3, 4], "appl": 8, "appli": [3, 5], "applic": [0, 3, 5, 8, 10, 12], "approv": [1, 3, 5, 7], "ar": [0, 1, 2, 3, 5, 6, 7, 8, 9, 11, 12], "arbitrari": 3, "area": 0, "arg": [1, 3, 7], "argument": [0, 3, 5, 12], "aris": [1, 3, 5, 7], "around": [3, 5], "arrai": 3, "arriv": 3, "ascertain": 0, "ascii": 3, "ask": [0, 3, 5, 8, 12], "assign": 12, "associ": 3, "assum": [1, 5], "assword": 8, "async": 6, "async_": [3, 6], "asyncio": [3, 6], "attack": 9, "attempt": 5, "attribut": [0, 3, 5, 8], "authent": [5, 8], "author": [1, 3, 5, 7], "auto_prompt_reset": 5, "autom": [3, 10, 12], "automat": [3, 4, 5, 8], "avail": [3, 11, 12], "avi": 3, "avoid": 3, "awai": [3, 5], "awar": 3, "b": 0, "back": [3, 5, 8], "backspac": 3, "backward": [3, 9], "bad": 3, "bail": 0, "bar": 3, "base": [0, 1, 3, 7], "base64": [3, 8], "bash": [0, 2, 3, 5, 6], "basic": 5, "baudoux": 3, "becaus": [0, 3, 12], "becom": [0, 3], "been": [0, 2, 3, 6, 8, 12], "befor": [0, 3, 5, 10, 12], "begin": 3, "behav": [3, 12], "behavior": [0, 3, 5], "behaviour": 12, "bel": [3, 10], "bell": 3, "best": [0, 5, 9, 12], "better": [2, 3, 10], "between": [8, 9, 12], "bewar": 10, "big": [0, 8], "bin": [0, 3, 5, 6], "binari": 3, "blindli": 5, "block": [0, 3, 5, 6, 12], "bookmark": 9, "bool": 6, "born": 5, "both": [3, 7, 12], "box": 5, "browser": 9, "bsd": [3, 9], "buffer": [0, 3, 5, 8, 12], "bug": 8, "built": 0, "burchett": 3, "busi": 9, "bye": 12, "bypass": [0, 3, 8], "byte": [3, 4, 5], "c": [0, 1, 3, 5, 7, 10], "calcul": 9, "call": [0, 1, 3, 4, 5, 7, 8, 12], "callback": 3, "caller": 3, "can": [0, 3, 4, 5, 6, 8, 9, 10, 11, 12], "cannot": [0, 5, 8], "canon": [3, 8], "captur": [3, 9], "card": [0, 3, 5], "case": [0, 2, 3, 5, 9, 12], "cat": [3, 8], "catch": 3, "caus": [0, 3, 5], "cd": 12, "certainli": 0, "certif": 5, "cesar": 3, "chad": 3, "chang": [0, 3, 5, 6, 9, 12], "channel": 0, "char": 3, "charact": [0, 3, 5, 12], "chazarain": 3, "check": [1, 3, 9], "check_local_ip": 5, "child": [0, 4, 5, 10, 12], "child_fd": 3, "chosen": 3, "chunk": 3, "ci": 3, "class": [2, 6, 8], "classic": 9, "clear": [0, 3, 5, 12], "clever": [3, 5], "client": [5, 12], "close": [1, 3, 4, 5, 7, 8], "cmd": [4, 5], "cmd_or_spawn": 6, "code": [0, 2, 3, 4, 5, 8, 12], "codec_error": [1, 3, 4, 5, 7], "cohen": 3, "col": 3, "collater": [3, 5], "collect": 9, "column": [3, 5], "com": [3, 5, 8, 12], "combin": [3, 12], "come": [0, 3, 8, 12], "command": [0, 3, 5, 6, 9, 10, 12], "command_lin": 3, "command_output": 3, "commit": 3, "common": [0, 3, 5, 10], "commun": [3, 5], "comparison": 5, "compat": [1, 3, 5, 7], "compil": [3, 10, 12], "compile_pattern_list": 3, "complet": [3, 6, 8], "complex": 5, "complic": 12, "compon": [2, 10], "condit": [3, 12], "config": 5, "configur": 5, "confirm": 5, "confus": [0, 5], "conjunct": [3, 5], "connect": [0, 1, 3, 5, 7, 9, 12], "consequenti": [1, 3, 5, 7], "consid": 5, "consol": 12, "constant": [4, 12], "construct": [3, 5], "constructor": [3, 5], "contain": [3, 12], "content": [5, 10], "context": 3, "continu": [3, 6], "continuation_prompt": 6, "contract": [1, 3, 5, 7], "contrari": 3, "control": [0, 1, 2, 9, 10, 12], "conveni": 6, "convent": 10, "convert": 12, "copi": [1, 3, 5, 7], "copyright": [1, 3, 5, 7], "core": [2, 10], "corei": 3, "coroutin": 3, "correct": 5, "correspond": 0, "cost": [3, 5], "could": [0, 1, 3, 5, 8, 9, 12], "cpl": 3, "cr": [3, 10], "craig": 3, "creat": [3, 5, 9], "credit": 3, "critic": 8, "cron": 9, "cross": [1, 7, 12], "csh": 5, "ctrl": 3, "current": [0, 3, 5], "curs": [0, 3], "custom": 0, "cut": 5, "cwd": [3, 4, 5], "d": [3, 12], "daemon": 3, "dai": 5, "damag": [1, 3, 5, 7], "data": [0, 1, 3, 4, 5, 7, 8, 12], "dave": 3, "deadlock": 0, "deal": 8, "debug": 10, "debug_command_str": 5, "decid": [0, 3, 5], "decod": [3, 5], "def": 3, "default": [3, 5, 6, 8, 12], "defin": 3, "definit": 3, "delai": [3, 5, 8], "delaybeforesend": [3, 5, 8], "delic": 3, "delimit": 12, "demonstr": [8, 9, 12], "deni": [8, 12], "denial": 9, "depend": [0, 3], "deprec": [0, 2], "descript": 9, "descriptor": [0, 2, 3, 7, 10, 12], "design": [10, 12], "desir": [3, 5], "despit": 3, "detail": [3, 5, 8], "detect": [3, 9, 12], "determin": 3, "dev": 5, "develop": [5, 10], "devic": [0, 1, 3, 8, 12], "df": 5, "di": [8, 12], "dialog": 5, "dict": 5, "dictionari": [3, 5], "did": 0, "didn": 0, "differ": [3, 5, 8, 9, 10, 12], "difficult": 0, "digit": 12, "dimens": [3, 5], "direct": [1, 3, 5, 7, 12], "directli": [0, 3, 5, 6], "directori": [8, 9, 12], "disabl": [3, 5, 6, 8], "discard": 3, "disclaim": [1, 3, 5, 7], "discov": 3, "disk": 0, "displai": [0, 3, 5], "distinguish": 12, "distribut": [1, 3, 5, 7, 9], "do": [0, 3, 5, 6, 8, 12], "do_some_other_th": 3, "do_someth": 3, "do_something_completely_differ": 3, "do_something_els": 3, "docstr": [3, 8], "document": 10, "doe": [0, 1, 3, 4, 5, 7, 9, 10, 12], "doesn": 5, "don": [0, 2, 3, 5, 10], "done": [0, 5], "dotal": 12, "doublequot": 3, "down": 9, "download": 12, "dozen": 9, "driver": [3, 12], "drop": 9, "due": 8, "dumb": 12, "duplic": [3, 10], "dure": 5, "dvd": 3, "e": [3, 5], "each": [0, 3, 4, 5, 9, 12], "eas": 3, "easi": [0, 3, 6, 9, 10, 12], "easier": [0, 5], "easili": [5, 9], "easy_instal": 11, "echo": [3, 5, 8], "effici": [0, 3], "eg": 5, "either": [3, 6, 12], "elaps": [3, 5], "element": [3, 4], "elif": [3, 12], "elsewher": [1, 7], "email": 9, "embed": 3, "emit": [0, 10], "empti": [3, 12], "emul": [2, 3, 12], "enabl": [3, 5], "encod": [1, 3, 4, 5, 7], "encount": 3, "end": [3, 4, 10], "enough": [3, 5], "ensur": 3, "enter": [0, 3, 5, 8, 9, 12], "entir": [0, 3], "entri": [3, 5], "env": [3, 4, 5], "environ": 3, "eof": [0, 3, 5, 8, 10], "equival": [0, 3, 5], "eras": 5, "erick": 3, "error": [3, 5, 8], "escap": 3, "escape_charact": 3, "especi": 12, "etc": [3, 5, 10, 12], "etienn": 3, "eval": [2, 10], "even": [0, 3, 5, 8], "event": [0, 1, 3, 5, 7], "event_count": 3, "eventu": 12, "ever": [0, 3, 5], "everi": 3, "everyon": 8, "everyth": [0, 3, 5, 12], "everytim": 0, "everywher": 0, "exact": 8, "exactli": 5, "exampl": [0, 1, 3, 5, 8, 10, 12], "exce": [3, 9], "except": [1, 2, 4, 5, 10], "exceptionpexpect": 3, "exceptionpxssh": [2, 5], "excess": 9, "exec": [0, 5], "execut": [3, 5, 6], "exit": [3, 4, 5, 10], "exitstatu": [3, 5], "expect": [0, 1, 3, 4, 5, 6, 7, 8, 10, 12], "expect_exact": [1, 3, 4, 7], "expect_list": [1, 3, 4, 7], "experienc": [3, 5], "explain": 12, "explicitli": [8, 12], "express": [3, 5, 9, 12], "extend": 5, "extens": [3, 10], "extern": [0, 9], "extra": [5, 6, 12], "extra_arg": 3, "extra_init_cmd": 6, "extrem": 5, "fact": [3, 5], "fail": [0, 5, 12], "fairli": 5, "fals": [1, 3, 5, 6, 7], "famili": [0, 3, 5], "familiar": 5, "faq": 10, "far": 8, "fast": 5, "faster": [3, 12], "fcntl": 3, "fd": [1, 3, 5], "fdpexpect": [2, 7, 10, 12], "fdspawn": [2, 12], "featur": [0, 3, 5], "fee": [1, 3, 5, 7], "feed": 0, "fernando": 3, "few": [5, 8, 9], "fewer": 9, "fflush": 0, "fifo": 1, "file": [0, 2, 3, 5, 7, 9, 10, 12], "filenam": 3, "fileno": [1, 3, 7], "fill": 3, "filter": 3, "final": 3, "find": [3, 5, 9, 10], "fine": 0, "finish": [3, 4, 12], "first": [0, 3, 5, 6], "fit": [1, 3, 5, 7], "fix": 8, "flag": [3, 12], "flavor": 12, "flush": [0, 3, 5, 8], "focus": 3, "follow": [0, 3, 5, 8, 12], "foo": [3, 12], "foobar": 3, "fool": 5, "forc": [0, 3, 5, 12], "force_password": 5, "forev": 3, "forgot": 3, "fork": 0, "form": [0, 3, 5], "format": [6, 9], "found": [0, 3, 5, 6, 8], "fout": [3, 5], "fpathconf": 3, "fragment": 12, "framework": 0, "francisco": 3, "free": [3, 9], "freebsd": 3, "from": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 12], "fsf": [1, 3, 5, 7], "fstat": 1, "ftp": [0, 3, 5, 9, 10, 12], "ftplib": 12, "full": [0, 3, 5, 10], "fulli": 8, "function": [2, 5, 6], "futur": [0, 6], "g": [3, 5], "gattin": 3, "gdm": 5, "gener": [0, 3, 5, 6, 8, 12], "geoffrei": 3, "georg": 3, "get": [0, 3, 5, 6, 8, 9, 12], "getecho": 3, "getpass": 5, "getwins": 3, "gevent": 0, "github": [0, 10], "give": [1, 3, 6, 9, 12], "given": [3, 5, 9, 12], "glen": 3, "global": 3, "go": 0, "goe": 9, "goebel": 3, "good": 3, "gpl": [1, 3, 5, 7], "grahn": 3, "grant": [1, 3, 5, 7], "great": 0, "greedi": 12, "greet": 9, "grep": [0, 3, 5], "group": 9, "guess": 5, "gui": 5, "guillaum": 3, "gurusami": 3, "h": [0, 3], "ha": [0, 3, 5, 6, 8, 12], "had": 8, "hand": 3, "handi": [3, 5, 12], "handl": [5, 8, 9], "handler": [3, 5], "happen": [0, 8, 12], "happi": 8, "hard": 12, "hartmut": 3, "have": [0, 2, 3, 5, 8, 12], "help": [0, 3, 5], "helper": 3, "here": [5, 12], "herebi": [1, 3, 5, 7], "hex": 12, "hhhh": 3, "hidden": 12, "high": 5, "higher": [3, 5], "hit": [3, 9], "hive": 9, "holden": 3, "honor": 3, "hope": [0, 5], "host": [5, 9, 12], "hostnam": 5, "how": [0, 3, 5, 6], "howev": [3, 5, 11], "http": [1, 3, 5, 7], "human": [3, 5, 8, 10, 12], "hushlogin": 5, "i": [0, 1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12], "i386": 9, "icanon": 3, "id": 3, "ident": 12, "ignor": [3, 5, 12], "ignore_sighup": [3, 5], "imaxbel": 3, "immedi": [3, 5, 8], "implement": [0, 3, 9], "impli": [1, 3, 5, 7], "implicitli": 12, "import": [3, 5, 6, 12], "imposs": 3, "includ": [0, 1, 3, 5, 7], "incom": [3, 5], "indefinit": [3, 5, 6, 12], "index": [3, 10, 12], "indic": 12, "indirect": [1, 3, 5, 7], "inet": 9, "inform": [0, 5, 9, 11, 12], "inherit": [3, 5], "inhibit": 5, "initialis": 6, "input": [0, 3, 5, 6, 9, 10, 12], "input_filt": 3, "insert": 6, "insid": 3, "instal": [3, 6, 10], "instanc": [3, 6], "instead": [0, 3, 5, 12], "int": [1, 6], "interact": [0, 3, 5, 6, 8, 9, 10, 12], "intercept": 12, "interchang": 5, "interfac": [3, 4, 10, 12], "intern": [0, 12], "interpret": [0, 3, 5, 9], "introduc": [3, 5], "investig": 0, "io": 0, "ioctl": 3, "ip": [5, 9], "irc": 0, "irrespect": [3, 5], "isal": [1, 3, 7], "isatti": [0, 3], "isc": [1, 3, 5, 7], "isol": 0, "issu": [5, 10], "iter": [3, 4, 5], "its": [0, 3, 5, 8], "itself": [3, 5, 12], "jacqu": 3, "jam": 0, "jan": 3, "job": 5, "john": 3, "jon": 3, "jorgen": 3, "just": [0, 3, 5, 10, 12], "k": 6, "karthik": 3, "kdm": 5, "keep": 3, "kei": [5, 8], "kernel": 0, "kerr": 3, "kerrison": 8, "keyboard": [3, 5, 8], "keystrok": 3, "keyword": [3, 5], "kill": [3, 4, 12], "kimberlei": 3, "kirbi": 3, "know": [3, 12], "known": 0, "kw": 3, "kwarg": 3, "l": [0, 3, 5, 8, 12], "la": 3, "larg": [3, 5], "last": 8, "late": 3, "latenc": 5, "later": [3, 5], "latr": [3, 5], "launch": [3, 5], "lcd": 12, "lead": 5, "learn": [9, 12], "least": [3, 12], "leftmost": 3, "length": 5, "less": 3, "let": [3, 12], "lf": [3, 10], "liabl": [1, 3, 5, 7], "lib": 0, "libe": [3, 10], "librari": [0, 8, 11], "licens": [1, 3, 5, 7], "life": 0, "like": [0, 1, 3, 4, 5, 7, 8, 10, 12], "limit": [3, 8, 12], "line": [0, 3, 4, 8, 9, 10], "linefe": [0, 12], "linesep": [3, 4], "linux": [3, 5, 8], "list": [0, 3, 4, 5, 8, 9, 12], "liter": 3, "littl": [0, 3, 5, 8, 12], "ll": [3, 5], "local": [3, 5, 9], "log": [0, 3, 5, 9, 12], "log_list": 0, "logfil": [1, 3, 4, 5, 7, 12], "logfile_read": [3, 5], "logfile_send": [3, 5], "logic": [3, 5], "login": [5, 8, 9, 12], "login_timeout": 5, "logout": 5, "long": [6, 8], "look": [0, 1, 3, 5, 8, 12], "loop": [2, 3, 10], "loss": [1, 3, 5, 7], "lost": [3, 8], "lot": [5, 12], "lourenco": 3, "love": 0, "low": 5, "m": [0, 3, 5, 8], "mabei": 3, "machin": [3, 5, 9], "maco": 8, "made": [0, 9], "mai": [0, 3, 5, 8, 12], "mail": 0, "main": [2, 3], "maintain": [0, 2], "make": [0, 3, 5, 6, 8, 10, 12], "manag": [3, 5], "mani": [0, 3, 5, 9, 12], "manipul": 0, "manual": 5, "marco": 3, "mark": 0, "marshal": 3, "match": [0, 3, 5, 8, 9, 12], "matchobject": 3, "maximum": [3, 5], "maxread": [1, 3, 4, 5, 7], "me": [0, 3], "mean": [0, 3, 5, 6, 8, 12], "megabyt": 3, "member": [3, 5], "mencod": [3, 12], "merchant": [1, 3, 5, 7], "messag": [0, 5, 9, 12], "meta": [0, 3, 5], "meth": 3, "method": [1, 3, 5, 6, 7, 9, 12], "might": [0, 3, 8, 9, 12], "mimic": 8, "minim": 12, "minut": 12, "minyard": 3, "misbehav": 0, "mislead": 3, "mistak": [0, 3, 5], "mnemon": 3, "mode": [0, 3, 8], "model": 0, "modem": 1, "modifi": [1, 3, 5, 7, 9], "modul": [0, 2, 3, 4, 5, 10, 11, 12], "molen": 3, "molteni": 3, "momentarili": 12, "monitor": 9, "more": [0, 3, 5, 6, 8, 11, 12], "most": [0, 3, 5, 8], "motd": 5, "move": 3, "much": 0, "multipl": [9, 12], "multipli": 5, "munin": 9, "must": [0, 3, 5, 12], "my": 0, "my_fil": 3, "my_password": 8, "my_pattern": 3, "my_secret_password": 12, "mylog": [3, 5], "mypassword": [3, 8], "n": [0, 3, 12], "n_tty_buf_s": 3, "name": [0, 1, 3, 5, 12], "namespac": 5, "nearli": 0, "necessari": 3, "necessarili": [3, 5], "need": [0, 3, 5, 6, 8, 12], "neg": 3, "neglig": [1, 3, 5, 7], "net": 3, "netn": 5, "netstat": 9, "network": 5, "never": 0, "new": [2, 6, 12], "new_prompt": 6, "newlin": [3, 6, 12], "next": [3, 5, 6], "nice": 3, "nick": 3, "nicola": 3, "noah": [1, 3, 5, 7, 12], "noel": 3, "non": [0, 3, 12], "none": [1, 3, 4, 5, 6, 7, 8, 12], "nor": 10, "normal": [0, 3, 5, 6], "note": [3, 5, 12], "noth": [1, 3, 7, 12], "notic": [1, 3, 5, 7, 8], "now": [0, 2, 8], "null": 5, "number": [3, 4, 5, 9, 12], "o": [1, 3, 4, 5], "oac": 3, "object": [1, 3, 4, 5, 6, 8, 12], "obtain": 3, "obvious": 12, "off": [3, 5, 8], "offer": 12, "often": [3, 8], "ok": 12, "old": [3, 5], "older": 8, "omit": 3, "onc": [3, 9], "one": [3, 5, 9, 12], "onli": [3, 5, 8, 11, 12], "onto": 3, "open": [1, 3, 5, 7, 9], "openbsd": [9, 12], "opensolari": 3, "opensourc": [1, 3, 5, 7], "oper": [0, 8], "oppos": 0, "optim": 3, "optimist": 5, "option": [0, 3, 5, 12], "order": [3, 5], "ordinarili": 12, "org": [1, 3, 5, 7, 12], "orient": 0, "orig_prompt": 6, "origin": [0, 5], "original_prompt": 5, "oserror": [1, 7], "osi": [1, 3, 5, 7], "osx": 3, "other": [1, 3, 5, 7, 8, 9, 10, 12], "otherwis": [3, 8], "out": [0, 1, 3, 5, 7, 12], "output": [0, 3, 5, 6, 9, 10, 12], "output_filt": 3, "outsid": 3, "ovc": 3, "over": [0, 3, 5, 9], "overcom": [3, 5], "overload": 3, "overview": 10, "own": [0, 1, 3, 5, 12], "p": [3, 5], "pack": 3, "packag": [2, 3, 9, 10], "page": 10, "pager": 6, "pair": [0, 3], "paramet": [3, 5, 6, 12], "paramiko": 5, "parent": [3, 8], "pars": [3, 9], "part": [3, 8], "pass": [0, 1, 3, 5, 6, 7, 8, 12], "passmass": 9, "passphras": 5, "passwd": [3, 10, 12], "password": [0, 3, 5, 8, 9, 12], "password_regex": 5, "past": 12, "path": [3, 5], "pattern": [1, 3, 5, 10], "pattern1": 12, "pattern2": 12, "pattern3": 12, "pattern_list": 3, "paus": 12, "pc_max_canon": 3, "pend": 3, "peopl": [8, 12], "per": 3, "perez": 3, "perfectli": 8, "perform": [1, 3, 5, 7, 12], "period": 3, "permiss": [1, 3, 5, 7, 8, 12], "perspect": 12, "pexect": 0, "pexpect": [0, 2, 5, 6, 8, 9, 11], "pexpect_prompt": [2, 6], "physic": 3, "pid": 3, "ping": 0, "pip": 11, "pipe": [0, 1, 2, 3, 5, 10], "pl": 3, "plai": 5, "plain": 3, "platform": [1, 3, 5, 7, 10, 12], "pleas": [0, 3, 10], "plugin": 9, "point": [0, 3, 12], "poll": [3, 5], "poor": 8, "popen": [0, 4], "popen_spawn": [2, 10, 12], "popenspawn": [2, 12], "popup": 5, "port": 5, "posit": 6, "posix": [0, 3, 11], "possibl": [3, 5, 8, 12], "post": 5, "power": 3, "pp": 8, "practic": 12, "preced": 3, "predefin": 12, "preexec_fn": [3, 4, 5], "prepend": 5, "present": [2, 11], "preserv": 3, "press": 5, "pretti": 9, "prevent": [3, 5], "previou": [0, 3, 5], "previous": 3, "print": [0, 2, 3, 5, 8, 9, 10, 12], "print_tick": 3, "prior": 3, "privat": 5, "problem": [0, 3, 5, 10, 12], "process": [0, 4, 5, 6, 8, 12], "produc": [3, 4, 12], "profit": [1, 3, 5, 7], "program": [0, 3, 8, 12], "progress": 3, "prompt": [0, 3, 5, 6, 8, 9, 12], "prompt_chang": 6, "properti": [0, 12], "protocol": 5, "provid": [1, 3, 4, 5, 6, 7, 9], "ps1": 6, "ps2": 6, "pseudo": [0, 3, 5, 8, 12], "pseudotermin": 12, "pseudotti": 3, "pty": [3, 10, 11, 12], "ptyprocess": [3, 5], "pub": 12, "public": [5, 8], "publickei": 8, "pure": [3, 10], "purpos": [1, 3, 5, 7, 12], "put": [0, 3, 9], "pxssh": [2, 10], "py": [3, 6, 9], "pypi": 11, "pyte": [0, 2], "python": [0, 1, 2, 3, 5, 6, 7, 8, 9, 10, 11, 12], "python3": 6, "q": 0, "qualifi": 0, "question": 0, "quickli": 3, "quiet": 5, "quietli": 12, "quit": [0, 8], "quot": [0, 3], "r": [6, 12], "rais": [1, 3, 5, 6, 7, 12], "rather": 7, "raw_input": 5, "re": [3, 12], "reach": [3, 5, 12], "read": [1, 2, 3, 5, 8, 10, 12], "read_nonblock": 3, "readabl": 1, "readi": [3, 5], "readlin": [3, 8], "readm": 12, "real": [0, 3, 5], "reason": [0, 3, 8], "reboot": 9, "receiv": [0, 3, 5, 10], "recompil": [0, 3], "record": 5, "recurs": 12, "redexpect": 5, "redirect": [0, 3, 5], "reduc": [3, 5], "refer": 3, "refrain": 0, "regard": [1, 3, 5, 7], "regardless": 3, "regex": [5, 12], "regular": [3, 5, 9, 12], "reject": 12, "relat": 0, "releas": 0, "reli": 12, "reliabl": 5, "remain": [0, 3, 5], "rememb": [0, 3, 5, 12], "remot": [3, 5, 7, 9], "remov": 0, "repeat": [3, 5], "repl": 6, "replac": [3, 12], "replwrap": [2, 10], "replwrapp": [2, 6], "report": [3, 8, 10], "requir": [3, 5, 10], "reset": [3, 5], "respond": [3, 8, 10], "respons": [0, 1, 3, 5, 7, 9, 12], "restart": 9, "result": [0, 1, 3, 5, 6, 7, 12], "return": [1, 3, 4, 5, 6, 12], "rh": 8, "richard": 3, "right": [3, 5, 12], "rip": 3, "rn": 3, "robert": 3, "robust": 5, "row": [3, 5], "run": [0, 2, 5, 8, 9, 11, 12], "run_command": 6, "ryan": 3, "sai": 12, "same": [3, 5, 6, 8], "satisfi": 12, "scan": [3, 5], "schroeder": 3, "scp": 3, "scrape": [0, 5], "screen": [0, 2, 5, 12], "script": [0, 3, 8, 9, 10], "search": [3, 5, 10], "searchwindows": [1, 3, 4, 5, 7], "second": [0, 1, 3, 5, 6, 7, 12], "secret": 3, "secur": 8, "see": [0, 3, 5, 8, 9, 11, 12], "seek": 3, "seem": [3, 5, 8], "seen": [3, 5, 8], "select": [0, 3, 5], "selector": 0, "self": [3, 5], "send": [0, 3, 4, 5, 6, 9, 10, 12], "sendcontrol": 3, "sendeof": [3, 4], "sendintr": 3, "sendlin": [3, 4, 5, 10, 12], "sens": 0, "sent": [3, 5, 8, 9], "separ": [2, 3, 4, 5], "sequenc": [0, 3, 4, 9], "serial": 1, "server": [3, 5, 9, 10, 12], "servic": 9, "session": [2, 9, 10, 12], "set": [0, 3, 5, 12], "set_unique_prompt": 5, "setecho": [3, 5], "setup": [3, 5, 10], "setwins": 3, "sever": 3, "shall": [1, 3, 5, 7], "shane": 3, "shell": [0, 3, 5, 6, 9, 12], "shell_cmd": [0, 3, 5], "short": [0, 5, 8], "should": [3, 5, 6, 8, 9, 10, 12], "show": 5, "side": 0, "sig": [3, 4], "sighup": [3, 5], "sigint": 3, "sigkil": 3, "signal": [3, 4, 5], "signalstatu": [3, 5], "signifi": [3, 12], "sigwinch": 3, "sigwinch_passthrough": 3, "similar": [3, 4, 5, 9], "simpl": [3, 9], "simpler": 3, "simpli": 3, "simultan": 9, "sinc": [3, 12], "singl": 9, "sit": 0, "site": [9, 12], "situat": [0, 3, 5, 12], "size": [0, 3, 5], "skip": 12, "sleep": [3, 5], "slight": [3, 5], "slow": 5, "smart": 0, "so": [0, 3, 5, 6, 8, 12], "socket": [1, 2, 3, 5, 10], "socket_pexpect": [1, 2, 10], "socketspawn": 2, "softwar": [1, 3, 5, 7, 10], "solari": [3, 5, 10], "solut": [0, 8], "some": [0, 3, 5, 8, 9, 12], "some_command": [3, 5], "some_condit": 3, "somehow": 5, "someon": 12, "someth": [0, 3, 5, 6, 8], "sometim": [3, 5, 8, 9], "sound": 0, "sourc": [1, 3, 4, 5, 6, 7], "sourceforg": 3, "space": 3, "spawn": [0, 1, 2, 4, 5, 6, 7, 8, 10, 11, 12], "spawn_local_ssh": 5, "spawnbas": [1, 7], "spawnu": 3, "speak": 5, "special": [1, 3, 5, 7, 10], "specif": [0, 7, 12], "specifi": [3, 4, 5, 12], "speed": 3, "spiegel": 3, "spirit": [3, 10], "split": 3, "split_command_lin": 3, "spurrier": [1, 3, 5, 7], "sre_pattern": 3, "ssh": [0, 2, 3, 9, 10, 12], "ssh_config": 5, "ssh_kei": 5, "ssh_tunnel": [5, 9], "stackoverflow": 0, "stand": 9, "standard": [0, 3, 5, 8, 10, 11], "star": 12, "start": [0, 3, 5, 6, 9], "state": [0, 3, 9, 12], "statist": 9, "statu": [3, 5], "stderr": [0, 3], "stdin": [3, 4, 5], "stdio": [0, 3], "stdout": [0, 3, 5, 12], "step": 8, "still": [0, 1, 2, 3], "stone": 3, "stop": [3, 5], "store": [3, 5], "str": [3, 6, 12], "straight": 5, "strang": 0, "stream": [3, 12], "strict": [1, 3, 4, 5, 7], "stricthostkeycheck": 5, "string": [0, 3, 4, 5, 6, 8, 12], "stringtyp": 3, "struct": 3, "stty": 3, "stuck": 0, "stuff": 3, "style": [5, 6, 12], "su": 5, "subprocess": [2, 3, 5, 10], "subsequ": 3, "subshel": 9, "success": 3, "successfulli": [8, 12], "suggest": 0, "suit": 5, "suppli": 1, "support": [0, 1, 3, 8, 10, 12], "sure": [0, 3], "surpris": 12, "svn": 3, "switch": 0, "sy": [3, 5, 6, 12], "sync": 5, "sync_multipli": 5, "sync_original_prompt": 5, "synchron": 5, "syntax": [0, 3, 5], "sysadmin": 5, "system": [0, 3, 5, 8, 9, 11], "t": [0, 2, 3, 5, 8, 12], "tag": 0, "take": [0, 1, 3, 5, 7, 9], "talk": [0, 3, 5, 8, 12], "tarbal": 9, "task": [3, 8, 9], "taylor": 3, "tcl": [0, 3, 10], "technic": 3, "techniqu": 12, "tell": 0, "telnet": [0, 3, 10], "termin": [0, 2, 3, 5, 8, 12], "terminal_typ": 5, "termio": 3, "termsig": [3, 5], "test": [3, 5, 10, 12], "text": [0, 3, 12], "than": [3, 5, 7, 9, 12], "thei": [0, 2, 3, 8, 12], "them": [2, 3, 5, 6, 9, 10, 12], "thi": [0, 1, 3, 4, 5, 6, 7, 8, 9, 11, 12], "thing": [0, 5, 12], "think": [0, 8], "those": 3, "though": [0, 3, 8], "thread": 10, "three": [0, 12], "threshold": 9, "through": [0, 1, 3, 5], "throw": 12, "thrown": 12, "thu": [3, 7], "tick": 3, "time": [1, 3, 5, 7, 10, 12], "timeout": [1, 3, 4, 5, 6, 7, 10], "tiocgwinsz": 3, "tmp": [3, 5, 12], "todd": 3, "too": 3, "tool": [10, 11, 12], "topip": 9, "tortiou": [1, 3, 5, 7], "tradit": 3, "traffic": 5, "trail": 6, "transmit": 3, "tri": [3, 5], "trick": 5, "tricki": 5, "trigger": [5, 6], "true": [3, 5, 6], "truncat": 10, "try": [3, 5, 8, 12], "tryzelaar": 3, "tty": [0, 3, 5, 8, 12], "tune": 8, "tunnel": 9, "tupl": [3, 5], "turn": [3, 5, 8, 12], "twice": [3, 5], "two": [0, 3, 5, 12], "txt": [0, 1, 3, 5, 7], "type": [0, 3, 10, 12], "typic": [3, 4, 5, 9], "ugli": 0, "unam": 0, "unambigu": 5, "unbuff": 0, "under": 9, "unflush": 0, "unicod": 5, "uniqu": [5, 6], "unique_prompt": 5, "unix": [3, 4, 7, 12], "unless": [3, 5], "unlik": [6, 10], "unpack": 3, "unpredict": 3, "unread": 3, "unspecifi": [3, 5], "until": [3, 5], "up": [3, 5, 9, 12], "uptim": [5, 9], "us": [0, 2, 3, 5, 6, 8, 9, 10, 11, 12], "use_pol": [1, 3, 5, 7], "useless": [9, 12], "user": [0, 3, 5, 8, 9, 12], "userknownhostsfil": 5, "usernam": [3, 5], "usr": [3, 5, 6], "usual": [0, 3, 8], "utf": [3, 5], "util": 2, "valid": [1, 3, 7], "valu": [3, 4, 5, 12], "valueerror": 6, "vander": 3, "vari": 8, "variabl": [3, 9], "varieti": 9, "variou": [5, 12], "veri": [0, 3, 5, 8, 12], "version": [0, 2, 3, 6, 8, 11, 12], "vi": 3, "via": 5, "video": [0, 3], "view": [3, 12], "virtual": 12, "vlan": 5, "vlan2": 5, "vt100": 12, "w": 12, "wa": [0, 1, 3, 5, 7, 9, 10, 12], "wai": [0, 3, 8, 9, 12], "wait": [0, 3, 4, 5, 6, 8, 12], "waitnoecho": [3, 5], "waitpid": [0, 3, 5], "want": [0, 3, 5, 12], "warranti": [1, 3, 5, 7], "wb": [3, 5], "we": [0, 1, 2, 3, 5, 12], "web": 9, "weird": [0, 3, 5], "well": [0, 10], "were": [2, 3, 5, 10], "wexitstatu": [3, 5], "wexpect": 12, "what": [0, 3, 5, 8, 12], "whatev": 0, "whatnot": 0, "whatsoev": [1, 3, 5, 7], "when": [0, 3, 5, 8, 12], "whenev": 3, "where": [0, 3, 5, 8, 11], "wherea": 0, "whether": [0, 1, 3, 5, 7], "which": [3, 4, 5, 6, 8, 12], "while": [0, 3, 5], "why": [0, 8], "wide": 9, "wifexit": [3, 5], "wifsign": [3, 5], "wild": [0, 3, 5], "window": [1, 3, 7, 10, 11], "wish": [0, 3, 5, 8, 12], "withexitstatu": 3, "within": 3, "without": [1, 3, 5, 7, 12], "won": 5, "wood": 3, "word": [3, 8, 12], "work": [0, 1, 3, 5, 7, 8, 10, 12], "worker": 8, "world": 12, "worri": 3, "wors": 5, "worst": 5, "would": [0, 3, 5, 6, 8, 9, 12], "wouldn": [3, 5], "wrap": [3, 4, 6], "wrapper": [3, 5, 6], "write": [0, 3, 4, 5, 12], "writelin": [3, 4], "written": [3, 4, 5], "wrote": [3, 8], "wxyz": 3, "x": [3, 5, 8], "x1d": 3, "xdm": 5, "xterm": 12, "ye": 12, "yet": [0, 8], "yield": [3, 6], "you": [0, 1, 3, 5, 6, 7, 8, 9, 12], "your": [0, 1, 3, 5, 8, 10, 12], "zero": 5}, "titles": ["FAQ", "fdpexpect - use pexpect with a file descriptor", "API documentation", "Core pexpect components", "popen_spawn - use pexpect with a piped subprocess", "pxssh - control an SSH session", "replwrap - Control read-eval-print-loops", "socket_pexpect - use pexpect with a socket", "Common problems", "Examples", "Pexpect version 4.9", "Installation", "API Overview"], "titleterms": {"4": 10, "9": 10, "an": 5, "api": [2, 12], "befor": 8, "bel": 8, "bewar": 12, "child": [3, 8], "class": [1, 3, 4, 5, 7], "common": 8, "compon": 3, "control": [3, 5, 6, 8], "convent": 12, "core": 3, "cr": 12, "debug": 12, "descriptor": 1, "document": 2, "doe": 8, "emit": 8, "end": 12, "eof": 12, "eval": 6, "exampl": 9, "except": [3, 12], "exit": 8, "faq": 0, "fdpexpect": 1, "fdspawn": 1, "file": 1, "find": 12, "full": 8, "function": 3, "handl": 3, "indic": 10, "input": 8, "instal": 11, "issu": 8, "just": 8, "lf": 12, "line": 12, "loop": 6, "output": 8, "overview": 12, "pattern": 12, "pexpect": [1, 3, 4, 7, 10, 12], "pipe": 4, "popen_spawn": 4, "popenspawn": 4, "print": 6, "problem": 8, "process": 3, "pxssh": 5, "read": 6, "receiv": 8, "replwrap": 6, "requir": 11, "run": 3, "send": 8, "sendlin": 8, "session": 5, "socket": 7, "socket_pexpect": 7, "socketspawn": 7, "solari": 8, "spawn": 3, "special": 12, "ssh": [5, 8], "subprocess": 4, "tabl": 10, "thread": 8, "time": 8, "timeout": 12, "truncat": 8, "unicod": 3, "us": [1, 4, 7], "util": 3, "version": 10, "window": 12}})