v0.4.9
noissh v0.4.9
This release fixes the long-standing "I have to press Enter before the prompt
shows up" annoyance, and switches one-off commands to the familiar, ssh-style
positional form.
Highlights
- The prompt now appears immediately — no need to press Enter first. A
shell's line editor queries the terminal at startup (cursor-position report
ESC[6n, and device attributesESC[c/ESC[>c) and blocks until it gets a
reply before drawing the prompt. The server's authoritative emulator now
answers these queries and writes the reply back to the shell, so the first
prompt renders right away instead of waiting for a keystroke (whose bytes were
previously being consumed as the missing reply). A plain non-interactive shell
has no line editor and sends no such query, which is why automated output
tests never caught it; a new end-to-end test now reproduces the exact stall
over real sockets. - ssh-style remote command. Run a one-off command with
noissh user@host cmd args...instead of the old--execflag (removed).
Everything after the host is the remote command, verbatim — its own flags are
not parsed by noissh — and is joined and run by the remote shell, so quoting,
globs, pipes, and redirections behave as expected. Output stays byte-exact,
stderr is kept separate, and noissh exits with the command's status. Omit the
command for an interactive shell.
Still 100% safe Rust (#![forbid(unsafe_code)]), clippy-clean, 174 tests.
Install
curl -fsSL https://raw.githubusercontent.com/gedigi/noissh/main/install.sh | shVerify a download: shasum -a 256 -c noissh-<target>.tar.gz.sha256 and
gh attestation verify noissh-<target>.tar.gz --repo gedigi/noissh.
Pre-release software — not yet independently audited.