Comments (10)
It's working! 🎉 Thank you so much! 🙏
from expect.
That's good. I am glad that your problem is solved.
Thanks to your report, I was able to fix the bug. Thank you very much.
from expect.
The reason that Bitvise's stnlc ssh client could not recieve Enter-key may be expect.exe's bug.
I try to fix it.
from expect.
Oh... I was wondering if pressing Enter in cmd
was actually interpreted as something more than a carriage return. Could it be possible that the program expects some other signal?
I asked Bitvise if there was anything particular with their program. I'm waiting for their answer.
from expect.
My library go-console which is called in expect.exe, uses the API WriteConsoleInput to send key-events, but it did not set the parameter wRepeatCount
in KEY_EVENT_RECORD. It should set it 1
(but it was 0
).
It is possible that CMD.EXE ignored wRepeatCount
and Bitvise's stnlc ssh client
read and used it in ReadConsoleInput
from expect.
Would you test the new version (20191220) ? To send Enter-key, call send("\r")
or sendln("")
from expect.
I'm getting an error with the new amd64 exe:
λ expect test.lua
test.lua at EOF: syntax error
from expect.
Did you forget to close the double quotes?
from expect.
I did not change my scripts at all. I even tried again with the example script on the Readme.
from expect.
Oh, never mind, I got it. For some reason the program now wants my script to end with a new line.
from expect.
Related Issues (20)
- How to insert date/time into script? HOT 5
- Help me ssh Auto input password with Expect HOT 4
- Redirect output? HOT 1
- Distribution via Chocolatey HOT 1
- issue using "scp" accept only single quoted arguments (instead of double quoted) HOT 1
- scp and ssh seems to impact earlier sendln commands HOT 5
- Please consider signing exe file so it can be used under Windows without complains HOT 1
- error message [syntax error] using example in Windows 10 HOT 6
- `The handle is invalid.` is output when using in GitHub Actions PowerShell. HOT 4
- loop condition for expect HOT 4
- How to pass batch variables to expect script? HOT 6
- how to suppress output lines works HOT 5
- Provide installers for package managers such as Scoop and Chocolatey HOT 3
- Capture output from program into LUA varaible? HOT 3
- Timeout seems does not work properly HOT 3
- How use another port in ssh? HOT 8
- Automatic logout happening? HOT 6
- what's the principle of this project? HOT 2
- Send Arrow Keys HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from expect.