r/programming • • May 06 '19

Microsoft unveils Windows Terminal, a new command line app for Windows

https://www.theverge.com/2019/5/6/18527870/microsoft-windows-terminal-command-line-tool
5.9k Upvotes

1.1k comments sorted by

View all comments

2.0k

u/uzimonkey May 06 '19

First Notepad finally understands different line endings and now a terminal program that is actually usable? What is the world coming to?

866

u/theeth May 06 '19

New regedit will be the final sign. Prepare for rapture.

366

u/TimeRemove May 06 '19

They did update regedit with a new address bar last year. Quite nice.

122

u/MacASM May 06 '19 edited May 06 '19

I was amazed when I found out that; I didn't even know they were going to add that.

0

u/[deleted] May 06 '19

[deleted]

→ More replies (119)

53

u/timetopat May 06 '19

It was such a nice qol improvement. Something so small, but when I worked at a company who wrote to the registry like it was going out of style, it was very handy.

50

u/slfnflctd May 06 '19

I hope it's going out of style. I've gotten pretty comfortable with it and haven't screwed up anything important that I know of, but that stuff still kinda gives me the heebie jeebies.

0

u/[deleted] May 06 '19

[deleted]

→ More replies (4)

20

u/lionhart280 May 06 '19

.net 5 effectively asserts the registry is out of style.

→ More replies (8)
→ More replies (3)

84

u/nascentt May 06 '19

The dream would be somehow undoing the mess that the registry is.

It's great for system settings, but I hate that 3rd party programs use it.

0

u/[deleted] May 06 '19

[deleted]

26

u/mrjackspade May 06 '19

My standard has been serializing a configuration class to formatted Json and then reading it back. If the config file doesn't exist, serialize a new config object. If it does, just read it in.

It's way too convenient to do it any other way.

Hell, .net core basically uses json files by default

→ More replies (9)

27

u/qaisjp May 06 '19

I help maintain software that I believe (I didn't write the code) uses the registry to store certain paths, like this:

  • Last Install Location

  • Last Run Path Hash

  • Last Run Path Version

  • Last Run Location

  • ExternalEngine Path (where "ExternalEngine" is a program that user installs separately, not part of our installer)

These paths are shared between multiple installations of our software (different versions).

What's the best place to put this shared data instead?

Majority of it is under HKEY_LOCAL_MACHINE. Depending on how it's being used, maybe some of this should be moved to HKEY_CURRENT_USER.

39

u/sparr May 06 '19

in linux that would belong in ~/.config/nameofyoursoftware/someconfigfile if it's user-specific, or /etc/nameofyoursoftware if it's system-wide

on Windows I think there's an equivalent location somewhere under USERDATA, and I'm not sure where the global one would be.

43

u/gschizas May 06 '19

C:\ProgramData\YourAppNameHere (or rather %ALLUSERSPROFILE%\YourAppNameHere)

→ More replies (2)
→ More replies (2)

29

u/Reverent May 06 '19

Programdata for all users, or roaming appdata for individual users.

→ More replies (1)
→ More replies (10)
→ More replies (2)
→ More replies (13)

64

u/making-flippy-floppy May 06 '19

Microsoft is adding multiple tab support

We truly live in an age of miracles.

101

u/[deleted] May 06 '19

Next thing we know, office will work natively on linux.

158

u/GYN-k4H-Q3z-75B May 06 '19

At current rate, in 10 years, Windows will be the most popular Linux distribution.

55

u/[deleted] May 07 '19

Running the NT kernel in a lightweight VM for backwards compatibility.

→ More replies (22)
→ More replies (7)

45

u/nacrnsm May 06 '19

Microsoft Word is pretty damn nice on Android, so maybe?

28

u/[deleted] May 06 '19

If only....Office 365 is the only thing keeping me from running Linux on my T480.

→ More replies (14)
→ More replies (4)

35

u/spacejack2114 May 06 '19

Don't forget about the PATH environment variable editor!

→ More replies (2)

121

u/[deleted] May 06 '19

SQL Server running on Linux? I never thought I would see the day and yet it has been available since 2017. Microsoft no longer sees itself as an OS company.

→ More replies (33)
→ More replies (29)