tty

command
v0.0.0-...-0a0cf75 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 22, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Companion code for the Linux terminals blog series: https://dev.to/napicella/linux-terminals-tty-pty-and-shell-192e I have simplified the code to highlight the interesting bits for the purpose of the blog post: - windows resizing is not addressed - client does not catch signals (CTRL + C, etc.) to gracefully close the tcp connection

Build: go build -o remote main.go In one terminal run: ./remote -server In another terminal run: ./remote

Run on multiple machines: In the client function, replace the loopback address with IP of the machine, then rebuild Beware the unecrypted TCP connection!

Directories

Path Synopsis
You can edit this code! Click here and start typing.
You can edit this code! Click here and start typing.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL