lanternterminal:sessions
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| lanternterminal:sessions [2026-11-07 16:04] – Add Lantern Terminal 0.1.0 documentation slaterm | lanternterminal:sessions [2026-11-11 08:56] (current) – Update Lantern Terminal guides for 0.6.0 slaterm | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== | + | ====== |
| - | ===== Opening a saved session | + | ===== Theme ===== |
| - | Create and save a connection with **File → New session**. To open it later, find it in the **Sessions** pane and double-click its name, or select it and choose | + | Choose |
| - | ===== Connection details | + | ===== SSH authentication and server trust ===== |
| - | Choose **File → Quick Connect** for an immediate SSH2/ | + | A password prompt appears only if the server offers password or keyboard-interactive authentication. If the error is **Permission denied (publickey)**, |
| + | |||
| + | ===== Connections ===== | ||
| + | |||
| + | Choose **File → Quick Connect** | ||
| For SSH, supply the hostname, port, username and optionally a private key in Session Properties. Authentication and unknown/ | For SSH, supply the hostname, port, username and optionally a private key in Session Properties. Authentication and unknown/ | ||
| - | SSH settings include jump hosts, agent forwarding, compression, | + | SSH settings include jump hosts (one or a chain: '' |
| - | Local shells use a PTY on Linux and ConPTY on Windows. Serial connections use device paths or COM names and configurable baud/ | + | **SSH engine.** Each SSH2 session uses one of two engines, chosen under **Session properties → Connection → SSH2 → SSH engine**: |
| + | |||
| + | * **Built-in (libssh)** (default) handles SSH inside Lantern. The status bar shows the cipher, key exchange and MAC actually negotiated, and the connection state comes straight from the protocol. Host-key questions, key passphrases, | ||
| + | * **OpenSSH** runs the system '' | ||
| + | |||
| + | The built-in engine understands about 40 of the additional OpenSSH options (for example '' | ||
| + | |||
| + | **Copy Public Key to Server** (Tools menu, or right-click an SSH session or tab) puts your public key on a server so the session can log in without a password, like '' | ||
| + | |||
| + | **SSH Agent** (Tools menu) lists the agent' | ||
| + | |||
| + | **RDP (Windows Remote Desktop).** Choose the RDP protocol (port 3389) in a new session or Quick Connect, or type '' | ||
| + | |||
| + | **BBSes and door games.** Use **Tools → New BBS session…** (not File → New session, which makes ordinary sessions). Choose Telnet (the default), RLogin, SSH2 or Raw TCP, then enter the host and a name. This sets up the session the way BBSes expect: the CP437 character set, the ANSI-BBS screen, the built-in VGA font, an 80×25 screen that scales the font to fit the window, and BBS keys (Backspace sends 0x08, Delete sends 0x7F). For sessions you already have, right-click them (or a folder) in the Sessions pane and choose **Apply BBS settings…**, | ||
| + | |||
| + | * **Terminal → Emulation → ANSI-BBS emulation** behaves like a DOS ANSI.SYS screen: bold text is the bright colour, blinking text blinks, clearing the screen moves the cursor to the top left, CP437 symbols such as ☺ ♥ ♪ appear for control bytes in ANSI art, and ANSI music is ignored (it is not played). **iCE colours** turns the blink attribute into bright backgrounds, | ||
| + | * **Terminal → Appearance → Use the built-in VGA font** draws text with an 8×16 PC-style font. Block and line-drawing characters fill their cells exactly, so ANSI art has no gaps at any size. | ||
| + | * Copying text from a BBS screen gives the equivalent Unicode characters. | ||
| + | |||
| + | **RLogin** (port 513) logs you straight in. As in SyncTERM, the BBS user name goes in **Username** and the password (or the key some door servers give you) in **Connection → RLogin → Client user name**. To keep a password out of the settings file, create a credential in **Tools → Manage credentials**, | ||
| + | |||
| + | **BBS Directory.** To find a BBS and connect without making a session first, use the **BBS Directory** button on the toolbar (or **Tools → BBS Directory…**). It downloads the Synchronet BBS List and the Telnet BBS Guide, keeps the BBSes you have used at the top, and saves a BBS as a session when you press **Save as session**. See [[lanternterminal: | ||
| + | |||
| + | **Importing a BBS list.** **Tools → Import BBS list (SyncTERM)…** reads a SyncTERM dialling directory ('' | ||
| + | |||
| + | SyncTERM-Lua scripts (for example LORD or TradeWars bots) run with **Script → Run** once you are at the right point in the game; see the [[lanternterminal: | ||
| + | |||
| + | Local shells use a PTY on Linux and ConPTY on Windows. Serial connections use device paths or COM names and configurable baud/ | ||
| ===== Profiles and settings ===== | ===== Profiles and settings ===== | ||
| - | Right-click entries to edit, rename, cut/ | + | Right-click entries to edit, rename, cut/ |
| + | |||
| + | Select a saved session, then choose **Create desktop shortcut…** from its context menu, or **File → Create session desktop shortcut…**. Choose where to save the Linux '' | ||
| **Options → Session properties** edits the active session. Several transport settings take effect on reconnect; appearance/ | **Options → Session properties** edits the active session. Several transport settings take effect on reconnect; appearance/ | ||
| - | Imports accept native JSON/XML and simple comma/tab text rows ('' | + | Imports accept native JSON/XML and simple comma/tab text rows ('' |
| - | ===== Terminal | + | ===== Terminal ===== |
| The terminal supports colour, Unicode, primary/ | The terminal supports colour, Unicode, primary/ | ||
| - | Use the toolbar phrase box for temporary highlights, or configure permanent pattern/ | + | **Keyboard shortcuts.** Lantern' |
| + | |||
| + | Use the toolbar phrase box for temporary highlights, or configure permanent pattern/ | ||
| + | |||
| + | **Terminal types and graphics.** Besides xterm, VT100/ | ||
| Lock a session from File; choose a local unlock password. Locked sessions stay connected but hide their screen and reject scripted reads and broadcast input. Unlock restores the same session. | Lock a session from File; choose a local unlock password. Locked sessions stay connected but hide their screen and reject scripted reads and broadcast input. Unlock restores the same session. | ||
| Line 33: | Line 70: | ||
| ===== Tabs, groups and commands ===== | ===== Tabs, groups and commands ===== | ||
| - | Drag tabs to reorder within a group. Window menu commands create horizontal/ | + | Drag tabs to reorder within a group. |
| The Command window' | The Command window' | ||
| - | Commands have labels, descriptions, | + | Commands have labels, descriptions, |
| + | |||
| + | Right-click commands or command folders to **Cut**, **Copy** and **Paste**. Copies receive independent IDs and preserve their exact action text and escapes. Paste uses the selected command folder. Cutting moves the existing commands only when you paste in the same application window; pasting into another instance copies them. Nothing runs merely because it is copied or pasted. | ||
| + | |||
| + | Choose **Tools → Manage button bars…** or **Manage bars…** on the button toolbar. Create, copy, rename or delete named bars; add/ | ||
| + | |||
| + | Right-click selected commands and choose **Add to button bar** to link existing actions to a bar. **Paste commands** in the bar manager creates independent copies of the clipboard actions and adds them in order. The toolbar selector chooses the active session' | ||
| Save a named snapshot from File to retain session settings and tab-group layout. Manage snapshots to open, rename, duplicate or delete them. Snapshots are not remote process checkpoints. | Save a named snapshot from File to retain session settings and tab-group layout. Manage snapshots to open, rename, duplicate or delete them. Snapshots are not remote process checkpoints. | ||
| - | ===== Backups | + | ===== Files and logs ===== |
| + | |||
| + | File transfers (Zmodem, Xmodem, Ymodem, Kermit, the SFTP Browser) are described in [[lanternterminal: | ||
| + | |||
| + | Open an SFTP terminal from an SSH tab. Its interactive client supports '' | ||
| + | |||
| + | Start, pause/ | ||
| + | |||
| + | The optional TFTP server starts only when chosen in Transfer. Configure upload/ | ||
| + | |||
| + | ===== Sync between | ||
| + | |||
| + | To have the same sessions on several computers, choose a folder that Nextcloud, Syncthing, Dropbox or a network share keeps the same everywhere, and set it in **Options → Global settings → General → Sync** on each computer. Lantern writes '' | ||
| + | |||
| + | ===== Updates ===== | ||
| + | |||
| + | Lantern checks the website once a day and tells you when a new version is out. **Update Now** downloads it, checks it and installs it: the Debian package asks for your password, and on Windows the installer runs while Lantern closes. A copy that was not installed from a package opens the download page instead. **Not Now** asks again tomorrow; **Skip This Version** stays quiet until the next one. **Help → Check for Updates…** checks at once, and the window has a box to turn the daily check off (also **Global settings → General → Updates**). | ||
| + | |||
| + | ===== Automation and help ===== | ||
| + | |||
| + | Run Python or Lua scripts from Script, cancel them independently of the session, or record send actions into an editable Python or Lua file. See SCRIPTING-GUIDE.md for prompt matching and examples. Recording is a send-action skeleton and may need explicit waits before reuse. Recognised password/ | ||
| + | |||
| + | **Help → Features and capabilities** lists included and unavailable compatibility features. Build instructions and the detailed specification are available offline. **Help → About** shows version and the exact configuration directory. | ||
| + | |||
| + | ===== Saved-session launch commands ===== | ||
| + | |||
| + | Use a saved session' | ||
| + | |||
| + | <code sh> | ||
| + | lantern-terminal --open-session ' | ||
| + | lantern-terminal --config " | ||
| + | lantern-terminal --config " | ||
| + | </ | ||
| + | |||
| + | On Windows, use a '' | ||
| + | |||
| + | ===== Lua automation ===== | ||
| + | |||
| + | Choose **Script → Run** and select a '' | ||
| + | |||
| + | ===== Reusing an unlocked SSH key ===== | ||
| + | |||
| + | Select the private key (for example '' | ||
| + | |||
| + | Windows needs its OpenSSH Authentication Agent service running. If the agent reports “No such file or directory”, | ||
| + | |||
| + | <code powershell> | ||
| + | Set-Service ssh-agent -StartupType Automatic | ||
| + | Start-Service ssh-agent | ||
| + | Get-Service ssh-agent | ||
| + | </ | ||
| - | **Help → About Lantern Terminal** displays | + | Then add the identity again. On Linux, use an agent provided by the desktop or start one in the environment |
| - | Use **Tools → Export settings…** and **Tools → Import settings…** to move session settings. Exports omit passwords and private-key bytes. Keys, local file paths and installed shell/ | + | ===== Connection state and tab reuse ===== |
| - | [[lanternterminal: | + | “Reuse disconnected tabs” only replaces an idle disconnected tab. Connecting sessions and SSH password, passphrase or host-key prompts keep their own tabs when you open another session. The status bar shows **Connecting…**, |
lanternterminal/sessions.1794067470.txt.gz · Last modified: by slaterm
