News for hackers. Stuff that matters.
Re:Ubuntu now available from the Windows store by m_mueller on Tuesday July 11, 2017 @02:18AM (#14741968)
how are file endings handled with WSL? last time I tried using git & sublime text on Windows with some version of cygwin it would checkout a repo with windows file endings, which broke all the bash scripts. if it uses POSIX file endings, how about opening the files with windows applications like VS?

Edit: Also, does the windows terminal now have some sane colour scheme? I could never make it work to not show me some completely unreadable colors, like dark blue text on black ground or light yellow on white.

Re:Ubuntu now available from the Windows store by jstarks on Tuesday July 11, 2017 @02:34AM (#14742026)
WSL doesn't change the line endings, so you'll want to make sure that if you use Git for Windows along with it, you set it up to use Unix line endings. Most decent editors (including VS and VSCode) can handle LFs just fine. The most annoying gap is Notepad.

We are definitely aware of the problems with the terrible color scheme. I don't remember right now if we have done anything about it quite yet... but it should be coming. In the meantime you can adjust the colors manually.

Re:Ubuntu now available from the Windows store by jhasse on Tuesday July 11, 2017 @03:56AM (#14742329)
Btw: I can recommend Notepad2-mod: https://xhmikosr.github.io/notepad2-mod/ It can replace Notepad and understands LFs.

You can install it with Chocolatey https://chocolatey.org/packages/notepad2-mod which will automatically set it up as a Notepad replacement :)

Re:Ubuntu now available from the Windows store by petters on Tuesday July 11, 2017 @02:29AM (#14742009)
As far as line endings etc goes, WSL is Linux. It literally has the same binaries running.
Re:Ubuntu now available from the Windows store by nenreme on Tuesday July 11, 2017 @05:28AM (#14742707)
I always configure git and all editors on Windows to use LF line endings. It is so annoying that so many applications use CRLF endings by default, I never understood reason for that, I'm always using LF and have no issues.
Re:Ubuntu now available from the Windows store by balakk on Tuesday July 11, 2017 @03:35AM (#14742253)
Conemu is pretty nice, and works with WSL:

https://conemu.github.io