<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/pexpect.git/pexpect/pxssh.py, branch interact-logfix</title>
<subtitle>github.com: pexpect/pexpect.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pexpect.git/'/>
<entry>
<title>Merge pull request #239 from takluyver/more-encoding-parameters</title>
<updated>2015-09-15T21:12:57+00:00</updated>
<author>
<name>Jeff Quast</name>
<email>contact@jeffquast.com</email>
</author>
<published>2015-09-15T21:12:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pexpect.git/commit/?id=cde8e15893edd87c61acf0515fd217554d21ce51'/>
<id>cde8e15893edd87c61acf0515fd217554d21ce51</id>
<content type='text'>
Encoding parameters for pxssh and fdspawn</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Encoding parameters for pxssh and fdspawn</pre>
</div>
</content>
</entry>
<entry>
<title>Fix Typo</title>
<updated>2015-09-15T20:04:12+00:00</updated>
<author>
<name>Patrick Yevsukov</name>
<email>patrickyevsukov@users.noreply.github.com</email>
</author>
<published>2015-09-15T20:04:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pexpect.git/commit/?id=87b3eb21377fc6bacf794a0eb98409f8cbb146f5'/>
<id>87b3eb21377fc6bacf794a0eb98409f8cbb146f5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix for pxssh when reading unicode</title>
<updated>2015-09-12T10:46:18+00:00</updated>
<author>
<name>Thomas Kluyver</name>
<email>takowl@gmail.com</email>
</author>
<published>2015-09-12T10:43:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pexpect.git/commit/?id=9681f4c10e54ac10f611bae827c33a68d81a98af'/>
<id>9681f4c10e54ac10f611bae827c33a68d81a98af</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add encoding parameter to pxsshu</title>
<updated>2015-09-12T10:46:03+00:00</updated>
<author>
<name>Thomas Kluyver</name>
<email>takowl@gmail.com</email>
</author>
<published>2015-09-12T10:37:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pexpect.git/commit/?id=3654b5b9b3286c34cb02a93504199e93bb90576c'/>
<id>3654b5b9b3286c34cb02a93504199e93bb90576c</id>
<content type='text'>
Closes gh-172 (alternative approach to the same problem)
Closes gh-169
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes gh-172 (alternative approach to the same problem)
Closes gh-169
</pre>
</div>
</content>
</entry>
<entry>
<title>allow user to specify SSH options via the constructor parametere options</title>
<updated>2014-11-25T00:05:33+00:00</updated>
<author>
<name>Radomirs Cirskis</name>
<email>nad2000@gmail.com</email>
</author>
<published>2014-11-25T00:05:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pexpect.git/commit/?id=0b5b155087035344c54f8ec4f83caef9c823955e'/>
<id>0b5b155087035344c54f8ec4f83caef9c823955e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>allow user to specify SSH options via pxssh.options dictionary</title>
<updated>2014-11-24T23:20:34+00:00</updated>
<author>
<name>Rad Cirskis</name>
<email>rad.cirskis@appbuild-vm5.ad.emulex.com</email>
</author>
<published>2014-11-24T23:20:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pexpect.git/commit/?id=c47fa4d8e69a0add516ab92d7a9f9c6ee08b0025'/>
<id>c47fa4d8e69a0add516ab92d7a9f9c6ee08b0025</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Added ignore_sighup param for pxssh</title>
<updated>2014-10-21T01:16:16+00:00</updated>
<author>
<name>zjx20</name>
<email>zhoujianxiong2@gmail.com</email>
</author>
<published>2014-10-21T01:16:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pexpect.git/commit/?id=a41905ef6885b07c0abfd9daca27ebbe7ce90910'/>
<id>a41905ef6885b07c0abfd9daca27ebbe7ce90910</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>enable echo deactivation in pxssh</title>
<updated>2014-09-21T08:09:47+00:00</updated>
<author>
<name>Erik Bernoth</name>
<email>erik.bernoth@gmail.com</email>
</author>
<published>2014-09-21T08:05:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pexpect.git/commit/?id=00a50fd2a3db40d51ef1a004b20c253993e7eec4'/>
<id>00a50fd2a3db40d51ef1a004b20c253993e7eec4</id>
<content type='text'>
I've learned from #112 that you can deactivate echoing of the input via
constructer parameter. This patch enables pxssh to do the same.

In spawn there is an alternative to the constructor parameter, which is
`set_echo(False)`. Sadly that doesn't work, at least in my experiments with
localhost.

Signed-off-by: Erik Bernoth &lt;erik.bernoth@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I've learned from #112 that you can deactivate echoing of the input via
constructer parameter. This patch enables pxssh to do the same.

In spawn there is an alternative to the constructor parameter, which is
`set_echo(False)`. Sadly that doesn't work, at least in my experiments with
localhost.

Signed-off-by: Erik Bernoth &lt;erik.bernoth@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>display expected prompt as PROMPT, not PROMPT_SET_SH</title>
<updated>2014-03-08T01:22:01+00:00</updated>
<author>
<name>jquast</name>
<email>contact@jeffquast.com</email>
</author>
<published>2014-03-08T01:22:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pexpect.git/commit/?id=2ba85516dd2b95bab1674becc42326df72265d0c'/>
<id>2ba85516dd2b95bab1674becc42326df72265d0c</id>
<content type='text'>
completes issue #44; thanks to @takluyver for keen eye.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
completes issue #44; thanks to @takluyver for keen eye.
</pre>
</div>
</content>
</entry>
<entry>
<title>closes issue #42, self.buffer decoded implicitly</title>
<updated>2014-03-07T06:46:43+00:00</updated>
<author>
<name>jquast</name>
<email>contact@jeffquast.com</email>
</author>
<published>2014-03-07T06:46:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pexpect.git/commit/?id=5a393f4af034e180beb275d90b1d8f7475b68a63'/>
<id>5a393f4af034e180beb275d90b1d8f7475b68a63</id>
<content type='text'>
create a unit tests which otherwise failed for python3 only: mock the
return value of set_unique_prompt for a value of False, which causes
ExceptionPxssh to raise.

previously, displaying self.buffer within the exception causes
bytes() to be implicitly decoded to str (unicode type in py3). python2
didn't care. it is implicitly decoded as 'ascii' encoding, without
warning.

Then, use the %r to represent it as b'xyz' in python3. Also, display
what we expected to be more helpful for the user. What is actually
happening here is the 'set PS1=' command is used so that pexpect can
more regularly understand when the prompt is awaiting command input, and
it is set to something more predictable. You'd be suprised what kind of
hackery can happen to prompt values even if PS1 is explicitly set,
especially in today's oh-my-zhs and git-prompt.sh extensions.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
create a unit tests which otherwise failed for python3 only: mock the
return value of set_unique_prompt for a value of False, which causes
ExceptionPxssh to raise.

previously, displaying self.buffer within the exception causes
bytes() to be implicitly decoded to str (unicode type in py3). python2
didn't care. it is implicitly decoded as 'ascii' encoding, without
warning.

Then, use the %r to represent it as b'xyz' in python3. Also, display
what we expected to be more helpful for the user. What is actually
happening here is the 'set PS1=' command is used so that pexpect can
more regularly understand when the prompt is awaiting command input, and
it is set to something more predictable. You'd be suprised what kind of
hackery can happen to prompt values even if PS1 is explicitly set,
especially in today's oh-my-zhs and git-prompt.sh extensions.
</pre>
</div>
</content>
</entry>
</feed>
