The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
* [TUHS] DEC filenames (was: Command-line options)
       [not found] <mailman.163.1459021419.15972.tuhs@minnie.tuhs.org>
@ 2016-03-26 20:30 ` Johnny Billquist
  2016-03-26 21:03   ` John Cowan
  0 siblings, 1 reply; 3+ messages in thread
From: Johnny Billquist @ 2016-03-26 20:30 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 3212 bytes --]

On 2016-03-26 20:43, Clem Cole<clemc at ccc.com> wrote:
>
> On Fri, Mar 25, 2016 at 11:09 PM, Charles Anthony <
> charles.unix.pro at gmail.com> wrote:
>
>> >And Dec's RADIX-50, packing 3 characters into 16 bits. (IIRC the origin of
>> >the 6.3 filenames. bit I can't document that.)
>
> ​Sort of.... before ASCII, DEC used a few other 5 bit codes that were
> around such as baudot​ (look at the PDP-1/4 etc and KSR 28). RAD50 was a
> natural scheme for storing file name and using bits efficiently.
>
> Which, of course, lead to the abomination of case folding - it's not a bug,
> it's a feature 😂
>
> RAD50 gave us the x.y file name form with the implied dot et al. 6.3 and
> later 8.3 were natural directions from that coding.   Using the .3 ext as a
> type tag of course followed that naturally given that's all that was stored
> in the disk "catalog."  [And CP/M and PC/MS-DOS inherit that scheme -
> including the case folding silliness even though by that time all keyboard
> were upper and lower case and they stored the files in 8 bits].

Some other people already mentioned this, but... - SIXBIT. DEC might 
have used baudot in the very early machines, but I would say that SIXBIT 
dominated here for a long time. We see it both in the PDP-8, but also 
the PDP-6 and its follow ons. RAD50 was the natural extension of SIXBIT 
on a machine that did not have a word size that was a multiple of 6.

The x.y filename, as well as the 6+3 pattern predate the PDP-11. I would 
say that in this area, the PDP-11 didn't come with anything new, but 
just made life more complicated.

OS/8 for sure only have 6+2 filenames, but still in the x.y form. 
TOPS-10 have, I think, 6+3. And the Monitor (I think that was the name 
for the PDP-6 OS) was, I think, also 6+3.
And it was all SIXBIT.

And SIXBIT also give you the case folding.

I say the PDP-11 complicated life just because DEC was already so much 
into having filenames stored more compact than normal text, and having a 
6+3 pattern, so they came up with R50, which fits the bill, but it's 
more headache than it was worth, if you ask me.
Since the PDP-11 have 8 bit bytes, it would have made much more sense to 
just store filenames as 8 bit bytes. It would have cost some more 
storage, but not that much. But it took time for DEC to realize that the 
space savings here were not really a good tradeoff. Old habits die hard, 
I guess.

By the way, RSX (and early VMS) actually use 9+3 filenames.

> UNIX of course, would put the "type" in the file itself (magic #) and force
> the storing of the dot, but removed the strict mapping of name and type.
> Having grown up in both systems, I see the value of each; but agree I think
> I find UNIX's scheme better and lot more flexible.

I think I agree on the point of having filenames in a free format. Not 
sure I really like storing the type in the file itself. So I'm sortof 
torn. Or rather, I would like to keep type separate from both.

	Johnny

-- 
Johnny Billquist                  || "I'm on a bus
                                   ||  on a psychedelic trip
email: bqt at softjar.se             ||  Reading murder books
pdp is alive!                     ||  tryin' to stay hip" - B. Idol


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [TUHS] DEC filenames (was: Command-line options)
  2016-03-26 20:30 ` [TUHS] DEC filenames (was: Command-line options) Johnny Billquist
@ 2016-03-26 21:03   ` John Cowan
  2016-03-26 21:29     ` [TUHS] DEC filenames Johnny Billquist
  0 siblings, 1 reply; 3+ messages in thread
From: John Cowan @ 2016-03-26 21:03 UTC (permalink / raw)


Johnny Billquist scripsit:

> SIXBIT dominated here for a long time. We see it both in the PDP-8,
> but also the PDP-6 and its follow ons. RAD50 was the natural
> extension of SIXBIT on a machine that did not have a word size that
> was a multiple of 6.

Well, for identifiers, yes.  But SIXBIT was quite general, especially
if you repurposed two of the characters to mean "end of string" and
"CR+LF".  The "@" was a popular choice for the former, perhaps because
its encoding is 00; IIRC, "_" was popular for the latter.

-- 
John Cowan          http://www.ccil.org/~cowan        cowan at ccil.org
Long-short-short, long-short-short / Dactyls in dimeter,
Verse form with choriambs / (Masculine rhyme):
One sentence (two stanzas) / Hexasyllabically
Challenges poets who / Don't have the time.     --robison who's at texas dot net


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [TUHS] DEC filenames
  2016-03-26 21:03   ` John Cowan
@ 2016-03-26 21:29     ` Johnny Billquist
  0 siblings, 0 replies; 3+ messages in thread
From: Johnny Billquist @ 2016-03-26 21:29 UTC (permalink / raw)


On 2016-03-26 22:03, John Cowan wrote:
> Johnny Billquist scripsit:
>
>> SIXBIT dominated here for a long time. We see it both in the PDP-8,
>> but also the PDP-6 and its follow ons. RAD50 was the natural
>> extension of SIXBIT on a machine that did not have a word size that
>> was a multiple of 6.
>
> Well, for identifiers, yes.  But SIXBIT was quite general, especially
> if you repurposed two of the characters to mean "end of string" and
> "CR+LF".  The "@" was a popular choice for the former, perhaps because
> its encoding is 00; IIRC, "_" was popular for the latter.

Well, I was talking filenames (as also the subject says)... :-)

On the PDP-8, you sometimes saw @ used as a prefix character in SIXBIT. 
So you'd use @M to get a CR, and @J for an LF, and @@ would mark the end 
of the string. But not for filenames. But in code, since you sometimes 
used SIXBIT for string constants as well.

	Johnny

-- 
Johnny Billquist                  || "I'm on a bus
                                   ||  on a psychedelic trip
email: bqt at softjar.se             ||  Reading murder books
pdp is alive!                     ||  tryin' to stay hip" - B. Idol


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-03-26 21:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.163.1459021419.15972.tuhs@minnie.tuhs.org>
2016-03-26 20:30 ` [TUHS] DEC filenames (was: Command-line options) Johnny Billquist
2016-03-26 21:03   ` John Cowan
2016-03-26 21:29     ` [TUHS] DEC filenames Johnny Billquist

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).