Mosh
PowerShell
Mosh | PowerShell | |
---|---|---|
158 | 406 | |
12,852 | 46,747 | |
0.6% | 1.4% | |
0.0 | 9.7 | |
8 months ago | 4 days ago | |
C++ | C# | |
GNU General Public License v3.0 only | MIT License |
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.
Mosh
-
Developer wrote 25k lines of Neovim plugin code using phone and touchscreen
Try pairing tmux with mosh, it's how I've been working for years whenever I'm forced to admin through a brittle straw. Mosh combats lag pretty well and doesn't care if your connection drops intermittently. https://mosh.org/
-
Autossh – automatically restart SSH sessions and tunnels
Curious what advantages this has over mosh?
https://mosh.org/
-
You (probably) do not understand UDP
Normal ssh is TCP-based. But there is also a different implementation named mosh.
-
Show HN: Shpool, a Lightweight Tmux Alternative
Do you know mobile shell (mosh)? [1]
Seems like most of the features you need are what mosh offers. I've been using it for decades, probably, and it is pretty awesome for latent mobile connections (read as: throttled 2G @16kBit/s).
https://github.com/mobile-shell/mosh
-
Lsix: Like "Ls", but for Images
I use tmux, but as far as unreliable connections, I've found mosh[0] to be the best solution to the problem (when you have the ability to install it). It basically runs a background process on connection not tied to the session that your client will automatically reconnect to if the connection fails. I regularly close my laptop, travel between home and work, open it back up and the connection is available almost instantly.
[0] https://mosh.org/
- Show HN: A WireGuard Powered Remote Shell
-
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/
PowerShell
- PowerShell 7.5.0 Released
-
Fish shell announces 4.0 release
I'll take this moment to point out that the PowerShell feels like a modern shell and is open source https://github.com/PowerShell/PowerShell (MIT license). If you want something more modern give it a try. Native support for JSON and XML and parallel streams.
That said, I'm glad to see another major release of Fish because it's for having option that we get evolution.
-
Best PowerShell Dev Environment on Windows
Download: https://github.com/PowerShell/PowerShell/releases/download/v7.4.5/PowerShell-7.4.5-win-x64.msi
- PowerShell: Cross-Platform Automation and Scripting for Every System
- PowerShell for Every System: Cross-Platform Automation Made Easy
- Jeffrey Snover and the Making of PowerShell
-
Why *not* parse `ls` (and what to do instead)
PowerShell is so alien to an experienced bash/zsh/etc. user that it's an entirely different language not any kind of drop-in replacement. Its designers also refuse to add simple things to make the switch any easier (e.g. https://github.com/PowerShell/PowerShell/issues/3316).
-
Microsoft to Deprecate VBScript
Not necessarily:
1. UNIX-compatibility aliases like "ls -> Get-ChildItem" and "cat -> Get-Content" are not defined in PowerShell on Linux or macOS. For a complete list of these, see the PowerShell source code[1] (look for "#if !UNIX").
2. A number of aliases from PowerShell ≤ 5.1 were removed in PowerShell Core (≥ 6.0), including the particularly annoying "curl -> Invoke-WebRequest" (conflicts with curl.exe) and "sc -> Set-Content" (conflicts with sc.exe).
[1] https://github.com/PowerShell/PowerShell/blob/8ea1598964590b...
-
LuaRT: Lua programming environment for console, desktop applications for Windows
and do a no-install copy-paste deployment of powershell 7 and modules. (I'm not saying you should do this instead of using Lua, just that you can).
[1] https://github.com/PowerShell/PowerShell/releases
-
PowerBI: déployer une passerelle sur AWS pour $0.12/j
msiexec.exe /package https://github.com/PowerShell/PowerShell/releases/download/v7.2.6/PowerShell-7.2.6-win-x64.msi /quiet ADD_EXPLORER_CONTEXT_MENU_OPENPOWERSHELL=1 ADD_FILE_CONTEXT_MENU_RUNPOWERSHELL=1 ENABLE_PSREMOTING=1 REGISTER_MANIFEST=1 USE_MU=1 ENABLE_MU=1 ADD_PATH=1
What are some alternatives?
Eternal Terminal - Re-Connectable secure remote shell
nushell - A new type of shell
Gravitational Teleport - The easiest, and most secure way to access and protect all of your infrastructure.
PowerToys - Windows system utilities to maximize productivity
tmux - tmux source code
xonsh - :shell: Python-powered shell. Full-featured and cross-platform.