Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

autorespond

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

autorespond - npm Package Compare versions

Comparing version 0.9.3 to 0.9.4

25

autorespond.md

@@ -23,3 +23,3 @@

commands (like a shell) have to be executed in a scripted session but
they should be automatically terminated (like sending `exit\n`) in case
they should be automatically terminated (like sending "`exit\n`") in case
the trainee does not manually interact with it. This allows the same

@@ -40,15 +40,17 @@ scripting sessions to be executed in batch and interactively.

Time to wait in seconds before injecting the response on `stdin`, in
case no interaction happened on `stdin` by the user.
case no interaction happened on `stdin` by the user at all.
- \[`-T`|`--timeout-hard` *seconds*\]:
Time to wait in seconds before injecting the response on `stdin`,
after last interaction happened on `stdin` by the user.
after no or the last interaction happened on `stdin` by the user.
- \[`-r`|`--response` *input*\]:
Response message to inject on `stdin` instead of the user.
In the *input* data, the following constructs are expanded:
In the *input* data, the following syntactical constructs are expanded:
- `\o{`*num*`}`: create character by octal character code like `\o{002}`.
- `\d{`*num*`}`: create character by decimal character code like `\d{001}`.
- `\o{`*num*`}`: create character by octal character code like `\o{177}`.
- `\d{`*num*`}`: create character by decimal character code like `\d{127}`.
- `\x{`*num*`}`: create character by hexadecimal character code like `\x{7f}`.
- `\r`, `\n`, `\t`, `\v`: create linefeed, newline, tab and vertical tab
characters through short-hand escape sequences.
- `\k{`*keystroke*`}`: create character by logical keystroke. The

@@ -58,7 +60,6 @@ *keystroke* argument can be either `ctrl+`*X* where *X* is `a` to `z`

`backspace`/`bs` and `delete`/`del`.
- `\r`, `\n`, `\t`, `\v`: create linefeed, newline, tab and vertical tab
characters through short-hand escape sequences.
- *command*:
The shell command to execute.
The command to execute. It can be either an absolute path
or a program in `$PATH`.

@@ -68,2 +69,8 @@ - \[*argument* ...\]:

## HINT
If you need to evaluate shell constructs like pipelines
or file descriptor redirections, use an intermediate shell
as in `autorespond [...] sh -c '[...]'`.
## EXAMPLES

@@ -70,0 +77,0 @@

@@ -6,3 +6,3 @@ {

"keywords": [ "terminal", "command", "stdin", "automatic", "response" ],
"version": "0.9.3",
"version": "0.9.4",
"license": "MIT",

@@ -9,0 +9,0 @@ "author": {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc