workstation-dotfiles
Mosh
workstation-dotfiles | Mosh | |
---|---|---|
9 | 155 | |
2 | 12,297 | |
- | 0.8% | |
4.4 | 3.4 | |
7 months ago | 9 days ago | |
Shell | C++ | |
- | 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.
workstation-dotfiles
- Minimal config (55 lines) for web development & general purpose programming
-
Can you help me improve my script(s)?
The rest of my scripts are here if you'd like to take a look.
-
dwm is bloat, real ones use vim
I meant, something like this: https://github.com/SituesmonpainJetejetterai/workstation-dotfiles/blob/main/sh/bin/.bash/.bash_startup.sh
- What's your setup for editing BASH?
-
Why can't I cd into a directory using this script?
This is the directory that the .bashrc sources.
-
New to AWS, custom bash aliases and functions not working
Let me explain. I'm using the t2.micro instance (Debian), and I just cloned my git repository containing the customisations that I do for every workstation. You can find these functions and aliases here. The thing is, when I source these files in my .bashrc and then try to use the aliases (defined in .bash_aliases), I can use only some of them.
-
Statusline is messed up every time I do a vertical split
You were right, setlocal fixed it. This is the commit for reference. Thanks for your help!
-
Problem in sourcing function from .bashrc
However, here are the files I'm using. I source .bash_functions.sh and .bash_aliases from .bashrc, so my .bashrc doesn't actually have anything :)
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/
-
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.
What are some alternatives?
Eternal Terminal - Re-Connectable secure remote shell
Gravitational Teleport - The easiest, and most secure way to access and protect all of your infrastructure.
tmux - tmux source code
Advanced SSH config - :computer: make your ssh client smarter
Code-Server - VS Code in the browser
PowerShell - PowerShell for every system!
parallel-ssh - Asynchronous parallel SSH client library.
Cluster SSH - Cluster SSH - Cluster Admin Via SSH
tailscale - The easiest, most secure way to use WireGuard and 2FA.
stormssh - Manage your SSH like a boss.
ShellHub - :computer: Get seamless remote access to any Linux device. Centralized SSH for the edge and cloud computing
cloudflared - Cloudflare Tunnel client (formerly Argo Tunnel)