reptyr
Mosh
reptyr | Mosh | |
---|---|---|
16 | 152 | |
5,592 | 12,216 | |
- | 0.3% | |
4.3 | 4.6 | |
8 months ago | 24 days ago | |
C | C++ | |
MIT License | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
reptyr
- Reptyr: Reparent a running program to a new terminal
-
Is it possible to restart X without killing a process started in a gnome terminal?
Maybe https://github.com/nelhage/reptyr
-
What is your most important feature of tmux?
https://github.com/nelhage/reptyr I guess this is what your looking for (it reparents a process, while retaining stdin/out using the ptrace syscall and some linux hacks iiuc)
-
Python Preloaded
Start CPython and import the libraries. Then keep the process running as a fork server. Whenever a new instance it needed, we make a fork (os.fork), and apply a similar logic as reptyr. Some technical details are here.
- Is it possible to stop a bash a bash script during execution and then return back to where you left off the next time you run the script
- Reopening verbose terminal for running service in Linux
-
catp: Print the output of a running process
Very much reminds me of reptyr
-
GNU ed ate my homework
- reptyr: https://github.com/nelhage/reptyr
using mosh means i don't get SIGHUP, and if i use my local display, i can open another mosh, reptr my old session (it's still there!) and keep on hacking.
-
Detaching current process from terminal on linux?
I know there is reptyr to reattaching running process to another tty. You can probably do the same from within the program. There is an abandoned rust rewrite you can probably ignore.
-
Which operating system should I use for a game server?
Alternatively, there's also reptyr, which allows you to reattach to a detached process - thereby giving you access to the standard input and standard output of a running Minecraft server instance.
Mosh
-
The IDEs we had 30 years ago and we lost
If you haven’t already, and I know this doesn’t hold up for GUI emacs or vim, but consider running them through https://mosh.org/
- mosh: Mobile Shell
-
Write Your Own Terminal
FWIW, I wouldn't try to parse escape sequences "directly" from the input bytestream -- it's easy to end up with annoying bugs. Longer-term it's probably better to separate the logic e.g.:
- First step (for a UTF-8-input terminal emulator) means "lexing" the input bytestream as UTF-8 into a stream of USVs, which involves some subtleties (https://github.com/mobile-shell/mosh/blob/master/src/termina...).
- Second step is to run the DEC parser/FSM logic on the sequence of USVs, which is independent of the escape sequences (https://vt100.net/emu/dec_ansi_parser ; https://github.com/mobile-shell/mosh/blob/master/src/termina...).
- And then the third step is for the terminal to execute the "dispatch"/"execute"/etc. actions coming from the FSM, which is where the escape sequences and control chars get implemented (https://github.com/mobile-shell/mosh/blob/master/src/termina...).
Without this separation, it's easier to end up with bugs where, e.g., a UTF-8 sequence or an ANSI escape sequence is treated differently when it's split between multiple read() calls vs. all in one call.
-
Typing Fast Is About Latency, Not Throughput
Btw, you can use mosh to hide the latency of SSH. https://mosh.org/
-
How do I enable new pane/tab with CWD while using mosh?
I've been using Kitty's SSH features for as long as I can remember but I recently setup Mosh and I really like how it doesn't drop connections and supports roaming.
-
Buying an iPad Pro for coding was a mistake
I am surprised many people write about ssh into a server. Mosh[1] feels more responsive and it also supports longer sessions.
[1] - https://mosh.org/
-
Prompt2, heads up; they are readying up another version Prompt2 has been abandoned by devs since iOS 14 / 1y ago in a crashing state - Now they want to make another money-heist cash-grab from its users by forcing them to upgrade one of the most expensive apps of all time.
Also they support Mosh which I install on my servers. It's way better than plain ssh when you're on mobile networks and wifi, especially with connections that are unreliable or bandwidth-constrained.
- Zellij New WASM Plugin System
-
networkingStarterPack
I’ve recently been experimenting with MoSH (Mobile Shell). Basically think SSH but with UDP - so more resilient to shoddy network conditions, roaming access points, etc.
-
How can I get a lisp image to run in the background?
If it is not for production (e.g. running as a daemon or a server) and you only care about the development, another ad-hoc way is using screen/tmus-like software incl. byobu, and combine it with mosh.
What are some alternatives?
FTerm.nvim - :fire: No-nonsense floating terminal plugin for neovim :fire:
Eternal Terminal - Re-Connectable secure remote shell
tmux - tmux source code
extrakto - extrakto for tmux - quickly select, copy/insert/complete text without a mouse
Gravitational Teleport - The easiest, and most secure way to access and protect all of your infrastructure.
dmtcp - DMTCP: Distributed MultiThreaded CheckPointing
Advanced SSH config - :computer: make your ssh client smarter
tmux-yank - Tmux plugin for copying to system clipboard. Works on OSX, Linux and Cygwin.
Code-Server - VS Code in the browser
python-preloaded - Bundle Python executable with preloaded modules
PowerShell - PowerShell for every system!