Skip to content

Net improvements - #187

Open
y4my4my4m wants to merge 3 commits into
masterfrom
net-kaizen
Open

Net improvements#187
y4my4my4m wants to merge 3 commits into
masterfrom
net-kaizen

Conversation

@y4my4my4m

@y4my4my4m y4my4my4m commented Jul 17, 2026

Copy link
Copy Markdown
Collaborator

Big improvements to the PCNet driver and Telnet client.
The telnet client now behaves as you'd expect from a modern one on any other OS.

Additionally, I have some very minimal HTTP Browser (well, it's more of a fetch + strip HTML tags and display as text)

Note: AI (Fable 5) helped me debug where I've been stonewalled before.

- Added Telnet negotiation support and improved state management for parsing Telnet commands and ANSI escape sequences.
- Implemented error handling for malformed IPV4 packets in the network handler.
- Updated TCP connection handling to include retransmission logic and improved error reporting.
- Refactored various functions for better readability and maintainability, including socket management and buffer handling.
- Introduced new constants for TCP maximum retries and enhanced packet parsing validation across protocols.
- Streamlined Telnet command parsing and state management, enhancing overall functionality.
- Introduced new methods for handling ANSI escape sequences, including cursor movement and screen manipulation.
- Improved error handling and buffer management for terminal operations.
- Updated terminal attributes and cursor visibility management for better user experience.
- Introduced a new HTTP client for ZealOS, supporting HTTP/1.0 with basic request handling and response parsing.
- Added a minimal text-mode web browser that fetches and displays web pages in plain text, allowing link navigation.
- Enhanced Telnet functionality with improved scrolling and history management for better user experience.
- Updated network loading to include HTTP protocol dependencies, ensuring proper integration with the new browser functionality.
@y4my4my4m
y4my4my4m marked this pull request as ready for review July 18, 2026 08:12
@y4my4my4m
y4my4my4m requested a review from GutPuncher July 18, 2026 08:12
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