summaryrefslogtreecommitdiff
path: root/pexpect/pxssh.py
Commit message (Collapse)AuthorAgeFilesLines
* Mostly a massive license update. Added a license per file.HEADmasternoah2012-10-201-2/+22
| | | | git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@533 656d521f-e311-0410-88e0-e7920216d269
* Clarified a comment.noah2012-08-201-1/+2
| | | | git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@526 656d521f-e311-0410-88e0-e7920216d269
* Added Lars Nordin patch.noah2010-10-171-1/+10
| | | | git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@523 656d521f-e311-0410-88e0-e7920216d269
* Added a fix to ANSI.py by Shane Kerr.noah2010-07-111-16/+22
| | | | | | | | | Also found a bug in support for Unicode. I was not able to fix it at the time. Unicode is still a pain in the ass. git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@521 656d521f-e311-0410-88e0-e7920216d269
* I changed the name of a method. It was driving me nuts.noah2008-02-091-2/+2
| | | | git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@513 656d521f-e311-0410-88e0-e7920216d269
* Added patch by John Spiegel john at jspiegel.net.noah2008-02-091-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | > It seems the sync_original_prompt() function in pxssh expects to flush the > input with a read_nonblocking(), but when there's nothing to read, > read_nonblocking() throws, preventing me from logging in. This fixed it for > me: > > Only in pexpect-2.3.new/: build > diff -r pexpect-2.3/pxssh.py pexpect-2.3.new/pxssh.py > 134c134,137 > < self.read_nonblocking(size=10000,timeout=1) # GAS: Clear out the cache before getting the prompt > --- > > try: > > self.read_nonblocking(size=10000,timeout=1) # GAS: Clear out the cache before getting the prompt > > except TIMEOUT: > > pass > > Hope that's helpful, > John > git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@512 656d521f-e311-0410-88e0-e7920216d269
* Small doc change.noah2007-08-291-9/+9
| | | | git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@487 656d521f-e311-0410-88e0-e7920216d269
* Added Andrew Stone to credits also added his cache clearing patch.noah2007-06-271-0/+3
| | | | git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@479 656d521f-e311-0410-88e0-e7920216d269
* Fixed minor bug in searcher_string.search. Forgot to index _string to get at ↵noah2007-06-271-1/+2
| | | | | | | | | | the string, not the tuple. - self.match = self._strings[best_index] + self.match = self._strings[best_index][1] git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@478 656d521f-e311-0410-88e0-e7920216d269
* Added comment abou SSH_ASKPASS pissing me off.noah2007-05-041-0/+6
| | | | git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@470 656d521f-e311-0410-88e0-e7920216d269
* Spellchecked comments with vim70.noah2007-03-261-1/+2
| | | | git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@464 656d521f-e311-0410-88e0-e7920216d269
* Updated docs.noah2007-03-071-2/+2
| | | | git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@462 656d521f-e311-0410-88e0-e7920216d269
* Got rid of two comment lines.noah2007-03-051-2/+0
| | | | git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@460 656d521f-e311-0410-88e0-e7920216d269
* Updated docs.noah2007-02-151-53/+66
| | | | git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@452 656d521f-e311-0410-88e0-e7920216d269
* Checkpoint. Added some enhancements to pxssh.pynoah2007-02-111-47/+131
| | | | git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@449 656d521f-e311-0410-88e0-e7920216d269
* check point. added CWD and fixing hive.py.noah2007-01-231-2/+2
| | | | git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@447 656d521f-e311-0410-88e0-e7920216d269
* Got rid of old code.noah2006-12-221-6/+0
| | | | git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@445 656d521f-e311-0410-88e0-e7920216d269
* Trying to make prompt setting more clearnoah2006-10-251-13/+11
| | | | git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@440 656d521f-e311-0410-88e0-e7920216d269
* Enhanced pxssh.py so that login() will take a flag to determinnoah2006-10-251-12/+28
| | | | | | | if it should reset the prompt or not. git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@439 656d521f-e311-0410-88e0-e7920216d269
* checkpointnoah2006-10-201-5/+7
| | | | git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@438 656d521f-e311-0410-88e0-e7920216d269
* Just added a note about super.noah2006-09-081-7/+10
| | | | git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@432 656d521f-e311-0410-88e0-e7920216d269
* How did this disappear?noah2006-08-271-0/+1
| | | | git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@424 656d521f-e311-0410-88e0-e7920216d269
* Refining the code.noah2006-08-211-31/+64
| | | | git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@410 656d521f-e311-0410-88e0-e7920216d269
* Changed pxssh to raise exceptions instead of returning False.noah2006-08-181-8/+21
| | | | git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@403 656d521f-e311-0410-88e0-e7920216d269
* Added some svn:keywordsnoah2006-08-121-0/+4
| | | | git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@401 656d521f-e311-0410-88e0-e7920216d269
* Fix suggested by Jo Schaeffer.noah2006-08-031-1/+1
| | | | git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@400 656d521f-e311-0410-88e0-e7920216d269
* Checkpoint.noah2006-07-211-2/+4
| | | | git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@398 656d521f-e311-0410-88e0-e7920216d269
* Cleaned up pxssh. It's now a little bit more of beta quality.noah2006-05-221-45/+58
| | | | | | | Implemented a suggestion on the PROMPT regex made by Glen Mabey. git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@384 656d521f-e311-0410-88e0-e7920216d269
* tweaked timeout on prompt()noah2006-03-131-2/+2
| | | | git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@377 656d521f-e311-0410-88e0-e7920216d269
* Made ANSI a file-like class (close enough for pexpect logging to work).noah2006-03-071-5/+14
| | | | | | | | | Ignored \R in ANSI class. Beefed up pxssh so that timeouts in prompt() return False instead of raising exception. git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@374 656d521f-e311-0410-88e0-e7920216d269
* Decided to start looking at bd_server again. Made CLI options better.noah2006-03-031-3/+2
| | | | | | | | | | Switched to using pxssh for ssh management. Modified pxssh.py so that you can pass in the prompt you want to look for. Made timeout only 10 seconds, so it assumes you are logged in after 10 seconds of looking for the command line PROMPT. git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@370 656d521f-e311-0410-88e0-e7920216d269
* Keeping track of multiple instances of pxssh and synchronizing thenoah2006-02-191-24/+0
| | | | | | | | | | window sizes on the SIGWINCH of the parent process is more complicated than is first seemed. I'm not really sure that this should be the responsibility of pxssh. I might add it back later. It's a nice feature, but it makes things more complicated. git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@366 656d521f-e311-0410-88e0-e7920216d269
* checkpointnoah2006-02-181-12/+3
| | | | git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@363 656d521f-e311-0410-88e0-e7920216d269
* Added Alexander Gattin's changes to support setting environment.noah2006-02-181-22/+28
| | | | git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@360 656d521f-e311-0410-88e0-e7920216d269
* Added some changes suggested by Nicolas Cesar.noah2006-02-171-14/+42
| | | | git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@358 656d521f-e311-0410-88e0-e7920216d269
* Cleaned up doc generation in Makefile.noah2005-11-171-1/+1
| | | | git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@337 656d521f-e311-0410-88e0-e7920216d269
* I had to hack the Makefile to fix permissions.noah2005-11-171-0/+113
I had to do this because cvs sucks. git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@335 656d521f-e311-0410-88e0-e7920216d269