Docs/Auto-Reply

Auto-Reply Patterns

Automate responses to common prompts. Perfect for boot sequences and login automation.

Overview

Auto-Reply (also called Flash React) automatically sends responses when specific patterns appear in terminal output. This is invaluable for embedded development where devices frequently prompt for input during boot or configuration.

Use with caution

Auto-Reply patterns can send sensitive data like passwords. Review patterns carefully and disable when not needed.

Built-in Patterns

NeuroTerm includes 7 default patterns commonly used in embedded development:

PatternTriggerResponse
U-Boot AutobootHit any key to stop<space>
Login Promptlogin:root
Password PromptPassword:(configurable)
Continue Prompt[Y/n]Y
Shell RestartPress ENTER<enter>
SSH Fingerprintyes/noyes
Sudo Password[sudo] password(configurable)

Enabling Auto-Reply

  1. 1

    Click the Auto Reply icon in the sidebar

  2. 2

    Toggle the master switch to enable auto-reply for this session

  3. 3

    Enable/disable individual patterns as needed

Custom Patterns

Create custom patterns for your specific devices or workflows:

Pattern (Regex)

The text to watch for in terminal output. Can be a simple string or regular expression.

Response

The text to send when the pattern is matched. Use \n for newlines.

Delay (ms)

Optional delay before sending the response. Useful when devices need time to be ready.

Tips

  • Disable auto-reply when not actively using it to prevent unintended responses
  • Use specific patterns to avoid false matches (e.g., "login: $" instead of just "login")
  • Test patterns with a short delay to ensure proper timing