News for hackers. Stuff that matters.
Re:Why Does Windows Really Use Backslash as Path Separator? by tssva on Friday May 24, 2019 @08:11PM (#20006321)
We should all just be grateful they didn't copy the file and drive conventions from TRSDOS which was the operating system for Tandy's TRS-80 line of computers.

Like MS-DOS file names were 8 characters with a 3 character extension however the extension was separated not with a period but a forward slash. Also files could have a password which was separated from the name/ext by a period. Disk drives we're referenced by numbers, 0-7, and separated from the name/ext.password by a colon. For example copying a file from one drive to another could look like "copy ascii/txt.foofum:0 ascii/txt.feefum:1". If you wanted a listing of all the txt files on the current drive the command would be "dir /txt". The file system wasn't hierarchical so there was path separator.

Re:Why Does Windows Really Use Backslash as Path Separator? by 13of40 on Saturday May 25, 2019 @02:19AM (#20007418)
Like the article says, hindsight is 20/20. If it was 1977 and TRSDOS was the only thing that transformed your expensive brick into something capable of copying a file from one drive to another you might be more of a fan.
Re:Why Does Windows Really Use Backslash as Path Separator? by tssva on Sunday May 26, 2019 @08:42AM (#20014623)
In 1977 the drive on my Tandy provided expensive brick was a tape drive but in 1979 I built a LNW System Expansion which added a floppy controller and TRSDOS became what transformed my expensive brick into something capable of copying a file from one of my newly acquired drives to another.

I sometimes become nostalgic regarding my TRS-80 Model I but it never involves TRSDOS. TRSDOS was a steaming pile. There were other operating systems available for the TRS-80 but they added features or fixed bugs. They maintained compatibility with TRSDOS as far as file naming went.

But my comment really wasn't a criticism of the choices made regarding naming then but more about the scope of issues that would be faced in naming conflicts between a hypothetical Windows based upon the TRSDOS conventions and unix systems today. It would make the "\" vs "/" issues seem like a walk in the park.

Re:Why Does Windows Really Use Backslash as Path Separator? by barrkel on Saturday May 25, 2019 @08:33AM (#20008650)
From the article:

> Note that the odd numbers in square brackets are the TOPS-10 way of specifying directories. Good thing DOS didn’t adopt that one.

DOS did in fact adopt square brackets for specifying (named, not numeric) directories; you see them in square brackets with the '/w' (wide format) option.

Re:Why Does Windows Really Use Backslash as Path Separator? by ringshall on Saturday May 25, 2019 @12:17AM (#20007054)
" The file system wasn't hierarchical so there was path separator. "

Do you mean the opposite?

Re:Why Does Windows Really Use Backslash as Path Separator? by tssva on Sunday May 26, 2019 @08:23AM (#20014534)
A typo. It was non-hierarchical so there was no path separator.
Re:Why Does Windows Really Use Backslash as Path Separator? by sd_mikey on Saturday May 25, 2019 @12:02AM (#20007027)
One of the many reasons for the “Trash-80” name.
Re:Why Does Windows Really Use Backslash as Path Separator? by tssva on Sunday May 26, 2019 @08:48AM (#20014641)
Whoa, let's not go crazy! Just because the naming conventions, which weren't crazy for the day, would cause issues today doesn't mean you get to call my first child, I mean computer, a "Trash-80". I didn't stand for it then and I won't now.