Skip to main content

After Hours

Chat Client

A terminal client for the chat server. Text from the server stays in the upper part of the screen. The line you are typing stays at the bottom, and new text does not clear it.

The bottom line is the prompt the server just sent: the name prompt, a password prompt, or the player's own prompt. The two lines above it are the last two lines you sent, still showing the prompt that was in use then. A bar separates that area from the history. The server's prompt is not copied into the history.

Install

pip install lupaxa-chat-client

Requires Python 3.10+.

Note: chat-client only runs in a terminal. It stops before connecting when standard input or standard output is not a terminal.

Run

The host and the port are required. Use the port the server is listening on.

chat-client telnet 127.0.0.1 9000
chat-client ssh 127.0.0.1 9022

Telnet and SSH both show the server's normal text. On telnet the line is edited locally and sent when you press Enter. On SSH each character is sent as you type, and the server echoes it onto the prompt. SSH signs in as the user chat.

The first SSH host key is saved in ~/.chat-client/known_hosts. A key that no longer matches is refused.

The Screen

Server lines wrap to the width of the terminal. Narrowing or widening the window wraps them again from the original lines. Page Up keeps the same rows on screen while more text arrives. End, or Page Down back to the bottom, shows the newest lines.

A password prompt hides the characters you type. Ctrl-C leaves and restores the terminal.

Keys

Scrolling and editing stay on this client. They are not sent to the server.

Key What it Does
Page Up Scroll the history up by one screen.
Page Down Scroll the history down by one screen.
End Jump back to the newest server lines.
Left and Right Move the cursor along the line you are typing.
Backspace Delete the character before the cursor.
Delete Delete the character at the cursor.
Enter Send the line.
Ctrl-C Leave and restore the terminal.

Up and Down do not recall earlier lines. Ctrl-D does not quit.

The Lupaxa Project Footer

Metadata

Release files for lupaxa-chat-client 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lupaxa-chat-client 0.1.0
File Size Uploaded
lupaxa_chat_client-0.1.0.tar.gz 15.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for lupaxa-chat-client 0.1.0
File Interpreter ABI Platform
lupaxa_chat_client-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 33.8 kB

Release files / lupaxa_chat_client-0.1.0.tar.gz

Download URL lupaxa_chat_client-0.1.0.tar.gz
Size 15.4 kB
Tags Source
SHA-256 checksum
How to use checksums
10373b4f0434daa474a69401cf618174abebd73d45c13e73ada9ead99ce0d0c4
BLAKE2b-256 checksum
How to use checksums
2738dd6fd5adfeee090ec099173a88d491eaa1ba83433cda9292d6f17fd57005
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 13, 2026.

Transparency log

Release files / lupaxa_chat_client-0.1.0-py3-none-any.whl

Download URL lupaxa_chat_client-0.1.0-py3-none-any.whl
Size 18.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7a8a7e167a55b4903bb7b3b7e71a9edefaaa642635e7566db566e67b9098ba65
BLAKE2b-256 checksum
How to use checksums
e18da34efb7648e5927ebf704575877db90660e07e315baf2c58ef5647e87808
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 13, 2026.

Transparency log

Release history Release notifications | RSS feed

0.1.1

2 release files

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page