Clark Wang

Results 39 comments of Clark Wang

As in your example, you are using 4 options: `-c1 -C -t10 -T`. When we add support for multiple passwords it'll become difficult to interpret these options in a way...

Sorry I don't have development experience on Windows.

As a workaround to avoid recursive mapping I remap the default keybindings by prepending `__` to each of them and save them in a list (say `g_defaults`). Then I call...

@xendk See the following example. (I don't really unmap and remap all keys. Just the ones I need. And right there are keys we cannot remap. And no, I don't...

> Hello @clarkwang, > > In your config, what `if (1)` or `if (0)` refer to ? No special meanings. This way it's easy to turn on/off the whole `{...

The 1024 send limit is a design choice. The main purpose of Expect-like tools is to simulate user's **manual** interaction with CLI programs. I don't want users to assume it's...

I'll take a look at it.

Findings/notes: * On macOS, `write(pty_fd, buf, len)` in non-blocking mode would always return `1022` if `len > 1022`. Seems like the internal buffer is limited to 1024 bytes. Need to...

* The retry should happen in client side to keep server side logic as simple as possible.