Skip to content

docs: add SSH print-width nit; record measured tab-width behavior - #678

Merged
mobileskyfi merged 1 commit into
mainfrom
docs/ssh-width-nit
Nov 26, 2026
Merged

mobileskyfi merged 1 commit into
mainfrom
docs/ssh-width-nit

Conversation

@mobileskyfi

Copy link
Copy Markdown
Contributor

Two leftovers from the #676 wide-output grounding (CHR 7.23.8 and 7.24.5, at 512, 200 and 80 columns).

  • docs/MATRIX.md: a new nit. With no pseudo-tty, execute --via ssh gets print laid out for 80 columns, so a wide table prints Columns: -- (terminal too narrow) instead of its rows. Logging in as user+<cols>w, which non-interactive SSH honors since 7.22, keeps the columns. The grounding used that login for its SSH references on both versions.

  • src/core/routeros-string.ts: comment only. It now records what was measured:

    • tab-width defaults to 4;
    • a value stored over REST keeps its literal TAB, and SSH returns it;
    • the console still advances a TAB to the next multiple of 8.

    Whether a TAB inside a string literal is expanded is still not measured (routeros-string: the "tabs expand to four spaces" header claim is ungrounded, and the 7.20 changelog says something narrower and version-gated #276).

No code changes. The .ts comment means full CI runs. bun run lint:ci passes locally.

🤖 Generated with Claude Code

From the #676 wide-output grounding on CHR 7.23.8 and 7.24.5:
- MATRIX nit: SSH execute without a pty lays out print for 80 columns and
  drops table columns; a user+<cols>w login (7.22+) keeps them.
- routeros-string.ts: tab-width defaults to 4, REST-stored values keep a
  literal TAB, and the console still counts TAB to multiples of 8.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Session: 0e051d84-50af-4e18-8ffa-7e308a0c9e04
Copilot AI lite review requested due to automatic review settings November 26, 2026 20:48
@mobileskyfi
mobileskyfi marked this pull request as draft November 26, 2026 20:48
@coderabbitai

coderabbitai Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are limited based on label configuration.

🚫 Excluded labels (none allowed): 1

  • skip-review

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: tikoci/centrs
  • Branch: main
  • File: .coderabbit.yaml
  • Commit: a27cf20
  • Layers: Repository YAML
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: e73b51f1-b8d8-47b7-9935-92cf81144c54

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Human verification is needed because the RouterOS-specific tab-width and SSH claims lack a re-runnable probe or durable fixture in the repository.

No open issues 🎉

What changed in this PR

Documents RouterOS SSH wide-output and TAB-handling behavior without changing runtime code.

Changes:

  • Adds the measured no-PTY SSH print-width limitation and user+<cols>w workaround to the capability matrix.
  • Records measured tab-width, REST/SSH TAB preservation, and console TAB-stop behavior in the source comment.
  • Notes that TAB expansion inside string literals remains unmeasured.
File Description
src/​core/​routeros-string.ts Updates the explanatory comment with measured RouterOS TAB behavior, version context, and the remaining uncertainty around string-literal expansion.
docs/​MATRIX.md Documents the no-PTY SSH wide-table output limitation and the width-setting username workaround.

Review effort: Lite

@mobileskyfi mobileskyfi added the skip-review Skip CodeRabbit's automatic review (agent or no review instead) label Nov 26, 2026
@mobileskyfi
mobileskyfi marked this pull request as ready for review November 26, 2026 21:08
@mobileskyfi
mobileskyfi merged commit 0cc371c into main Nov 26, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-review Skip CodeRabbit's automatic review (agent or no review instead)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants