PS. Most shockingly of all, Windows's Notepad reads and writes Unix-style LF-terminated files.
It's slightly annoying that you have to twiddle a bunch of the preferences to make it a workable plaintext editor. Apple should just delete its rich text functionality, now that they bundle a real word processor (Pages) with the OS.
In TextEdit -> Preferences..., select the "Plain text" radio button. New documents are created as plain text now.
Plain Text (select)
Check spelling as you type (disable)
Correct spelling automatically (disable)
Smart copy/paste (disable)
Smart quotes (disable)
Smart dashes (disable)
Text replacement (disable)
Open and Save:
When Opening a File:
Display HTML files as HTML code instead of formatted text (enable)
Display RTF files as RTF code instead of formatted text (enable)
When Saving a File:
Add ".txt" extension to plain text files (disable)
Plain Text File Encoding:
Opening files = Unicode (UTF-8)
Saving files = Unicode (UTF-8)
Add-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0
SSH, remote desktops, hugs & cupcakes for all my friends!
The product is of sufficient value that it's worth supporting.
> Tabbed terminal with SSH
> Based on PuTTY with antialiased fonts and macro support
MobaXterm and PuTTY cover very different use-cases, PuTTY being a subset with close to 100% feature parity.
For Terminals, Windows has a number of outstanding terminal apps:
- Windows Terminal (a tabbed terminal made by Microsoft)
- Hyper 3
And a billion other maintained tabbed terminals, some with an SSH UI if you want it. As an SSH implementation though, openssh is probably the best.
Linux has great terminals. Gnome Terminal and KTerm.
If by 'Linux terminal' you just mean terminal, Windows Terminal and Fluent aren't Electron based and are both quite fast.
Of course there are also fonts, copy/paste, colors, keys customization etc. But slowness is a deal breaker for me.
You probably want alacritty then, it's GPU accelerated and designed to be ultra fast. No tabs, it's expected you add a Windows based tabbing window manager.
Ack re: switching between tmux tabs though.
Have you tried Windows Terminal or Fluent? WT is C++ so should be good (and has a huge team of developers on GitHub who are paid to make it not suck - if you have a bunchmark to show it's slower than putty on a task, they'll probably want to fix it.
Repeat the above in another terminal and compare.
Windows Terminal is actually pretty bad under tmux but ok-ish without. Can't switch off to another tmux window while it's going either so basically locked in. That's unusable.
The argument could be made that tmux is an issue. But since 100% of my ssh is under remote tmux and it's fast in putty/kitty I can only blame other terminals. Even without tmux kitty is 2x faster than windows terminal. And kitty doesn't slow down under tmux.
Another consideration is that the free version is licensed for commercial use, which is why I freely recommend it at work and with a clear conscience.
Also this might be helpful for anyone wanting to follow along: https://devblogs.microsoft.com/commandline/
It looks rather interesting, if still in prerelease. (also, there's a trailer for it on YouTube - so weird )
The 0.5 version is usable as a day to day terminal.
Alternative most stable Terminal is Fluent which I've used for a couple of years now.
I have small reviews of about 8 of the Windows terminal apps at: https://github.com/mikemaccana/powershell-profile
Fwiw, I work on rails + react apps with this setup:
- Hyper as my terminal
- WSL2. Then just my zsh/vim/tmux setup
- Docker's tech preview for WSL2
This has been pretty reliable so far. I'm sure I'll hit a snag at some point, but it has been a relatively smooth experience.
Alacritty is great if you need actual performance.
Hyper is actually the one with the overall best experience, but it is electron and the usual issues apply.
Fwiw, mobaxterm can also be configured to use wsl.
There are quite a few terminal emulators on windows and I just listed a few I thought noteable.
I didn't even mention the new one from Microsoft!
If you just want a sleek looking terminal for a few commands, cmder is definitely a valid choice. The occasionally broken copy paste is however dangerous, as it can remove characters from the middle of a line
I.e. `rm -rf /tmp/something && echo success` can get shortened to `rm -rf / && echo success`. It's admittedly very unlikely, as it usually just introduces errors such as `rm -rf /tm & echo success`.
Also yes I noticed those issues in Cmder, I'm always looking for better choices that look nice to the eyes.
You can check if ssh is enabled with this command.
Get-WindowsCapability -Online | ? Name -like 'OpenSSH*'
plink -serial COM1 -sercfg 9600,8,N,1,N
Probably not too helpful if you’re dealing with poorly written windows serial software targeting embedded though.
Also python if you need to programmatically connect and operate a device over serial. Quite easy.
If WSL was not an option, I personally would still use PuTTY
I personally use 'screen'. It's a perfectly capable terminal for serial communications. It can even catch zmodem handshakes (it's in the manual).
That said, does WSL really provide serial devices? That’s pretty awesome. I wonder if USB also is a thing in the WSL2 world.
I've found that between OpenSSH for Windows, Windows Terminal and WSL, I don't need PuTTY anymore. It's also nice to be able to use the same SSH keys on Windows and Linux instead of converting PuTTY keys to OpenSSH keys and vice versa.
I know the most popular use of Yubikey + SSH is via OpenPGP but it involves a lot of things which are not working very well on Windows (namely GPG4Win, unstable gpg-connect-agent, etc.).
With this fork, you just need to install the official Yubikey mini driver to have it work with PuTTY CAC. (You will also need Yubikey Manager to configure your key).
Connect your Yubikey, launch PuTTY CAC, look in SSH>Certificate, enable Attempt cert auth, Set CAPI cert (choose your Yubikey cert).
It even works through Windows Remote Desktop.
The process was: launch sc-pageant.exe, insert smartcard in reader, and ready to connect with any SSH client with agent support.
However it is not open source and you have to register your key if you don't want to get an annoying popup from time to time (iirc it was 1€, but you could also email the developer if you were using an OpenPGP card).
But the licensing is meh. 20 euros for one public key hardcoded to the license...
I'm no expert on this so I may have missed something.
Except I remember ending up with multiple copies of gpg-agent running, for no obvious reason (which had to be killed before I could start a session - hmm. Maybe I remember finding this solution annoying). I think support for PIN-entry had its own annoyances.
[Note: I haven't tried this at all recently - I just did a quick search to try to refresh my crumbling memory]
Still grateful for Simon Tatham's work. Did you know he also made a great collection of puzzles?
Be careful not to install by mistake the non-PuTTY based software mentioned below that attempted to hijack the already-in-use "KiTTY" name.
And since stdout is blocking, it _can_ actually affect the performance of programs.
(and, anyway, it's about input latency)
Many software don't abide by that.
- A pulldown to allow you to select a serial port, as in TeraTERM. I frequently can not recommend PuTTY to non-power users because it lacks this one feature. And yes, I know it's hard, but it's not that hard.
- Integrated Zmodem support. I use Zmodem for firmware updates for some embedded applications. It works great over TeraTERM.
- Sixel support (as in xterm), so that embedded applications can print graphs through the console serial port.
I've been using SuperPutty for several years now - tabbed UI is really useful, as is the folder organisation of lots of connections.
I really like how it shows the terminal, but kind of separate from the phone UI. A lot try to show you the terminal as the phone UI and it does not work well.