| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@533 656d521f-e311-0410-88e0-e7920216d269
|
|
|
|
| |
git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@526 656d521f-e311-0410-88e0-e7920216d269
|
|
|
|
| |
git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@523 656d521f-e311-0410-88e0-e7920216d269
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@513 656d521f-e311-0410-88e0-e7920216d269
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
> 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
|
|
|
|
| |
git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@487 656d521f-e311-0410-88e0-e7920216d269
|
|
|
|
| |
git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@479 656d521f-e311-0410-88e0-e7920216d269
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@470 656d521f-e311-0410-88e0-e7920216d269
|
|
|
|
| |
git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@464 656d521f-e311-0410-88e0-e7920216d269
|
|
|
|
| |
git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@462 656d521f-e311-0410-88e0-e7920216d269
|
|
|
|
| |
git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@460 656d521f-e311-0410-88e0-e7920216d269
|
|
|
|
| |
git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@452 656d521f-e311-0410-88e0-e7920216d269
|
|
|
|
| |
git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@449 656d521f-e311-0410-88e0-e7920216d269
|
|
|
|
| |
git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@447 656d521f-e311-0410-88e0-e7920216d269
|
|
|
|
| |
git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@445 656d521f-e311-0410-88e0-e7920216d269
|
|
|
|
| |
git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@440 656d521f-e311-0410-88e0-e7920216d269
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@438 656d521f-e311-0410-88e0-e7920216d269
|
|
|
|
| |
git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@432 656d521f-e311-0410-88e0-e7920216d269
|
|
|
|
| |
git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@424 656d521f-e311-0410-88e0-e7920216d269
|
|
|
|
| |
git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@410 656d521f-e311-0410-88e0-e7920216d269
|
|
|
|
| |
git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@403 656d521f-e311-0410-88e0-e7920216d269
|
|
|
|
| |
git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@401 656d521f-e311-0410-88e0-e7920216d269
|
|
|
|
| |
git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@400 656d521f-e311-0410-88e0-e7920216d269
|
|
|
|
| |
git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@398 656d521f-e311-0410-88e0-e7920216d269
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@377 656d521f-e311-0410-88e0-e7920216d269
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@363 656d521f-e311-0410-88e0-e7920216d269
|
|
|
|
| |
git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@360 656d521f-e311-0410-88e0-e7920216d269
|
|
|
|
| |
git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@358 656d521f-e311-0410-88e0-e7920216d269
|
|
|
|
| |
git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@337 656d521f-e311-0410-88e0-e7920216d269
|
|
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
|