Skip to content

Add telnet startup login options - #961

Draft
GeoKM wants to merge 3 commits into
Swordfish90:masterfrom
GeoKM:agent/telnet-startup-login-upstream
Draft

Add telnet startup login options#961
GeoKM wants to merge 3 commits into
Swordfish90:masterfrom
GeoKM:agent/telnet-startup-login-upstream

Conversation

@GeoKM

@GeoKM GeoKM commented Jul 9, 2026

Copy link
Copy Markdown

Summary

Add command-line options to open a telnet connection on startup and optionally send login credentials after detecting login/password prompts.

New options:

  • --telnet-host <host>
  • --telnet-port <port>
  • --telnet-user <user>
  • --telnet-password <password>

The README now includes command-line examples and notes that the system telnet command must be installed and available in PATH.

Dependency

This PR depends on Swordfish90/qmltermwidget#52 because the QML login automation needs KSession to expose terminal output through receivedData.

Notes

Passing passwords on the command line can expose them through shell history or process listings. The README documents that caveat.

Validation

  • Built on macOS with qmake6 QMAKE_CXXFLAGS+="-include arm_acle.h" cool-retro-term.pro
  • Ran make -j8
  • Verified cool-retro-term.app/Contents/MacOS/cool-retro-term --help includes the new options
  • Verified the macOS binary is arm64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant