Live data from Hacker News

Mutt on Windows Without WSL

blog.djhaskin.com

1–10 of 78 posts

Re: Mutt on Windows Without WSL

#2
I wonder if this author has tried Justin Tuney's Cosmopolitan to run Linux tools on Windows. Her last releases are shipping full set of multiplatfom compiled GNU tools.

They do work on windows. Even bash works. They do break sometimes but work when they do still. I used cosmopolitan's rsync on windows to copy stuff from sdcard but it was terminating randomly sometimes and I ended up using wsl.

Re: Mutt on Windows Without WSL

#4
Mutt is exactly something that would be nice to rewrite in Rust, moreover, splitting into various crates of working with email, so that it will be possible to reuse the same code for both TUI and GUI clients.

Re: Mutt on Windows Without WSL

#6
re: using Unix tools on Windows, I do like that you can pipe the output of a program in WSL to the Windows clipboard (clip.exe). I was really surprised by this! I use pbcopy on the Mac for this all the time.

Re: Mutt on Windows Without WSL

#8
post #6

re: using Unix tools on Windows, I do like that you can pipe the output of a program in WSL to the Windows clipboard (clip.exe). I was really surprised by this! I use pbcopy on the Mac for this all the time.

Oh wow, I didn't know about this, thanks for posting!

For others, it really is just as easy as `ls | clip.exe` to pipe into your clipboard on WSL.

`ls | tee clip.exe` if you want to print as well as copy.

And of course you can just set an alias if you want to shorten clip.exe to clip.

Great tip! Thank you!

Re: Mutt on Windows Without WSL

#9
post #6

re: using Unix tools on Windows, I do like that you can pipe the output of a program in WSL to the Windows clipboard (clip.exe). I was really surprised by this! I use pbcopy on the Mac for this all the time.

Cygwin also offers this through /dev/clipboard, bidirectional. You can do "cat /dev/clipboard > file.txt" as well as "ls > /dev/clipboard"

Re: Mutt on Windows Without WSL

#10
post #6

re: using Unix tools on Windows, I do like that you can pipe the output of a program in WSL to the Windows clipboard (clip.exe). I was really surprised by this! I use pbcopy on the Mac for this all the time.

[deleted]
Post reply on HN