summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorjquast <contact@jeffquast.com>2013-10-27 14:42:19 -0700
committerjquast <contact@jeffquast.com>2013-10-27 14:42:19 -0700
commit92de69db78c7403e6b50cfa43e3241b599996327 (patch)
treeb26705d9fb5529ddaf03eaa1093f0e424d13115e /doc
parente4017db29ff81676393e3f93a7007e3fefda337b (diff)
downloadpexpect-92de69db78c7403e6b50cfa43e3241b599996327.tar.gz
stylize delaybeforesend as code, ls as italic
Diffstat (limited to 'doc')
-rw-r--r--doc/commonissues.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/commonissues.rst b/doc/commonissues.rst
index f68abb9..2efae46 100644
--- a/doc/commonissues.rst
+++ b/doc/commonissues.rst
@@ -41,7 +41,7 @@ back to the TTY. I would call this an SSH bug.
Pexpect now automatically adds a short delay before sending data to a child
process. This more closely mimics what happens in the usual human-to-app
-interaction. The delay can be tuned with the 'delaybeforesend' attribute of the
+interaction. The delay can be tuned with the ``delaybeforesend`` attribute of the
spawn class. In general, this fixes the problem for everyone and so this should
not be an issue for most users. For some applications you might with to turn it
off::
@@ -71,9 +71,9 @@ application quits it may not flush its output buffer. This means that your
Pexpect application will receive an EOF even though it should have received a
little more data before the child died. This is not generally a problem when
talking to interactive child applications. One example where it is a problem is
-when trying to read output from a program like 'ls'. You may receive most of the
+when trying to read output from a program like *ls*. You may receive most of the
directory listing, but the last few lines will get lost before you receive an EOF.
-The reason for this is that 'ls' runs; completes its task; and then exits. The
+The reason for this is that *ls* runs; completes its task; and then exits. The
buffer is not flushed before exit so the last few lines are lost. The following
example demonstrates the problem::